(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92888],{56088:function(e,t,n){"use strict";n.r(t),n.d(t,{blue:function(){return _},cyan:function(){return k},geekblue:function(){return S},generate:function(){return f},gold:function(){return y},green:function(){return x},grey:function(){return L},lime:function(){return C},magenta:function(){return M},orange:function(){return b},presetDarkPalettes:function(){return m},presetPalettes:function(){return h},presetPrimaryColors:function(){return p},purple:function(){return E},red:function(){return g},volcano:function(){return v},yellow:function(){return w}});var r=n(96299),o=n(28556),i=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function a(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function s(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function l(e,t,n){var r=n/100;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}function c(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function u(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function d(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function f(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),f=5;f>0;f-=1){var p=a(r),h=s((0,o.uA)({h:c(p,f,!0),s:u(p,f,!0),v:d(p,f,!0)}));n.push(h)}n.push(s(r));for(var m=1;m<=4;m+=1){var g=a(r),v=s((0,o.uA)({h:c(g,m),s:u(g,m),v:d(g,m)}));n.push(v)}return"dark"===t.theme?i.map((function(e){var r=e.index,i=e.opacity;return s(l((0,o.uA)(t.backgroundColor||"#141414"),(0,o.uA)(n[r]),100*i))})):n}var p={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},h={},m={};Object.keys(p).forEach((function(e){h[e]=f(p[e]),h[e].primary=h[e][5],m[e]=f(p[e],{theme:"dark",backgroundColor:"#141414"}),m[e].primary=m[e][5]}));var g=h.red,v=h.volcano,y=h.gold,b=h.orange,w=h.yellow,C=h.lime,x=h.green,k=h.cyan,_=h.blue,S=h.geekblue,E=h.purple,M=h.magenta,L=h.grey},52124:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"}},43081:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"}},38122:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"}},43738:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"}},22337:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"}},50913:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"}},47272:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"}},14742:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"}},98754:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"}},73215:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"}},46067:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(75412))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},71085:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(45972))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},15965:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(1844))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},26582:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(66953))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},95572:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(47885))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},58811:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(62573))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},70157:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(50595))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},47942:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(13599))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},35131:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(40249))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},16651:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(95543))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},86383:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(98037),o=n(99459),i=n(57904),a=n(53162),s=n(50959),l=n(84875),c=n.n(l),u=n(21543),d=n(79321),f=["icon","className","onClick","style","primaryColor","secondaryColor"],p={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var h=function(e){var t=e.icon,n=e.className,o=e.onClick,i=e.style,s=e.primaryColor,l=e.secondaryColor,c=(0,a.Z)(e,f),u=p;if(s&&(u={primaryColor:s,secondaryColor:l||(0,d.pw)(s)}),(0,d.C3)(),(0,d.Kp)((0,d.r)(t),"icon should be icon definiton, but got ".concat(t)),!(0,d.r)(t))return null;var h=t;return h&&"function"===typeof h.icon&&(h=(0,r.Z)((0,r.Z)({},h),{},{icon:h.icon(u.primaryColor,u.secondaryColor)})),(0,d.R_)(h.icon,"svg-".concat(h.name),(0,r.Z)({className:n,onClick:o,style:i,"data-icon":h.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c))};h.displayName="IconReact",h.getTwoToneColors=function(){return(0,r.Z)({},p)},h.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;p.primaryColor=t,p.secondaryColor=n||(0,d.pw)(t),p.calculated=!!n};var m=h;function g(e){var t=(0,d.H9)(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return m.setTwoToneColors({primaryColor:r,secondaryColor:i})}var v=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];g("#1890ff");var y=s.forwardRef((function(e,t){var n=e.className,l=e.icon,f=e.spin,p=e.rotate,h=e.tabIndex,g=e.onClick,y=e.twoToneColor,b=(0,a.Z)(e,v),w=s.useContext(u.Z),C=w.prefixCls,x=void 0===C?"anticon":C,k=w.rootClassName,_=c()(k,x,(0,i.Z)((0,i.Z)({},"".concat(x,"-").concat(l.name),!!l.name),"".concat(x,"-spin"),!!f||"loading"===l.name),n),S=h;void 0===S&&g&&(S=-1);var E=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,M=(0,d.H9)(y),L=(0,o.Z)(M,2),N=L[0],O=L[1];return s.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":l.name},b),{},{ref:t,tabIndex:S,onClick:g,className:_}),s.createElement(m,{icon:l,primaryColor:N,secondaryColor:O,style:E}))}));y.displayName="AntdIcon",y.getTwoToneColor=function(){var e=m.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},y.setTwoToneColor=g;var b=y},21543:function(e,t,n){"use strict";var r=(0,n(50959).createContext)({});t.Z=r},36149:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},63191:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z"}}]},name:"arrow-up",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},93095:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},83817:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},27086:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},33828:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},48192:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},97272:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},93071:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},26730:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},1031:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},76536:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},43692:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},82313:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1zm0-617.2c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8C612.4 381 624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z"}}]},name:"environment",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},80745:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},2567:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},39593:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},97892:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},73128:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},40860:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},92865:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},66517:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},39016:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},37266:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},21292:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},44575:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},26188:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},4261:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},5406:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},a=n(86383),s=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};var l=o.forwardRef(s)},79321:function(e,t,n){"use strict";n.d(t,{C3:function(){return w},H9:function(){return v},Kp:function(){return f},R_:function(){return m},pw:function(){return g},r:function(){return p},vD:function(){return y}});var r=n(98037),o=n(24744),i=n(56088),a=n(50959),s=n(14032),l=n(90727),c=n(21543),u=n(47638),d=n.n(u);function f(e,t){(0,s.ZP)(e,"[@ant-design/icons] ".concat(t))}function p(e){return"object"===(0,o.Z)(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===(0,o.Z)(e.icon)||"function"===typeof e.icon)}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];if("class"===n)t.className=r,delete t.class;else delete t[n],t[d()(n)]=r;return t}),{})}function m(e,t,n){return n?a.createElement(e.tag,(0,r.Z)((0,r.Z)({key:t},h(e.attrs)),n),(e.children||[]).map((function(n,r){return m(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):a.createElement(e.tag,(0,r.Z)({key:t},h(e.attrs)),(e.children||[]).map((function(n,r){return m(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function g(e){return(0,i.generate)(e)[0]}function v(e){return e?Array.isArray(e)?e:[e]:[]}var y={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},b="\n.anticon {\n  display: inline-flex;\n  alignItems: center;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n  line-height: 1;\n}\n\n.anticon svg {\n  display: inline-block;\n}\n\n.anticon::before {\n  display: none;\n}\n\n.anticon .anticon-icon {\n  display: block;\n}\n\n.anticon[tabindex] {\n  cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n  display: inline-block;\n  -webkit-animation: loadingCircle 1s infinite linear;\n  animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n\n@keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n",w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b,t=(0,a.useContext)(c.Z),n=t.csp;(0,a.useEffect)((function(){(0,l.hq)(e,"@ant-design-icons",{prepend:!0,csp:n})}),[])}},50763:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(51605)),a=r(n(16796)),s=r(n(74298)),l=r(n(40510)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(50959)),u=r(n(84875)),d=r(n(69631)),f=r(n(82880)),p=n(79144),h=n(23435),m=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}(0,p.setTwoToneColor)("#1890ff");var v=c.forwardRef((function(e,t){var n=e.className,r=e.icon,o=e.spin,p=e.rotate,g=e.tabIndex,v=e.onClick,y=e.twoToneColor,b=(0,l.default)(e,m),w=c.useContext(d.default),C=w.prefixCls,x=void 0===C?"anticon":C,k=w.rootClassName,_=(0,u.default)(k,x,(0,s.default)((0,s.default)({},"".concat(x,"-").concat(r.name),!!r.name),"".concat(x,"-spin"),!!o||"loading"===r.name),n),S=g;void 0===S&&v&&(S=-1);var E=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,M=(0,h.normalizeTwoToneColors)(y),L=(0,a.default)(M,2),N=L[0],O=L[1];return c.createElement("span",(0,i.default)((0,i.default)({role:"img","aria-label":r.name},b),{},{ref:t,tabIndex:S,onClick:v,className:_}),c.createElement(f.default,{icon:r,primaryColor:N,secondaryColor:O,style:E}))}));v.displayName="AntdIcon",v.getTwoToneColor=p.getTwoToneColor,v.setTwoToneColor=p.setTwoToneColor;t.default=v},69631:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50959).createContext)({});t.default=r},82880:function(e,t,n){"use strict";var r=n(26538);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(40510)),i=r(n(51605)),a=n(23435),s=["icon","className","onClick","style","primaryColor","secondaryColor"],l={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var c=function(e){var t=e.icon,n=e.className,r=e.onClick,c=e.style,u=e.primaryColor,d=e.secondaryColor,f=(0,o.default)(e,s),p=l;if(u&&(p={primaryColor:u,secondaryColor:d||(0,a.getSecondaryColor)(u)}),(0,a.useInsertStyles)(),(0,a.warning)((0,a.isIconDefinition)(t),"icon should be icon definiton, but got ".concat(t)),!(0,a.isIconDefinition)(t))return null;var h=t;return h&&"function"===typeof h.icon&&(h=(0,i.default)((0,i.default)({},h),{},{icon:h.icon(p.primaryColor,p.secondaryColor)})),(0,a.generate)(h.icon,"svg-".concat(h.name),(0,i.default)({className:n,onClick:r,style:c,"data-icon":h.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f))};c.displayName="IconReact",c.getTwoToneColors=function(){return(0,i.default)({},l)},c.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;l.primaryColor=t,l.secondaryColor=n||(0,a.getSecondaryColor)(t),l.calculated=!!n};t.default=c},79144:function(e,t,n){"use strict";var r=n(26538);Object.defineProperty(t,"__esModule",{value:!0}),t.getTwoToneColor=function(){var e=i.default.getTwoToneColors();if(!e.calculated)return e.primaryColor;return[e.primaryColor,e.secondaryColor]},t.setTwoToneColor=function(e){var t=(0,a.normalizeTwoToneColors)(e),n=(0,o.default)(t,2),r=n[0],s=n[1];return i.default.setTwoToneColors({primaryColor:r,secondaryColor:s})};var o=r(n(16796)),i=r(n(82880)),a=n(23435)},75412:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(51605)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(50959)),s=r(n(52124)),l=r(n(50763));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=function(e,t){return a.createElement(l.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))},d=a.forwardRef(u);t.default=d},45972:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(51605)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(50959)),s=r(n(43081)),l=r(n(50763));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=function(e,t){return a.createElement(l.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))},d=a.forwardRef(u);t.default=d},1844:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(51605)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(50959)),s=r(n(38122)),l=r(n(50763));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=function(e,t){return a.createElement(l.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))},d=a.forwardRef(u);t.default=d},66953:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(51605)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(50959)),s=r(n(43738)),l=r(n(50763));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=function(e,t){return a.createElement(l.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))},d=a.forwardRef(u);t.default=d},47885:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(51605)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(50959)),s=r(n(22337)),l=r(n(50763));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=function(e,t){return a.createElement(l.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))},d=a.forwardRef(u);t.default=d},62573:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(51605)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(50959)),s=r(n(50913)),l=r(n(50763));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=function(e,t){return a.createElement(l.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))},d=a.forwardRef(u);t.default=d},50595:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(51605)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(50959)),s=r(n(47272)),l=r(n(50763));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=function(e,t){return a.createElement(l.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))},d=a.forwardRef(u);t.default=d},13599:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(51605)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(50959)),s=r(n(14742)),l=r(n(50763));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=function(e,t){return a.createElement(l.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))},d=a.forwardRef(u);t.default=d},40249:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(51605)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(50959)),s=r(n(98754)),l=r(n(50763));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=function(e,t){return a.createElement(l.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))},d=a.forwardRef(u);t.default=d},95543:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(51605)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(50959)),s=r(n(73215)),l=r(n(50763));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=function(e,t){return a.createElement(l.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:s.default}))},d=a.forwardRef(u);t.default=d},23435:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function e(t,n,r){if(!r)return l.default.createElement(t.tag,(0,i.default)({key:n},h(t.attrs)),(t.children||[]).map((function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})));return l.default.createElement(t.tag,(0,i.default)((0,i.default)({key:n},h(t.attrs)),r),(t.children||[]).map((function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})))},t.getSecondaryColor=function(e){return(0,s.generate)(e)[0]},t.iconStyles=void 0,t.isIconDefinition=function(e){return"object"===(0,a.default)(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===(0,a.default)(e.icon)||"function"===typeof e.icon)},t.normalizeAttrs=h,t.normalizeTwoToneColors=function(e){if(!e)return[];return Array.isArray(e)?e:[e]},t.useInsertStyles=t.svgBaseProps=void 0,t.warning=function(e,t){(0,c.default)(e,"[@ant-design/icons] ".concat(t))};var i=r(n(51605)),a=r(n(59668)),s=n(56088),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(50959)),c=r(n(59090)),u=n(16647),d=r(n(69631)),f=r(n(47638));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];if("class"===n)t.className=r,delete t.class;else delete t[n],t[(0,f.default)(n)]=r;return t}),{})}t.svgBaseProps={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"};var m=t.iconStyles="\n.anticon {\n  display: inline-flex;\n  alignItems: center;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n  line-height: 1;\n}\n\n.anticon svg {\n  display: inline-block;\n}\n\n.anticon::before {\n  display: none;\n}\n\n.anticon .anticon-icon {\n  display: block;\n}\n\n.anticon[tabindex] {\n  cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n  display: inline-block;\n  -webkit-animation: loadingCircle 1s infinite linear;\n  animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n\n@keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n";t.useInsertStyles=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,t=(0,l.useContext)(d.default),n=t.csp;(0,l.useEffect)((function(){(0,u.updateCSS)(e,"@ant-design-icons",{prepend:!0,csp:n})}),[])}},96299:function(e,t,n){"use strict";n.d(t,{GC:function(){return f},T6:function(){return h},VD:function(){return m},WE:function(){return c},Wl:function(){return p},Yt:function(){return g},lC:function(){return i},py:function(){return l},rW:function(){return o},s:function(){return d},ve:function(){return s},vq:function(){return u}});var r=n(23881);function o(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function i(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,s=0,l=(o+i)/2;if(o===i)s=0,a=0;else{var c=o-i;switch(s=l>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4}a/=6}return{h:a,s:s,l:l}}function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function s(e,t,n){var o,i,s;if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,s=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;o=a(c,l,e+1/3),i=a(c,l,e),s=a(c,l,e-1/3)}return{r:255*o,g:255*i,b:255*s}}function l(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,s=o,l=o-i,c=0===o?0:l/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4}a/=6}return{h:a,s:c,v:s}}function c(e,t,n){e=6*(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100);var o=Math.floor(e),i=e-o,a=n*(1-t),s=n*(1-i*t),l=n*(1-(1-i)*t),c=o%6;return{r:255*[n,s,a,a,l,n][c],g:255*[l,n,n,s,a,a][c],b:255*[a,a,l,n,n,s][c]}}function u(e,t,n,o){var i=[(0,r.FZ)(Math.round(e).toString(16)),(0,r.FZ)(Math.round(t).toString(16)),(0,r.FZ)(Math.round(n).toString(16))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function d(e,t,n,o,i){var a=[(0,r.FZ)(Math.round(e).toString(16)),(0,r.FZ)(Math.round(t).toString(16)),(0,r.FZ)(Math.round(n).toString(16)),(0,r.FZ)(p(o))];return i&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function f(e,t,n,o){return[(0,r.FZ)(p(o)),(0,r.FZ)(Math.round(e).toString(16)),(0,r.FZ)(Math.round(t).toString(16)),(0,r.FZ)(Math.round(n).toString(16))].join("")}function p(e){return Math.round(255*parseFloat(e)).toString(16)}function h(e){return m(e)/255}function m(e){return parseInt(e,16)}function g(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}},76367:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},28556:function(e,t,n){"use strict";n.d(t,{ky:function(){return f},uA:function(){return a},uz:function(){return d}});var r=n(96299),o=n(76367),i=n(23881);function a(e){var t={r:0,g:0,b:0},n=1,o=null,a=null,s=null,l=!1,c=!1;return"string"===typeof e&&(e=d(e)),"object"===typeof e&&(f(e.r)&&f(e.g)&&f(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),l=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):f(e.h)&&f(e.s)&&f(e.v)?(o=(0,i.JX)(e.s),a=(0,i.JX)(e.v),t=(0,r.WE)(e.h,o,a),l=!0,c="hsv"):f(e.h)&&f(e.s)&&f(e.l)&&(o=(0,i.JX)(e.s),s=(0,i.JX)(e.l),t=(0,r.ve)(e.h,o,s),l=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:l,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var s="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),c="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),u={CSS_UNIT:new RegExp(s),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+c),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+c),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function d(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=u.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=u.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=u.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=u.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=u.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=u.hex8.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"}:(n=u.hex6.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"}:(n=u.hex4.exec(e))?{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=u.hex3.exec(e))&&{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"}}function f(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},99978:function(e,t,n){"use strict";n.d(t,{C:function(){return s},H:function(){return l}});var r=n(96299),o=n(76367),i=n(28556),a=n(23881),s=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"===typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.R);t<n.length;t++){var i=n[t],a=i[0];if(e===i[1])return a}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!==e&&void 0!==e?e:this.format;var n=!1,r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a<t;a++)o.push(new e({h:(r+a*i)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function l(e,t){return void 0===e&&(e=""),void 0===t&&(t={}),new s(e,t)}},75640:function(e,t,n){"use strict";n.r(t),n.d(t,{TinyColor:function(){return r.C},bounds:function(){return y},convertDecimalToHex:function(){return l.Wl},convertHexToDecimal:function(){return l.T6},default:function(){return b},fromRatio:function(){return d},hslToRgb:function(){return l.ve},hsvToRgb:function(){return l.WE},inputToRGB:function(){return p.uA},isReadable:function(){return a},isValidCSSUnit:function(){return p.ky},legacyRandom:function(){return f},mostReadable:function(){return s},names:function(){return o.R},numberInputToObject:function(){return l.Yt},parseIntFromHex:function(){return l.VD},random:function(){return h},readability:function(){return i},rgbToHex:function(){return l.vq},rgbToHsl:function(){return l.lC},rgbToHsv:function(){return l.py},rgbToRgb:function(){return l.rW},rgbaToArgbHex:function(){return l.GC},rgbaToHex:function(){return l.s},stringInputToObject:function(){return p.uz},tinycolor:function(){return r.H},toMsFilter:function(){return c}});var r=n(99978),o=n(76367);function i(e,t){var n=new r.C(e),o=new r.C(t);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)}function a(e,t,n){var r,o;void 0===n&&(n={level:"AA",size:"small"});var a=i(e,t);switch((null!==(r=n.level)&&void 0!==r?r:"AA")+(null!==(o=n.size)&&void 0!==o?o:"small")){case"AAsmall":case"AAAlarge":return a>=4.5;case"AAlarge":return a>=3;case"AAAsmall":return a>=7;default:return!1}}function s(e,t,n){void 0===n&&(n={includeFallbackColors:!1,level:"AA",size:"small"});for(var o=null,l=0,c=n.includeFallbackColors,u=n.level,d=n.size,f=0,p=t;f<p.length;f++){var h=p[f],m=i(e,h);m>l&&(l=m,o=new r.C(h))}return a(e,o,{level:u,size:d})||!c?o:(n.includeFallbackColors=!1,s(e,["#fff","#000"],n))}var l=n(96299);function c(e,t){var n=new r.C(e),o="#"+(0,l.GC)(n.r,n.g,n.b,n.a),i=o,a=n.gradientType?"GradientType = 1, ":"";if(t){var s=new r.C(t);i="#"+(0,l.GC)(s.r,s.g,s.b,s.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(a,"startColorstr=").concat(o,",endColorstr=").concat(i,")")}var u=n(23881);function d(e,t){var n={r:(0,u.JX)(e.r),g:(0,u.JX)(e.g),b:(0,u.JX)(e.b)};return void 0!==e.a&&(n.a=Number(e.a)),new r.C(n,t)}function f(){return new r.C({r:Math.random(),g:Math.random(),b:Math.random()})}var p=n(28556);function h(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var t=e.count,n=[];for(e.count=void 0;t>n.length;)e.count=null,e.seed&&(e.seed+=1),n.push(h(e));return e.count=t,n}var o=function(e,t){var n=g(function(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if("string"===typeof e){var n=y.find((function(t){return t.name===e}));if(n){var o=v(n);if(o.hueRange)return o.hueRange}var i=new r.C(e);if(i.isValid){var a=i.toHsv().h;return[a,a]}}return[0,360]}(e),t);n<0&&(n=360+n);return n}(e.hue,e.seed),i=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return g([0,100],t.seed);var n=m(e).saturationRange,r=n[0],o=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=o-10;break;case"light":o=55}return g([r,o],t.seed)}(o,e),a=function(e,t,n){var r=function(e,t){for(var n=m(e).lowerBounds,r=0;r<n.length-1;r++){var o=n[r][0],i=n[r][1],a=n[r+1][0],s=n[r+1][1];if(t>=o&&t<=a){var l=(s-i)/(a-o);return l*t+(i-l*o)}}return 0}(e,t),o=100;switch(n.luminosity){case"dark":o=r+20;break;case"light":r=(o+r)/2;break;case"random":r=0,o=100}return g([r,o],n.seed)}(o,i,e),s={h:o,s:i,v:a};return void 0!==e.alpha&&(s.a=e.alpha),new r.C(s)}function m(e){e>=334&&e<=360&&(e-=360);for(var t=0,n=y;t<n.length;t++){var r=v(n[t]);if(r.hueRange&&e>=r.hueRange[0]&&e<=r.hueRange[1])return r}throw Error("Color not found")}function g(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0,o=(t=(9301*t+49297)%233280)/233280;return Math.floor(r+o*(n-r))}function v(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],o=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,o]}}var y=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],b=r.H},23881:function(e,t,n){"use strict";function r(e,t){(function(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"===typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function s(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return s},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return r}})},768:function(e,t,n){"use strict";n.d(t,{Q:function(){return z},e:function(){return ce},hg:function(){return R},oM:function(){return O},xC:function(){return L}});var r=n(18846),o=n(43453),i=n(60874),a=(n(65171),function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),s=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},l=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},c=Object.defineProperty,u=Object.defineProperties,d=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,m=function(e,t,n){return t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},g=function(e,t){for(var n in t||(t={}))p.call(t,n)&&m(e,n,t[n]);if(f)for(var r=0,o=f(t);r<o.length;r++){n=o[r];h.call(t,n)&&m(e,n,t[n])}return e},v=function(e,t){return u(e,d(t))},y=function(e,t,n){return new Promise((function(r,o){var i=function(e){try{s(n.next(e))}catch(t){o(t)}},a=function(e){try{s(n.throw(e))}catch(t){o(t)}},s=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(i,a)};s((n=n.apply(e,t)).next())}))},b="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?o.compose:o.compose.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function w(e){if("object"!==typeof 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}var C=function(e){return e&&"function"===typeof e.match};function x(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var o=t.apply(void 0,n);if(!o)throw new Error("prepareAction did not return an object");return g(g({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function k(e){return w(e)&&"type"in e}var _=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return a(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,l([void 0],e[0].concat(this)))):new(t.bind.apply(t,l([void 0],e.concat(this))))},t}(Array),S=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return a(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,l([void 0],e[0].concat(this)))):new(t.bind.apply(t,l([void 0],e.concat(this))))},t}(Array);function E(e){return(0,r.o$)(e)?(0,r.ZP)(e,(function(){})):e}function M(){return function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,e.actionCreatorCheck,new _);n&&("boolean"===typeof n?r.push(i.default):r.push(i.default.withExtraArgument(n.extraArgument)));0;return r}(e)}}function L(e){var t,n=M(),r=e||{},i=r.reducer,a=void 0===i?void 0:i,s=r.middleware,c=void 0===s?n():s,u=r.devTools,d=void 0===u||u,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,m=void 0===h?void 0:h;if("function"===typeof a)t=a;else{if(!w(a))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=(0,o.combineReducers)(a)}var v=c;"function"===typeof v&&(v=v(n));var y=o.applyMiddleware.apply(void 0,v),C=o.compose;d&&(C=b(g({trace:!1},"object"===typeof d&&d)));var x=new S(y),k=x;Array.isArray(m)?k=l([y],m):"function"===typeof m&&(k=m(x));var _=C.apply(void 0,k);return(0,o.createStore)(t,p,_)}function N(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(!r)throw new Error("`builder.addCase` cannot be called with an empty action type");if(r in n)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}function O(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,o="function"==typeof e.initialState?e.initialState:E(e.initialState),i=e.reducers||{},a=Object.keys(i),s={},c={},u={};function d(){var t="function"===typeof e.extraReducers?N(e.extraReducers):[e.extraReducers],n=t[0],i=void 0===n?{}:n,a=t[1],s=void 0===a?[]:a,u=t[2],d=void 0===u?void 0:u,f=g(g({},i),c);return function(e,t,n,o){void 0===n&&(n=[]);var i,a="function"===typeof t?N(t):[t,n,o],s=a[0],c=a[1],u=a[2];if("function"===typeof e)i=function(){return E(e())};else{var d=E(e);i=function(){return d}}function f(e,t){void 0===e&&(e=i());var n=l([s[t.type]],c.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[u]),n.reduce((function(e,n){if(n){var o;if((0,r.mv)(e))return void 0===(o=n(e,t))?e:o;if((0,r.o$)(e))return(0,r.ZP)(e,(function(e){return n(e,t)}));if(void 0===(o=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return o}return e}),e)}return f.getInitialState=i,f}(o,(function(e){for(var t in f)e.addCase(t,f[t]);for(var n=0,r=s;n<r.length;n++){var o=r[n];e.addMatcher(o.matcher,o.reducer)}d&&e.addDefaultCase(d)}))}return a.forEach((function(e){var n,r,o=i[e],a=t+"/"+e;"reducer"in o?(n=o.reducer,r=o.prepare):n=o,s[e]=n,c[a]=n,u[e]=r?x(a,r):x(a)})),{name:t,reducer:function(e,t){return n||(n=d()),n(e,t)},actions:u,caseReducers:s,getInitialState:function(){return n||(n=d()),n.getInitialState()}}}var A=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},j=["name","message","stack","code"],T=function(e,t){this.payload=e,this.meta=t},Z=function(e,t){this.payload=e,this.meta=t},P=function(e){if("object"===typeof e&&null!==e){for(var t={},n=0,r=j;n<r.length;n++){var o=r[n];"string"===typeof e[o]&&(t[o]=e[o])}return t}return{message:String(e)}},R=function(){function e(e,t,n){var r=x(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:v(g({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),o=x(e+"/pending",(function(e,t,n){return{payload:void 0,meta:v(g({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),i=x(e+"/rejected",(function(e,t,r,o,i){return{payload:o,error:(n&&n.serializeError||P)(e||"Rejected"),meta:v(g({},i||{}),{arg:r,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),a="undefined"!==typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){0},e}();return Object.assign((function(e){return function(l,c,u){var d,f=(null==n?void 0:n.idGenerator)?n.idGenerator(e):A(),p=new a;function h(e){d=e,p.abort()}var m=function(){return y(this,null,(function(){var a,m,g,v,y,b;return s(this,(function(s){switch(s.label){case 0:return s.trys.push([0,4,,5]),v=null==(a=null==n?void 0:n.condition)?void 0:a.call(n,e,{getState:c,extra:u}),null===(w=v)||"object"!==typeof w||"function"!==typeof w.then?[3,2]:[4,v];case 1:v=s.sent(),s.label=2;case 2:if(!1===v||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return!0,y=new Promise((function(e,t){return p.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:d||"Aborted"})}))})),l(o(f,e,null==(m=null==n?void 0:n.getPendingMeta)?void 0:m.call(n,{requestId:f,arg:e},{getState:c,extra:u}))),[4,Promise.race([y,Promise.resolve(t(e,{dispatch:l,getState:c,extra:u,requestId:f,signal:p.signal,abort:h,rejectWithValue:function(e,t){return new T(e,t)},fulfillWithValue:function(e,t){return new Z(e,t)}})).then((function(t){if(t instanceof T)throw t;return t instanceof Z?r(t.payload,f,e,t.meta):r(t,f,e)}))])];case 3:return g=s.sent(),[3,5];case 4:return b=s.sent(),g=b instanceof T?i(null,f,e,b.payload,b.meta):i(b,f,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&i.match(g)&&g.meta.condition||l(g),[2,g]}var w}))}))}();return Object.assign(m,{abort:h,requestId:f,arg:e,unwrap:function(){return m.then(I)}})}}),{pending:o,rejected:i,fulfilled:r,typePrefix:e})}return e.withTypes=function(){return e},e}();function I(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var D=function(e,t){return C(e)?e.match(t):e(t)};function z(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.some((function(e){return D(e,t)}))}}var H=function(e,t){if("function"!==typeof e)throw new TypeError(t+" is not a function")},B=function(){},F=function(e,t){return void 0===t&&(t=B),e.catch(t),e},V=function(e,t){return e.addEventListener("abort",t,{once:!0}),function(){return e.removeEventListener("abort",t)}},q=function(e,t){var n=e.signal;n.aborted||("reason"in n||Object.defineProperty(n,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},U="listener-cancelled",$=function(e){this.code=e,this.name="TaskAbortError",this.message="task cancelled (reason: "+e+")"},W=function(e){if(e.aborted)throw new $(e.reason)};function K(e,t){var n=B;return new Promise((function(r,o){var i=function(){return o(new $(e.reason))};e.aborted?i():(n=V(e,i),t.finally((function(){return n()})).then(r,o))})).finally((function(){n=B}))}var G=function(e){return function(t){return F(K(e,t).then((function(t){return W(e),t})))}},Y=function(e){var t=G(e);return function(e){return t(new Promise((function(t){return setTimeout(t,e)})))}},J=Object.assign,X={},Q="listenerMiddleware",ee=function(e,t){return function(n,r){H(n,"taskExecutor");var o,i=new AbortController;o=i,V(e,(function(){return q(o,e.reason)}));var a,l,c=(a=function(){return y(void 0,null,(function(){var t;return s(this,(function(r){switch(r.label){case 0:return W(e),W(i.signal),[4,n({pause:G(i.signal),delay:Y(i.signal),signal:i.signal})];case 1:return t=r.sent(),W(i.signal),[2,t]}}))}))},l=function(){return q(i,"task-completed")},y(void 0,null,(function(){var e;return s(this,(function(t){switch(t.label){case 0:return t.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return t.sent(),[4,a()];case 2:return[2,{status:"ok",value:t.sent()}];case 3:return[2,{status:(e=t.sent())instanceof $?"cancelled":"rejected",error:e}];case 4:return null==l||l(),[7];case 5:return[2]}}))})));return(null==r?void 0:r.autoJoin)&&t.push(c),{result:G(e)(c),cancel:function(){q(i,"task-cancelled")}}}},te=function(e,t){return function(n,r){return F(function(n,r){return y(void 0,null,(function(){var o,i,a,l;return s(this,(function(s){switch(s.label){case 0:W(t),o=function(){},i=new Promise((function(t,r){var i=e({predicate:n,effect:function(e,n){n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});o=function(){i(),r()}})),a=[i],null!=r&&a.push(new Promise((function(e){return setTimeout(e,r,null)}))),s.label=1;case 1:return s.trys.push([1,,3,4]),[4,K(t,Promise.race(a))];case 2:return l=s.sent(),W(t),[2,l];case 3:return o(),[7];case 4:return[2]}}))}))}(n,r))}},ne=function(e){var t=e.type,n=e.actionCreator,r=e.matcher,o=e.predicate,i=e.effect;if(t)o=x(t).match;else if(n)t=n.type,o=n.match;else if(r)o=r;else if(!o)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return H(i,"options.listener"),{predicate:o,type:t,effect:i}},re=function(e){e.pending.forEach((function(e){q(e,U)}))},oe=function(e,t,n){try{e(t,n)}catch(r){setTimeout((function(){throw r}),0)}},ie=x(Q+"/add"),ae=x(Q+"/removeAll"),se=x(Q+"/remove"),le=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];console.error.apply(console,l([Q+"/error"],e))};function ce(e){var t=this;void 0===e&&(e={});var n=new Map,r=e.extra,o=e.onError,i=void 0===o?le:o;H(i,"onError");var a=function(e){for(var t=0,r=Array.from(n.values());t<r.length;t++){var o=r[t];if(e(o))return o}},l=function(e){var t=a((function(t){return t.effect===e.effect}));return t||(t=function(e){var t=ne(e),n=t.type,r=t.predicate,o=t.effect;return{id:A(),effect:o,type:n,predicate:r,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}}}(e)),function(e){return e.unsubscribe=function(){return n.delete(e.id)},n.set(e.id,e),function(t){e.unsubscribe(),(null==t?void 0:t.cancelActive)&&re(e)}}(t)},c=function(e){var t=ne(e),n=t.type,r=t.effect,o=t.predicate,i=a((function(e){return("string"===typeof n?e.type===n:e.predicate===o)&&e.effect===r}));return i&&(i.unsubscribe(),e.cancelActive&&re(i)),!!i},u=function(e,o,a,c){return y(t,null,(function(){var t,u,d,f;return s(this,(function(s){switch(s.label){case 0:t=new AbortController,u=te(l,t.signal),d=[],s.label=1;case 1:return s.trys.push([1,3,4,6]),e.pending.add(t),[4,Promise.resolve(e.effect(o,J({},a,{getOriginalState:c,condition:function(e,t){return u(e,t).then(Boolean)},take:u,delay:Y(t.signal),pause:G(t.signal),extra:r,signal:t.signal,fork:ee(t.signal,d),unsubscribe:e.unsubscribe,subscribe:function(){n.set(e.id,e)},cancelActiveListeners:function(){e.pending.forEach((function(e,n,r){e!==t&&(q(e,U),r.delete(e))}))}})))];case 2:return s.sent(),[3,6];case 3:return(f=s.sent())instanceof $||oe(i,f,{raisedBy:"effect"}),[3,6];case 4:return[4,Promise.allSettled(d)];case 5:return s.sent(),q(t,"listener-completed"),e.pending.delete(t),[7];case 6:return[2]}}))}))},d=function(e){return function(){e.forEach(re),e.clear()}}(n);return{middleware:function(e){return function(t){return function(r){if(!k(r))return t(r);if(ie.match(r))return l(r.payload);if(!ae.match(r)){if(se.match(r))return c(r.payload);var o,a=e.getState(),s=function(){if(a===X)throw new Error(Q+": getOriginalState can only be called synchronously");return a};try{if(o=t(r),n.size>0)for(var f=e.getState(),p=Array.from(n.values()),h=0,m=p;h<m.length;h++){var g=m[h],v=!1;try{v=g.predicate(r,f,a)}catch(y){v=!1,oe(i,y,{raisedBy:"predicate"})}v&&u(g,r,e,s)}}finally{a=X}return o}d()}}},startListening:l,stopListening:c,clearListeners:d}}"function"===typeof queueMicrotask&&queueMicrotask.bind("undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:globalThis);var ue,de=function(e){return function(t){setTimeout(t,e)}};"undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:de(10);(0,r.pV)()},14391:function(e,t,n){"use strict";n.d(t,{ZP:function(){return to}});var r=n(40240),o=n(3317),i=n(40344);class a{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new a(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class s{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new s(t,a.range(this,e))}}class l{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n,r,o="KaTeX parse error: "+e,i=t&&t.loc;if(i&&i.start<=i.end){var a=i.lexer.input;n=i.start,r=i.end,n===a.length?o+=" at end of input: ":o+=" at position "+(n+1)+": ";var s=a.slice(n,r).replace(/[^]/g,"$&\u0332");o+=(n>15?"\u2026"+a.slice(n-15,n):a.slice(0,n))+s+(r+15<a.length?a.slice(r,r+15)+"\u2026":a.slice(r))}var c=new Error(o);return c.name="ParseError",c.__proto__=l.prototype,c.position=n,null!=n&&null!=r&&(c.length=r-n),c.rawMessage=e,c}}l.prototype.__proto__=Error.prototype;var c=/([A-Z])/g,u={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},d=/[&><"']/g;var f=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},p={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(d,(e=>u[e]))},hyphenate:function(e){return e.replace(c,"-$1").toLowerCase()},getBaseElem:f,isCharacterBox:function(e){var t=f(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}},h={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function m(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if("string"!==typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class g{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},h)if(h.hasOwnProperty(t)){var n=h[t];this[t]=void 0!==e[t]?n.processor?n.processor(e[t]):e[t]:m(n)}}reportNonstrict(e,t,n){var r=this.strict;if("function"===typeof r&&(r=r(e,t,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new l("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===r?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,n){var r=this.strict;if("function"===typeof r)try{r=r(e,t,n)}catch(o){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),!1)))}isTrusted(e){if(e.url&&!e.protocol){var t=p.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}var n="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(n)}}class v{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return y[b[this.id]]}sub(){return y[w[this.id]]}fracNum(){return y[C[this.id]]}fracDen(){return y[x[this.id]]}cramp(){return y[k[this.id]]}text(){return y[_[this.id]]}isTight(){return this.size>=2}}var y=[new v(0,0,!1),new v(1,0,!0),new v(2,1,!1),new v(3,1,!0),new v(4,2,!1),new v(5,2,!0),new v(6,3,!1),new v(7,3,!0)],b=[4,5,4,5,6,7,6,7],w=[5,5,5,5,7,7,7,7],C=[2,3,4,5,6,7,6,7],x=[3,3,5,5,7,7,7,7],k=[1,1,3,3,5,5,7,7],_=[0,1,2,3,2,3,2,3],S={DISPLAY:y[0],TEXT:y[2],SCRIPT:y[4],SCRIPTSCRIPT:y[6]},E=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];var M=[];function L(e){for(var t=0;t<M.length;t+=2)if(e>=M[t]&&e<=M[t+1])return!0;return!1}E.forEach((e=>e.blocks.forEach((e=>M.push(...e)))));var N=80,O={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class A{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return p.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map((e=>e.toText())).join("")}}var j={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},T={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Z={"\xc5":"A","\xd0":"D","\xde":"o","\xe5":"a","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"};function P(e,t,n){if(!j[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),o=j[t][r];if(!o&&e[0]in Z&&(r=Z[e[0]].charCodeAt(0),o=j[t][r]),o||"text"!==n||L(r)&&(o=j[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var R={};var I=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],D=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],z=function(e,t){return t.size<2?e:I[e-1][t.size-1]};class H{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||H.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=D[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new H(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:z(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:D[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=z(H.BASESIZE,e);return this.size===t&&this.textSize===H.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==H.BASESIZE?["sizing","reset-size"+this.size,"size"+H.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!R[t=e>=5?0:e>=3?1:2]){var n=R[t]={cssEmPerMu:T.quad[t]/18};for(var r in T)T.hasOwnProperty(r)&&(n[r]=T[r][t])}return R[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}H.BASESIZE=6;var B={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},F={ex:!0,em:!0,mu:!0},V=function(e){return"string"!==typeof e&&(e=e.unit),e in B||e in F||"ex"===e},q=function(e,t){var n;if(e.unit in B)n=B[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var r;if(r=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=r.fontMetrics().xHeight;else{if("em"!==e.unit)throw new l("Invalid unit: '"+e.unit+"'");n=r.fontMetrics().quad}r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},U=function(e){return+e.toFixed(4)+"em"},$=function(e){return e.filter((e=>e)).join(" ")},W=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},K=function(e){var t=document.createElement(e);for(var n in t.className=$(this.classes),this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var o=0;o<this.children.length;o++)t.appendChild(this.children[o].toNode());return t},G=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+p.escape($(this.classes))+'"');var n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=p.hyphenate(r)+":"+this.style[r]+";");for(var o in n&&(t+=' style="'+p.escape(n)+'"'),this.attributes)this.attributes.hasOwnProperty(o)&&(t+=" "+o+'="'+p.escape(this.attributes[o])+'"');t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">"};class Y{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,W.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return p.contains(this.classes,e)}toNode(){return K.call(this,"span")}toMarkup(){return G.call(this,"span")}}class J{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,W.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return p.contains(this.classes,e)}toNode(){return K.call(this,"a")}toMarkup(){return G.call(this,"a")}}class X{constructor(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return p.contains(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e='<img src="'+p.escape(this.src)+'" alt="'+p.escape(this.alt)+'"',t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=p.hyphenate(n)+":"+this.style[n]+";");return t&&(e+=' style="'+p.escape(t)+'"'),e+="'/>"}}var Q={"\xee":"\u0131\u0302","\xef":"\u0131\u0308","\xed":"\u0131\u0301","\xec":"\u0131\u0300"};class ee{constructor(e,t,n,r,o,i,a,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=n||0,this.italic=r||0,this.skew=o||0,this.width=i||0,this.classes=a||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t<E.length;t++)for(var n=E[t],r=0;r<n.blocks.length;r++){var o=n.blocks[r];if(e>=o[0]&&e<=o[1])return n.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[\xee\xef\xed\xec]/.test(this.text)&&(this.text=Q[this.text])}hasClass(e){return p.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var n in this.italic>0&&((t=document.createElement("span")).style.marginRight=U(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=$(this.classes)),this.style)this.style.hasOwnProperty(n)&&((t=t||document.createElement("span")).style[n]=this.style[n]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=p.escape($(this.classes)),t+='"');var n="";for(var r in this.italic>0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=p.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+p.escape(n)+'"');var o=p.escape(this.text);return e?(t+=">",t+=o,t+="</span>"):o}}class te{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+p.escape(this.attributes[t])+'"');e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>"}}class ne{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",O[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+p.escape(this.alternate)+'"/>':'<path d="'+p.escape(O[this.pathName])+'"/>'}}class re{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+p.escape(this.attributes[t])+'"');return e+="/>"}}function oe(e){if(e instanceof ee)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var ie={bin:1,close:1,inner:1,open:1,punct:1,rel:1},ae={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},se={math:{},text:{}};function le(e,t,n,r,o,i){se[e][o]={font:t,group:n,replace:r},i&&r&&(se[e][r]=se[e][o])}var ce="math",ue="text",de="main",fe="ams",pe="accent-token",he="bin",me="close",ge="inner",ve="mathord",ye="op-token",be="open",we="punct",Ce="rel",xe="spacing",ke="textord";le(ce,de,Ce,"\u2261","\\equiv",!0),le(ce,de,Ce,"\u227a","\\prec",!0),le(ce,de,Ce,"\u227b","\\succ",!0),le(ce,de,Ce,"\u223c","\\sim",!0),le(ce,de,Ce,"\u22a5","\\perp"),le(ce,de,Ce,"\u2aaf","\\preceq",!0),le(ce,de,Ce,"\u2ab0","\\succeq",!0),le(ce,de,Ce,"\u2243","\\simeq",!0),le(ce,de,Ce,"\u2223","\\mid",!0),le(ce,de,Ce,"\u226a","\\ll",!0),le(ce,de,Ce,"\u226b","\\gg",!0),le(ce,de,Ce,"\u224d","\\asymp",!0),le(ce,de,Ce,"\u2225","\\parallel"),le(ce,de,Ce,"\u22c8","\\bowtie",!0),le(ce,de,Ce,"\u2323","\\smile",!0),le(ce,de,Ce,"\u2291","\\sqsubseteq",!0),le(ce,de,Ce,"\u2292","\\sqsupseteq",!0),le(ce,de,Ce,"\u2250","\\doteq",!0),le(ce,de,Ce,"\u2322","\\frown",!0),le(ce,de,Ce,"\u220b","\\ni",!0),le(ce,de,Ce,"\u221d","\\propto",!0),le(ce,de,Ce,"\u22a2","\\vdash",!0),le(ce,de,Ce,"\u22a3","\\dashv",!0),le(ce,de,Ce,"\u220b","\\owns"),le(ce,de,we,".","\\ldotp"),le(ce,de,we,"\u22c5","\\cdotp"),le(ce,de,ke,"#","\\#"),le(ue,de,ke,"#","\\#"),le(ce,de,ke,"&","\\&"),le(ue,de,ke,"&","\\&"),le(ce,de,ke,"\u2135","\\aleph",!0),le(ce,de,ke,"\u2200","\\forall",!0),le(ce,de,ke,"\u210f","\\hbar",!0),le(ce,de,ke,"\u2203","\\exists",!0),le(ce,de,ke,"\u2207","\\nabla",!0),le(ce,de,ke,"\u266d","\\flat",!0),le(ce,de,ke,"\u2113","\\ell",!0),le(ce,de,ke,"\u266e","\\natural",!0),le(ce,de,ke,"\u2663","\\clubsuit",!0),le(ce,de,ke,"\u2118","\\wp",!0),le(ce,de,ke,"\u266f","\\sharp",!0),le(ce,de,ke,"\u2662","\\diamondsuit",!0),le(ce,de,ke,"\u211c","\\Re",!0),le(ce,de,ke,"\u2661","\\heartsuit",!0),le(ce,de,ke,"\u2111","\\Im",!0),le(ce,de,ke,"\u2660","\\spadesuit",!0),le(ce,de,ke,"\xa7","\\S",!0),le(ue,de,ke,"\xa7","\\S"),le(ce,de,ke,"\xb6","\\P",!0),le(ue,de,ke,"\xb6","\\P"),le(ce,de,ke,"\u2020","\\dag"),le(ue,de,ke,"\u2020","\\dag"),le(ue,de,ke,"\u2020","\\textdagger"),le(ce,de,ke,"\u2021","\\ddag"),le(ue,de,ke,"\u2021","\\ddag"),le(ue,de,ke,"\u2021","\\textdaggerdbl"),le(ce,de,me,"\u23b1","\\rmoustache",!0),le(ce,de,be,"\u23b0","\\lmoustache",!0),le(ce,de,me,"\u27ef","\\rgroup",!0),le(ce,de,be,"\u27ee","\\lgroup",!0),le(ce,de,he,"\u2213","\\mp",!0),le(ce,de,he,"\u2296","\\ominus",!0),le(ce,de,he,"\u228e","\\uplus",!0),le(ce,de,he,"\u2293","\\sqcap",!0),le(ce,de,he,"\u2217","\\ast"),le(ce,de,he,"\u2294","\\sqcup",!0),le(ce,de,he,"\u25ef","\\bigcirc",!0),le(ce,de,he,"\u2219","\\bullet",!0),le(ce,de,he,"\u2021","\\ddagger"),le(ce,de,he,"\u2240","\\wr",!0),le(ce,de,he,"\u2a3f","\\amalg"),le(ce,de,he,"&","\\And"),le(ce,de,Ce,"\u27f5","\\longleftarrow",!0),le(ce,de,Ce,"\u21d0","\\Leftarrow",!0),le(ce,de,Ce,"\u27f8","\\Longleftarrow",!0),le(ce,de,Ce,"\u27f6","\\longrightarrow",!0),le(ce,de,Ce,"\u21d2","\\Rightarrow",!0),le(ce,de,Ce,"\u27f9","\\Longrightarrow",!0),le(ce,de,Ce,"\u2194","\\leftrightarrow",!0),le(ce,de,Ce,"\u27f7","\\longleftrightarrow",!0),le(ce,de,Ce,"\u21d4","\\Leftrightarrow",!0),le(ce,de,Ce,"\u27fa","\\Longleftrightarrow",!0),le(ce,de,Ce,"\u21a6","\\mapsto",!0),le(ce,de,Ce,"\u27fc","\\longmapsto",!0),le(ce,de,Ce,"\u2197","\\nearrow",!0),le(ce,de,Ce,"\u21a9","\\hookleftarrow",!0),le(ce,de,Ce,"\u21aa","\\hookrightarrow",!0),le(ce,de,Ce,"\u2198","\\searrow",!0),le(ce,de,Ce,"\u21bc","\\leftharpoonup",!0),le(ce,de,Ce,"\u21c0","\\rightharpoonup",!0),le(ce,de,Ce,"\u2199","\\swarrow",!0),le(ce,de,Ce,"\u21bd","\\leftharpoondown",!0),le(ce,de,Ce,"\u21c1","\\rightharpoondown",!0),le(ce,de,Ce,"\u2196","\\nwarrow",!0),le(ce,de,Ce,"\u21cc","\\rightleftharpoons",!0),le(ce,fe,Ce,"\u226e","\\nless",!0),le(ce,fe,Ce,"\ue010","\\@nleqslant"),le(ce,fe,Ce,"\ue011","\\@nleqq"),le(ce,fe,Ce,"\u2a87","\\lneq",!0),le(ce,fe,Ce,"\u2268","\\lneqq",!0),le(ce,fe,Ce,"\ue00c","\\@lvertneqq"),le(ce,fe,Ce,"\u22e6","\\lnsim",!0),le(ce,fe,Ce,"\u2a89","\\lnapprox",!0),le(ce,fe,Ce,"\u2280","\\nprec",!0),le(ce,fe,Ce,"\u22e0","\\npreceq",!0),le(ce,fe,Ce,"\u22e8","\\precnsim",!0),le(ce,fe,Ce,"\u2ab9","\\precnapprox",!0),le(ce,fe,Ce,"\u2241","\\nsim",!0),le(ce,fe,Ce,"\ue006","\\@nshortmid"),le(ce,fe,Ce,"\u2224","\\nmid",!0),le(ce,fe,Ce,"\u22ac","\\nvdash",!0),le(ce,fe,Ce,"\u22ad","\\nvDash",!0),le(ce,fe,Ce,"\u22ea","\\ntriangleleft"),le(ce,fe,Ce,"\u22ec","\\ntrianglelefteq",!0),le(ce,fe,Ce,"\u228a","\\subsetneq",!0),le(ce,fe,Ce,"\ue01a","\\@varsubsetneq"),le(ce,fe,Ce,"\u2acb","\\subsetneqq",!0),le(ce,fe,Ce,"\ue017","\\@varsubsetneqq"),le(ce,fe,Ce,"\u226f","\\ngtr",!0),le(ce,fe,Ce,"\ue00f","\\@ngeqslant"),le(ce,fe,Ce,"\ue00e","\\@ngeqq"),le(ce,fe,Ce,"\u2a88","\\gneq",!0),le(ce,fe,Ce,"\u2269","\\gneqq",!0),le(ce,fe,Ce,"\ue00d","\\@gvertneqq"),le(ce,fe,Ce,"\u22e7","\\gnsim",!0),le(ce,fe,Ce,"\u2a8a","\\gnapprox",!0),le(ce,fe,Ce,"\u2281","\\nsucc",!0),le(ce,fe,Ce,"\u22e1","\\nsucceq",!0),le(ce,fe,Ce,"\u22e9","\\succnsim",!0),le(ce,fe,Ce,"\u2aba","\\succnapprox",!0),le(ce,fe,Ce,"\u2246","\\ncong",!0),le(ce,fe,Ce,"\ue007","\\@nshortparallel"),le(ce,fe,Ce,"\u2226","\\nparallel",!0),le(ce,fe,Ce,"\u22af","\\nVDash",!0),le(ce,fe,Ce,"\u22eb","\\ntriangleright"),le(ce,fe,Ce,"\u22ed","\\ntrianglerighteq",!0),le(ce,fe,Ce,"\ue018","\\@nsupseteqq"),le(ce,fe,Ce,"\u228b","\\supsetneq",!0),le(ce,fe,Ce,"\ue01b","\\@varsupsetneq"),le(ce,fe,Ce,"\u2acc","\\supsetneqq",!0),le(ce,fe,Ce,"\ue019","\\@varsupsetneqq"),le(ce,fe,Ce,"\u22ae","\\nVdash",!0),le(ce,fe,Ce,"\u2ab5","\\precneqq",!0),le(ce,fe,Ce,"\u2ab6","\\succneqq",!0),le(ce,fe,Ce,"\ue016","\\@nsubseteqq"),le(ce,fe,he,"\u22b4","\\unlhd"),le(ce,fe,he,"\u22b5","\\unrhd"),le(ce,fe,Ce,"\u219a","\\nleftarrow",!0),le(ce,fe,Ce,"\u219b","\\nrightarrow",!0),le(ce,fe,Ce,"\u21cd","\\nLeftarrow",!0),le(ce,fe,Ce,"\u21cf","\\nRightarrow",!0),le(ce,fe,Ce,"\u21ae","\\nleftrightarrow",!0),le(ce,fe,Ce,"\u21ce","\\nLeftrightarrow",!0),le(ce,fe,Ce,"\u25b3","\\vartriangle"),le(ce,fe,ke,"\u210f","\\hslash"),le(ce,fe,ke,"\u25bd","\\triangledown"),le(ce,fe,ke,"\u25ca","\\lozenge"),le(ce,fe,ke,"\u24c8","\\circledS"),le(ce,fe,ke,"\xae","\\circledR"),le(ue,fe,ke,"\xae","\\circledR"),le(ce,fe,ke,"\u2221","\\measuredangle",!0),le(ce,fe,ke,"\u2204","\\nexists"),le(ce,fe,ke,"\u2127","\\mho"),le(ce,fe,ke,"\u2132","\\Finv",!0),le(ce,fe,ke,"\u2141","\\Game",!0),le(ce,fe,ke,"\u2035","\\backprime"),le(ce,fe,ke,"\u25b2","\\blacktriangle"),le(ce,fe,ke,"\u25bc","\\blacktriangledown"),le(ce,fe,ke,"\u25a0","\\blacksquare"),le(ce,fe,ke,"\u29eb","\\blacklozenge"),le(ce,fe,ke,"\u2605","\\bigstar"),le(ce,fe,ke,"\u2222","\\sphericalangle",!0),le(ce,fe,ke,"\u2201","\\complement",!0),le(ce,fe,ke,"\xf0","\\eth",!0),le(ue,de,ke,"\xf0","\xf0"),le(ce,fe,ke,"\u2571","\\diagup"),le(ce,fe,ke,"\u2572","\\diagdown"),le(ce,fe,ke,"\u25a1","\\square"),le(ce,fe,ke,"\u25a1","\\Box"),le(ce,fe,ke,"\u25ca","\\Diamond"),le(ce,fe,ke,"\xa5","\\yen",!0),le(ue,fe,ke,"\xa5","\\yen",!0),le(ce,fe,ke,"\u2713","\\checkmark",!0),le(ue,fe,ke,"\u2713","\\checkmark"),le(ce,fe,ke,"\u2136","\\beth",!0),le(ce,fe,ke,"\u2138","\\daleth",!0),le(ce,fe,ke,"\u2137","\\gimel",!0),le(ce,fe,ke,"\u03dd","\\digamma",!0),le(ce,fe,ke,"\u03f0","\\varkappa"),le(ce,fe,be,"\u250c","\\@ulcorner",!0),le(ce,fe,me,"\u2510","\\@urcorner",!0),le(ce,fe,be,"\u2514","\\@llcorner",!0),le(ce,fe,me,"\u2518","\\@lrcorner",!0),le(ce,fe,Ce,"\u2266","\\leqq",!0),le(ce,fe,Ce,"\u2a7d","\\leqslant",!0),le(ce,fe,Ce,"\u2a95","\\eqslantless",!0),le(ce,fe,Ce,"\u2272","\\lesssim",!0),le(ce,fe,Ce,"\u2a85","\\lessapprox",!0),le(ce,fe,Ce,"\u224a","\\approxeq",!0),le(ce,fe,he,"\u22d6","\\lessdot"),le(ce,fe,Ce,"\u22d8","\\lll",!0),le(ce,fe,Ce,"\u2276","\\lessgtr",!0),le(ce,fe,Ce,"\u22da","\\lesseqgtr",!0),le(ce,fe,Ce,"\u2a8b","\\lesseqqgtr",!0),le(ce,fe,Ce,"\u2251","\\doteqdot"),le(ce,fe,Ce,"\u2253","\\risingdotseq",!0),le(ce,fe,Ce,"\u2252","\\fallingdotseq",!0),le(ce,fe,Ce,"\u223d","\\backsim",!0),le(ce,fe,Ce,"\u22cd","\\backsimeq",!0),le(ce,fe,Ce,"\u2ac5","\\subseteqq",!0),le(ce,fe,Ce,"\u22d0","\\Subset",!0),le(ce,fe,Ce,"\u228f","\\sqsubset",!0),le(ce,fe,Ce,"\u227c","\\preccurlyeq",!0),le(ce,fe,Ce,"\u22de","\\curlyeqprec",!0),le(ce,fe,Ce,"\u227e","\\precsim",!0),le(ce,fe,Ce,"\u2ab7","\\precapprox",!0),le(ce,fe,Ce,"\u22b2","\\vartriangleleft"),le(ce,fe,Ce,"\u22b4","\\trianglelefteq"),le(ce,fe,Ce,"\u22a8","\\vDash",!0),le(ce,fe,Ce,"\u22aa","\\Vvdash",!0),le(ce,fe,Ce,"\u2323","\\smallsmile"),le(ce,fe,Ce,"\u2322","\\smallfrown"),le(ce,fe,Ce,"\u224f","\\bumpeq",!0),le(ce,fe,Ce,"\u224e","\\Bumpeq",!0),le(ce,fe,Ce,"\u2267","\\geqq",!0),le(ce,fe,Ce,"\u2a7e","\\geqslant",!0),le(ce,fe,Ce,"\u2a96","\\eqslantgtr",!0),le(ce,fe,Ce,"\u2273","\\gtrsim",!0),le(ce,fe,Ce,"\u2a86","\\gtrapprox",!0),le(ce,fe,he,"\u22d7","\\gtrdot"),le(ce,fe,Ce,"\u22d9","\\ggg",!0),le(ce,fe,Ce,"\u2277","\\gtrless",!0),le(ce,fe,Ce,"\u22db","\\gtreqless",!0),le(ce,fe,Ce,"\u2a8c","\\gtreqqless",!0),le(ce,fe,Ce,"\u2256","\\eqcirc",!0),le(ce,fe,Ce,"\u2257","\\circeq",!0),le(ce,fe,Ce,"\u225c","\\triangleq",!0),le(ce,fe,Ce,"\u223c","\\thicksim"),le(ce,fe,Ce,"\u2248","\\thickapprox"),le(ce,fe,Ce,"\u2ac6","\\supseteqq",!0),le(ce,fe,Ce,"\u22d1","\\Supset",!0),le(ce,fe,Ce,"\u2290","\\sqsupset",!0),le(ce,fe,Ce,"\u227d","\\succcurlyeq",!0),le(ce,fe,Ce,"\u22df","\\curlyeqsucc",!0),le(ce,fe,Ce,"\u227f","\\succsim",!0),le(ce,fe,Ce,"\u2ab8","\\succapprox",!0),le(ce,fe,Ce,"\u22b3","\\vartriangleright"),le(ce,fe,Ce,"\u22b5","\\trianglerighteq"),le(ce,fe,Ce,"\u22a9","\\Vdash",!0),le(ce,fe,Ce,"\u2223","\\shortmid"),le(ce,fe,Ce,"\u2225","\\shortparallel"),le(ce,fe,Ce,"\u226c","\\between",!0),le(ce,fe,Ce,"\u22d4","\\pitchfork",!0),le(ce,fe,Ce,"\u221d","\\varpropto"),le(ce,fe,Ce,"\u25c0","\\blacktriangleleft"),le(ce,fe,Ce,"\u2234","\\therefore",!0),le(ce,fe,Ce,"\u220d","\\backepsilon"),le(ce,fe,Ce,"\u25b6","\\blacktriangleright"),le(ce,fe,Ce,"\u2235","\\because",!0),le(ce,fe,Ce,"\u22d8","\\llless"),le(ce,fe,Ce,"\u22d9","\\gggtr"),le(ce,fe,he,"\u22b2","\\lhd"),le(ce,fe,he,"\u22b3","\\rhd"),le(ce,fe,Ce,"\u2242","\\eqsim",!0),le(ce,de,Ce,"\u22c8","\\Join"),le(ce,fe,Ce,"\u2251","\\Doteq",!0),le(ce,fe,he,"\u2214","\\dotplus",!0),le(ce,fe,he,"\u2216","\\smallsetminus"),le(ce,fe,he,"\u22d2","\\Cap",!0),le(ce,fe,he,"\u22d3","\\Cup",!0),le(ce,fe,he,"\u2a5e","\\doublebarwedge",!0),le(ce,fe,he,"\u229f","\\boxminus",!0),le(ce,fe,he,"\u229e","\\boxplus",!0),le(ce,fe,he,"\u22c7","\\divideontimes",!0),le(ce,fe,he,"\u22c9","\\ltimes",!0),le(ce,fe,he,"\u22ca","\\rtimes",!0),le(ce,fe,he,"\u22cb","\\leftthreetimes",!0),le(ce,fe,he,"\u22cc","\\rightthreetimes",!0),le(ce,fe,he,"\u22cf","\\curlywedge",!0),le(ce,fe,he,"\u22ce","\\curlyvee",!0),le(ce,fe,he,"\u229d","\\circleddash",!0),le(ce,fe,he,"\u229b","\\circledast",!0),le(ce,fe,he,"\u22c5","\\centerdot"),le(ce,fe,he,"\u22ba","\\intercal",!0),le(ce,fe,he,"\u22d2","\\doublecap"),le(ce,fe,he,"\u22d3","\\doublecup"),le(ce,fe,he,"\u22a0","\\boxtimes",!0),le(ce,fe,Ce,"\u21e2","\\dashrightarrow",!0),le(ce,fe,Ce,"\u21e0","\\dashleftarrow",!0),le(ce,fe,Ce,"\u21c7","\\leftleftarrows",!0),le(ce,fe,Ce,"\u21c6","\\leftrightarrows",!0),le(ce,fe,Ce,"\u21da","\\Lleftarrow",!0),le(ce,fe,Ce,"\u219e","\\twoheadleftarrow",!0),le(ce,fe,Ce,"\u21a2","\\leftarrowtail",!0),le(ce,fe,Ce,"\u21ab","\\looparrowleft",!0),le(ce,fe,Ce,"\u21cb","\\leftrightharpoons",!0),le(ce,fe,Ce,"\u21b6","\\curvearrowleft",!0),le(ce,fe,Ce,"\u21ba","\\circlearrowleft",!0),le(ce,fe,Ce,"\u21b0","\\Lsh",!0),le(ce,fe,Ce,"\u21c8","\\upuparrows",!0),le(ce,fe,Ce,"\u21bf","\\upharpoonleft",!0),le(ce,fe,Ce,"\u21c3","\\downharpoonleft",!0),le(ce,de,Ce,"\u22b6","\\origof",!0),le(ce,de,Ce,"\u22b7","\\imageof",!0),le(ce,fe,Ce,"\u22b8","\\multimap",!0),le(ce,fe,Ce,"\u21ad","\\leftrightsquigarrow",!0),le(ce,fe,Ce,"\u21c9","\\rightrightarrows",!0),le(ce,fe,Ce,"\u21c4","\\rightleftarrows",!0),le(ce,fe,Ce,"\u21a0","\\twoheadrightarrow",!0),le(ce,fe,Ce,"\u21a3","\\rightarrowtail",!0),le(ce,fe,Ce,"\u21ac","\\looparrowright",!0),le(ce,fe,Ce,"\u21b7","\\curvearrowright",!0),le(ce,fe,Ce,"\u21bb","\\circlearrowright",!0),le(ce,fe,Ce,"\u21b1","\\Rsh",!0),le(ce,fe,Ce,"\u21ca","\\downdownarrows",!0),le(ce,fe,Ce,"\u21be","\\upharpoonright",!0),le(ce,fe,Ce,"\u21c2","\\downharpoonright",!0),le(ce,fe,Ce,"\u21dd","\\rightsquigarrow",!0),le(ce,fe,Ce,"\u21dd","\\leadsto"),le(ce,fe,Ce,"\u21db","\\Rrightarrow",!0),le(ce,fe,Ce,"\u21be","\\restriction"),le(ce,de,ke,"\u2018","`"),le(ce,de,ke,"$","\\$"),le(ue,de,ke,"$","\\$"),le(ue,de,ke,"$","\\textdollar"),le(ce,de,ke,"%","\\%"),le(ue,de,ke,"%","\\%"),le(ce,de,ke,"_","\\_"),le(ue,de,ke,"_","\\_"),le(ue,de,ke,"_","\\textunderscore"),le(ce,de,ke,"\u2220","\\angle",!0),le(ce,de,ke,"\u221e","\\infty",!0),le(ce,de,ke,"\u2032","\\prime"),le(ce,de,ke,"\u25b3","\\triangle"),le(ce,de,ke,"\u0393","\\Gamma",!0),le(ce,de,ke,"\u0394","\\Delta",!0),le(ce,de,ke,"\u0398","\\Theta",!0),le(ce,de,ke,"\u039b","\\Lambda",!0),le(ce,de,ke,"\u039e","\\Xi",!0),le(ce,de,ke,"\u03a0","\\Pi",!0),le(ce,de,ke,"\u03a3","\\Sigma",!0),le(ce,de,ke,"\u03a5","\\Upsilon",!0),le(ce,de,ke,"\u03a6","\\Phi",!0),le(ce,de,ke,"\u03a8","\\Psi",!0),le(ce,de,ke,"\u03a9","\\Omega",!0),le(ce,de,ke,"A","\u0391"),le(ce,de,ke,"B","\u0392"),le(ce,de,ke,"E","\u0395"),le(ce,de,ke,"Z","\u0396"),le(ce,de,ke,"H","\u0397"),le(ce,de,ke,"I","\u0399"),le(ce,de,ke,"K","\u039a"),le(ce,de,ke,"M","\u039c"),le(ce,de,ke,"N","\u039d"),le(ce,de,ke,"O","\u039f"),le(ce,de,ke,"P","\u03a1"),le(ce,de,ke,"T","\u03a4"),le(ce,de,ke,"X","\u03a7"),le(ce,de,ke,"\xac","\\neg",!0),le(ce,de,ke,"\xac","\\lnot"),le(ce,de,ke,"\u22a4","\\top"),le(ce,de,ke,"\u22a5","\\bot"),le(ce,de,ke,"\u2205","\\emptyset"),le(ce,fe,ke,"\u2205","\\varnothing"),le(ce,de,ve,"\u03b1","\\alpha",!0),le(ce,de,ve,"\u03b2","\\beta",!0),le(ce,de,ve,"\u03b3","\\gamma",!0),le(ce,de,ve,"\u03b4","\\delta",!0),le(ce,de,ve,"\u03f5","\\epsilon",!0),le(ce,de,ve,"\u03b6","\\zeta",!0),le(ce,de,ve,"\u03b7","\\eta",!0),le(ce,de,ve,"\u03b8","\\theta",!0),le(ce,de,ve,"\u03b9","\\iota",!0),le(ce,de,ve,"\u03ba","\\kappa",!0),le(ce,de,ve,"\u03bb","\\lambda",!0),le(ce,de,ve,"\u03bc","\\mu",!0),le(ce,de,ve,"\u03bd","\\nu",!0),le(ce,de,ve,"\u03be","\\xi",!0),le(ce,de,ve,"\u03bf","\\omicron",!0),le(ce,de,ve,"\u03c0","\\pi",!0),le(ce,de,ve,"\u03c1","\\rho",!0),le(ce,de,ve,"\u03c3","\\sigma",!0),le(ce,de,ve,"\u03c4","\\tau",!0),le(ce,de,ve,"\u03c5","\\upsilon",!0),le(ce,de,ve,"\u03d5","\\phi",!0),le(ce,de,ve,"\u03c7","\\chi",!0),le(ce,de,ve,"\u03c8","\\psi",!0),le(ce,de,ve,"\u03c9","\\omega",!0),le(ce,de,ve,"\u03b5","\\varepsilon",!0),le(ce,de,ve,"\u03d1","\\vartheta",!0),le(ce,de,ve,"\u03d6","\\varpi",!0),le(ce,de,ve,"\u03f1","\\varrho",!0),le(ce,de,ve,"\u03c2","\\varsigma",!0),le(ce,de,ve,"\u03c6","\\varphi",!0),le(ce,de,he,"\u2217","*",!0),le(ce,de,he,"+","+"),le(ce,de,he,"\u2212","-",!0),le(ce,de,he,"\u22c5","\\cdot",!0),le(ce,de,he,"\u2218","\\circ",!0),le(ce,de,he,"\xf7","\\div",!0),le(ce,de,he,"\xb1","\\pm",!0),le(ce,de,he,"\xd7","\\times",!0),le(ce,de,he,"\u2229","\\cap",!0),le(ce,de,he,"\u222a","\\cup",!0),le(ce,de,he,"\u2216","\\setminus",!0),le(ce,de,he,"\u2227","\\land"),le(ce,de,he,"\u2228","\\lor"),le(ce,de,he,"\u2227","\\wedge",!0),le(ce,de,he,"\u2228","\\vee",!0),le(ce,de,ke,"\u221a","\\surd"),le(ce,de,be,"\u27e8","\\langle",!0),le(ce,de,be,"\u2223","\\lvert"),le(ce,de,be,"\u2225","\\lVert"),le(ce,de,me,"?","?"),le(ce,de,me,"!","!"),le(ce,de,me,"\u27e9","\\rangle",!0),le(ce,de,me,"\u2223","\\rvert"),le(ce,de,me,"\u2225","\\rVert"),le(ce,de,Ce,"=","="),le(ce,de,Ce,":",":"),le(ce,de,Ce,"\u2248","\\approx",!0),le(ce,de,Ce,"\u2245","\\cong",!0),le(ce,de,Ce,"\u2265","\\ge"),le(ce,de,Ce,"\u2265","\\geq",!0),le(ce,de,Ce,"\u2190","\\gets"),le(ce,de,Ce,">","\\gt",!0),le(ce,de,Ce,"\u2208","\\in",!0),le(ce,de,Ce,"\ue020","\\@not"),le(ce,de,Ce,"\u2282","\\subset",!0),le(ce,de,Ce,"\u2283","\\supset",!0),le(ce,de,Ce,"\u2286","\\subseteq",!0),le(ce,de,Ce,"\u2287","\\supseteq",!0),le(ce,fe,Ce,"\u2288","\\nsubseteq",!0),le(ce,fe,Ce,"\u2289","\\nsupseteq",!0),le(ce,de,Ce,"\u22a8","\\models"),le(ce,de,Ce,"\u2190","\\leftarrow",!0),le(ce,de,Ce,"\u2264","\\le"),le(ce,de,Ce,"\u2264","\\leq",!0),le(ce,de,Ce,"<","\\lt",!0),le(ce,de,Ce,"\u2192","\\rightarrow",!0),le(ce,de,Ce,"\u2192","\\to"),le(ce,fe,Ce,"\u2271","\\ngeq",!0),le(ce,fe,Ce,"\u2270","\\nleq",!0),le(ce,de,xe,"\xa0","\\ "),le(ce,de,xe,"\xa0","\\space"),le(ce,de,xe,"\xa0","\\nobreakspace"),le(ue,de,xe,"\xa0","\\ "),le(ue,de,xe,"\xa0"," "),le(ue,de,xe,"\xa0","\\space"),le(ue,de,xe,"\xa0","\\nobreakspace"),le(ce,de,xe,null,"\\nobreak"),le(ce,de,xe,null,"\\allowbreak"),le(ce,de,we,",",","),le(ce,de,we,";",";"),le(ce,fe,he,"\u22bc","\\barwedge",!0),le(ce,fe,he,"\u22bb","\\veebar",!0),le(ce,de,he,"\u2299","\\odot",!0),le(ce,de,he,"\u2295","\\oplus",!0),le(ce,de,he,"\u2297","\\otimes",!0),le(ce,de,ke,"\u2202","\\partial",!0),le(ce,de,he,"\u2298","\\oslash",!0),le(ce,fe,he,"\u229a","\\circledcirc",!0),le(ce,fe,he,"\u22a1","\\boxdot",!0),le(ce,de,he,"\u25b3","\\bigtriangleup"),le(ce,de,he,"\u25bd","\\bigtriangledown"),le(ce,de,he,"\u2020","\\dagger"),le(ce,de,he,"\u22c4","\\diamond"),le(ce,de,he,"\u22c6","\\star"),le(ce,de,he,"\u25c3","\\triangleleft"),le(ce,de,he,"\u25b9","\\triangleright"),le(ce,de,be,"{","\\{"),le(ue,de,ke,"{","\\{"),le(ue,de,ke,"{","\\textbraceleft"),le(ce,de,me,"}","\\}"),le(ue,de,ke,"}","\\}"),le(ue,de,ke,"}","\\textbraceright"),le(ce,de,be,"{","\\lbrace"),le(ce,de,me,"}","\\rbrace"),le(ce,de,be,"[","\\lbrack",!0),le(ue,de,ke,"[","\\lbrack",!0),le(ce,de,me,"]","\\rbrack",!0),le(ue,de,ke,"]","\\rbrack",!0),le(ce,de,be,"(","\\lparen",!0),le(ce,de,me,")","\\rparen",!0),le(ue,de,ke,"<","\\textless",!0),le(ue,de,ke,">","\\textgreater",!0),le(ce,de,be,"\u230a","\\lfloor",!0),le(ce,de,me,"\u230b","\\rfloor",!0),le(ce,de,be,"\u2308","\\lceil",!0),le(ce,de,me,"\u2309","\\rceil",!0),le(ce,de,ke,"\\","\\backslash"),le(ce,de,ke,"\u2223","|"),le(ce,de,ke,"\u2223","\\vert"),le(ue,de,ke,"|","\\textbar",!0),le(ce,de,ke,"\u2225","\\|"),le(ce,de,ke,"\u2225","\\Vert"),le(ue,de,ke,"\u2225","\\textbardbl"),le(ue,de,ke,"~","\\textasciitilde"),le(ue,de,ke,"\\","\\textbackslash"),le(ue,de,ke,"^","\\textasciicircum"),le(ce,de,Ce,"\u2191","\\uparrow",!0),le(ce,de,Ce,"\u21d1","\\Uparrow",!0),le(ce,de,Ce,"\u2193","\\downarrow",!0),le(ce,de,Ce,"\u21d3","\\Downarrow",!0),le(ce,de,Ce,"\u2195","\\updownarrow",!0),le(ce,de,Ce,"\u21d5","\\Updownarrow",!0),le(ce,de,ye,"\u2210","\\coprod"),le(ce,de,ye,"\u22c1","\\bigvee"),le(ce,de,ye,"\u22c0","\\bigwedge"),le(ce,de,ye,"\u2a04","\\biguplus"),le(ce,de,ye,"\u22c2","\\bigcap"),le(ce,de,ye,"\u22c3","\\bigcup"),le(ce,de,ye,"\u222b","\\int"),le(ce,de,ye,"\u222b","\\intop"),le(ce,de,ye,"\u222c","\\iint"),le(ce,de,ye,"\u222d","\\iiint"),le(ce,de,ye,"\u220f","\\prod"),le(ce,de,ye,"\u2211","\\sum"),le(ce,de,ye,"\u2a02","\\bigotimes"),le(ce,de,ye,"\u2a01","\\bigoplus"),le(ce,de,ye,"\u2a00","\\bigodot"),le(ce,de,ye,"\u222e","\\oint"),le(ce,de,ye,"\u222f","\\oiint"),le(ce,de,ye,"\u2230","\\oiiint"),le(ce,de,ye,"\u2a06","\\bigsqcup"),le(ce,de,ye,"\u222b","\\smallint"),le(ue,de,ge,"\u2026","\\textellipsis"),le(ce,de,ge,"\u2026","\\mathellipsis"),le(ue,de,ge,"\u2026","\\ldots",!0),le(ce,de,ge,"\u2026","\\ldots",!0),le(ce,de,ge,"\u22ef","\\@cdots",!0),le(ce,de,ge,"\u22f1","\\ddots",!0),le(ce,de,ke,"\u22ee","\\varvdots"),le(ce,de,pe,"\u02ca","\\acute"),le(ce,de,pe,"\u02cb","\\grave"),le(ce,de,pe,"\xa8","\\ddot"),le(ce,de,pe,"~","\\tilde"),le(ce,de,pe,"\u02c9","\\bar"),le(ce,de,pe,"\u02d8","\\breve"),le(ce,de,pe,"\u02c7","\\check"),le(ce,de,pe,"^","\\hat"),le(ce,de,pe,"\u20d7","\\vec"),le(ce,de,pe,"\u02d9","\\dot"),le(ce,de,pe,"\u02da","\\mathring"),le(ce,de,ve,"\ue131","\\@imath"),le(ce,de,ve,"\ue237","\\@jmath"),le(ce,de,ke,"\u0131","\u0131"),le(ce,de,ke,"\u0237","\u0237"),le(ue,de,ke,"\u0131","\\i",!0),le(ue,de,ke,"\u0237","\\j",!0),le(ue,de,ke,"\xdf","\\ss",!0),le(ue,de,ke,"\xe6","\\ae",!0),le(ue,de,ke,"\u0153","\\oe",!0),le(ue,de,ke,"\xf8","\\o",!0),le(ue,de,ke,"\xc6","\\AE",!0),le(ue,de,ke,"\u0152","\\OE",!0),le(ue,de,ke,"\xd8","\\O",!0),le(ue,de,pe,"\u02ca","\\'"),le(ue,de,pe,"\u02cb","\\`"),le(ue,de,pe,"\u02c6","\\^"),le(ue,de,pe,"\u02dc","\\~"),le(ue,de,pe,"\u02c9","\\="),le(ue,de,pe,"\u02d8","\\u"),le(ue,de,pe,"\u02d9","\\."),le(ue,de,pe,"\xb8","\\c"),le(ue,de,pe,"\u02da","\\r"),le(ue,de,pe,"\u02c7","\\v"),le(ue,de,pe,"\xa8",'\\"'),le(ue,de,pe,"\u02dd","\\H"),le(ue,de,pe,"\u25ef","\\textcircled");var _e={"--":!0,"---":!0,"``":!0,"''":!0};le(ue,de,ke,"\u2013","--",!0),le(ue,de,ke,"\u2013","\\textendash"),le(ue,de,ke,"\u2014","---",!0),le(ue,de,ke,"\u2014","\\textemdash"),le(ue,de,ke,"\u2018","`",!0),le(ue,de,ke,"\u2018","\\textquoteleft"),le(ue,de,ke,"\u2019","'",!0),le(ue,de,ke,"\u2019","\\textquoteright"),le(ue,de,ke,"\u201c","``",!0),le(ue,de,ke,"\u201c","\\textquotedblleft"),le(ue,de,ke,"\u201d","''",!0),le(ue,de,ke,"\u201d","\\textquotedblright"),le(ce,de,ke,"\xb0","\\degree",!0),le(ue,de,ke,"\xb0","\\degree"),le(ue,de,ke,"\xb0","\\textdegree",!0),le(ce,de,ke,"\xa3","\\pounds"),le(ce,de,ke,"\xa3","\\mathsterling",!0),le(ue,de,ke,"\xa3","\\pounds"),le(ue,de,ke,"\xa3","\\textsterling",!0),le(ce,fe,ke,"\u2720","\\maltese"),le(ue,fe,ke,"\u2720","\\maltese");for(var Se='0123456789/@."',Ee=0;Ee<Se.length;Ee++){var Me=Se.charAt(Ee);le(ce,de,ke,Me,Me)}for(var Le='0123456789!@*()-=+";:?/.,',Ne=0;Ne<Le.length;Ne++){var Oe=Le.charAt(Ne);le(ue,de,ke,Oe,Oe)}for(var Ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",je=0;je<Ae.length;je++){var Te=Ae.charAt(je);le(ce,de,ve,Te,Te),le(ue,de,ke,Te,Te)}le(ce,fe,ke,"C","\u2102"),le(ue,fe,ke,"C","\u2102"),le(ce,fe,ke,"H","\u210d"),le(ue,fe,ke,"H","\u210d"),le(ce,fe,ke,"N","\u2115"),le(ue,fe,ke,"N","\u2115"),le(ce,fe,ke,"P","\u2119"),le(ue,fe,ke,"P","\u2119"),le(ce,fe,ke,"Q","\u211a"),le(ue,fe,ke,"Q","\u211a"),le(ce,fe,ke,"R","\u211d"),le(ue,fe,ke,"R","\u211d"),le(ce,fe,ke,"Z","\u2124"),le(ue,fe,ke,"Z","\u2124"),le(ce,de,ve,"h","\u210e"),le(ue,de,ve,"h","\u210e");for(var Ze="",Pe=0;Pe<Ae.length;Pe++){var Re=Ae.charAt(Pe);le(ce,de,ve,Re,Ze=String.fromCharCode(55349,56320+Pe)),le(ue,de,ke,Re,Ze),le(ce,de,ve,Re,Ze=String.fromCharCode(55349,56372+Pe)),le(ue,de,ke,Re,Ze),le(ce,de,ve,Re,Ze=String.fromCharCode(55349,56424+Pe)),le(ue,de,ke,Re,Ze),le(ce,de,ve,Re,Ze=String.fromCharCode(55349,56580+Pe)),le(ue,de,ke,Re,Ze),le(ce,de,ve,Re,Ze=String.fromCharCode(55349,56684+Pe)),le(ue,de,ke,Re,Ze),le(ce,de,ve,Re,Ze=String.fromCharCode(55349,56736+Pe)),le(ue,de,ke,Re,Ze),le(ce,de,ve,Re,Ze=String.fromCharCode(55349,56788+Pe)),le(ue,de,ke,Re,Ze),le(ce,de,ve,Re,Ze=String.fromCharCode(55349,56840+Pe)),le(ue,de,ke,Re,Ze),le(ce,de,ve,Re,Ze=String.fromCharCode(55349,56944+Pe)),le(ue,de,ke,Re,Ze),Pe<26&&(le(ce,de,ve,Re,Ze=String.fromCharCode(55349,56632+Pe)),le(ue,de,ke,Re,Ze),le(ce,de,ve,Re,Ze=String.fromCharCode(55349,56476+Pe)),le(ue,de,ke,Re,Ze))}le(ce,de,ve,"k",Ze=String.fromCharCode(55349,56668)),le(ue,de,ke,"k",Ze);for(var Ie=0;Ie<10;Ie++){var De=Ie.toString();le(ce,de,ve,De,Ze=String.fromCharCode(55349,57294+Ie)),le(ue,de,ke,De,Ze),le(ce,de,ve,De,Ze=String.fromCharCode(55349,57314+Ie)),le(ue,de,ke,De,Ze),le(ce,de,ve,De,Ze=String.fromCharCode(55349,57324+Ie)),le(ue,de,ke,De,Ze),le(ce,de,ve,De,Ze=String.fromCharCode(55349,57334+Ie)),le(ue,de,ke,De,Ze)}for(var ze="\xd0\xde\xfe",He=0;He<ze.length;He++){var Be=ze.charAt(He);le(ce,de,ve,Be,Be),le(ue,de,ke,Be,Be)}var Fe=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ve=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],qe=function(e,t,n){return se[n][e]&&se[n][e].replace&&(e=se[n][e].replace),{value:e,metrics:P(e,t,n)}},Ue=function(e,t,n,r,o){var i,a=qe(e,t,n),s=a.metrics;if(e=a.value,s){var l=s.italic;("text"===n||r&&"mathit"===r.font)&&(l=0),i=new ee(e,s.height,s.depth,l,s.skew,s.width,o)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),i=new ee(e,0,0,0,0,0,o);if(r){i.maxFontSize=r.sizeMultiplier,r.style.isTight()&&i.classes.push("mtight");var c=r.getColor();c&&(i.style.color=c)}return i},$e=(e,t)=>{if($(e.classes)!==$(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var n=e.classes[0];if("mbin"===n||"mord"===n)return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var o in t.style)if(t.style.hasOwnProperty(o)&&e.style[o]!==t.style[o])return!1;return!0},We=function(e){for(var t=0,n=0,r=0,o=0;o<e.children.length;o++){var i=e.children[o];i.height>t&&(t=i.height),i.depth>n&&(n=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},Ke=function(e,t,n,r){var o=new Y(e,t,n,r);return We(o),o},Ge=(e,t,n,r)=>new Y(e,t,n,r),Ye=function(e){var t=new A(e);return We(t),t},Je=function(e,t,n){var r="";switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}return r+"-"+("textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Xe={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Qe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},et={fontMap:Xe,makeSymbol:Ue,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&qe(e,"Main-Bold",t).metrics?Ue(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===se[t][e].font?Ue(e,"Main-Regular",t,n,r):Ue(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:Ke,makeSvgSpan:Ge,makeLineSpan:function(e,t,n){var r=Ke([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=U(r.height),r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){var o=new J(e,t,n,r);return We(o),o},makeFragment:Ye,wrapFragment:function(e,t){return e instanceof A?Ke([],[e],t):e},makeVList:function(e,t){for(var{children:n,depth:r}=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,o=r,i=1;i<t.length;i++){var a=-t[i].shift-o-t[i].elem.depth,s=a-(t[i-1].elem.height+t[i-1].elem.depth);o+=a,n.push({type:"kern",size:s}),n.push(t[i])}return{children:n,depth:r}}var l;if("top"===e.positionType){for(var c=e.positionData,u=0;u<e.children.length;u++){var d=e.children[u];c-="kern"===d.type?d.size:d.elem.height+d.elem.depth}l=c}else if("bottom"===e.positionType)l=-e.positionData;else{var f=e.children[0];if("elem"!==f.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)l=-f.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");l=-f.elem.depth}}return{children:e.children,depth:l}}(e),o=0,i=0;i<n.length;i++){var a=n[i];if("elem"===a.type){var s=a.elem;o=Math.max(o,s.maxFontSize,s.height)}}o+=2;var l=Ke(["pstrut"],[]);l.style.height=U(o);for(var c=[],u=r,d=r,f=r,p=0;p<n.length;p++){var h=n[p];if("kern"===h.type)f+=h.size;else{var m=h.elem,g=h.wrapperClasses||[],v=h.wrapperStyle||{},y=Ke(g,[l,m],void 0,v);y.style.top=U(-o-f-m.depth),h.marginLeft&&(y.style.marginLeft=h.marginLeft),h.marginRight&&(y.style.marginRight=h.marginRight),c.push(y),f+=m.height+m.depth}u=Math.min(u,f),d=Math.max(d,f)}var b,w=Ke(["vlist"],c);if(w.style.height=U(d),u<0){var C=Ke([],[]),x=Ke(["vlist"],[C]);x.style.height=U(-u);var k=Ke(["vlist-s"],[new ee("\u200b")]);b=[Ke(["vlist-r"],[w,k]),Ke(["vlist-r"],[x])]}else b=[Ke(["vlist-r"],[w])];var _=Ke(["vlist-t"],b);return 2===b.length&&_.classes.push("vlist-t2"),_.height=d,_.depth=-u,_},makeOrd:function(e,t,n){var r=e.mode,o=e.text,i=["mord"],a="math"===r||"text"===r&&t.font,s=a?t.font:t.fontFamily,c="",u="";if(55349===o.charCodeAt(0)&&([c,u]=function(e,t){var n=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,r="math"===t?0:1;if(119808<=n&&n<120484){var o=Math.floor((n-119808)/26);return[Fe[o][2],Fe[o][r]]}if(120782<=n&&n<=120831){var i=Math.floor((n-120782)/10);return[Ve[i][2],Ve[i][r]]}if(120485===n||120486===n)return[Fe[0][2],Fe[0][r]];if(120486<n&&n<120782)return["",""];throw new l("Unsupported character: "+e)}(o,r)),c.length>0)return Ue(o,c,r,t,i.concat(u));if(s){var d,f;if("boldsymbol"===s){var p=function(e,t,n,r,o){return"textord"!==o&&qe(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(o,r,0,0,n);d=p.fontName,f=[p.fontClass]}else a?(d=Xe[s].fontName,f=[s]):(d=Je(s,t.fontWeight,t.fontShape),f=[s,t.fontWeight,t.fontShape]);if(qe(o,d,r).metrics)return Ue(o,d,r,t,i.concat(f));if(_e.hasOwnProperty(o)&&"Typewriter"===d.slice(0,10)){for(var h=[],m=0;m<o.length;m++)h.push(Ue(o[m],d,r,t,i.concat(f)));return Ye(h)}}if("mathord"===n)return Ue(o,"Math-Italic",r,t,i.concat(["mathnormal"]));if("textord"===n){var g=se[r][o]&&se[r][o].font;if("ams"===g){var v=Je("amsrm",t.fontWeight,t.fontShape);return Ue(o,v,r,t,i.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==g&&g){var y=Je(g,t.fontWeight,t.fontShape);return Ue(o,y,r,t,i.concat(y,t.fontWeight,t.fontShape))}var b=Je("textrm",t.fontWeight,t.fontShape);return Ue(o,b,r,t,i.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+n+" in makeOrd")},makeGlue:(e,t)=>{var n=Ke(["mspace"],[],t),r=q(e,t);return n.style.marginRight=U(r),n},staticSvg:function(e,t){var[n,r,o]=Qe[e],i=new ne(n),a=new te([i],{width:U(r),height:U(o),style:"width:"+U(r),viewBox:"0 0 "+1e3*r+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),s=Ge(["overlay"],[a],t);return s.height=o,s.style.height=U(o),s.style.width=U(r),s},svgData:Qe,tryCombineChars:e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof ee&&r instanceof ee&&$e(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e}},tt={number:3,unit:"mu"},nt={number:4,unit:"mu"},rt={number:5,unit:"mu"},ot={mord:{mop:tt,mbin:nt,mrel:rt,minner:tt},mop:{mord:tt,mop:tt,mrel:rt,minner:tt},mbin:{mord:nt,mop:nt,mopen:nt,minner:nt},mrel:{mord:rt,mop:rt,mopen:rt,minner:rt},mopen:{},mclose:{mop:tt,mbin:nt,mrel:rt,minner:tt},mpunct:{mord:tt,mop:tt,mrel:rt,mopen:tt,mclose:tt,mpunct:tt,minner:tt},minner:{mord:tt,mop:tt,mbin:nt,mrel:rt,mopen:tt,mpunct:tt,minner:tt}},it={mord:{mop:tt},mop:{mord:tt,mop:tt},mbin:{},mrel:{},mopen:{},mclose:{mop:tt},mpunct:{},minner:{mop:tt}},at={},st={},lt={};function ct(e){for(var{type:t,names:n,props:r,handler:o,htmlBuilder:i,mathmlBuilder:a}=e,s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:o},l=0;l<n.length;++l)at[n[l]]=s;t&&(i&&(st[t]=i),a&&(lt[t]=a))}function ut(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;ct({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var dt=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},ft=function(e){return"ordgroup"===e.type?e.body:[e]},pt=et.makeSpan,ht=["leftmost","mbin","mopen","mrel","mop","mpunct"],mt=["rightmost","mrel","mclose","mpunct"],gt={display:S.DISPLAY,text:S.TEXT,script:S.SCRIPT,scriptscript:S.SCRIPTSCRIPT},vt={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},yt=function(e,t,n,r){void 0===r&&(r=[null,null]);for(var o=[],i=0;i<e.length;i++){var a=_t(e[i],t);if(a instanceof A){var s=a.children;o.push(...s)}else o.push(a)}if(et.tryCombineChars(o),!n)return o;var l=t;if(1===e.length){var c=e[0];"sizing"===c.type?l=t.havingSize(c.size):"styling"===c.type&&(l=t.havingStyle(gt[c.style]))}var u=pt([r[0]||"leftmost"],[],t),d=pt([r[1]||"rightmost"],[],t),f="root"===n;return bt(o,((e,t)=>{var n=t.classes[0],r=e.classes[0];"mbin"===n&&p.contains(mt,r)?t.classes[0]="mord":"mbin"===r&&p.contains(ht,n)&&(e.classes[0]="mord")}),{node:u},d,f),bt(o,((e,t)=>{var n=xt(t),r=xt(e),o=n&&r?e.hasClass("mtight")?it[n][r]:ot[n][r]:null;if(o)return et.makeGlue(o,l)}),{node:u},d,f),o},bt=function e(t,n,r,o,i){o&&t.push(o);for(var a=0;a<t.length;a++){var s=t[a],l=wt(s);if(l)e(l.children,n,r,null,i);else{var c=!s.hasClass("mspace");if(c){var u=n(s,r.node);u&&(r.insertAfter?r.insertAfter(u):(t.unshift(u),a++))}c?r.node=s:i&&s.hasClass("newline")&&(r.node=pt(["leftmost"])),r.insertAfter=(e=>n=>{t.splice(e+1,0,n),a++})(a)}}o&&t.pop()},wt=function(e){return e instanceof A||e instanceof J||e instanceof Y&&e.hasClass("enclosing")?e:null},Ct=function e(t,n){var r=wt(t);if(r){var o=r.children;if(o.length){if("right"===n)return e(o[o.length-1],"right");if("left"===n)return e(o[0],"left")}}return t},xt=function(e,t){return e?(t&&(e=Ct(e,t)),vt[e.classes[0]]||null):null},kt=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return pt(t.concat(n))},_t=function(e,t,n){if(!e)return pt();if(st[e.type]){var r=st[e.type](e,t);if(n&&t.size!==n.size){r=pt(t.sizingClasses(n),[r],t);var o=t.sizeMultiplier/n.sizeMultiplier;r.height*=o,r.depth*=o}return r}throw new l("Got group of unknown type: '"+e.type+"'")};function St(e,t){var n=pt(["base"],e,t),r=pt(["strut"]);return r.style.height=U(n.height+n.depth),n.depth&&(r.style.verticalAlign=U(-n.depth)),n.children.unshift(r),n}function Et(e,t){var n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);var r,o=yt(e,t,"root");2===o.length&&o[1].hasClass("tag")&&(r=o.pop());for(var i,a=[],s=[],l=0;l<o.length;l++)if(s.push(o[l]),o[l].hasClass("mbin")||o[l].hasClass("mrel")||o[l].hasClass("allowbreak")){for(var c=!1;l<o.length-1&&o[l+1].hasClass("mspace")&&!o[l+1].hasClass("newline");)l++,s.push(o[l]),o[l].hasClass("nobreak")&&(c=!0);c||(a.push(St(s,t)),s=[])}else o[l].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(St(s,t)),s=[]),a.push(o[l]));s.length>0&&a.push(St(s,t)),n?((i=St(yt(n,t,!0))).classes=["tag"],a.push(i)):r&&a.push(r);var u=pt(["katex-html"],a);if(u.setAttribute("aria-hidden","true"),i){var d=i.children[0];d.style.height=U(u.height+u.depth),u.depth&&(d.style.verticalAlign=U(-u.depth))}return u}function Mt(e){return new A(e)}class Lt{constructor(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=$(this.classes));for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=p.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+p.escape($(this.classes))+'"'),e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">"}toText(){return this.children.map((e=>e.toText())).join("")}}class Nt{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return p.escape(this.toText())}toText(){return this.text}}var Ot={MathNode:Lt,TextNode:Nt,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?"\u200a":e>=.1666&&e<=.1667?"\u2009":e>=.2222&&e<=.2223?"\u2005":e>=.2777&&e<=.2778?"\u2005\u200a":e>=-.05556&&e<=-.05555?"\u200a\u2063":e>=-.1667&&e<=-.1666?"\u2009\u2063":e>=-.2223&&e<=-.2222?"\u205f\u2063":e>=-.2778&&e<=-.2777?"\u2005\u2063":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",U(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+U(this.width)+'"/>'}toText(){return this.character?this.character:" "}},newDocumentFragment:Mt},At=function(e,t,n){return!se[t][e]||!se[t][e].replace||55349===e.charCodeAt(0)||_e.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.slice(4,6)||n.font&&"tt"===n.font.slice(4,6))||(e=se[t][e].replace),new Ot.TextNode(e)},jt=function(e){return 1===e.length?e[0]:new Ot.MathNode("mrow",e)},Tt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var n=t.font;if(!n||"mathnormal"===n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var o=e.text;return p.contains(["\\imath","\\jmath"],o)?null:(se[r][o]&&se[r][o].replace&&(o=se[r][o].replace),P(o,et.fontMap[n].fontName,r)?et.fontMap[n].variant:null)},Zt=function(e,t,n){if(1===e.length){var r=Rt(e[0],t);return n&&r instanceof Lt&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o,i=[],a=0;a<e.length;a++){var s=Rt(e[a],t);if(s instanceof Lt&&o instanceof Lt){if("mtext"===s.type&&"mtext"===o.type&&s.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...s.children);continue}if("mn"===s.type&&"mn"===o.type){o.children.push(...s.children);continue}if("mi"===s.type&&1===s.children.length&&"mn"===o.type){var l=s.children[0];if(l instanceof Nt&&"."===l.text){o.children.push(...s.children);continue}}else if("mi"===o.type&&1===o.children.length){var c=o.children[0];if(c instanceof Nt&&"\u0338"===c.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var u=s.children[0];u instanceof Nt&&u.text.length>0&&(u.text=u.text.slice(0,1)+"\u0338"+u.text.slice(1),i.pop())}}}i.push(s),o=s}return i},Pt=function(e,t,n){return jt(Zt(e,t,n))},Rt=function(e,t){if(!e)return new Ot.MathNode("mrow");if(lt[e.type])return lt[e.type](e,t);throw new l("Got group of unknown type: '"+e.type+"'")};function It(e,t,n,r,o){var i,a=Zt(e,n);i=1===a.length&&a[0]instanceof Lt&&p.contains(["mrow","mtable"],a[0].type)?a[0]:new Ot.MathNode("mrow",a);var s=new Ot.MathNode("annotation",[new Ot.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new Ot.MathNode("semantics",[i,s]),c=new Ot.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var u=o?"katex":"katex-mathml";return et.makeSpan([u],[c])}var Dt=function(e){return new H({style:e.displayMode?S.DISPLAY:S.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},zt=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=et.makeSpan(n,[e])}return e},Ht={widehat:"^",widecheck:"\u02c7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23df",overbrace:"\u23de",overgroup:"\u23e0",undergroup:"\u23e1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},Bt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ft=function(e,t,n,r,o){var i,a=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(i=et.makeSpan(["stretchy",t],[],o),"fbox"===t){var s=o.color&&o.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new re({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new re({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new te(l,{width:"100%",height:U(a)});i=et.makeSvgSpan([],[c],o)}return i.height=a,i.style.height=U(a),i},Vt=function(e){var t=new Ot.MathNode("mo",[new Ot.TextNode(Ht[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},qt=function(e,t){var{span:n,minWidth:r,height:o}=function(){var n=4e5,r=e.label.slice(1);if(p.contains(["widehat","widecheck","widetilde","utilde"],r)){var o,i,a,s="ordgroup"===(h=e.base).type?h.body.length:1;if(s>5)"widehat"===r||"widecheck"===r?(o=420,n=2364,a=.42,i=r+"4"):(o=312,n=2340,a=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][l],o=[0,239,300,360,420][l],a=[0,.24,.3,.3,.36,.42][l],i=r+l):(n=[0,600,1033,2339,2340][l],o=[0,260,286,306,312][l],a=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}var c=new ne(i),u=new te([c],{width:"100%",height:U(a),viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:et.makeSvgSpan([],[u],t),minWidth:0,height:a}}var d,f,h,m=[],g=Bt[r],[v,y,b]=g,w=b/1e3,C=v.length;if(1===C)d=["hide-tail"],f=[g[3]];else if(2===C)d=["halfarrow-left","halfarrow-right"],f=["xMinYMin","xMaxYMin"];else{if(3!==C)throw new Error("Correct katexImagesData or update code here to support\n                    "+C+" children.");d=["brace-left","brace-center","brace-right"],f=["xMinYMin","xMidYMin","xMaxYMin"]}for(var x=0;x<C;x++){var k=new ne(v[x]),_=new te([k],{width:"400em",height:U(w),viewBox:"0 0 "+n+" "+b,preserveAspectRatio:f[x]+" slice"}),S=et.makeSvgSpan([d[x]],[_],t);if(1===C)return{span:S,minWidth:y,height:w};S.style.height=U(w),m.push(S)}return{span:et.makeSpan(["stretchy"],m,t),minWidth:y,height:w}}();return n.height=o,n.style.height=U(o),r>0&&(n.style.minWidth=U(r)),n};function Ut(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function $t(e){var t=Wt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Wt(e){return e&&("atom"===e.type||ae.hasOwnProperty(e.type))?e:null}var Kt=(e,t)=>{var n,r,o;e&&"supsub"===e.type?(n=(r=Ut(e.base,"accent")).base,e.base=n,o=function(e){if(e instanceof Y)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(_t(e,t)),e.base=r):n=(r=Ut(e,"accent")).base;var i=_t(n,t.havingCrampedStyle()),a=0;if(r.isShifty&&p.isCharacterBox(n)){var s=p.getBaseElem(n);a=oe(_t(s,t.havingCrampedStyle())).skew}var l,c="\\c"===r.label,u=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(r.isStretchy)l=qt(r,t),l=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+U(2*a)+")",marginLeft:U(2*a)}:void 0}]},t);else{var d,f;"\\vec"===r.label?(d=et.staticSvg("vec",t),f=et.svgData.vec[1]):((d=oe(d=et.makeOrd({mode:r.mode,text:r.label},t,"textord"))).italic=0,f=d.width,c&&(u+=d.depth)),l=et.makeSpan(["accent-body"],[d]);var h="\\textcircled"===r.label;h&&(l.classes.push("accent-full"),u=i.height);var m=a;h||(m-=f/2),l.style.left=U(m),"\\textcircled"===r.label&&(l.style.top=".2em"),l=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-u},{type:"elem",elem:l}]},t)}var g=et.makeSpan(["mord","accent"],[l],t);return o?(o.children[0]=g,o.height=Math.max(g.height,o.height),o.classes[0]="mord",o):g},Gt=(e,t)=>{var n=e.isStretchy?Vt(e.label):new Ot.MathNode("mo",[At(e.label,e.mode)]),r=new Ot.MathNode("mover",[Rt(e.base,t),n]);return r.setAttribute("accent","true"),r},Yt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));ct({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var n=dt(t[0]),r=!Yt.test(e.funcName),o=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:o,base:n}},htmlBuilder:Kt,mathmlBuilder:Gt}),ct({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return"math"===r&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Kt,mathmlBuilder:Gt}),ct({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:o}},htmlBuilder:(e,t)=>{var n=_t(e.base,t),r=qt(e,t),o="\\utilde"===e.label?.12:0,i=et.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return et.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var n=Vt(e.label),r=new Ot.MathNode("munder",[Rt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Jt=e=>{var t=new Ot.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ct({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:o}=e;return{type:"xArrow",mode:r.mode,label:o,body:t[0],below:n[0]}},htmlBuilder(e,t){var n,r=t.style,o=t.havingStyle(r.sup()),i=et.wrapFragment(_t(e.body,o,t),t),a="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(a+"-arrow-pad"),e.below&&(o=t.havingStyle(r.sub()),(n=et.wrapFragment(_t(e.below,o,t),t)).classes.push(a+"-arrow-pad"));var s,l=qt(e,t),c=-t.fontMetrics().axisHeight+.5*l.height,u=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=i.depth),n){var d=-t.fontMetrics().axisHeight+n.height+.5*l.height+.111;s=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:l,shift:c},{type:"elem",elem:n,shift:d}]},t)}else s=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:l,shift:c}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),et.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var n,r=Vt(e.label);if(r.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var o=Jt(Rt(e.body,t));if(e.below){var i=Jt(Rt(e.below,t));n=new Ot.MathNode("munderover",[r,i,o])}else n=new Ot.MathNode("mover",[r,o])}else if(e.below){var a=Jt(Rt(e.below,t));n=new Ot.MathNode("munder",[r,a])}else n=Jt(),n=new Ot.MathNode("mover",[r,n]);return n}});var Xt=et.makeSpan;function Qt(e,t){var n=yt(e.body,t,!0);return Xt([e.mclass],n,t)}function en(e,t){var n,r=Zt(e.body,t);return"minner"===e.mclass?n=new Ot.MathNode("mpadded",r):"mord"===e.mclass?e.isCharacterBox?(n=r[0]).type="mi":n=new Ot.MathNode("mi",r):(e.isCharacterBox?(n=r[0]).type="mo":n=new Ot.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0em"):"minner"===e.mclass&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}ct({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:ft(o),isCharacterBox:p.isCharacterBox(o)}},htmlBuilder:Qt,mathmlBuilder:en});var tn=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};ct({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:tn(t[0]),body:ft(t[1]),isCharacterBox:p.isCharacterBox(t[1])}}}),ct({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var n,{parser:r,funcName:o}=e,i=t[1],a=t[0];n="\\stackrel"!==o?tn(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==o,body:ft(i)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===o?null:a,sub:"\\underset"===o?a:null};return{type:"mclass",mode:r.mode,mclass:n,body:[l],isCharacterBox:p.isCharacterBox(l)}},htmlBuilder:Qt,mathmlBuilder:en}),ct({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:tn(t[0]),body:ft(t[0])}},htmlBuilder(e,t){var n=yt(e.body,t,!0),r=et.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=Zt(e.body,t),r=new Ot.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var nn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},rn=e=>"textord"===e.type&&"@"===e.text;function on(e,t,n){var r=nn[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var o={type:"atom",text:r,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[n.callFunction("\\\\cdleft",[t[0]],[]),n.callFunction("\\Big",[o],[]),n.callFunction("\\\\cdright",[t[1]],[])]};return n.callFunction("\\\\cdparent",[i],[]);case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return n.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}ct({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=et.wrapFragment(_t(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=U(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Ot.MathNode("mrow",[Rt(e.label,t)]);return(n=new Ot.MathNode("mpadded",[n])).setAttribute("width","0"),"left"===e.side&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),(n=new Ot.MathNode("mstyle",[n])).setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),ct({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=et.wrapFragment(_t(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder:(e,t)=>new Ot.MathNode("mrow",[Rt(e.fragment,t)])}),ct({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=Ut(t[0],"ordgroup").body,o="",i=0;i<r.length;i++){o+=Ut(r[i],"textord").text}var a,s=parseInt(o);if(isNaN(s))throw new l("\\@char has non-numeric argument "+o);if(s<0||s>=1114111)throw new l("\\@char with invalid code point "+o);return s<=65535?a=String.fromCharCode(s):(s-=65536,a=String.fromCharCode(55296+(s>>10),56320+(1023&s))),{type:"textord",mode:n.mode,text:a}}});var an=(e,t)=>{var n=yt(e.body,t.withColor(e.color),!1);return et.makeFragment(n)},sn=(e,t)=>{var n=Zt(e.body,t.withColor(e.color)),r=new Ot.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};ct({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=Ut(t[0],"color-token").color,o=t[1];return{type:"color",mode:n.mode,color:r,body:ft(o)}},htmlBuilder:an,mathmlBuilder:sn}),ct({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,o=Ut(t[0],"color-token").color;n.gullet.macros.set("\\current@color",o);var i=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:o,body:i}},htmlBuilder:an,mathmlBuilder:sn}),ct({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,o="["===r.gullet.future().text?r.parseSizeGroup(!0):null,i=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:i,size:o&&Ut(o,"size").value}},htmlBuilder(e,t){var n=et.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=U(q(e.size,t)))),n},mathmlBuilder(e,t){var n=new Ot.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",U(q(e.size,t)))),n}});var ln={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},cn=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new l("Expected a control sequence",e);return t},un=(e,t,n,r)=>{var o=e.gullet.macros.get(n.text);null==o&&(n.noexpand=!0,o={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,o,r)};ct({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(ln[r.text])return"\\global"!==n&&"\\\\globallong"!==n||(r.text=ln[r.text]),Ut(t.parseFunction(),"internal");throw new l("Invalid token after macro prefix",r)}}),ct({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),o=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new l("Expected a control sequence",r);for(var i,a=0,s=[[]];"{"!==t.gullet.future().text;)if("#"===(r=t.gullet.popToken()).text){if("{"===t.gullet.future().text){i=t.gullet.future(),s[a].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new l('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==a+1)throw new l('Argument number "'+r.text+'" out of order');a++,s.push([])}else{if("EOF"===r.text)throw new l("Expected a macro definition");s[a].push(r.text)}var{tokens:c}=t.gullet.consumeArg();return i&&c.unshift(i),"\\edef"!==n&&"\\xdef"!==n||(c=t.gullet.expandTokens(c)).reverse(),t.gullet.macros.set(o,{tokens:c,numArgs:a,delimiters:s},n===ln[n]),{type:"internal",mode:t.mode}}}),ct({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=cn(t.gullet.popToken());t.gullet.consumeSpaces();var o=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return un(t,r,o,"\\\\globallet"===n),{type:"internal",mode:t.mode}}}),ct({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=cn(t.gullet.popToken()),o=t.gullet.popToken(),i=t.gullet.popToken();return un(t,r,i,"\\\\globalfuture"===n),t.gullet.pushToken(i),t.gullet.pushToken(o),{type:"internal",mode:t.mode}}});var dn=function(e,t,n){var r=P(se.math[e]&&se.math[e].replace||e,t,n);if(!r)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return r},fn=function(e,t,n,r){var o=n.havingBaseStyle(t),i=et.makeSpan(r.concat(o.sizingClasses(n)),[e],n),a=o.sizeMultiplier/n.sizeMultiplier;return i.height*=a,i.depth*=a,i.maxFontSize=o.sizeMultiplier,i},pn=function(e,t,n){var r=t.havingBaseStyle(n),o=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=U(o),e.height-=o,e.depth+=o},hn=function(e,t,n,r,o,i){var a=function(e,t,n,r){return et.makeSymbol(e,"Size"+t+"-Regular",n,r)}(e,t,o,r),s=fn(et.makeSpan(["delimsizing","size"+t],[a],r),S.TEXT,r,i);return n&&pn(s,r,S.TEXT),s},mn=function(e,t,n){var r;return r="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:et.makeSpan(["delimsizinginner",r],[et.makeSpan([],[et.makeSymbol(e,t,n)])])}},gn=function(e,t,n){var r=j["Size4-Regular"][e.charCodeAt(0)]?j["Size4-Regular"][e.charCodeAt(0)][4]:j["Size1-Regular"][e.charCodeAt(0)][4],o=new ne("inner",function(e,t){switch(e){case"\u239c":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"\u239f":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23a2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23a5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23aa":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23d0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new te([o],{width:U(r),height:U(t),style:"width:"+U(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=et.makeSvgSpan([],[i],n);return a.height=t,a.style.height=U(t),a.style.width=U(r),{type:"elem",elem:a}},vn={type:"kern",size:-.008},yn=["|","\\lvert","\\rvert","\\vert"],bn=["\\|","\\lVert","\\rVert","\\Vert"],wn=function(e,t,n,r,o,i){var a,s,l,c,u="",d=0;a=l=c=e,s=null;var f="Size1-Regular";"\\uparrow"===e?l=c="\u23d0":"\\Uparrow"===e?l=c="\u2016":"\\downarrow"===e?a=l="\u23d0":"\\Downarrow"===e?a=l="\u2016":"\\updownarrow"===e?(a="\\uparrow",l="\u23d0",c="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="\u2016",c="\\Downarrow"):p.contains(yn,e)?(l="\u2223",u="vert",d=333):p.contains(bn,e)?(l="\u2225",u="doublevert",d=556):"["===e||"\\lbrack"===e?(a="\u23a1",l="\u23a2",c="\u23a3",f="Size4-Regular",u="lbrack",d=667):"]"===e||"\\rbrack"===e?(a="\u23a4",l="\u23a5",c="\u23a6",f="Size4-Regular",u="rbrack",d=667):"\\lfloor"===e||"\u230a"===e?(l=a="\u23a2",c="\u23a3",f="Size4-Regular",u="lfloor",d=667):"\\lceil"===e||"\u2308"===e?(a="\u23a1",l=c="\u23a2",f="Size4-Regular",u="lceil",d=667):"\\rfloor"===e||"\u230b"===e?(l=a="\u23a5",c="\u23a6",f="Size4-Regular",u="rfloor",d=667):"\\rceil"===e||"\u2309"===e?(a="\u23a4",l=c="\u23a5",f="Size4-Regular",u="rceil",d=667):"("===e||"\\lparen"===e?(a="\u239b",l="\u239c",c="\u239d",f="Size4-Regular",u="lparen",d=875):")"===e||"\\rparen"===e?(a="\u239e",l="\u239f",c="\u23a0",f="Size4-Regular",u="rparen",d=875):"\\{"===e||"\\lbrace"===e?(a="\u23a7",s="\u23a8",c="\u23a9",l="\u23aa",f="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="\u23ab",s="\u23ac",c="\u23ad",l="\u23aa",f="Size4-Regular"):"\\lgroup"===e||"\u27ee"===e?(a="\u23a7",c="\u23a9",l="\u23aa",f="Size4-Regular"):"\\rgroup"===e||"\u27ef"===e?(a="\u23ab",c="\u23ad",l="\u23aa",f="Size4-Regular"):"\\lmoustache"===e||"\u23b0"===e?(a="\u23a7",c="\u23ad",l="\u23aa",f="Size4-Regular"):"\\rmoustache"!==e&&"\u23b1"!==e||(a="\u23ab",c="\u23a9",l="\u23aa",f="Size4-Regular");var h=dn(a,f,o),m=h.height+h.depth,g=dn(l,f,o),v=g.height+g.depth,y=dn(c,f,o),b=y.height+y.depth,w=0,C=1;if(null!==s){var x=dn(s,f,o);w=x.height+x.depth,C=2}var k=m+b+w,_=k+Math.max(0,Math.ceil((t-k)/(C*v)))*C*v,E=r.fontMetrics().axisHeight;n&&(E*=r.sizeMultiplier);var M=_/2-E,L=[];if(u.length>0){var N=_-m-b,O=Math.round(1e3*_),A=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(u,Math.round(1e3*N)),j=new ne(u,A),T=(d/1e3).toFixed(3)+"em",Z=(O/1e3).toFixed(3)+"em",P=new te([j],{width:T,height:Z,viewBox:"0 0 "+d+" "+O}),R=et.makeSvgSpan([],[P],r);R.height=O/1e3,R.style.width=T,R.style.height=Z,L.push({type:"elem",elem:R})}else{if(L.push(mn(c,f,o)),L.push(vn),null===s){var I=_-m-b+.016;L.push(gn(l,I,r))}else{var D=(_-m-b-w)/2+.016;L.push(gn(l,D,r)),L.push(vn),L.push(mn(s,f,o)),L.push(vn),L.push(gn(l,D,r))}L.push(vn),L.push(mn(a,f,o))}var z=r.havingBaseStyle(S.TEXT),H=et.makeVList({positionType:"bottom",positionData:M,children:L},z);return fn(et.makeSpan(["delimsizing","mult"],[H],z),S.TEXT,r,i)},Cn=.08,xn=function(e,t,n,r,o){var i=function(e,t,n){t*=1e3;var r="";switch(e){case"sqrtMain":r=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,N);break;case"sqrtSize1":r=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,N);break;case"sqrtSize2":r=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,N);break;case"sqrtSize3":r=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"}(t,N);break;case"sqrtSize4":r=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"}(t,N);break;case"sqrtTall":r=function(e,t,n){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(n-54-t-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"}(t,N,n)}return r}(e,r,n),a=new ne(e,i),s=new te([a],{width:"400em",height:U(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return et.makeSvgSpan(["hide-tail"],[s],o)},kn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","\\surd"],_n=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1"],Sn=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],En=[0,1.2,1.8,2.4,3],Mn=[{type:"small",style:S.SCRIPTSCRIPT},{type:"small",style:S.SCRIPT},{type:"small",style:S.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ln=[{type:"small",style:S.SCRIPTSCRIPT},{type:"small",style:S.SCRIPT},{type:"small",style:S.TEXT},{type:"stack"}],Nn=[{type:"small",style:S.SCRIPTSCRIPT},{type:"small",style:S.SCRIPT},{type:"small",style:S.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],On=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},An=function(e,t,n,r){for(var o=Math.min(2,3-r.style.size);o<n.length&&"stack"!==n[o].type;o++){var i=dn(e,On(n[o]),"math"),a=i.height+i.depth;if("small"===n[o].type&&(a*=r.havingBaseStyle(n[o].style).sizeMultiplier),a>t)return n[o]}return n[n.length-1]},jn=function(e,t,n,r,o,i){var a;"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),a=p.contains(Sn,e)?Mn:p.contains(kn,e)?Nn:Ln;var s=An(e,t,a,r);return"small"===s.type?function(e,t,n,r,o,i){var a=et.makeSymbol(e,"Main-Regular",o,r),s=fn(a,t,r,i);return n&&pn(s,r,t),s}(e,s.style,n,r,o,i):"large"===s.type?hn(e,s.size,n,r,o,i):wn(e,t,n,r,o,i)},Tn={sqrtImage:function(e,t){var n,r,o=t.havingBaseSizing(),i=An("\\surd",e*o.sizeMultiplier,Nn,o),a=o.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,c=0,u=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),c=(1+s)/a,(n=xn("sqrtMain",l=(1+s+Cn)/a,u=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",r=.833/a):"large"===i.type?(u=1080*En[i.size],c=(En[i.size]+s)/a,l=(En[i.size]+s+Cn)/a,(n=xn("sqrtSize"+i.size,l,u,s,t)).style.minWidth="1.02em",r=1/a):(l=e+s+Cn,c=e+s,u=Math.floor(1e3*e+s)+80,(n=xn("sqrtTall",l,u,s,t)).style.minWidth="0.742em",r=1.056),n.height=c,n.style.height=U(l),{span:n,advanceWidth:r,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},sizedDelim:function(e,t,n,r,o){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),p.contains(kn,e)||p.contains(Sn,e))return hn(e,t,!1,n,r,o);if(p.contains(_n,e))return wn(e,En[t],!1,n,r,o);throw new l("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:En,customSizedDelim:jn,leftRightDelim:function(e,t,n,r,o,i){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,s=5/r.fontMetrics().ptPerEm,l=Math.max(t-a,n+a),c=Math.max(l/500*901,2*l-s);return jn(e,c,!0,r,o,i)}},Zn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Pn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Rn(e,t){var n=Wt(e);if(n&&p.contains(Pn,n.text))return n;throw new l(n?"Invalid delimiter '"+n.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function In(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ct({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var n=Rn(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Zn[e.funcName].size,mclass:Zn[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>"."===e.delim?et.makeSpan([e.mclass]):Tn.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(At(e.delim,e.mode));var n=new Ot.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=U(Tn.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}}),ct({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new l("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Rn(t[0],e).text,color:n}}}),ct({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Rn(t[0],e),r=e.parser;++r.leftrightDepth;var o=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var i=Ut(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:o,left:n.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{In(e);for(var n,r,o=yt(e.body,t,!0,["mopen","mclose"]),i=0,a=0,s=!1,l=0;l<o.length;l++)o[l].isMiddle?s=!0:(i=Math.max(o[l].height,i),a=Math.max(o[l].depth,a));if(i*=t.sizeMultiplier,a*=t.sizeMultiplier,n="."===e.left?kt(t,["mopen"]):Tn.leftRightDelim(e.left,i,a,t,e.mode,["mopen"]),o.unshift(n),s)for(var c=1;c<o.length;c++){var u=o[c].isMiddle;u&&(o[c]=Tn.leftRightDelim(u.delim,i,a,u.options,e.mode,[]))}if("."===e.right)r=kt(t,["mclose"]);else{var d=e.rightColor?t.withColor(e.rightColor):t;r=Tn.leftRightDelim(e.right,i,a,d,e.mode,["mclose"])}return o.push(r),et.makeSpan(["minner"],o,t)},mathmlBuilder:(e,t)=>{In(e);var n=Zt(e.body,t);if("."!==e.left){var r=new Ot.MathNode("mo",[At(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if("."!==e.right){var o=new Ot.MathNode("mo",[At(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),n.push(o)}return jt(n)}}),ct({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Rn(t[0],e);if(!e.parser.leftrightDepth)throw new l("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if("."===e.delim)n=kt(t,[]);else{n=Tn.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n="\\vert"===e.delim||"|"===e.delim?At("|","text"):At(e.delim,e.mode),r=new Ot.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var Dn=(e,t)=>{var n,r,o,i=et.wrapFragment(_t(e.body,t),t),a=e.label.slice(1),s=t.sizeMultiplier,l=0,c=p.isCharacterBox(e.body);if("sout"===a)(n=et.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,l=-.5*t.fontMetrics().xHeight;else if("phase"===a){var u=q({number:.6,unit:"pt"},t),d=q({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var f=i.height+i.depth+u+d;i.style.paddingLeft=U(f/2+u);var h=Math.floor(1e3*f*s),m="M400000 "+(r=h)+" H0 L"+r/2+" 0 l65 45 L145 "+(r-80)+" H400000z",g=new te([new ne("phase",m)],{width:"400em",height:U(h/1e3),viewBox:"0 0 400000 "+h,preserveAspectRatio:"xMinYMin slice"});(n=et.makeSvgSpan(["hide-tail"],[g],t)).style.height=U(f),l=i.depth+u+d}else{/cancel/.test(a)?c||i.classes.push("cancel-pad"):"angl"===a?i.classes.push("anglpad"):i.classes.push("boxpad");var v=0,y=0,b=0;/box/.test(a)?(b=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),y=v=t.fontMetrics().fboxsep+("colorbox"===a?0:b)):"angl"===a?(v=4*(b=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),y=Math.max(0,.25-i.depth)):y=v=c?.2:0,n=Ft(i,a,v,y,t),/fbox|boxed|fcolorbox/.test(a)?(n.style.borderStyle="solid",n.style.borderWidth=U(b)):"angl"===a&&.049!==b&&(n.style.borderTopWidth=U(b),n.style.borderRightWidth=U(b)),l=i.depth+y,e.backgroundColor&&(n.style.backgroundColor=e.backgroundColor,e.borderColor&&(n.style.borderColor=e.borderColor))}if(e.backgroundColor)o=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:l},{type:"elem",elem:i,shift:0}]},t);else{var w=/cancel|phase/.test(a)?["svg-align"]:[];o=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:n,shift:l,wrapperClasses:w}]},t)}return/cancel/.test(a)&&(o.height=i.height,o.depth=i.depth),/cancel/.test(a)&&!c?et.makeSpan(["mord","cancel-lap"],[o],t):et.makeSpan(["mord"],[o],t)},zn=(e,t)=>{var n=0,r=new Ot.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Rt(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){var o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};ct({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:o}=e,i=Ut(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:Dn,mathmlBuilder:zn}),ct({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:o}=e,i=Ut(t[0],"color-token").color,a=Ut(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:o,backgroundColor:a,borderColor:i,body:s}},htmlBuilder:Dn,mathmlBuilder:zn}),ct({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),ct({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];return{type:"enclose",mode:n.mode,label:r,body:o}},htmlBuilder:Dn,mathmlBuilder:zn}),ct({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var Hn={};function Bn(e){for(var{type:t,names:n,props:r,handler:o,htmlBuilder:i,mathmlBuilder:a}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:o},l=0;l<n.length;++l)Hn[n[l]]=s;i&&(st[t]=i),a&&(lt[t]=a)}var Fn={};function Vn(e,t){Fn[e]=t}function qn(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for("\\relax"===n&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);"\\hline"===n||"\\hdashline"===n;)e.consume(),t.push("\\hdashline"===n),e.consumeSpaces(),n=e.fetch().text;return t}var Un=e=>{if(!e.parser.settings.displayMode)throw new l("{"+e.envName+"} can be used only in display mode.")};function $n(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Wn(e,t,n){var{hskipBeforeAndAfter:r,addJot:o,cols:i,arraystretch:a,colSeparationType:c,autoTag:u,singleRow:d,emptySingleRow:f,maxNumCols:p,leqno:h}=t;if(e.gullet.beginGroup(),d||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){var m=e.gullet.expandMacroAsText("\\arraystretch");if(null==m)a=1;else if(!(a=parseFloat(m))||a<0)throw new l("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var g=[],v=[g],y=[],b=[],w=null!=u?[]:void 0;function C(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function x(){w&&(e.gullet.macros.get("\\df@tag")?(w.push(e.subparse([new s("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):w.push(Boolean(u)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(C(),b.push(qn(e));;){var k=e.parseExpression(!1,d?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),k={type:"ordgroup",mode:e.mode,body:k},n&&(k={type:"styling",mode:e.mode,style:n,body:[k]}),g.push(k);var _=e.fetch().text;if("&"===_){if(p&&g.length===p){if(d||c)throw new l("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===_){x(),1===g.length&&"styling"===k.type&&0===k.body[0].body.length&&(v.length>1||!f)&&v.pop(),b.length<v.length+1&&b.push([]);break}if("\\\\"!==_)throw new l("Expected & or \\\\ or \\cr or \\end",e.nextToken);e.consume();var S=void 0;" "!==e.gullet.future().text&&(S=e.parseSizeGroup(!0)),y.push(S?S.value:null),x(),b.push(qn(e)),g=[],v.push(g),C()}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:o,arraystretch:a,body:v,cols:i,rowGaps:y,hskipBeforeAndAfter:r,hLinesBeforeRow:b,colSeparationType:c,tags:w,leqno:h}}function Kn(e){return"d"===e.slice(0,1)?"display":"text"}var Gn=function(e,t){var n,r,o=e.body.length,i=e.hLinesBeforeRow,a=0,s=new Array(o),c=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),d=1/t.fontMetrics().ptPerEm,f=5*d;e.colSeparationType&&"small"===e.colSeparationType&&(f=t.havingStyle(S.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var h="CD"===e.colSeparationType?q({number:3,unit:"ex"},t):12*d,m=3*d,g=e.arraystretch*h,v=.7*g,y=.3*g,b=0;function w(e){for(var t=0;t<e.length;++t)t>0&&(b+=.25),c.push({pos:b,isDashed:e[t]})}for(w(i[0]),n=0;n<e.body.length;++n){var C=e.body[n],x=v,k=y;a<C.length&&(a=C.length);var _=new Array(C.length);for(r=0;r<C.length;++r){var E=_t(C[r],t);k<E.depth&&(k=E.depth),x<E.height&&(x=E.height),_[r]=E}var M=e.rowGaps[n],L=0;M&&(L=q(M,t))>0&&(k<(L+=y)&&(k=L),L=0),e.addJot&&(k+=m),_.height=x,_.depth=k,b+=x,_.pos=b,b+=k+L,s[n]=_,w(i[n+1])}var N,O,A=b/2+t.fontMetrics().axisHeight,j=e.cols||[],T=[],Z=[];if(e.tags&&e.tags.some((e=>e)))for(n=0;n<o;++n){var P=s[n],R=P.pos-A,I=e.tags[n],D=void 0;(D=!0===I?et.makeSpan(["eqn-num"],[],t):!1===I?et.makeSpan([],[],t):et.makeSpan([],yt(I,t,!0),t)).depth=P.depth,D.height=P.height,Z.push({type:"elem",elem:D,shift:R})}for(r=0,O=0;r<a||O<j.length;++r,++O){for(var z=j[O]||{},H=!0;"separator"===z.type;){if(H||((N=et.makeSpan(["arraycolsep"],[])).style.width=U(t.fontMetrics().doubleRuleSep),T.push(N)),"|"!==z.separator&&":"!==z.separator)throw new l("Invalid separator type: "+z.separator);var B="|"===z.separator?"solid":"dashed",F=et.makeSpan(["vertical-separator"],[],t);F.style.height=U(b),F.style.borderRightWidth=U(u),F.style.borderRightStyle=B,F.style.margin="0 "+U(-u/2);var V=b-A;V&&(F.style.verticalAlign=U(-V)),T.push(F),z=j[++O]||{},H=!1}if(!(r>=a)){var $=void 0;(r>0||e.hskipBeforeAndAfter)&&0!==($=p.deflt(z.pregap,f))&&((N=et.makeSpan(["arraycolsep"],[])).style.width=U($),T.push(N));var W=[];for(n=0;n<o;++n){var K=s[n],G=K[r];if(G){var Y=K.pos-A;G.depth=K.depth,G.height=K.height,W.push({type:"elem",elem:G,shift:Y})}}W=et.makeVList({positionType:"individualShift",children:W},t),W=et.makeSpan(["col-align-"+(z.align||"c")],[W]),T.push(W),(r<a-1||e.hskipBeforeAndAfter)&&0!==($=p.deflt(z.postgap,f))&&((N=et.makeSpan(["arraycolsep"],[])).style.width=U($),T.push(N))}}if(s=et.makeSpan(["mtable"],T),c.length>0){for(var J=et.makeLineSpan("hline",t,u),X=et.makeLineSpan("hdashline",t,u),Q=[{type:"elem",elem:s,shift:0}];c.length>0;){var ee=c.pop(),te=ee.pos-A;ee.isDashed?Q.push({type:"elem",elem:X,shift:te}):Q.push({type:"elem",elem:J,shift:te})}s=et.makeVList({positionType:"individualShift",children:Q},t)}if(0===Z.length)return et.makeSpan(["mord"],[s],t);var ne=et.makeVList({positionType:"individualShift",children:Z},t);return ne=et.makeSpan(["tag"],[ne],t),et.makeFragment([s,ne])},Yn={c:"center ",l:"left ",r:"right "},Jn=function(e,t){for(var n=[],r=new Ot.MathNode("mtd",[],["mtr-glue"]),o=new Ot.MathNode("mtd",[],["mml-eqn-num"]),i=0;i<e.body.length;i++){for(var a=e.body[i],s=[],l=0;l<a.length;l++)s.push(new Ot.MathNode("mtd",[Rt(a[l],t)]));e.tags&&e.tags[i]&&(s.unshift(r),s.push(r),e.leqno?s.unshift(o):s.push(o)),n.push(new Ot.MathNode("mtr",s))}var c=new Ot.MathNode("mtable",n),u=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);c.setAttribute("rowspacing",U(u));var d="",f="";if(e.cols&&e.cols.length>0){var p=e.cols,h="",m=!1,g=0,v=p.length;"separator"===p[0].type&&(d+="top ",g=1),"separator"===p[p.length-1].type&&(d+="bottom ",v-=1);for(var y=g;y<v;y++)"align"===p[y].type?(f+=Yn[p[y].align],m&&(h+="none "),m=!0):"separator"===p[y].type&&m&&(h+="|"===p[y].separator?"solid ":"dashed ",m=!1);c.setAttribute("columnalign",f.trim()),/[sd]/.test(h)&&c.setAttribute("columnlines",h.trim())}if("align"===e.colSeparationType){for(var b=e.cols||[],w="",C=1;C<b.length;C++)w+=C%2?"0em ":"1em ";c.setAttribute("columnspacing",w.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?c.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?c.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var x="",k=e.hLinesBeforeRow;d+=k[0].length>0?"left ":"",d+=k[k.length-1].length>0?"right ":"";for(var _=1;_<k.length-1;_++)x+=0===k[_].length?"none ":k[_][0]?"dashed ":"solid ";return/[sd]/.test(x)&&c.setAttribute("rowlines",x.trim()),""!==d&&(c=new Ot.MathNode("menclose",[c])).setAttribute("notation",d.trim()),e.arraystretch&&e.arraystretch<1&&(c=new Ot.MathNode("mstyle",[c])).setAttribute("scriptlevel","1"),c},Xn=function(e,t){-1===e.envName.indexOf("ed")&&Un(e);var n,r=[],o=e.envName.indexOf("at")>-1?"alignat":"align",i="split"===e.envName,a=Wn(e.parser,{cols:r,addJot:!0,autoTag:i?void 0:$n(e.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),s=0,c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var u="",d=0;d<t[0].body.length;d++){u+=Ut(t[0].body[d],"textord").text}n=Number(u),s=2*n}var f=!s;a.body.forEach((function(e){for(var t=1;t<e.length;t+=2){var r=Ut(e[t],"styling");Ut(r.body[0],"ordgroup").body.unshift(c)}if(f)s<e.length&&(s=e.length);else{var o=e.length/2;if(n<o)throw new l("Too many math in a row: expected "+n+", but got "+o,e[0])}}));for(var p=0;p<s;++p){var h="r",m=0;p%2===1?h="l":p>0&&f&&(m=1),r[p]={type:"align",align:h,pregap:m,postgap:0}}return a.colSeparationType=f?"align":"alignat",a};Bn({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=(Wt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=$t(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new l("Unknown column alignment: "+t,e)})),r={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Wn(e.parser,r,Kn(e.envName))},htmlBuilder:Gn,mathmlBuilder:Jn}),Bn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===e.envName.charAt(e.envName.length-1)){var o=e.parser;if(o.consumeSpaces(),"["===o.fetch().text){if(o.consume(),o.consumeSpaces(),n=o.fetch().text,-1==="lcr".indexOf(n))throw new l("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),r.cols=[{type:"align",align:n}]}}var i=Wn(e.parser,r,Kn(e.envName)),a=Math.max(0,...i.body.map((e=>e.length)));return i.cols=new Array(a).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:Gn,mathmlBuilder:Jn}),Bn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=Wn(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Gn,mathmlBuilder:Jn}),Bn({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=(Wt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=$t(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new l("Unknown column alignment: "+t,e)}));if(n.length>1)throw new l("{subarray} can contain only one column");var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if((r=Wn(e.parser,r,"script")).body.length>0&&r.body[0].length>1)throw new l("{subarray} can contain only one column");return r},htmlBuilder:Gn,mathmlBuilder:Jn}),Bn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=Wn(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Kn(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Gn,mathmlBuilder:Jn}),Bn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Xn,htmlBuilder:Gn,mathmlBuilder:Jn}),Bn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){p.contains(["gather","gather*"],e.envName)&&Un(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:$n(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Wn(e.parser,t,"display")},htmlBuilder:Gn,mathmlBuilder:Jn}),Bn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Xn,htmlBuilder:Gn,mathmlBuilder:Jn}),Bn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Un(e);var t={autoTag:$n(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Wn(e.parser,t,"display")},htmlBuilder:Gn,mathmlBuilder:Jn}),Bn({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Un(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new l("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var r,o,i=[],a=[i],s=0;s<t.length;s++){for(var c=t[s],u={type:"styling",body:[],mode:"math",style:"display"},d=0;d<c.length;d++)if(rn(c[d])){i.push(u);var f=$t(c[d+=1]).text,p=new Array(2);if(p[0]={type:"ordgroup",mode:"math",body:[]},p[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(f)>-1);else{if(!("<>AV".indexOf(f)>-1))throw new l('Expected one of "<>AV=|." after @',c[d]);for(var h=0;h<2;h++){for(var m=!0,g=d+1;g<c.length;g++){if(o=f,("mathord"===(r=c[g]).type||"atom"===r.type)&&r.text===o){m=!1,d=g;break}if(rn(c[g]))throw new l("Missing a "+f+" character to complete a CD arrow.",c[g]);p[h].body.push(c[g])}if(m)throw new l("Missing a "+f+" character to complete a CD arrow.",c[d])}}var v={type:"styling",body:[on(f,p,e)],mode:"math",style:"display"};i.push(v),u={type:"styling",body:[],mode:"math",style:"display"}}else u.body.push(c[d]);s%2===0?i.push(u):i.shift(),i=[],a.push(i)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25}),colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}(e.parser)),htmlBuilder:Gn,mathmlBuilder:Jn}),Vn("\\nonumber","\\gdef\\@eqnsw{0}"),Vn("\\notag","\\nonumber"),ct({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new l(e.funcName+" valid only within array environment")}});var Qn=Hn;ct({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];if("ordgroup"!==o.type)throw new l("Invalid environment name",o);for(var i="",a=0;a<o.body.length;++a)i+=Ut(o.body[a],"textord").text;if("\\begin"===r){if(!Qn.hasOwnProperty(i))throw new l("No such environment: "+i,o);var s=Qn[i],{args:c,optArgs:u}=n.parseArguments("\\begin{"+i+"}",s),d={mode:n.mode,envName:i,parser:n},f=s.handler(d,c,u);n.expect("\\end",!1);var p=n.nextToken,h=Ut(n.parseFunction(),"environment");if(h.name!==i)throw new l("Mismatch: \\begin{"+i+"} matched by \\end{"+h.name+"}",p);return f}return{type:"environment",mode:n.mode,name:i,nameGroup:o}}});var er=(e,t)=>{var n=e.font,r=t.withFont(n);return _t(e.body,r)},tr=(e,t)=>{var n=e.font,r=t.withFont(n);return Rt(e.body,r)},nr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ct({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=dt(t[0]),i=r;return i in nr&&(i=nr[i]),{type:"font",mode:n.mode,font:i.slice(1),body:o}},htmlBuilder:er,mathmlBuilder:tr}),ct({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],o=p.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:tn(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:o}}}),ct({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:o}=e,{mode:i}=n,a=n.parseExpression(!0,o);return{type:"font",mode:i,font:"math"+r.slice(1),body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:er,mathmlBuilder:tr});var rr=(e,t)=>{var n=t;return"display"===e?n=n.id>=S.SCRIPT.id?n.text():S.DISPLAY:"text"===e&&n.size===S.DISPLAY.size?n=S.TEXT:"script"===e?n=S.SCRIPT:"scriptscript"===e&&(n=S.SCRIPTSCRIPT),n},or=(e,t)=>{var n,r=rr(e.size,t.style),o=r.fracNum(),i=r.fracDen();n=t.havingStyle(o);var a=_t(e.numer,n,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}n=t.havingStyle(i);var c,u,d,f,p,h,m,g,v,y,b=_t(e.denom,n,t);if(e.hasBarLine?(e.barSize?(u=q(e.barSize,t),c=et.makeLineSpan("frac-line",t,u)):c=et.makeLineSpan("frac-line",t),u=c.height,d=c.height):(c=null,u=0,d=t.fontMetrics().defaultRuleThickness),r.size===S.DISPLAY.size||"display"===e.size?(f=t.fontMetrics().num1,p=u>0?3*d:7*d,h=t.fontMetrics().denom1):(u>0?(f=t.fontMetrics().num2,p=d):(f=t.fontMetrics().num3,p=3*d),h=t.fontMetrics().denom2),c){var w=t.fontMetrics().axisHeight;f-a.depth-(w+.5*u)<p&&(f+=p-(f-a.depth-(w+.5*u))),w-.5*u-(b.height-h)<p&&(h+=p-(w-.5*u-(b.height-h)));var C=-(w-.5*u);m=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:h},{type:"elem",elem:c,shift:C},{type:"elem",elem:a,shift:-f}]},t)}else{var x=f-a.depth-(b.height-h);x<p&&(f+=.5*(p-x),h+=.5*(p-x)),m=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:h},{type:"elem",elem:a,shift:-f}]},t)}return n=t.havingStyle(r),m.height*=n.sizeMultiplier/t.sizeMultiplier,m.depth*=n.sizeMultiplier/t.sizeMultiplier,g=r.size===S.DISPLAY.size?t.fontMetrics().delim1:r.size===S.SCRIPTSCRIPT.size?t.havingStyle(S.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,v=null==e.leftDelim?kt(t,["mopen"]):Tn.customSizedDelim(e.leftDelim,g,!0,t.havingStyle(r),e.mode,["mopen"]),y=e.continued?et.makeSpan([]):null==e.rightDelim?kt(t,["mclose"]):Tn.customSizedDelim(e.rightDelim,g,!0,t.havingStyle(r),e.mode,["mclose"]),et.makeSpan(["mord"].concat(n.sizingClasses(t)),[v,et.makeSpan(["mfrac"],[m]),y],t)},ir=(e,t)=>{var n=new Ot.MathNode("mfrac",[Rt(e.numer,t),Rt(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var r=q(e.barSize,t);n.setAttribute("linethickness",U(r))}}else n.setAttribute("linethickness","0px");var o=rr(e.size,t.style);if(o.size!==t.style.size){n=new Ot.MathNode("mstyle",[n]);var i=o.size===S.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",i),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var s=new Ot.MathNode("mo",[new Ot.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),null!=e.rightDelim){var l=new Ot.MathNode("mo",[new Ot.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return jt(a)}return n};ct({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var n,{parser:r,funcName:o}=e,i=t[0],a=t[1],s=null,l=null,c="auto";switch(o){case"\\dfrac":case"\\frac":case"\\tfrac":n=!0;break;case"\\\\atopfrac":n=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":n=!1,s="(",l=")";break;case"\\\\bracefrac":n=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":n=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(o){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text"}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:n,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:or,mathmlBuilder:ir}),ct({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0],i=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:o,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),ct({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:n,funcName:r,token:o}=e;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:o}}});var ar=["display","text","script","scriptscript"],sr=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};ct({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var n,{parser:r}=e,o=t[4],i=t[5],a=dt(t[0]),s="atom"===a.type&&"open"===a.family?sr(a.text):null,l=dt(t[1]),c="atom"===l.type&&"close"===l.family?sr(l.text):null,u=Ut(t[2],"size"),d=null;n=!!u.isBlank||(d=u.value).number>0;var f="auto",p=t[3];if("ordgroup"===p.type){if(p.body.length>0){var h=Ut(p.body[0],"textord");f=ar[Number(h.text)]}}else p=Ut(p,"textord"),f=ar[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:o,denom:i,continued:!1,hasBarLine:n,barSize:d,leftDelim:s,rightDelim:c,size:f}},htmlBuilder:or,mathmlBuilder:ir}),ct({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:o}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Ut(t[0],"size").value,token:o}}}),ct({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0],i=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Ut(t[1],"infix").size),a=t[2],s=i.number>0;return{type:"genfrac",mode:n.mode,numer:o,denom:a,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:or,mathmlBuilder:ir});var lr=(e,t)=>{var n,r,o=t.style;"supsub"===e.type?(n=e.sup?_t(e.sup,t.havingStyle(o.sup()),t):_t(e.sub,t.havingStyle(o.sub()),t),r=Ut(e.base,"horizBrace")):r=Ut(e,"horizBrace");var i,a=_t(r.base,t.havingBaseStyle(S.DISPLAY)),s=qt(r,t);if(r.isOver?(i=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=et.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t)).children[0].children[0].children[0].classes.push("svg-align"),n){var l=et.makeSpan(["mord",r.isOver?"mover":"munder"],[i],t);i=r.isOver?et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},t):et.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return et.makeSpan(["mord",r.isOver?"mover":"munder"],[i],t)};ct({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:lr,mathmlBuilder:(e,t)=>{var n=Vt(e.label);return new Ot.MathNode(e.isOver?"mover":"munder",[Rt(e.base,t),n])}}),ct({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],o=Ut(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:ft(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=yt(e.body,t,!1);return et.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=Pt(e.body,t);return n instanceof Lt||(n=new Lt("mrow",[n])),n.setAttribute("href",e.href),n}}),ct({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=Ut(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var o=[],i=0;i<r.length;i++){var a=r[i];"~"===a&&(a="\\textasciitilde"),o.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:n.mode,font:"\\texttt",body:o};return{type:"href",mode:n.mode,href:r,body:ft(s)}}}),ct({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:"hbox",mode:n.mode,body:ft(t[0])}},htmlBuilder(e,t){var n=yt(e.body,t,!1);return et.makeFragment(n)},mathmlBuilder:(e,t)=>new Ot.MathNode("mrow",Zt(e.body,t))}),ct({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var n,{parser:r,funcName:o,token:i}=e,a=Ut(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var c={};switch(o){case"\\htmlClass":c.class=a,n={command:"\\htmlClass",class:a};break;case"\\htmlId":c.id=a,n={command:"\\htmlId",id:a};break;case"\\htmlStyle":c.style=a,n={command:"\\htmlStyle",style:a};break;case"\\htmlData":for(var u=a.split(","),d=0;d<u.length;d++){var f=u[d].split("=");if(2!==f.length)throw new l("Error parsing key-value for \\htmlData");c["data-"+f[0].trim()]=f[1].trim()}n={command:"\\htmlData",attributes:c};break;default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(n)?{type:"html",mode:r.mode,attributes:c,body:ft(s)}:r.formatUnsupportedCmd(o)},htmlBuilder:(e,t)=>{var n=yt(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var o=et.makeSpan(r,n,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&o.setAttribute(i,e.attributes[i]);return o},mathmlBuilder:(e,t)=>Pt(e.body,t)}),ct({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:ft(t[0]),mathml:ft(t[1])}},htmlBuilder:(e,t)=>{var n=yt(e.html,t,!1);return et.makeFragment(n)},mathmlBuilder:(e,t)=>Pt(e.mathml,t)});var cr=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new l("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!V(n))throw new l("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};ct({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,o={number:0,unit:"em"},i={number:.9,unit:"em"},a={number:0,unit:"em"},s="";if(n[0])for(var c=Ut(n[0],"raw").string.split(","),u=0;u<c.length;u++){var d=c[u].split("=");if(2===d.length){var f=d[1].trim();switch(d[0].trim()){case"alt":s=f;break;case"width":o=cr(f);break;case"height":i=cr(f);break;case"totalheight":a=cr(f);break;default:throw new l("Invalid key: '"+d[0]+"' in \\includegraphics.")}}}var p=Ut(t[0],"url").url;return""===s&&(s=(s=(s=p).replace(/^.*[\\/]/,"")).substring(0,s.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:r.mode,alt:s,width:o,height:i,totalheight:a,src:p}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=q(e.height,t),r=0;e.totalheight.number>0&&(r=q(e.totalheight,t)-n);var o=0;e.width.number>0&&(o=q(e.width,t));var i={height:U(n+r)};o>0&&(i.width=U(o)),r>0&&(i.verticalAlign=U(-r));var a=new X(e.src,e.alt,i);return a.height=n,a.depth=r,a},mathmlBuilder:(e,t)=>{var n=new Ot.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=q(e.height,t),o=0;if(e.totalheight.number>0&&(o=q(e.totalheight,t)-r,n.setAttribute("valign",U(-o))),n.setAttribute("height",U(r+o)),e.width.number>0){var i=q(e.width,t);n.setAttribute("width",U(i))}return n.setAttribute("src",e.src),n}}),ct({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,o=Ut(t[0],"size");if(n.settings.strict){var i="m"===r[1],a="mu"===o.value.unit;i?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+o.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:o.value}},htmlBuilder:(e,t)=>et.makeGlue(e.dimension,t),mathmlBuilder(e,t){var n=q(e.dimension,t);return new Ot.SpaceNode(n)}}),ct({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:o}},htmlBuilder:(e,t)=>{var n;"clap"===e.alignment?(n=et.makeSpan([],[_t(e.body,t)]),n=et.makeSpan(["inner"],[n],t)):n=et.makeSpan(["inner"],[_t(e.body,t)]);var r=et.makeSpan(["fix"],[]),o=et.makeSpan([e.alignment],[n,r],t),i=et.makeSpan(["strut"]);return i.style.height=U(o.height+o.depth),o.depth&&(i.style.verticalAlign=U(-o.depth)),o.children.unshift(i),o=et.makeSpan(["thinbox"],[o],t),et.makeSpan(["mord","vbox"],[o],t)},mathmlBuilder:(e,t)=>{var n=new Ot.MathNode("mpadded",[Rt(e.body,t)]);if("rlap"!==e.alignment){var r="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),ct({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,o=r.mode;r.switchMode("math");var i="\\("===n?"\\)":"$",a=r.parseExpression(!1,i);return r.expect(i),r.switchMode(o),{type:"styling",mode:r.mode,style:"text",body:a}}}),ct({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new l("Mismatched "+e.funcName)}});var ur=(e,t)=>{switch(t.style.size){case S.DISPLAY.size:return e.display;case S.TEXT.size:return e.text;case S.SCRIPT.size:return e.script;case S.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ct({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:ft(t[0]),text:ft(t[1]),script:ft(t[2]),scriptscript:ft(t[3])}},htmlBuilder:(e,t)=>{var n=ur(e,t),r=yt(n,t,!1);return et.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=ur(e,t);return Pt(n,t)}});var dr=(e,t,n,r,o,i,a)=>{e=et.makeSpan([],[e]);var s,l,c,u=n&&p.isCharacterBox(n);if(t){var d=_t(t,r.havingStyle(o.sup()),r);l={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-d.depth)}}if(n){var f=_t(n,r.havingStyle(o.sub()),r);s={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}if(l&&s){var h=r.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;c=et.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:U(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:U(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(s){var m=e.height-a;c=et.makeVList({positionType:"top",positionData:m,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:U(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},r)}else{if(!l)return e;var g=e.depth+a;c=et.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:U(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}var v=[c];if(s&&0!==i&&!u){var y=et.makeSpan(["mspace"],[],r);y.style.marginRight=U(i),v.unshift(y)}return et.makeSpan(["mop","op-limits"],v,r)},fr=["\\smallint"],pr=(e,t)=>{var n,r,o,i=!1;"supsub"===e.type?(n=e.sup,r=e.sub,o=Ut(e.base,"op"),i=!0):o=Ut(e,"op");var a,s=t.style,l=!1;if(s.size===S.DISPLAY.size&&o.symbol&&!p.contains(fr,o.name)&&(l=!0),o.symbol){var c=l?"Size2-Regular":"Size1-Regular",u="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(u=o.name.slice(1),o.name="oiint"===u?"\\iint":"\\iiint"),a=et.makeSymbol(o.name,c,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),u.length>0){var d=a.italic,f=et.staticSvg(u+"Size"+(l?"2":"1"),t);a=et.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:f,shift:l?.08:0}]},t),o.name="\\"+u,a.classes.unshift("mop"),a.italic=d}}else if(o.body){var h=yt(o.body,t,!0);1===h.length&&h[0]instanceof ee?(a=h[0]).classes[0]="mop":a=et.makeSpan(["mop"],h,t)}else{for(var m=[],g=1;g<o.name.length;g++)m.push(et.mathsym(o.name[g],o.mode,t));a=et.makeSpan(["mop"],m,t)}var v=0,y=0;return(a instanceof ee||"\\oiint"===o.name||"\\oiiint"===o.name)&&!o.suppressBaseShift&&(v=(a.height-a.depth)/2-t.fontMetrics().axisHeight,y=a.italic),i?dr(a,n,r,t,s,y,v):(v&&(a.style.position="relative",a.style.top=U(v)),a)},hr=(e,t)=>{var n;if(e.symbol)n=new Lt("mo",[At(e.name,e.mode)]),p.contains(fr,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new Lt("mo",Zt(e.body,t));else{n=new Lt("mi",[new Nt(e.name.slice(1))]);var r=new Lt("mo",[At("\u2061","text")]);n=e.parentIsSupSub?new Lt("mrow",[n,r]):Mt([n,r])}return n},mr={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcup","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};ct({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=r;return 1===o.length&&(o=mr[o]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:o}},htmlBuilder:pr,mathmlBuilder:hr}),ct({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ft(r)}},htmlBuilder:pr,mathmlBuilder:hr});var gr={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint","\u222f":"\\oiint","\u2230":"\\oiiint"};ct({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:pr,mathmlBuilder:hr}),ct({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:pr,mathmlBuilder:hr}),ct({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222b","\u222c","\u222d","\u222e","\u222f","\u2230"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,r=n;return 1===r.length&&(r=gr[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:pr,mathmlBuilder:hr});var vr=(e,t)=>{var n,r,o,i,a=!1;if("supsub"===e.type?(n=e.sup,r=e.sub,o=Ut(e.base,"operatorname"),a=!0):o=Ut(e,"operatorname"),o.body.length>0){for(var s=o.body.map((e=>{var t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=yt(s,t.withFont("mathrm"),!0),c=0;c<l.length;c++){var u=l[c];u instanceof ee&&(u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=et.makeSpan(["mop"],l,t)}else i=et.makeSpan(["mop"],[],t);return a?dr(i,n,r,t,t.style,0,0):i};function yr(e,t,n){for(var r=yt(e,t,!1),o=t.sizeMultiplier/n.sizeMultiplier,i=0;i<r.length;i++){var a=r[i].classes.indexOf("sizing");a<0?Array.prototype.push.apply(r[i].classes,t.sizingClasses(n)):r[i].classes[a+1]==="reset-size"+t.size&&(r[i].classes[a+1]="reset-size"+n.size),r[i].height*=o,r[i].depth*=o}return et.makeFragment(r)}ct({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0];return{type:"operatorname",mode:n.mode,body:ft(o),alwaysHandleSupSub:"\\operatornamewithlimits"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:vr,mathmlBuilder:(e,t)=>{for(var n=Zt(e.body,t.withFont("mathrm")),r=!0,o=0;o<n.length;o++){var i=n[o];if(i instanceof Ot.SpaceNode);else if(i instanceof Ot.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var a=i.children[0];1===i.children.length&&a instanceof Ot.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break;default:r=!1}else r=!1}if(r){var s=n.map((e=>e.toText())).join("");n=[new Ot.TextNode(s)]}var l=new Ot.MathNode("mi",n);l.setAttribute("mathvariant","normal");var c=new Ot.MathNode("mo",[At("\u2061","text")]);return e.parentIsSupSub?new Ot.MathNode("mrow",[l,c]):Ot.newDocumentFragment([l,c])}}),Vn("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),ut({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?et.makeFragment(yt(e.body,t,!1)):et.makeSpan(["mord"],yt(e.body,t,!0),t),mathmlBuilder:(e,t)=>Pt(e.body,t,!0)}),ct({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=_t(e.body,t.havingCrampedStyle()),r=et.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r},{type:"kern",size:o}]},t);return et.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var n=new Ot.MathNode("mo",[new Ot.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new Ot.MathNode("mover",[Rt(e.body,t),n]);return r.setAttribute("accent","true"),r}}),ct({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:ft(r)}},htmlBuilder:(e,t)=>{var n=yt(e.body,t.withPhantom(),!1);return et.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Zt(e.body,t);return new Ot.MathNode("mphantom",n)}}),ct({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=et.makeSpan([],[_t(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),et.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var n=Zt(ft(e.body),t),r=new Ot.MathNode("mphantom",n),o=new Ot.MathNode("mpadded",[r]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),ct({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=et.makeSpan(["inner"],[_t(e.body,t.withPhantom())]),r=et.makeSpan(["fix"],[]);return et.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=Zt(ft(e.body),t),r=new Ot.MathNode("mphantom",n),o=new Ot.MathNode("mpadded",[r]);return o.setAttribute("width","0px"),o}}),ct({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=Ut(t[0],"size").value,o=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:o}},htmlBuilder(e,t){var n=_t(e.body,t),r=q(e.dy,t);return et.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new Ot.MathNode("mpadded",[Rt(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),ct({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),ct({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,o=n[0],i=Ut(t[0],"size"),a=Ut(t[1],"size");return{type:"rule",mode:r.mode,shift:o&&Ut(o,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){var n=et.makeSpan(["mord","rule"],[],t),r=q(e.width,t),o=q(e.height,t),i=e.shift?q(e.shift,t):0;return n.style.borderRightWidth=U(r),n.style.borderTopWidth=U(o),n.style.bottom=U(i),n.width=r,n.height=o+i,n.depth=-i,n.maxFontSize=1.125*o*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=q(e.width,t),r=q(e.height,t),o=e.shift?q(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new Ot.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",U(n)),a.setAttribute("height",U(r));var s=new Ot.MathNode("mpadded",[a]);return o>=0?s.setAttribute("height",U(o)):(s.setAttribute("height",U(o)),s.setAttribute("depth",U(-o))),s.setAttribute("voffset",U(o)),s}});var br=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];ct({type:"sizing",names:br,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:o}=e,i=o.parseExpression(!1,n);return{type:"sizing",mode:o.mode,size:br.indexOf(r)+1,body:i}},htmlBuilder:(e,t)=>{var n=t.havingSize(e.size);return yr(e.body,n,t)},mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=Zt(e.body,n),o=new Ot.MathNode("mstyle",r);return o.setAttribute("mathsize",U(n.sizeMultiplier)),o}}),ct({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,o=!1,i=!1,a=n[0]&&Ut(n[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l){if("t"===(s=a.body[l].text))o=!0;else{if("b"!==s){o=!1,i=!1;break}i=!0}}else o=!0,i=!0;var c=t[0];return{type:"smash",mode:r.mode,body:c,smashHeight:o,smashDepth:i}},htmlBuilder:(e,t)=>{var n=et.makeSpan([],[_t(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var o=0;o<n.children.length;o++)n.children[o].depth=0;var i=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return et.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var n=new Ot.MathNode("mpadded",[Rt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),ct({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,o=n[0],i=t[0];return{type:"sqrt",mode:r.mode,body:i,index:o}},htmlBuilder(e,t){var n=_t(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=et.wrapFragment(n,t);var r=t.fontMetrics().defaultRuleThickness,o=r;t.style.id<S.TEXT.id&&(o=t.fontMetrics().xHeight);var i=r+o/4,a=n.height+n.depth+i+r,{span:s,ruleWidth:l,advanceWidth:c}=Tn.sqrtImage(a,t),u=s.height-l;u>n.height+n.depth+i&&(i=(i+u-n.height-n.depth)/2);var d=s.height-n.height-i-l;n.style.paddingLeft=U(c);var f=et.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+d)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var p=t.havingStyle(S.SCRIPTSCRIPT),h=_t(e.index,p,t),m=.6*(f.height-f.depth),g=et.makeVList({positionType:"shift",positionData:-m,children:[{type:"elem",elem:h}]},t),v=et.makeSpan(["root"],[g]);return et.makeSpan(["mord","sqrt"],[v,f],t)}return et.makeSpan(["mord","sqrt"],[f],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Ot.MathNode("mroot",[Rt(n,t),Rt(r,t)]):new Ot.MathNode("msqrt",[Rt(n,t)])}});var wr={display:S.DISPLAY,text:S.TEXT,script:S.SCRIPT,scriptscript:S.SCRIPTSCRIPT};ct({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:o}=e,i=o.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder(e,t){var n=wr[e.style],r=t.havingStyle(n).withFont("");return yr(e.body,r,t)},mathmlBuilder(e,t){var n=wr[e.style],r=t.havingStyle(n),o=Zt(e.body,r),i=new Ot.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}});ut({type:"supsub",htmlBuilder(e,t){var n=function(e,t){var n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===S.DISPLAY.size||n.alwaysHandleSupSub)?pr:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===S.DISPLAY.size||n.limits)?vr:null:"accent"===n.type?p.isCharacterBox(n.base)?Kt:null:"horizBrace"===n.type&&!e.sub===n.isOver?lr:null:null}(e,t);if(n)return n(e,t);var r,o,i,{base:a,sup:s,sub:l}=e,c=_t(a,t),u=t.fontMetrics(),d=0,f=0,h=a&&p.isCharacterBox(a);if(s){var m=t.havingStyle(t.style.sup());r=_t(s,m,t),h||(d=c.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());o=_t(l,g,t),h||(f=c.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}i=t.style===S.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var v,y=t.sizeMultiplier,b=U(.5/u.ptPerEm/y),w=null;if(o){var C=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(c instanceof ee||C)&&(w=U(-c.italic))}if(r&&o){d=Math.max(d,i,r.depth+.25*u.xHeight),f=Math.max(f,u.sub2);var x=4*u.defaultRuleThickness;if(d-r.depth-(o.height-f)<x){f=x-(d-r.depth)+o.height;var k=.8*u.xHeight-(d-r.depth);k>0&&(d+=k,f-=k)}var _=[{type:"elem",elem:o,shift:f,marginRight:b,marginLeft:w},{type:"elem",elem:r,shift:-d,marginRight:b}];v=et.makeVList({positionType:"individualShift",children:_},t)}else if(o){f=Math.max(f,u.sub1,o.height-.8*u.xHeight);var E=[{type:"elem",elem:o,marginLeft:w,marginRight:b}];v=et.makeVList({positionType:"shift",positionData:f,children:E},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");d=Math.max(d,i,r.depth+.25*u.xHeight),v=et.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:r,marginRight:b}]},t)}var M=xt(c,"right")||"mord";return et.makeSpan([M],[c,et.makeSpan(["msupsub"],[v])],t)},mathmlBuilder(e,t){var n,r=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(r=!0,n=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var o,i=[Rt(e.base,t)];if(e.sub&&i.push(Rt(e.sub,t)),e.sup&&i.push(Rt(e.sup,t)),r)o=n?"mover":"munder";else if(e.sub)if(e.sup){var a=e.base;o=a&&"op"===a.type&&a.limits&&t.style===S.DISPLAY||a&&"operatorname"===a.type&&a.alwaysHandleSupSub&&(t.style===S.DISPLAY||a.limits)?"munderover":"msubsup"}else{var s=e.base;o=s&&"op"===s.type&&s.limits&&(t.style===S.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===S.DISPLAY)?"munder":"msub"}else{var l=e.base;o=l&&"op"===l.type&&l.limits&&(t.style===S.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===S.DISPLAY)?"mover":"msup"}return new Ot.MathNode(o,i)}}),ut({type:"atom",htmlBuilder:(e,t)=>et.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var n=new Ot.MathNode("mo",[At(e.text,e.mode)]);if("bin"===e.family){var r=Tt(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});var Cr={mi:"italic",mn:"normal",mtext:"normal"};ut({type:"mathord",htmlBuilder:(e,t)=>et.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var n=new Ot.MathNode("mi",[At(e.text,e.mode,t)]),r=Tt(e,t)||"italic";return r!==Cr[n.type]&&n.setAttribute("mathvariant",r),n}}),ut({type:"textord",htmlBuilder:(e,t)=>et.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var n,r=At(e.text,e.mode,t),o=Tt(e,t)||"normal";return n="text"===e.mode?new Ot.MathNode("mtext",[r]):/[0-9]/.test(e.text)?new Ot.MathNode("mn",[r]):"\\prime"===e.text?new Ot.MathNode("mo",[r]):new Ot.MathNode("mi",[r]),o!==Cr[n.type]&&n.setAttribute("mathvariant",o),n}});var xr={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},kr={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ut({type:"spacing",htmlBuilder(e,t){if(kr.hasOwnProperty(e.text)){var n=kr[e.text].className||"";if("text"===e.mode){var r=et.makeOrd(e,t,"textord");return r.classes.push(n),r}return et.makeSpan(["mspace",n],[et.mathsym(e.text,e.mode,t)],t)}if(xr.hasOwnProperty(e.text))return et.makeSpan(["mspace",xr[e.text]],[],t);throw new l('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!kr.hasOwnProperty(e.text)){if(xr.hasOwnProperty(e.text))return new Ot.MathNode("mspace");throw new l('Unknown type of space "'+e.text+'"')}return new Ot.MathNode("mtext",[new Ot.TextNode("\xa0")])}});var _r=()=>{var e=new Ot.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ut({type:"tag",mathmlBuilder(e,t){var n=new Ot.MathNode("mtable",[new Ot.MathNode("mtr",[_r(),new Ot.MathNode("mtd",[Pt(e.body,t)]),_r(),new Ot.MathNode("mtd",[Pt(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var Sr={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Er={"\\textbf":"textbf","\\textmd":"textmd"},Mr={"\\textit":"textit","\\textup":"textup"},Lr=(e,t)=>{var n=e.font;return n?Sr[n]?t.withTextFontFamily(Sr[n]):Er[n]?t.withTextFontWeight(Er[n]):t.withTextFontShape(Mr[n]):t};ct({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];return{type:"text",mode:n.mode,body:ft(o),font:r}},htmlBuilder(e,t){var n=Lr(e,t),r=yt(e.body,n,!0);return et.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=Lr(e,t);return Pt(e.body,n)}}),ct({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=_t(e.body,t),r=et.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=et.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:o},{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n}]},t);return et.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var n=new Ot.MathNode("mo",[new Ot.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new Ot.MathNode("munder",[Rt(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),ct({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=_t(e.body,t),r=t.fontMetrics().axisHeight,o=.5*(n.height-r-(n.depth+r));return et.makeVList({positionType:"shift",positionData:o,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:(e,t)=>new Ot.MathNode("mpadded",[Rt(e.body,t)],["vcenter"])}),ct({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new l("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=Nr(e),r=[],o=t.havingStyle(t.style.text()),i=0;i<n.length;i++){var a=n[i];"~"===a&&(a="\\textasciitilde"),r.push(et.makeSymbol(a,"Typewriter-Regular",e.mode,o,["mord","texttt"]))}return et.makeSpan(["mord","text"].concat(o.sizingClasses(t)),et.tryCombineChars(r),o)},mathmlBuilder(e,t){var n=new Ot.TextNode(Nr(e)),r=new Ot.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var Nr=e=>e.body.replace(/ /g,e.star?"\u2423":"\xa0"),Or=at,Ar=new RegExp("[\u0300-\u036f]+$");class jr{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp("([ \r\n\t]+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff][\u0300-\u036f]*|[\ud800-\udbff][\udc00-\udfff][\u0300-\u036f]*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|(\\\\[a-zA-Z@]+)[ \r\n\t]*|\\\\[^\ud800-\udfff])","g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new s("EOF",new a(this,t,t));var n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new l("Unexpected character: '"+e[t]+"'",new s(e[t],new a(this,t,t+1)));var r=n[6]||n[3]||(n[2]?"\\ ":" ");if(14===this.catcodes[r]){var o=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===o?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new s(r,new a(this,t,this.tokenRegex.lastIndex))}}class Tr{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new l("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(void 0===n&&(n=!1),n){for(var r=0;r<this.undefStack.length;r++)delete this.undefStack[r][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Zr=Fn;Vn("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Vn("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Vn("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Vn("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Vn("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Vn("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Vn("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Pr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Vn("\\char",(function(e){var t,n=e.popToken(),r="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if("\\"===(n=e.popToken()).text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new l("\\char` missing argument");r=n.text.charCodeAt(0)}else t=10;if(t){if(null==(r=Pr[n.text])||r>=t)throw new l("Invalid base-"+t+" digit "+n.text);for(var o;null!=(o=Pr[e.future().text])&&o<t;)r*=t,r+=o,e.popToken()}return"\\@char{"+r+"}"}));var Rr=(e,t,n)=>{var r=e.consumeArg().tokens;if(1!==r.length)throw new l("\\newcommand's first argument must be a macro name");var o=r[0].text,i=e.isDefined(o);if(i&&!t)throw new l("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!i&&!n)throw new l("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var a=0;if(1===(r=e.consumeArg().tokens).length&&"["===r[0].text){for(var s="",c=e.expandNextToken();"]"!==c.text&&"EOF"!==c.text;)s+=c.text,c=e.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new l("Invalid number of arguments: "+s);a=parseInt(s),r=e.consumeArg().tokens}return e.macros.set(o,{tokens:r,numArgs:a}),""};Vn("\\newcommand",(e=>Rr(e,!1,!0))),Vn("\\renewcommand",(e=>Rr(e,!0,!1))),Vn("\\providecommand",(e=>Rr(e,!0,!0))),Vn("\\message",(e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map((e=>e.text)).join("")),""})),Vn("\\errmessage",(e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map((e=>e.text)).join("")),""})),Vn("\\show",(e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Or[n],se.math[n],se.text[n]),""})),Vn("\\bgroup","{"),Vn("\\egroup","}"),Vn("~","\\nobreakspace"),Vn("\\lq","`"),Vn("\\rq","'"),Vn("\\aa","\\r a"),Vn("\\AA","\\r A"),Vn("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),Vn("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Vn("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),Vn("\u212c","\\mathscr{B}"),Vn("\u2130","\\mathscr{E}"),Vn("\u2131","\\mathscr{F}"),Vn("\u210b","\\mathscr{H}"),Vn("\u2110","\\mathscr{I}"),Vn("\u2112","\\mathscr{L}"),Vn("\u2133","\\mathscr{M}"),Vn("\u211b","\\mathscr{R}"),Vn("\u212d","\\mathfrak{C}"),Vn("\u210c","\\mathfrak{H}"),Vn("\u2128","\\mathfrak{Z}"),Vn("\\Bbbk","\\Bbb{k}"),Vn("\xb7","\\cdotp"),Vn("\\llap","\\mathllap{\\textrm{#1}}"),Vn("\\rlap","\\mathrlap{\\textrm{#1}}"),Vn("\\clap","\\mathclap{\\textrm{#1}}"),Vn("\\mathstrut","\\vphantom{(}"),Vn("\\underbar","\\underline{\\text{#1}}"),Vn("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Vn("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Vn("\\ne","\\neq"),Vn("\u2260","\\neq"),Vn("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Vn("\u2209","\\notin"),Vn("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Vn("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Vn("\u225a","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225a}}"),Vn("\u225b","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225b}}"),Vn("\u225d","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225d}}"),Vn("\u225e","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225e}}"),Vn("\u225f","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225f}}"),Vn("\u27c2","\\perp"),Vn("\u203c","\\mathclose{!\\mkern-0.8mu!}"),Vn("\u220c","\\notni"),Vn("\u231c","\\ulcorner"),Vn("\u231d","\\urcorner"),Vn("\u231e","\\llcorner"),Vn("\u231f","\\lrcorner"),Vn("\xa9","\\copyright"),Vn("\xae","\\textregistered"),Vn("\ufe0f","\\textregistered"),Vn("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Vn("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Vn("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Vn("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Vn("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Vn("\u22ee","\\vdots"),Vn("\\varGamma","\\mathit{\\Gamma}"),Vn("\\varDelta","\\mathit{\\Delta}"),Vn("\\varTheta","\\mathit{\\Theta}"),Vn("\\varLambda","\\mathit{\\Lambda}"),Vn("\\varXi","\\mathit{\\Xi}"),Vn("\\varPi","\\mathit{\\Pi}"),Vn("\\varSigma","\\mathit{\\Sigma}"),Vn("\\varUpsilon","\\mathit{\\Upsilon}"),Vn("\\varPhi","\\mathit{\\Phi}"),Vn("\\varPsi","\\mathit{\\Psi}"),Vn("\\varOmega","\\mathit{\\Omega}"),Vn("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Vn("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Vn("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Vn("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Vn("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Vn("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Ir={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Vn("\\dots",(function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in Ir?t=Ir[n]:("\\not"===n.slice(0,4)||n in se.math&&p.contains(["bin","rel"],se.math[n].group))&&(t="\\dotsb"),t}));var Dr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Vn("\\dotso",(function(e){return e.future().text in Dr?"\\ldots\\,":"\\ldots"})),Vn("\\dotsc",(function(e){var t=e.future().text;return t in Dr&&","!==t?"\\ldots\\,":"\\ldots"})),Vn("\\cdots",(function(e){return e.future().text in Dr?"\\@cdots\\,":"\\@cdots"})),Vn("\\dotsb","\\cdots"),Vn("\\dotsm","\\cdots"),Vn("\\dotsi","\\!\\cdots"),Vn("\\dotsx","\\ldots\\,"),Vn("\\DOTSI","\\relax"),Vn("\\DOTSB","\\relax"),Vn("\\DOTSX","\\relax"),Vn("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Vn("\\,","\\tmspace+{3mu}{.1667em}"),Vn("\\thinspace","\\,"),Vn("\\>","\\mskip{4mu}"),Vn("\\:","\\tmspace+{4mu}{.2222em}"),Vn("\\medspace","\\:"),Vn("\\;","\\tmspace+{5mu}{.2777em}"),Vn("\\thickspace","\\;"),Vn("\\!","\\tmspace-{3mu}{.1667em}"),Vn("\\negthinspace","\\!"),Vn("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Vn("\\negthickspace","\\tmspace-{5mu}{.277em}"),Vn("\\enspace","\\kern.5em "),Vn("\\enskip","\\hskip.5em\\relax"),Vn("\\quad","\\hskip1em\\relax"),Vn("\\qquad","\\hskip2em\\relax"),Vn("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Vn("\\tag@paren","\\tag@literal{({#1})}"),Vn("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new l("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Vn("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Vn("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Vn("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Vn("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Vn("\\newline","\\\\\\relax"),Vn("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var zr=U(j["Main-Regular"]["T".charCodeAt(0)][1]-.7*j["Main-Regular"]["A".charCodeAt(0)][1]);Vn("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+zr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Vn("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+zr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Vn("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Vn("\\@hspace","\\hskip #1\\relax"),Vn("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Vn("\\ordinarycolon",":"),Vn("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Vn("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Vn("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Vn("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Vn("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Vn("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Vn("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Vn("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Vn("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Vn("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Vn("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Vn("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Vn("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Vn("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Vn("\u2237","\\dblcolon"),Vn("\u2239","\\eqcolon"),Vn("\u2254","\\coloneqq"),Vn("\u2255","\\eqqcolon"),Vn("\u2a74","\\Coloneqq"),Vn("\\ratio","\\vcentcolon"),Vn("\\coloncolon","\\dblcolon"),Vn("\\colonequals","\\coloneqq"),Vn("\\coloncolonequals","\\Coloneqq"),Vn("\\equalscolon","\\eqqcolon"),Vn("\\equalscoloncolon","\\Eqqcolon"),Vn("\\colonminus","\\coloneq"),Vn("\\coloncolonminus","\\Coloneq"),Vn("\\minuscolon","\\eqcolon"),Vn("\\minuscoloncolon","\\Eqcolon"),Vn("\\coloncolonapprox","\\Colonapprox"),Vn("\\coloncolonsim","\\Colonsim"),Vn("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Vn("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Vn("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Vn("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Vn("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220c}}"),Vn("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Vn("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Vn("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Vn("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Vn("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Vn("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Vn("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Vn("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Vn("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Vn("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Vn("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Vn("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Vn("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Vn("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Vn("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Vn("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Vn("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Vn("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Vn("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228a}"),Vn("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2acb}"),Vn("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228b}"),Vn("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2acc}"),Vn("\\imath","\\html@mathml{\\@imath}{\u0131}"),Vn("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),Vn("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27e6}}"),Vn("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27e7}}"),Vn("\u27e6","\\llbracket"),Vn("\u27e7","\\rrbracket"),Vn("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Vn("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Vn("\u2983","\\lBrace"),Vn("\u2984","\\rBrace"),Vn("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29b5}}"),Vn("\u29b5","\\minuso"),Vn("\\darr","\\downarrow"),Vn("\\dArr","\\Downarrow"),Vn("\\Darr","\\Downarrow"),Vn("\\lang","\\langle"),Vn("\\rang","\\rangle"),Vn("\\uarr","\\uparrow"),Vn("\\uArr","\\Uparrow"),Vn("\\Uarr","\\Uparrow"),Vn("\\N","\\mathbb{N}"),Vn("\\R","\\mathbb{R}"),Vn("\\Z","\\mathbb{Z}"),Vn("\\alef","\\aleph"),Vn("\\alefsym","\\aleph"),Vn("\\Alpha","\\mathrm{A}"),Vn("\\Beta","\\mathrm{B}"),Vn("\\bull","\\bullet"),Vn("\\Chi","\\mathrm{X}"),Vn("\\clubs","\\clubsuit"),Vn("\\cnums","\\mathbb{C}"),Vn("\\Complex","\\mathbb{C}"),Vn("\\Dagger","\\ddagger"),Vn("\\diamonds","\\diamondsuit"),Vn("\\empty","\\emptyset"),Vn("\\Epsilon","\\mathrm{E}"),Vn("\\Eta","\\mathrm{H}"),Vn("\\exist","\\exists"),Vn("\\harr","\\leftrightarrow"),Vn("\\hArr","\\Leftrightarrow"),Vn("\\Harr","\\Leftrightarrow"),Vn("\\hearts","\\heartsuit"),Vn("\\image","\\Im"),Vn("\\infin","\\infty"),Vn("\\Iota","\\mathrm{I}"),Vn("\\isin","\\in"),Vn("\\Kappa","\\mathrm{K}"),Vn("\\larr","\\leftarrow"),Vn("\\lArr","\\Leftarrow"),Vn("\\Larr","\\Leftarrow"),Vn("\\lrarr","\\leftrightarrow"),Vn("\\lrArr","\\Leftrightarrow"),Vn("\\Lrarr","\\Leftrightarrow"),Vn("\\Mu","\\mathrm{M}"),Vn("\\natnums","\\mathbb{N}"),Vn("\\Nu","\\mathrm{N}"),Vn("\\Omicron","\\mathrm{O}"),Vn("\\plusmn","\\pm"),Vn("\\rarr","\\rightarrow"),Vn("\\rArr","\\Rightarrow"),Vn("\\Rarr","\\Rightarrow"),Vn("\\real","\\Re"),Vn("\\reals","\\mathbb{R}"),Vn("\\Reals","\\mathbb{R}"),Vn("\\Rho","\\mathrm{P}"),Vn("\\sdot","\\cdot"),Vn("\\sect","\\S"),Vn("\\spades","\\spadesuit"),Vn("\\sub","\\subset"),Vn("\\sube","\\subseteq"),Vn("\\supe","\\supseteq"),Vn("\\Tau","\\mathrm{T}"),Vn("\\thetasym","\\vartheta"),Vn("\\weierp","\\wp"),Vn("\\Zeta","\\mathrm{Z}"),Vn("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Vn("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Vn("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Vn("\\bra","\\mathinner{\\langle{#1}|}"),Vn("\\ket","\\mathinner{|{#1}\\rangle}"),Vn("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Vn("\\Bra","\\left\\langle#1\\right|"),Vn("\\Ket","\\left|#1\\right\\rangle");var Hr=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,o=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>n=>{e&&(n.macros.set("|",a),o.length&&n.macros.set("\\|",s));var i=t;!t&&o.length&&("|"===n.future().text&&(n.popToken(),i=!0));return{tokens:i?o:r,numArgs:0}};t.macros.set("|",l(!1)),o.length&&t.macros.set("\\|",l(!0));var c=t.consumeArg().tokens,u=t.expandTokens([...i,...c,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};Vn("\\bra@ket",Hr(!1)),Vn("\\bra@set",Hr(!0)),Vn("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Vn("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Vn("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Vn("\\angln","{\\angl n}"),Vn("\\blue","\\textcolor{##6495ed}{#1}"),Vn("\\orange","\\textcolor{##ffa500}{#1}"),Vn("\\pink","\\textcolor{##ff00af}{#1}"),Vn("\\red","\\textcolor{##df0030}{#1}"),Vn("\\green","\\textcolor{##28ae7b}{#1}"),Vn("\\gray","\\textcolor{gray}{#1}"),Vn("\\purple","\\textcolor{##9d38bd}{#1}"),Vn("\\blueA","\\textcolor{##ccfaff}{#1}"),Vn("\\blueB","\\textcolor{##80f6ff}{#1}"),Vn("\\blueC","\\textcolor{##63d9ea}{#1}"),Vn("\\blueD","\\textcolor{##11accd}{#1}"),Vn("\\blueE","\\textcolor{##0c7f99}{#1}"),Vn("\\tealA","\\textcolor{##94fff5}{#1}"),Vn("\\tealB","\\textcolor{##26edd5}{#1}"),Vn("\\tealC","\\textcolor{##01d1c1}{#1}"),Vn("\\tealD","\\textcolor{##01a995}{#1}"),Vn("\\tealE","\\textcolor{##208170}{#1}"),Vn("\\greenA","\\textcolor{##b6ffb0}{#1}"),Vn("\\greenB","\\textcolor{##8af281}{#1}"),Vn("\\greenC","\\textcolor{##74cf70}{#1}"),Vn("\\greenD","\\textcolor{##1fab54}{#1}"),Vn("\\greenE","\\textcolor{##0d923f}{#1}"),Vn("\\goldA","\\textcolor{##ffd0a9}{#1}"),Vn("\\goldB","\\textcolor{##ffbb71}{#1}"),Vn("\\goldC","\\textcolor{##ff9c39}{#1}"),Vn("\\goldD","\\textcolor{##e07d10}{#1}"),Vn("\\goldE","\\textcolor{##a75a05}{#1}"),Vn("\\redA","\\textcolor{##fca9a9}{#1}"),Vn("\\redB","\\textcolor{##ff8482}{#1}"),Vn("\\redC","\\textcolor{##f9685d}{#1}"),Vn("\\redD","\\textcolor{##e84d39}{#1}"),Vn("\\redE","\\textcolor{##bc2612}{#1}"),Vn("\\maroonA","\\textcolor{##ffbde0}{#1}"),Vn("\\maroonB","\\textcolor{##ff92c6}{#1}"),Vn("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Vn("\\maroonD","\\textcolor{##ca337c}{#1}"),Vn("\\maroonE","\\textcolor{##9e034e}{#1}"),Vn("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Vn("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Vn("\\purpleC","\\textcolor{##aa87ff}{#1}"),Vn("\\purpleD","\\textcolor{##7854ab}{#1}"),Vn("\\purpleE","\\textcolor{##543b78}{#1}"),Vn("\\mintA","\\textcolor{##f5f9e8}{#1}"),Vn("\\mintB","\\textcolor{##edf2df}{#1}"),Vn("\\mintC","\\textcolor{##e0e5cc}{#1}"),Vn("\\grayA","\\textcolor{##f6f7f7}{#1}"),Vn("\\grayB","\\textcolor{##f0f1f2}{#1}"),Vn("\\grayC","\\textcolor{##e3e5e6}{#1}"),Vn("\\grayD","\\textcolor{##d6d8da}{#1}"),Vn("\\grayE","\\textcolor{##babec2}{#1}"),Vn("\\grayF","\\textcolor{##888d93}{#1}"),Vn("\\grayG","\\textcolor{##626569}{#1}"),Vn("\\grayH","\\textcolor{##3b3e40}{#1}"),Vn("\\grayI","\\textcolor{##21242c}{#1}"),Vn("\\kaBlue","\\textcolor{##314453}{#1}"),Vn("\\kaGreen","\\textcolor{##71B307}{#1}");var Br={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Fr{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Tr(Zr,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new jr(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,n,r;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:r,end:n}=this.consumeArg(["]"]))}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new s("EOF",n.loc)),this.pushTokens(r),t.range(n,"")}consumeSpaces(){for(;;){if(" "!==this.future().text)break;this.stack.pop()}}consumeArg(e){var t=[],n=e&&e.length>0;n||this.consumeSpaces();var r,o=this.future(),i=0,a=0;do{if(r=this.popToken(),t.push(r),"{"===r.text)++i;else if("}"===r.text){if(-1===--i)throw new l("Extra }",r)}else if("EOF"===r.text)throw new l("Unexpected end of input in a macro argument, expected '"+(e&&n?e[a]:"}")+"'",r);if(e&&n)if((0===i||1===i&&"{"===e[a])&&r.text===e[a]){if(++a===e.length){t.splice(-a,a);break}}else a=0}while(0!==i||n);return"{"===o.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:o,end:r}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new l("The length of delimiters doesn't match the number of args!");for(var n=t[0],r=0;r<n.length;r++){var o=this.popToken();if(n[r]!==o.text)throw new l("Use of the macro doesn't match its definition",o)}}for(var i=[],a=0;a<e;a++)i.push(this.consumeArg(t&&t[a+1]).tokens);return i}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new l("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),n=t.text,r=t.noexpand?null:this._getExpansion(n);if(null==r||e&&r.unexpandable){if(e&&null==r&&"\\"===n[0]&&!this.isDefined(n))throw new l("Undefined control sequence: "+n);return this.pushToken(t),!1}this.countExpansion(1);var o=r.tokens,i=this.consumeArgs(r.numArgs,r.delimiters);if(r.numArgs)for(var a=(o=o.slice()).length-1;a>=0;--a){var s=o[a];if("#"===s.text){if(0===a)throw new l("Incomplete placeholder at end of macro body",s);if("#"===(s=o[--a]).text)o.splice(a+1,1);else{if(!/^[1-9]$/.test(s.text))throw new l("Not a valid argument number",s);o.splice(a,2,...i[+s.text-1])}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new s(e)]):void 0}expandTokens(e){var t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(!1===this.expandOnce(!0)){var r=this.stack.pop();r.treatAsRelax&&(r.noexpand=!1,r.treatAsRelax=!1),t.push(r)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var n=this.lexer.catcodes[e];if(null!=n&&13!==n)return}var r="function"===typeof t?t(this):t;if("string"===typeof r){var o=0;if(-1!==r.indexOf("#"))for(var i=r.replace(/##/g,"");-1!==i.indexOf("#"+(o+1));)++o;for(var a=new jr(r,this.settings),s=[],l=a.lex();"EOF"!==l.text;)s.push(l),l=a.lex();return s.reverse(),{tokens:s,numArgs:o}}return r}isDefined(e){return this.macros.has(e)||Or.hasOwnProperty(e)||se.math.hasOwnProperty(e)||se.text.hasOwnProperty(e)||Br.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"===typeof t||"function"===typeof t||!t.unexpandable:Or.hasOwnProperty(e)&&!Or[e].primitive}}var Vr=/^[\u208a\u208b\u208c\u208d\u208e\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u2090\u2091\u2095\u1d62\u2c7c\u2096\u2097\u2098\u2099\u2092\u209a\u1d63\u209b\u209c\u1d64\u1d65\u2093\u1d66\u1d67\u1d68\u1d69\u1d6a]/,qr=Object.freeze({"\u208a":"+","\u208b":"-","\u208c":"=","\u208d":"(","\u208e":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1d62":"i","\u2c7c":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209a":"p","\u1d63":"r","\u209b":"s","\u209c":"t","\u1d64":"u","\u1d65":"v","\u2093":"x","\u1d66":"\u03b2","\u1d67":"\u03b3","\u1d68":"\u03c1","\u1d69":"\u03d5","\u1d6a":"\u03c7","\u207a":"+","\u207b":"-","\u207c":"=","\u207d":"(","\u207e":")","\u2070":"0","\xb9":"1","\xb2":"2","\xb3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1d2c":"A","\u1d2e":"B","\u1d30":"D","\u1d31":"E","\u1d33":"G","\u1d34":"H","\u1d35":"I","\u1d36":"J","\u1d37":"K","\u1d38":"L","\u1d39":"M","\u1d3a":"N","\u1d3c":"O","\u1d3e":"P","\u1d3f":"R","\u1d40":"T","\u1d41":"U","\u2c7d":"V","\u1d42":"W","\u1d43":"a","\u1d47":"b","\u1d9c":"c","\u1d48":"d","\u1d49":"e","\u1da0":"f","\u1d4d":"g","\u02b0":"h","\u2071":"i","\u02b2":"j","\u1d4f":"k","\u02e1":"l","\u1d50":"m","\u207f":"n","\u1d52":"o","\u1d56":"p","\u02b3":"r","\u02e2":"s","\u1d57":"t","\u1d58":"u","\u1d5b":"v","\u02b7":"w","\u02e3":"x","\u02b8":"y","\u1dbb":"z","\u1d5d":"\u03b2","\u1d5e":"\u03b3","\u1d5f":"\u03b4","\u1d60":"\u03d5","\u1d61":"\u03c7","\u1dbf":"\u03b8"}),Ur={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"},"\u0327":{text:"\\c"}},$r={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u1e09":"c\u0327\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\xe7":"c\u0327","\u010f":"d\u030c","\u1e0b":"d\u0307","\u1e11":"d\u0327","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u1e1d":"e\u0327\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u0229":"e\u0327","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u0123":"g\u0327","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\u1e29":"h\u0327","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u0137":"k\u0327","\u013a":"l\u0301","\u013e":"l\u030c","\u013c":"l\u0327","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\u0146":"n\u0327","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u0157":"r\u0327","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u015f":"s\u0327","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\u0163":"t\u0327","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u1e08":"C\u0327\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\xc7":"C\u0327","\u010e":"D\u030c","\u1e0a":"D\u0307","\u1e10":"D\u0327","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u1e1c":"E\u0327\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u0228":"E\u0327","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u0122":"G\u0327","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\u1e28":"H\u0327","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0136":"K\u0327","\u0139":"L\u0301","\u013d":"L\u030c","\u013b":"L\u0327","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\u0145":"N\u0327","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u0156":"R\u0327","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u015e":"S\u0327","\u0164":"T\u030c","\u1e6a":"T\u0307","\u0162":"T\u0327","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"};class Wr{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Fr(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new l("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new s("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n}parseExpression(e,t){for(var n=[];;){"math"===this.mode&&this.consumeSpaces();var r=this.fetch();if(-1!==Wr.endOfExpression.indexOf(r.text))break;if(t&&r.text===t)break;if(e&&Or[r.text]&&Or[r.text].infix)break;var o=this.parseAtom(t);if(!o)break;"internal"!==o.type&&n.push(o)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var t,n=-1,r=0;r<e.length;r++)if("infix"===e[r].type){if(-1!==n)throw new l("only one infix operator per group",e[r].token);n=r,t=e[r].replaceWith}if(-1!==n&&t){var o,i,a=e.slice(0,n),s=e.slice(n+1);return o=1===a.length&&"ordgroup"===a[0].type?a[0]:{type:"ordgroup",mode:this.mode,body:a},i=1===s.length&&"ordgroup"===s[0].type?s[0]:{type:"ordgroup",mode:this.mode,body:s},["\\\\abovefrac"===t?this.callFunction(t,[o,e[n],i],[]):this.callFunction(t,[o,i],[])]}return e}handleSupSubscript(e){var t=this.fetch(),n=t.text;this.consume(),this.consumeSpaces();var r=this.parseGroup(e);if(!r)throw new l("Expected group after '"+n+"'",t);return r}formatUnsupportedCmd(e){for(var t=[],n=0;n<e.length;n++)t.push({type:"textord",mode:"text",text:e[n]});var r={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[r]}}parseAtom(e){var t,n,r=this.parseGroup("atom",e);if("text"===this.mode)return r;for(;;){this.consumeSpaces();var o=this.fetch();if("\\limits"===o.text||"\\nolimits"===o.text){if(r&&"op"===r.type){var i="\\limits"===o.text;r.limits=i,r.alwaysHandleSupSub=!0}else{if(!r||"operatorname"!==r.type)throw new l("Limit controls must follow a math operator",o);r.alwaysHandleSupSub&&(r.limits="\\limits"===o.text)}this.consume()}else if("^"===o.text){if(t)throw new l("Double superscript",o);t=this.handleSupSubscript("superscript")}else if("_"===o.text){if(n)throw new l("Double subscript",o);n=this.handleSupSubscript("subscript")}else if("'"===o.text){if(t)throw new l("Double superscript",o);var a={type:"textord",mode:this.mode,text:"\\prime"},c=[a];for(this.consume();"'"===this.fetch().text;)c.push(a),this.consume();"^"===this.fetch().text&&c.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:c}}else{if(!qr[o.text])break;var u=Vr.test(o.text),d=[];for(d.push(new s(qr[o.text])),this.consume();;){var f=this.fetch().text;if(!qr[f])break;if(Vr.test(f)!==u)break;d.unshift(new s(qr[f])),this.consume()}var p=this.subparse(d);u?n={type:"ordgroup",mode:"math",body:p}:t={type:"ordgroup",mode:"math",body:p}}}return t||n?{type:"supsub",mode:this.mode,base:r,sup:t,sub:n}:r}parseFunction(e,t){var n=this.fetch(),r=n.text,o=Or[r];if(!o)return null;if(this.consume(),t&&"atom"!==t&&!o.allowedInArgument)throw new l("Got function '"+r+"' with no arguments"+(t?" as "+t:""),n);if("text"===this.mode&&!o.allowedInText)throw new l("Can't use function '"+r+"' in text mode",n);if("math"===this.mode&&!1===o.allowedInMath)throw new l("Can't use function '"+r+"' in math mode",n);var{args:i,optArgs:a}=this.parseArguments(r,o);return this.callFunction(r,i,a,n,e)}callFunction(e,t,n,r,o){var i={funcName:e,parser:this,token:r,breakOnTokenText:o},a=Or[e];if(a&&a.handler)return a.handler(i,t,n);throw new l("No function handler for "+e)}parseArguments(e,t){var n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};for(var r=[],o=[],i=0;i<n;i++){var a=t.argTypes&&t.argTypes[i],s=i<t.numOptionalArgs;(t.primitive&&null==a||"sqrt"===t.type&&1===i&&null==o[0])&&(a="primitive");var c=this.parseGroupOfType("argument to '"+e+"'",a,s);if(s)o.push(c);else{if(null==c)throw new l("Null argument, please report this as a bug");r.push(c)}}return{args:r,optArgs:o}}parseGroupOfType(e,t,n){switch(t){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,t);case"hbox":var r=this.parseArgumentGroup(n,"text");return null!=r?{type:"styling",mode:r.mode,body:[r],style:"text"}:null;case"raw":var o=this.parseStringGroup("raw",n);return null!=o?{type:"raw",mode:"text",string:o.text}:null;case"primitive":if(n)throw new l("A primitive argument cannot be optional");var i=this.parseGroup(e);if(null==i)throw new l("Expected group as "+e,this.fetch());return i;case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new l("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e,t){var n=this.gullet.scanArgument(t);if(null==n)return null;for(var r,o="";"EOF"!==(r=this.fetch()).text;)o+=r.text,this.consume();return this.consume(),n.text=o,n}parseRegexGroup(e,t){for(var n,r=this.fetch(),o=r,i="";"EOF"!==(n=this.fetch()).text&&e.test(i+n.text);)i+=(o=n).text,this.consume();if(""===i)throw new l("Invalid "+t+": '"+r.text+"'",r);return r.range(o,i)}parseColorGroup(e){var t=this.parseStringGroup("color",e);if(null==t)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new l("Invalid color: '"+t.text+"'",t);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r="#"+r),{type:"color-token",mode:this.mode,color:r}}parseSizeGroup(e){var t,n=!1;if(this.gullet.consumeSpaces(),!(t=e||"{"===this.gullet.future().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;e||0!==t.text.length||(t.text="0pt",n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new l("Invalid size: '"+t.text+"'",t);var o={number:+(r[1]+r[2]),unit:r[3]};if(!V(o))throw new l("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==t)return null;var n=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(e,t){var n=this.gullet.scanArgument(e);if(null==n)return null;var r=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var o=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var i={type:"ordgroup",mode:this.mode,loc:n.loc,body:o};return t&&this.switchMode(r),i}parseGroup(e,t){var n,r=this.fetch(),o=r.text;if("{"===o||"\\begingroup"===o){this.consume();var i="{"===o?"}":"\\endgroup";this.gullet.beginGroup();var s=this.parseExpression(!1,i),c=this.fetch();this.expect(i),this.gullet.endGroup(),n={type:"ordgroup",mode:this.mode,loc:a.range(r,c),body:s,semisimple:"\\begingroup"===o||void 0}}else if(null==(n=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===o[0]&&!Br.hasOwnProperty(o)){if(this.settings.throwOnError)throw new l("Undefined control sequence: "+o,r);n=this.formatUnsupportedCmd(o),this.consume()}return n}formLigatures(e){for(var t=e.length-1,n=0;n<t;++n){var r=e[n],o=r.text;"-"===o&&"-"===e[n+1].text&&(n+1<t&&"-"===e[n+2].text?(e.splice(n,3,{type:"textord",mode:"text",loc:a.range(r,e[n+2]),text:"---"}),t-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:a.range(r,e[n+1]),text:"--"}),t-=1)),"'"!==o&&"`"!==o||e[n+1].text!==o||(e.splice(n,2,{type:"textord",mode:"text",loc:a.range(r,e[n+1]),text:o+o}),t-=1)}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),r="*"===n.charAt(0);if(r&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new l("\\verb assertion failed --\n                    please report what input caused this bug");return{type:"verb",mode:"text",body:n=n.slice(1,-1),star:r}}$r.hasOwnProperty(t[0])&&!se[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=$r[t[0]]+t.slice(1));var o,i=Ar.exec(t);if(i&&("i"===(t=t.substring(0,i.index))?t="\u0131":"j"===t&&(t="\u0237")),se[this.mode][t]){this.settings.strict&&"math"===this.mode&&ze.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var s,c=se[this.mode][t].group,u=a.range(e);if(ie.hasOwnProperty(c)){var d=c;s={type:"atom",mode:this.mode,family:d,loc:u,text:t}}else s={type:c,mode:this.mode,loc:u,text:t};o=s}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(L(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:a.range(e),text:t}}if(this.consume(),i)for(var f=0;f<i[0].length;f++){var p=i[0][f];if(!Ur[p])throw new l("Unknown accent ' "+p+"'",e);var h=Ur[p][this.mode]||Ur[p].text;if(!h)throw new l("Accent "+p+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:a.range(e),label:h,isStretchy:!1,isShifty:!0,base:o}}return o}}Wr.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Kr=function(e,t){if(!("string"===typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Wr(e,t);delete n.gullet.macros.current["\\df@tag"];var r=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new l("\\tag works only in display equations");r=[{type:"tag",mode:"text",body:r,tag:n.subparse([new s("\\df@tag")])}]}return r},Gr=function(e,t,n){t.textContent="";var r=Jr(e,n).toNode();t.appendChild(r)};"undefined"!==typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!==typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Gr=function(){throw new l("KaTeX doesn't work in quirks mode.")});var Yr=function(e,t,n){if(n.throwOnError||!(e instanceof l))throw e;var r=et.makeSpan(["katex-error"],[new ee(t)]);return r.setAttribute("title",e.toString()),r.setAttribute("style","color:"+n.errorColor),r},Jr=function(e,t){var n=new g(t);try{return function(e,t,n){var r,o=Dt(n);if("mathml"===n.output)return It(e,t,o,n.displayMode,!0);if("html"===n.output){var i=Et(e,o);r=et.makeSpan(["katex"],[i])}else{var a=It(e,t,o,n.displayMode,!1),s=Et(e,o);r=et.makeSpan(["katex"],[a,s])}return zt(r,n)}(Kr(e,n),e,n)}catch(r){return Yr(r,e,n)}},Xr={version:"0.16.10",render:Gr,renderToString:function(e,t){return Jr(e,t).toMarkup()},ParseError:l,SETTINGS_SCHEMA:h,__parse:function(e,t){var n=new g(t);return Kr(e,n)},__renderToDomTree:Jr,__renderToHTMLTree:function(e,t){var n=new g(t);try{return function(e,t,n){var r=Et(e,Dt(n)),o=et.makeSpan(["katex"],[r]);return zt(o,n)}(Kr(e,n),0,n)}catch(r){return Yr(r,e,n)}},__setFontMetrics:function(e,t){j[e]=t},__defineSymbol:le,__defineFunction:ct,__defineMacro:Vn,__domTree:{Span:Y,Anchor:J,SymbolNode:ee,SvgNode:te,PathNode:ne,LineNode:re}};const Qr=e=>{const{regex:t,katexOptions:n={},editor:r,shouldRender:a}=e;return new o.Sy({key:new o.H$("mathematics"),state:{init:()=>i.EH.empty,apply(e,o,s,l){const{selection:c}=l,u=[];return l.doc.descendants(((e,o)=>{const s=a(l,o,e);if(e.isText&&e.text&&s){let a;for(;a=t.exec(e.text);){const e=o+a.index,t=e+a[0].length,s=a.slice(1).find(Boolean);if(s){const o=c.$from.pos-c.$to.pos,a=c.$anchor.pos>=e&&c.$anchor.pos<=t,l=c.$from.pos>=e&&c.$to.pos<=t,d=0===o&&a||l;d&&r.isEditable||u.push(i.p.widget(e,(()=>{const e=document.createElement("span");e.classList.add("Tiptap-mathematics-render"),r.isEditable&&e.classList.add("Tiptap-mathematics-render--editable");try{Xr.render(s,e,n)}catch(o){e.innerHTML=s}return e}))),u.push(i.p.inline(e,t,{class:d&&r.isEditable?"Tiptap-mathematics-editor":"Tiptap-mathematics-editor Tiptap-mathematics-editor--hidden",style:d&&r.isEditable?void 0:"display: inline-block; height: 0; opacity: 0; overflow: hidden; position: absolute; width: 0;"}))}}}})),u.length>0?i.EH.create(l.doc,u):i.EH.empty}},props:{decorations(e){return this.getState(e)}}})},eo=(e,t)=>!("codeBlock"===e.doc.resolve(t).parent.type.name),to=r.hj.create({name:"Mathematics",addOptions:()=>({regex:/\$([^\$]*)\$/gi,katexOptions:void 0,shouldRender:eo}),addProseMirrorPlugins(){return[Qr({...this.options,editor:this.editor})]}})},82515:function(e,t,n){"use strict";var r=n(2053),o=n(99459),i=n(24096),a=n(50959),s=n(78681),l=n(88129);function c(e){return!(!e||!e.then)}t.Z=function(e){var t=a.useRef(!1),n=a.useRef(),u=(0,i.Z)(!1),d=(0,o.Z)(u,2),f=d[0],p=d[1],h=e.close,m=function(){null===h||void 0===h||h.apply(void 0,arguments)};a.useEffect((function(){var t;if(e.autoFocus){var r=n.current;t=setTimeout((function(){return r.focus()}))}return function(){t&&clearTimeout(t)}}),[]);var g=e.type,v=e.children,y=e.prefixCls,b=e.buttonProps;return a.createElement(s.Z,(0,r.Z)({},(0,l.n)(g),{onClick:function(n){var r=e.actionFn;if(!t.current)if(t.current=!0,r){var o;if(e.emitEvent){if(o=r(n),e.quitOnNullishReturnValue&&!c(o))return t.current=!1,void m(n)}else if(r.length)o=r(h),t.current=!1;else if(!(o=r()))return void m();!function(e){c(e)&&(p(!0),e.then((function(){p(!1,!0),m.apply(void 0,arguments),t.current=!1}),(function(e){console.error(e),p(!1,!0),t.current=!1})))}(o)}else m()},loading:f,prefixCls:y},b,{ref:n}),v)}},93007:function(e,t,n){"use strict";n.d(t,{E:function(){return o},Y:function(){return i}});var r=n(19212),o=(0,r.b)("success","processing","error","default","warning"),i=(0,r.b)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},34369:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((function(t,n){return!n.startsWith("data-")&&!n.startsWith("aria-")&&"role"!==n||n.startsWith("data-__")||(t[n]=e[n]),t}),{})}n.d(t,{Z:function(){return r}})},27e3:function(e,t,n){"use strict";function r(e){return null!==e&&void 0!==e&&e===e.window}function o(e,t){var n,o;if("undefined"===typeof window)return 0;var i=t?"scrollTop":"scrollLeft",a=0;return r(e)?a=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?a=e.documentElement[i]:(e instanceof HTMLElement||e)&&(a=e[i]),e&&!r(e)&&"number"!==typeof a&&(a=null===(o=(null!==(n=e.ownerDocument)&&void 0!==n?n:e).documentElement)||void 0===o?void 0:o[i]),a}n.d(t,{F:function(){return r},Z:function(){return o}})},1899:function(e,t,n){"use strict";var r=n(99459),o=n(50959),i=n(23023);t.Z=function(){var e=o.useState(!1),t=(0,r.Z)(e,2),n=t[0],a=t[1];return o.useEffect((function(){a((0,i.fk)())}),[]),n}},2945:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(99459),o=n(50959);function i(){var e=o.useReducer((function(e){return e+1}),0);return(0,r.Z)(e,2)[1]}},80029:function(e,t,n){"use strict";n.d(t,{mL:function(){return l},q0:function(){return s}});var r=function(){return{height:0,opacity:0}},o=function(e){return{height:e.scrollHeight,opacity:1}},i=function(e,t){return!0===(null===t||void 0===t?void 0:t.deadline)||"height"===t.propertyName},a={motionName:"ant-motion-collapse",onAppearStart:r,onEnterStart:r,onAppearActive:o,onEnterActive:o,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:r,onAppearEnd:i,onEnterEnd:i,onLeaveEnd:i,motionDeadline:500},s=((0,n(19212).b)("bottomLeft","bottomRight","topLeft","topRight"),function(e){return void 0===e||"topLeft"!==e&&"topRight"!==e?"slide-up":"slide-down"}),l=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)};t.ZP=a},58588:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2053),o=n(73053),i={adjustX:1,adjustY:1},a={adjustX:0,adjustY:0},s=[0,0];function l(e){return"boolean"===typeof e?e?i:a:(0,r.Z)((0,r.Z)({},a),e)}function c(e){var t=e.arrowWidth,n=void 0===t?4:t,i=e.horizontalArrowShift,a=void 0===i?16:i,c=e.verticalArrowShift,u=void 0===c?8:c,d=e.autoAdjustOverflow,f=e.arrowPointAtCenter,p={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(a+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(u+n)]},topRight:{points:["br","tc"],offset:[a+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(u+n)]},bottomRight:{points:["tr","bc"],offset:[a+n,4]},rightBottom:{points:["bl","cr"],offset:[4,u+n]},bottomLeft:{points:["tl","bc"],offset:[-(a+n),4]},leftBottom:{points:["br","cl"],offset:[-4,u+n]}};return Object.keys(p).forEach((function(e){p[e]=f?(0,r.Z)((0,r.Z)({},p[e]),{overflow:l(d),targetOffset:s}):(0,r.Z)((0,r.Z)({},o.C[e]),{overflow:l(d)}),p[e].ignoreShake=!0})),p}},94826:function(e,t,n){"use strict";n.d(t,{M2:function(){return i},Tm:function(){return s},l$:function(){return o},wm:function(){return a}});var r=n(50959),o=r.isValidElement;function i(e){return e&&e.type===r.Fragment}function a(e,t,n){return o(e)?r.cloneElement(e,"function"===typeof n?n(e.props||{}):n):t}function s(e,t){return a(e,e,t)}},99133:function(e,t,n){"use strict";n.d(t,{c4:function(){return i}});var r=n(57904),o=n(2053),i=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},s=new Map,l=-1,c={},u={matchHandlers:{},dispatch:function(e){return c=e,s.forEach((function(e){return e(c)})),s.size>=1},subscribe:function(e){return s.size||this.register(),l+=1,s.set(l,e),e(c),l},unsubscribe:function(e){s.delete(e),s.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],r=e.matchHandlers[n];null===r||void 0===r||r.mql.removeListener(null===r||void 0===r?void 0:r.listener)})),s.clear()},register:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],i=function(n){var i=n.matches;e.dispatch((0,o.Z)((0,o.Z)({},c),(0,r.Z)({},t,i)))},s=window.matchMedia(n);s.addListener(i),e.matchHandlers[n]={mql:s,listener:i},i(s)}))}};t.ZP=u},23109:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(18912);function o(e,t,n,r){var o=n-t;return(e/=r/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}var i=n(27e3);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,a=void 0===n?function(){return window}:n,s=t.callback,l=t.duration,c=void 0===l?450:l,u=a(),d=(0,i.Z)(u,!0),f=Date.now(),p=function t(){var n=Date.now()-f,a=o(n>c?c:n,d,e,c);(0,i.F)(u)?u.scrollTo(window.pageXOffset,a):u instanceof HTMLDocument||"HTMLDocument"===u.constructor.name?u.documentElement.scrollTop=a:u.scrollTop=a,n<c?(0,r.Z)(t):"function"===typeof s&&s()};(0,r.Z)(p)}},64171:function(e,t,n){"use strict";n.d(t,{F:function(){return s},Z:function(){return a}});var r=n(57904),o=n(84875),i=n.n(o);(0,n(19212).b)("warning","error","");function a(e,t,n){var o;return i()((o={},(0,r.Z)(o,"".concat(e,"-status-success"),"success"===t),(0,r.Z)(o,"".concat(e,"-status-warning"),"warning"===t),(0,r.Z)(o,"".concat(e,"-status-error"),"error"===t),(0,r.Z)(o,"".concat(e,"-status-validating"),"validating"===t),(0,r.Z)(o,"".concat(e,"-has-feedback"),n),o))}var s=function(e,t){return t||e}},23023:function(e,t,n){"use strict";n.d(t,{fk:function(){return a},jD:function(){return i}});var r,o=n(91469),i=function(){return(0,o.Z)()&&window.document.documentElement},a=function(){if(!i())return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r}},19212:function(e,t,n){"use strict";n.d(t,{a:function(){return o},b:function(){return r}});var r=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t}},90445:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(2053),o=n(73779),i=n(71374),a=n(46468),s=n(45675),l=n(36280),c=n(90727),u=n(37987),d=n(50959),f=n(65205),p=n(18912),h=0,m={};function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=h++,r=t;function o(){(r-=1)<=0?(e(),delete m[n]):m[n]=(0,p.Z)(o)}return m[n]=(0,p.Z)(o),n}g.cancel=function(e){void 0!==e&&(p.Z.cancel(m[e]),delete m[e])},g.ids=m;var v,y=n(94826);function b(e){return!e||null===e.offsetParent||e.hidden}function w(e){var t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3])||!(t[1]===t[2]&&t[2]===t[3])}var C=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){var e;return(0,o.Z)(this,n),(e=t.apply(this,arguments)).containerRef=d.createRef(),e.animationStart=!1,e.destroyed=!1,e.onClick=function(t,n){var r,o,i=e.props,s=i.insertExtraNode;if(!(i.disabled||!t||b(t)||t.className.indexOf("-leave")>=0)){e.extraNode=document.createElement("div");var l=(0,a.Z)(e).extraNode,u=e.context.getPrefixCls;l.className="".concat(u(""),"-click-animating-node");var d=e.getAttributeName();if(t.setAttribute(d,"true"),n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&w(n)&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n){l.style.borderColor=n;var f=(null===(r=t.getRootNode)||void 0===r?void 0:r.call(t))||t.ownerDocument,p=f instanceof Document?f.body:null!==(o=f.firstChild)&&void 0!==o?o:f;v=(0,c.hq)("\n      [".concat(u(""),"-click-animating-without-extra-node='true']::after, .").concat(u(""),"-click-animating-node {\n        --antd-wave-shadow-color: ").concat(n,";\n      }"),"antd-wave",{csp:e.csp,attachTo:p})}s&&t.appendChild(l),["transition","animation"].forEach((function(n){t.addEventListener("".concat(n,"start"),e.onTransitionStart),t.addEventListener("".concat(n,"end"),e.onTransitionEnd)}))}},e.onTransitionStart=function(t){if(!e.destroyed){var n=e.containerRef.current;t&&t.target===n&&!e.animationStart&&e.resetEffect(n)}},e.onTransitionEnd=function(t){t&&"fadeEffect"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(t&&t.getAttribute&&!t.getAttribute("disabled")&&!(t.className.indexOf("disabled")>=0)){var n=function(n){if("INPUT"!==n.target.tagName&&!b(n.target)){e.resetEffect(t);var r=getComputedStyle(t).getPropertyValue("border-top-color")||getComputedStyle(t).getPropertyValue("border-color")||getComputedStyle(t).getPropertyValue("background-color");e.clickWaveTimeoutId=window.setTimeout((function(){return e.onClick(t,r)}),0),g.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=g((function(){e.animationStart=!1}),10)}};return t.addEventListener("click",n,!0),{cancel:function(){t.removeEventListener("click",n,!0)}}}},e.renderWave=function(t){var n=t.csp,r=e.props.children;if(e.csp=n,!d.isValidElement(r))return r;var o=e.containerRef;return(0,u.Yr)(r)&&(o=(0,u.sQ)(r.ref,e.containerRef)),(0,y.Tm)(r,{ref:o})},e}return(0,i.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1;var e=this.containerRef.current;e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var e=this.context.getPrefixCls,t=this.props.insertExtraNode;return"".concat(e(""),t?"-click-animating":"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(e){var t=this;if(e&&e!==this.extraNode&&e instanceof Element){var n=this.props.insertExtraNode,r=this.getAttributeName();e.setAttribute(r,"false"),v&&(v.innerHTML=""),n&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),["transition","animation"].forEach((function(n){e.removeEventListener("".concat(n,"start"),t.onTransitionStart),e.removeEventListener("".concat(n,"end"),t.onTransitionEnd)}))}}},{key:"render",value:function(){return d.createElement(f.C,null,this.renderWave)}}]),n}(d.Component);C.contextType=f.E_;var x=(0,d.forwardRef)((function(e,t){return d.createElement(C,(0,r.Z)({ref:t},e))}))},37786:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(2053),o=n(99459),i=n(57904),a=n(93095),s=n(83817),l=n(33828),c=n(48192),u=n(97272),d=n(80745),f=n(2567),p=n(73128),h=n(40860),m=n(84875),g=n.n(m),v=n(37670),y=n(50959),b=n(65205),w=n(34369),C=n(94826),x=n(73779),k=n(71374),_=n(45675),S=n(36280),E=function(e){(0,_.Z)(n,e);var t=(0,S.Z)(n);function n(){var e;return(0,x.Z)(this,n),(e=t.apply(this,arguments)).state={error:void 0,info:{componentStack:""}},e}return(0,k.Z)(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props,t=e.message,n=e.description,r=e.children,o=this.state,i=o.error,a=o.info,s=a&&a.componentStack?a.componentStack:null,l="undefined"===typeof t?(i||"").toString():t,c="undefined"===typeof n?s:n;return i?y.createElement(T,{type:"error",message:l,description:y.createElement("pre",null,c)}):r}}]),n}(y.Component),M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},L={success:a.Z,info:p.Z,error:l.Z,warning:d.Z},N={success:s.Z,info:h.Z,error:c.Z,warning:f.Z},O=function(e){var t=e.description,n=e.icon,r=e.prefixCls,o=e.type,a=(t?N:L)[o]||null;return n?(0,C.wm)(n,y.createElement("span",{className:"".concat(r,"-icon")},n),(function(){return{className:g()("".concat(r,"-icon"),(0,i.Z)({},n.props.className,n.props.className))}})):y.createElement(a,{className:"".concat(r,"-icon")})},A=function(e){var t=e.isClosable,n=e.closeText,r=e.prefixCls,o=e.closeIcon,i=e.handleClose;return t?y.createElement("button",{type:"button",onClick:i,className:"".concat(r,"-close-icon"),tabIndex:0},n?y.createElement("span",{className:"".concat(r,"-close-text")},n):o):null},j=function(e){var t,n=e.description,a=e.prefixCls,s=e.message,l=e.banner,c=e.className,d=void 0===c?"":c,f=e.style,p=e.onMouseEnter,h=e.onMouseLeave,m=e.onClick,C=e.afterClose,x=e.showIcon,k=e.closable,_=e.closeText,S=e.closeIcon,E=void 0===S?y.createElement(u.Z,null):S,L=e.action,N=M(e,["description","prefixCls","message","banner","className","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),j=y.useState(!1),T=(0,o.Z)(j,2),Z=T[0],P=T[1],R=y.useRef(),I=y.useContext(b.E_),D=I.getPrefixCls,z=I.direction,H=D("alert",a),B=function(e){var t;P(!0),null===(t=N.onClose)||void 0===t||t.call(N,e)},F=!!_||k,V=function(){var e=N.type;return void 0!==e?e:l?"warning":"info"}(),q=!(!l||void 0!==x)||x,U=g()(H,"".concat(H,"-").concat(V),(t={},(0,i.Z)(t,"".concat(H,"-with-description"),!!n),(0,i.Z)(t,"".concat(H,"-no-icon"),!q),(0,i.Z)(t,"".concat(H,"-banner"),!!l),(0,i.Z)(t,"".concat(H,"-rtl"),"rtl"===z),t),d),$=(0,w.Z)(N);return y.createElement(v.default,{visible:!Z,motionName:"".concat(H,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:function(e){return{maxHeight:e.offsetHeight}},onLeaveEnd:C},(function(e){var t=e.className,o=e.style;return y.createElement("div",(0,r.Z)({ref:R,"data-show":!Z,className:g()(U,t),style:(0,r.Z)((0,r.Z)({},f),o),onMouseEnter:p,onMouseLeave:h,onClick:m,role:"alert"},$),q?y.createElement(O,{description:n,icon:N.icon,prefixCls:H,type:V}):null,y.createElement("div",{className:"".concat(H,"-content")},s?y.createElement("div",{className:"".concat(H,"-message")},s):null,n?y.createElement("div",{className:"".concat(H,"-description")},n):null),L?y.createElement("div",{className:"".concat(H,"-action")},L):null,y.createElement(A,{isClosable:!!F,closeText:_,prefixCls:H,closeIcon:E,handleClose:B}))}))};j.ErrorBoundary=E;var T=j},88129:function(e,t,n){"use strict";n.d(t,{n:function(){return O},Z:function(){return T}});var r=n(2053),o=n(57904),i=n(99459),a=n(24744),s=n(84875),l=n.n(s),c=n(90123),u=n(50959),d=n(65205),f=n(72185),p=n(2344),h=n(94826),m=n(19212),g=n(90445),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},y=u.createContext(void 0),b=function(e){var t,n=u.useContext(d.E_),i=n.getPrefixCls,a=n.direction,s=e.prefixCls,c=e.size,f=e.className,p=v(e,["prefixCls","size","className"]),h=i("btn-group",s),m="";switch(c){case"large":m="lg";break;case"small":m="sm"}var g=l()(h,(t={},(0,o.Z)(t,"".concat(h,"-").concat(m),m),(0,o.Z)(t,"".concat(h,"-rtl"),"rtl"===a),t),f);return u.createElement(y.Provider,{value:c},u.createElement("div",(0,r.Z)({},p,{className:g})))},w=n(39016),C=n(37670),x=function(){return{width:0,opacity:0,transform:"scale(0)"}},k=function(e){return{width:e.scrollWidth,opacity:1,transform:"scale(1)"}},_=function(e){var t=e.prefixCls,n=!!e.loading;return e.existIcon?u.createElement("span",{className:"".concat(t,"-loading-icon")},u.createElement(w.Z,null)):u.createElement(C.default,{visible:n,motionName:"".concat(t,"-loading-icon-motion"),removeOnLeave:!0,onAppearStart:x,onAppearActive:k,onEnterStart:x,onEnterActive:k,onLeaveStart:k,onLeaveActive:x},(function(e,n){var r=e.className,o=e.style;return u.createElement("span",{className:"".concat(t,"-loading-icon"),style:o,ref:n},u.createElement(w.Z,{className:r}))}))},S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},E=/^[\u4e00-\u9fa5]{2}$/,M=E.test.bind(E);function L(e){return"text"===e||"link"===e}function N(e,t){if(null!==e&&void 0!==e){var n,r=t?" ":"";return"string"!==typeof e&&"number"!==typeof e&&"string"===typeof e.type&&M(e.props.children)?(0,h.Tm)(e,{children:e.props.children.split("").join(r)}):"string"===typeof e?M(e)?u.createElement("span",null,e.split("").join(r)):u.createElement("span",null,e):(n=e,u.isValidElement(n)&&n.type===u.Fragment?u.createElement("span",null,e):e)}}(0,m.b)("default","primary","ghost","dashed","link","text"),(0,m.b)("default","circle","round"),(0,m.b)("submit","button","reset");function O(e){return"danger"===e?{danger:!0}:{type:e}}var A=function(e,t){var n,s=e.loading,h=void 0!==s&&s,m=e.prefixCls,v=e.type,b=void 0===v?"default":v,w=e.danger,C=e.shape,x=void 0===C?"default":C,k=e.size,E=e.disabled,O=e.className,A=e.children,j=e.icon,T=e.ghost,Z=void 0!==T&&T,P=e.block,R=void 0!==P&&P,I=e.htmlType,D=void 0===I?"button":I,z=S(e,["loading","prefixCls","type","danger","shape","size","disabled","className","children","icon","ghost","block","htmlType"]),H=u.useContext(p.Z),B=u.useContext(f.Z),F=E||B,V=u.useContext(y),q=u.useState(!!h),U=(0,i.Z)(q,2),$=U[0],W=U[1],K=u.useState(!1),G=(0,i.Z)(K,2),Y=G[0],J=G[1],X=u.useContext(d.E_),Q=X.getPrefixCls,ee=X.autoInsertSpaceInButton,te=X.direction,ne=t||u.createRef(),re=function(){return 1===u.Children.count(A)&&!j&&!L(b)},oe="boolean"===typeof h?h:(null===h||void 0===h?void 0:h.delay)||!0;u.useEffect((function(){var e=null;return"number"===typeof oe?e=window.setTimeout((function(){e=null,W(oe)}),oe):W(oe),function(){e&&(window.clearTimeout(e),e=null)}}),[oe]),u.useEffect((function(){if(ne&&ne.current&&!1!==ee){var e=ne.current.textContent;re()&&M(e)?Y||J(!0):Y&&J(!1)}}),[ne]);var ie=function(t){var n=e.onClick;$||F?t.preventDefault():null===n||void 0===n||n(t)},ae=Q("btn",m),se=!1!==ee,le=V||k||H,ce=le&&{large:"lg",small:"sm",middle:void 0}[le]||"",ue=$?"loading":j,de=(0,c.Z)(z,["navigate"]),fe=l()(ae,(n={},(0,o.Z)(n,"".concat(ae,"-").concat(x),"default"!==x&&x),(0,o.Z)(n,"".concat(ae,"-").concat(b),b),(0,o.Z)(n,"".concat(ae,"-").concat(ce),ce),(0,o.Z)(n,"".concat(ae,"-icon-only"),!A&&0!==A&&!!ue),(0,o.Z)(n,"".concat(ae,"-background-ghost"),Z&&!L(b)),(0,o.Z)(n,"".concat(ae,"-loading"),$),(0,o.Z)(n,"".concat(ae,"-two-chinese-chars"),Y&&se&&!$),(0,o.Z)(n,"".concat(ae,"-block"),R),(0,o.Z)(n,"".concat(ae,"-dangerous"),!!w),(0,o.Z)(n,"".concat(ae,"-rtl"),"rtl"===te),(0,o.Z)(n,"".concat(ae,"-disabled"),void 0!==de.href&&F),n),O),pe=j&&!$?j:u.createElement(_,{existIcon:!!j,prefixCls:ae,loading:!!$}),he=A||0===A?function(e,t){var n=!1,r=[];return u.Children.forEach(e,(function(e){var t=(0,a.Z)(e),o="string"===t||"number"===t;if(n&&o){var i=r.length-1,s=r[i];r[i]="".concat(s).concat(e)}else r.push(e);n=o})),u.Children.map(r,(function(e){return N(e,t)}))}(A,re()&&se):null;if(void 0!==de.href)return u.createElement("a",(0,r.Z)({},de,{className:fe,onClick:ie,ref:ne}),pe,he);var me=u.createElement("button",(0,r.Z)({},z,{type:D,className:fe,onClick:ie,disabled:F,ref:ne}),pe,he);return L(b)?me:u.createElement(g.Z,{disabled:!!$},me)},j=u.forwardRef(A);j.Group=b,j.__ANT_BUTTON=!0;var T=j},78681:function(e,t,n){"use strict";var r=n(88129);t.Z=r.Z},72884:function(e,t,n){"use strict";var r=n(63606);t.Z=r.Z},64388:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(57904),o=n(2053),i=n(84875),a=n.n(i),s=n(19075),l=n(50959),c=n(65205),u=n(34960),d=n(35047),f=n(99459),p=n(90123),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},m=l.createContext(null),g=function(e,t){var n=e.defaultValue,i=e.children,s=e.options,u=void 0===s?[]:s,g=e.prefixCls,v=e.className,y=e.style,b=e.onChange,w=h(e,["defaultValue","children","options","prefixCls","className","style","onChange"]),C=l.useContext(c.E_),k=C.getPrefixCls,_=C.direction,S=l.useState(w.value||n||[]),E=(0,f.Z)(S,2),M=E[0],L=E[1],N=l.useState([]),O=(0,f.Z)(N,2),A=O[0],j=O[1];l.useEffect((function(){"value"in w&&L(w.value||[])}),[w.value]);var T=function(){return u.map((function(e){return"string"===typeof e||"number"===typeof e?{label:e,value:e}:e}))},Z=k("checkbox",g),P="".concat(Z,"-group"),R=(0,p.Z)(w,["value","disabled"]);u&&u.length>0&&(i=T().map((function(e){return l.createElement(x,{prefixCls:Z,key:e.value.toString(),disabled:"disabled"in e?e.disabled:w.disabled,value:e.value,checked:-1!==M.indexOf(e.value),onChange:e.onChange,className:"".concat(P,"-item"),style:e.style},e.label)})));var I={toggleOption:function(e){var t=M.indexOf(e.value),n=(0,d.Z)(M);-1===t?n.push(e.value):n.splice(t,1),"value"in w||L(n);var r=T();null===b||void 0===b||b(n.filter((function(e){return-1!==A.indexOf(e)})).sort((function(e,t){return r.findIndex((function(t){return t.value===e}))-r.findIndex((function(e){return e.value===t}))})))},value:M,disabled:w.disabled,name:w.name,registerValue:function(e){j((function(t){return[].concat((0,d.Z)(t),[e])}))},cancelValue:function(e){j((function(t){return t.filter((function(t){return t!==e}))}))}},D=a()(P,(0,r.Z)({},"".concat(P,"-rtl"),"rtl"===_),v);return l.createElement("div",(0,o.Z)({className:D,style:y},R,{ref:t}),l.createElement(m.Provider,{value:I},i))},v=l.forwardRef(g),y=l.memo(v),b=n(72185),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},C=function(e,t){var n,i=e.prefixCls,d=e.className,f=e.children,p=e.indeterminate,h=void 0!==p&&p,g=e.style,v=e.onMouseEnter,y=e.onMouseLeave,C=e.skipGroup,x=void 0!==C&&C,k=e.disabled,_=w(e,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),S=l.useContext(c.E_),E=S.getPrefixCls,M=S.direction,L=l.useContext(m),N=(0,l.useContext)(u.aM).isFormItemInput,O=(0,l.useContext)(b.Z),A=k||(null===L||void 0===L?void 0:L.disabled)||O,j=l.useRef(_.value);l.useEffect((function(){null===L||void 0===L||L.registerValue(_.value)}),[]),l.useEffect((function(){if(!x)return _.value!==j.current&&(null===L||void 0===L||L.cancelValue(j.current),null===L||void 0===L||L.registerValue(_.value),j.current=_.value),function(){return null===L||void 0===L?void 0:L.cancelValue(_.value)}}),[_.value]);var T=E("checkbox",i),Z=(0,o.Z)({},_);L&&!x&&(Z.onChange=function(){_.onChange&&_.onChange.apply(_,arguments),L.toggleOption&&L.toggleOption({label:f,value:_.value})},Z.name=L.name,Z.checked=-1!==L.value.indexOf(_.value));var P=a()((n={},(0,r.Z)(n,"".concat(T,"-wrapper"),!0),(0,r.Z)(n,"".concat(T,"-rtl"),"rtl"===M),(0,r.Z)(n,"".concat(T,"-wrapper-checked"),Z.checked),(0,r.Z)(n,"".concat(T,"-wrapper-disabled"),A),(0,r.Z)(n,"".concat(T,"-wrapper-in-form-item"),N),n),d),R=a()((0,r.Z)({},"".concat(T,"-indeterminate"),h)),I=h?"mixed":void 0;return l.createElement("label",{className:P,style:g,onMouseEnter:v,onMouseLeave:y},l.createElement(s.default,(0,o.Z)({"aria-checked":I},Z,{prefixCls:T,className:R,disabled:A,ref:t})),void 0!==f&&l.createElement("span",null,f))};var x=l.forwardRef(C),k=x;k.Group=y,k.__ANT_CHECKBOX=!0;var _=k},72185:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(50959),o=r.createContext(!1),i=function(e){var t=e.children,n=e.disabled,i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)};t.Z=o},2344:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(50959),o=r.createContext(void 0),i=function(e){var t=e.children,n=e.size;return r.createElement(o.Consumer,null,(function(e){return r.createElement(o.Provider,{value:n||e},t)}))};t.Z=o},65205:function(e,t,n){"use strict";n.d(t,{C:function(){return a},E_:function(){return i},PG:function(){return s}});var r=n(2053),o=n(50959),i=o.createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")}}),a=i.Consumer;function s(e){return function(t){var n=t.constructor;n&&n.displayName||t.name;return function(n){return o.createElement(a,null,(function(i){var a=e.prefixCls,s=(0,i.getPrefixCls)(a,n.prefixCls);return o.createElement(t,(0,r.Z)({},i,n,{prefixCls:s}))}))}}}},27983:function(e,t,n){"use strict";var r=n(50959),o=n(65205),i=n(53102);t.Z=function(e){return r.createElement(o.C,null,(function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return r.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return r.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return r.createElement(i.Z,null)}}))}},41689:function(e,t,n){"use strict";n.d(t,{ZP:function(){return I},w6:function(){return Z}});var r=n(2053),o=n(21543),i=n(22423),a=n(57619),s=n(50959),l=n(73779),c=n(71374),u=n(45675),d=n(36280),f=n(32424),p=n(96841),h=n(61089),m=function(e){(0,u.Z)(n,e);var t=(0,d.Z)(n);function n(e){var o;return(0,l.Z)(this,n),(o=t.call(this,e)).getMemoizedContextValue=(0,f.default)((function(e){return(0,r.Z)((0,r.Z)({},e),{exist:!0})})),(0,p.f)(e.locale&&e.locale.Modal),o}return(0,c.Z)(n,[{key:"componentDidMount",value:function(){(0,p.f)(this.props.locale&&this.props.locale.Modal)}},{key:"componentDidUpdate",value:function(e){var t=this.props.locale;e.locale!==t&&(0,p.f)(t&&t.Modal)}},{key:"componentWillUnmount",value:function(){(0,p.f)()}},{key:"render",value:function(){var e=this.props,t=e.locale,n=e.children,r=this.getMemoizedContextValue(t);return s.createElement(h.Z.Provider,{value:r},n)}}]),n}(s.Component);m.defaultProps={locale:{}};var g=n(91851),v=n(71236),y=n(78830),b=n(85554),w=n(65205),C=n(56088),x=n(99978),k=n(91469),_=n(90727),S="-ant-".concat(Date.now(),"-").concat(Math.random());function E(e,t){var n=function(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null===t||void 0===t?void 0:t(n))||n).toRgbString()},o=function(e,t){var o=new x.C(e),i=(0,C.generate)(o.toRgbString());n["".concat(t,"-color")]=r(o),n["".concat(t,"-color-disabled")]=i[1],n["".concat(t,"-color-hover")]=i[4],n["".concat(t,"-color-active")]=i[6],n["".concat(t,"-color-outline")]=o.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=i[0],n["".concat(t,"-color-deprecated-border")]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");var i=new x.C(t.primaryColor),a=(0,C.generate)(i.toRgbString());a.forEach((function(e,t){n["primary-".concat(t+1)]=e})),n["primary-color-deprecated-l-35"]=r(i,(function(e){return e.lighten(35)})),n["primary-color-deprecated-l-20"]=r(i,(function(e){return e.lighten(20)})),n["primary-color-deprecated-t-20"]=r(i,(function(e){return e.tint(20)})),n["primary-color-deprecated-t-50"]=r(i,(function(e){return e.tint(50)})),n["primary-color-deprecated-f-12"]=r(i,(function(e){return e.setAlpha(.12*e.getAlpha())}));var s=new x.C(a[0]);n["primary-color-active-deprecated-f-30"]=r(s,(function(e){return e.setAlpha(.3*e.getAlpha())})),n["primary-color-active-deprecated-d-02"]=r(s,(function(e){return e.darken(2)}))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");var l=Object.keys(n).map((function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")}));return"\n  :root {\n    ".concat(l.join("\n"),"\n  }\n  ").trim()}(e,t);(0,k.Z)()&&(0,_.hq)(n,"".concat(S,"-dynamic-theme"))}var M,L,N=n(72185),O=n(2344),A=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];function j(){return M||"ant"}function T(){return L||"anticon"}var Z=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(j(),"-").concat(e):j())},getIconPrefixCls:T,getRootPrefixCls:function(e,t){return e||(M||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):j()))}}},P=function(e){var t,n,l=e.children,c=e.csp,u=e.autoInsertSpaceInButton,d=e.form,f=e.locale,p=e.componentSize,h=e.direction,g=e.space,y=e.virtual,b=e.dropdownMatchSelectWidth,C=e.legacyLocale,x=e.parentContext,k=e.iconPrefixCls,_=e.componentDisabled,S=s.useCallback((function(t,n){var r=e.prefixCls;if(n)return n;var o=r||x.getPrefixCls("");return t?"".concat(o,"-").concat(t):o}),[x.getPrefixCls,e.prefixCls]),E=(0,r.Z)((0,r.Z)({},x),{csp:c,autoInsertSpaceInButton:u,locale:f||C,direction:h,space:g,virtual:y,dropdownMatchSelectWidth:b,getPrefixCls:S});A.forEach((function(t){var n=e[t];n&&(E[t]=n)}));var M=(0,a.Z)((function(){return E}),E,(function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((function(n){return e[n]!==t[n]}))})),L=s.useMemo((function(){return{prefixCls:k,csp:c}}),[k,c]),j=l,T={};return f&&(T=(null===(t=f.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=v.Z.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),d&&d.validateMessages&&(T=(0,r.Z)((0,r.Z)({},T),d.validateMessages)),Object.keys(T).length>0&&(j=s.createElement(i.FormProvider,{validateMessages:T},l)),f&&(j=s.createElement(m,{locale:f,_ANT_MARK__:"internalMark"},j)),(k||c)&&(j=s.createElement(o.Z.Provider,{value:L},j)),p&&(j=s.createElement(O.q,{size:p},j)),void 0!==_&&(j=s.createElement(N.n,{disabled:_},j)),s.createElement(w.E_.Provider,{value:M},j)},R=function(e){return s.useEffect((function(){e.direction&&(y.ZP.config({rtl:"rtl"===e.direction}),b.Z.config({rtl:"rtl"===e.direction}))}),[e.direction]),s.createElement(g.Z,null,(function(t,n,o){return s.createElement(w.C,null,(function(t){return s.createElement(P,(0,r.Z)({parentContext:t,legacyLocale:o},e))}))}))};R.ConfigContext=w.E_,R.SizeContext=O.Z,R.config=function(e){var t=e.prefixCls,n=e.iconPrefixCls,r=e.theme;void 0!==t&&(M=t),void 0!==n&&(L=n),r&&E(j(),r)};var I=R},63606:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2053),o={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},i=n(15454),a={lang:(0,r.Z)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o),timePickerLocale:(0,r.Z)({},i.Z)}},10921:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var r=n(2053),o=n(57904),i=n(99459),a=n(97272),s=n(84875),l=n.n(s),c=n(98037),u=n(50959),d=n(87166),f=n(37670);var p=function(e){var t=e.prefixCls,n=e.className,r=e.style,o=e.children,i=e.containerRef;return u.createElement(u.Fragment,null,u.createElement("div",{className:l()("".concat(t,"-content"),n),style:(0,c.Z)({},r),"aria-modal":"true",role:"dialog",ref:i},o))},h=u.createContext(null),m=n(23278),g=n(14032);function v(e){return"string"===typeof e&&String(Number(e))===e?((0,g.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var y={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function b(e){var t,n,a,s,d=e.prefixCls,g=e.open,b=e.placement,w=e.inline,C=e.push,x=e.forceRender,k=e.autoFocus,_=e.keyboard,S=e.scrollLocker,E=e.rootClassName,M=e.rootStyle,L=e.zIndex,N=e.className,O=e.style,A=e.motion,j=e.width,T=e.height,Z=e.children,P=e.contentWrapperStyle,R=e.mask,I=e.maskClosable,D=e.maskMotion,z=e.maskClassName,H=e.maskStyle,B=e.afterOpenChange,F=e.onClose,V=u.useRef(),q=u.useRef(),U=u.useRef();u.useEffect((function(){var e;g&&k&&(null===(e=V.current)||void 0===e||e.focus({preventScroll:!0}))}),[g,k]);var $=u.useState(!1),W=(0,i.Z)($,2),K=W[0],G=W[1],Y=u.useContext(h),J=null!==(t=null!==(n=null===(a=!1===C?{distance:0}:!0===C?{}:C||{})||void 0===a?void 0:a.distance)&&void 0!==n?n:null===Y||void 0===Y?void 0:Y.pushDistance)&&void 0!==t?t:180,X=u.useMemo((function(){return{pushDistance:J,push:function(){G(!0)},pull:function(){G(!1)}}}),[J]);u.useEffect((function(){var e,t;g?null===Y||void 0===Y||null===(e=Y.push)||void 0===e||e.call(Y):null===Y||void 0===Y||null===(t=Y.pull)||void 0===t||t.call(Y)}),[g]),u.useEffect((function(){g&&R&&(null===S||void 0===S||S.lock())}),[g,R]),u.useEffect((function(){return function(){var e;null===S||void 0===S||S.unLock(),null===Y||void 0===Y||null===(e=Y.pull)||void 0===e||e.call(Y)}}),[]);var Q=R&&u.createElement(f.default,(0,r.Z)({key:"mask"},D,{visible:g}),(function(e,t){var n=e.className,r=e.style;return u.createElement("div",{className:l()("".concat(d,"-mask"),n,z),style:(0,c.Z)((0,c.Z)({},r),H),onClick:I?F:void 0,ref:t})})),ee="function"===typeof A?A(b):A,te={};if(K&&J)switch(b){case"top":te.transform="translateY(".concat(J,"px)");break;case"bottom":te.transform="translateY(".concat(-J,"px)");break;case"left":te.transform="translateX(".concat(J,"px)");break;default:te.transform="translateX(".concat(-J,"px)")}"left"===b||"right"===b?te.width=v(j):te.height=v(T);var ne=u.createElement(f.default,(0,r.Z)({key:"panel"},ee,{visible:g,forceRender:x,onVisibleChanged:function(e){null===B||void 0===B||B(e),e||null===S||void 0===S||S.unLock()},removeOnLeave:!1,leavedClassName:"".concat(d,"-content-wrapper-hidden")}),(function(e,t){var n=e.className,r=e.style;return u.createElement("div",{className:l()("".concat(d,"-content-wrapper"),n),style:(0,c.Z)((0,c.Z)((0,c.Z)({},te),r),P)},u.createElement(p,{containerRef:t,prefixCls:d,className:N,style:O},Z))})),re=(0,c.Z)({},M);return L&&(re.zIndex=L),u.createElement(h.Provider,{value:X},u.createElement("div",{className:l()(d,"".concat(d,"-").concat(b),E,(s={},(0,o.Z)(s,"".concat(d,"-open"),g),(0,o.Z)(s,"".concat(d,"-inline"),w),s)),style:re,tabIndex:-1,ref:V,onKeyDown:function(e){var t=e.keyCode,n=e.shiftKey;switch(t){case m.Z.TAB:var r;if(t===m.Z.TAB)if(n||document.activeElement!==U.current){if(n&&document.activeElement===q.current){var o;null===(o=U.current)||void 0===o||o.focus({preventScroll:!0})}}else null===(r=q.current)||void 0===r||r.focus({preventScroll:!0});break;case m.Z.ESC:F&&_&&F(e)}}},Q,u.createElement("div",{tabIndex:0,ref:q,style:y,"aria-hidden":"true","data-sentinel":"start"}),ne,u.createElement("div",{tabIndex:0,ref:U,style:y,"aria-hidden":"true","data-sentinel":"end"})))}var w=function(e){var t=e.open,n=e.getContainer,o=e.forceRender,a=e.wrapperClassName,s=e.prefixCls,l=e.afterOpenChange,f=e.destroyOnClose,p=u.useState(!1),h=(0,i.Z)(p,2),m=h[0],g=h[1];if(!o&&!m&&!t&&f)return null;var v=(0,c.Z)((0,c.Z)({},e),{},{prefixCls:s,afterOpenChange:function(e){g(e),null===l||void 0===l||l(e)}});return!1===n?u.createElement(b,(0,r.Z)({},v,{inline:!0})):u.createElement(d.Z,{visible:t,forceRender:o,getContainer:n,wrapperClassName:a},(function(e){var t=e.scrollLocker;return u.createElement(b,(0,r.Z)({},v,{scrollLocker:t}))}))};w.defaultProps={open:!1,getContainer:function(){return document.body},prefixCls:"rc-drawer",placement:"right",autoFocus:!0,keyboard:!0,width:378,mask:!0,maskClosable:!0};var C=w,x=n(65205),k=n(34960),_=n(80029),S=n(19212),E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},M=((0,S.b)("default","large"),{distance:180});var L=function(e){var t=e.width,n=e.height,s=e.size,c=void 0===s?"default":s,d=e.closable,f=void 0===d||d,p=e.mask,h=void 0===p||p,m=e.push,g=void 0===m?M:m,v=e.closeIcon,y=void 0===v?u.createElement(a.Z,null):v,b=e.bodyStyle,w=e.drawerStyle,S=e.className,L=e.visible,N=e.open,O=e.children,A=e.style,j=e.title,T=e.headerStyle,Z=e.onClose,P=e.footer,R=e.footerStyle,I=e.prefixCls,D=e.getContainer,z=e.extra,H=e.afterVisibleChange,B=e.afterOpenChange,F=E(e,["width","height","size","closable","mask","push","closeIcon","bodyStyle","drawerStyle","className","visible","open","children","style","title","headerStyle","onClose","footer","footerStyle","prefixCls","getContainer","extra","afterVisibleChange","afterOpenChange"]),V=u.useContext(x.E_),q=V.getPopupContainer,U=V.getPrefixCls,$=V.direction,W=U("drawer",I),K=void 0===D&&q?function(){return q(document.body)}:D,G=f&&u.createElement("button",{type:"button",onClick:Z,"aria-label":"Close",className:"".concat(W,"-close")},y);[["visible","open"],["afterVisibleChange","afterOpenChange"]].forEach((function(e){var t=(0,i.Z)(e,2);t[0],t[1]}));var Y=l()((0,o.Z)({"no-mask":!h},"".concat(W,"-rtl"),"rtl"===$),S),J=u.useMemo((function(){return null!==t&&void 0!==t?t:"large"===c?736:378}),[t,c]),X=u.useMemo((function(){return null!==n&&void 0!==n?n:"large"===c?736:378}),[n,c]),Q={motionName:(0,_.mL)(W,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500};return u.createElement(k.Ux,{status:!0,override:!0},u.createElement(C,(0,r.Z)({prefixCls:W,onClose:Z},F,{open:N||L,mask:h,push:g,width:J,height:X,rootClassName:Y,getContainer:K,afterOpenChange:function(e){null===B||void 0===B||B(e),null===H||void 0===H||H(e)},maskMotion:Q,motion:function(e){return{motionName:(0,_.mL)(W,"panel-motion-".concat(e)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}},rootStyle:A}),u.createElement("div",{className:"".concat(W,"-wrapper-body"),style:(0,r.Z)({},w)},j||f?u.createElement("div",{className:l()("".concat(W,"-header"),(0,o.Z)({},"".concat(W,"-header-close-only"),f&&!j&&!z)),style:T},u.createElement("div",{className:"".concat(W,"-header-title")},G,j&&u.createElement("div",{className:"".concat(W,"-title")},j)),z&&u.createElement("div",{className:"".concat(W,"-extra")},z)):null,u.createElement("div",{className:"".concat(W,"-body"),style:b},O),function(){if(!P)return null;var e="".concat(W,"-footer");return u.createElement("div",{className:e,style:R},P)}())))}},97366:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(2053),o=n(24744),i=n(57904),a=n(99459),s=n(26188),l=n(84875),c=n.n(l),u=n(27935),d=n(99798),f=n(5481),p=n(50959),h=n(65205),m=n(69705),g=n(58588),v=n(94826),y=n(19212),b=n(43692),w=n(78681),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},x=w.Z.Group,k=function(e){var t=p.useContext(h.E_),n=t.getPopupContainer,o=t.getPrefixCls,i=t.direction,s=e.prefixCls,l=e.type,u=void 0===l?"default":l,d=e.danger,f=e.disabled,m=e.loading,g=e.onClick,v=e.htmlType,y=e.children,k=e.className,_=e.overlay,S=e.trigger,M=e.align,L=e.visible,N=e.open,O=e.onVisibleChange,A=e.onOpenChange,j=e.placement,T=e.getPopupContainer,Z=e.href,P=e.icon,R=void 0===P?p.createElement(b.Z,null):P,I=e.title,D=e.buttonsRender,z=void 0===D?function(e){return e}:D,H=e.mouseEnterDelay,B=e.mouseLeaveDelay,F=e.overlayClassName,V=e.overlayStyle,q=e.destroyPopupOnHide,U=C(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","overlay","trigger","align","visible","open","onVisibleChange","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide"]),$=o("dropdown-button",s),W={align:M,overlay:_,disabled:f,trigger:f?[]:S,onOpenChange:A||O,getPopupContainer:T||n,mouseEnterDelay:H,mouseLeaveDelay:B,overlayClassName:F,overlayStyle:V,destroyPopupOnHide:q};"open"in e?W.open=N:"visible"in e&&(W.open=L),W.placement="placement"in e?j:"rtl"===i?"bottomLeft":"bottomRight";var K=z([p.createElement(w.Z,{type:u,danger:d,disabled:f,loading:m,onClick:g,htmlType:v,href:Z,title:I},y),p.createElement(w.Z,{type:u,danger:d,icon:R})]),G=(0,a.Z)(K,2),Y=G[0],J=G[1];return p.createElement(x,(0,r.Z)({},U,{className:c()($,k)}),Y,p.createElement(E,(0,r.Z)({},W),J))};k.__ANT_BUTTON=!0;var _=k,S=((0,y.b)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight","top","bottom"),function(e){var t=p.useContext(h.E_),n=t.getPopupContainer,l=t.getPrefixCls,y=t.direction;var b,w=e.arrow,C=e.prefixCls,x=e.children,k=e.trigger,_=e.disabled,S=e.getPopupContainer,E=e.overlayClassName,M=e.visible,L=e.open,N=e.onVisibleChange,O=e.onOpenChange,A=l("dropdown",C),j=p.Children.only(x),T=(0,v.Tm)(j,{className:c()("".concat(A,"-trigger"),(0,i.Z)({},"".concat(A,"-rtl"),"rtl"===y),j.props.className),disabled:_}),Z=_?[]:k;Z&&-1!==Z.indexOf("contextMenu")&&(b=!0);var P=(0,f.Z)(!1,{value:void 0!==L?L:M}),R=(0,a.Z)(P,2),I=R[0],D=R[1],z=(0,d.Z)((function(e){null===N||void 0===N||N(e),null===O||void 0===O||O(e),D(e)})),H=c()(E,(0,i.Z)({},"".concat(A,"-rtl"),"rtl"===y)),B=(0,g.Z)({arrowPointAtCenter:"object"===(0,o.Z)(w)&&w.pointAtCenter,autoAdjustOverflow:!0}),F=p.useCallback((function(){D(!1)}),[]);return p.createElement(u.Z,(0,r.Z)({alignPoint:b},e,{visible:I,builtinPlacements:B,arrow:!!w,overlayClassName:H,prefixCls:A,getPopupContainer:S||n,transitionName:function(){var t=l(),n=e.placement,r=void 0===n?"":n,o=e.transitionName;return void 0!==o?o:r.indexOf("top")>=0?"".concat(t,"-slide-down"):"".concat(t,"-slide-up")}(),trigger:Z,overlay:function(){var t,n=e.overlay;return t="function"===typeof n?n():n,t=p.Children.only("string"===typeof t?p.createElement("span",null,t):t),p.createElement(m.J,{prefixCls:"".concat(A,"-menu"),expandIcon:p.createElement("span",{className:"".concat(A,"-menu-submenu-arrow")},p.createElement(s.Z,{className:"".concat(A,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:F,validator:function(e){e.mode}},t)},placement:function(){var t=e.placement;return t?t.includes("Center")?t.slice(0,t.indexOf("Center")):t:"rtl"===y?"bottomRight":"bottomLeft"}(),onVisibleChange:z}),T)});S.Button=_,S.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1};var E=S},58463:function(e,t,n){"use strict";var r=n(97366);t.Z=r.Z},53102:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(57904),o=n(2053),i=n(84875),a=n.n(i),s=n(50959),l=n(65205),c=n(91851),u=function(){var e=(0,s.useContext(l.E_).getPrefixCls)("empty-img-default");return s.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},s.createElement("g",{fill:"none",fillRule:"evenodd"},s.createElement("g",{transform:"translate(24 31.67)"},s.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),s.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),s.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),s.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),s.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),s.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),s.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},s.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),s.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},d=function(){var e=(0,s.useContext(l.E_).getPrefixCls)("empty-img-simple");return s.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},s.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},s.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),s.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},s.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),s.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=s.createElement(u,null),h=s.createElement(d,null),m=function(e){var t=e.className,n=e.prefixCls,i=e.image,u=void 0===i?p:i,d=e.description,m=e.children,g=e.imageStyle,v=f(e,["className","prefixCls","image","description","children","imageStyle"]),y=s.useContext(l.E_),b=y.getPrefixCls,w=y.direction;return s.createElement(c.Z,{componentName:"Empty"},(function(e){var i,l=b("empty",n),c="undefined"!==typeof d?d:e.description,f="string"===typeof c?c:"empty",p=null;return p="string"===typeof u?s.createElement("img",{alt:f,src:u}):u,s.createElement("div",(0,o.Z)({className:a()(l,(i={},(0,r.Z)(i,"".concat(l,"-normal"),u===h),(0,r.Z)(i,"".concat(l,"-rtl"),"rtl"===w),i),t)},v),s.createElement("div",{className:"".concat(l,"-image"),style:g},p),c&&s.createElement("div",{className:"".concat(l,"-description")},c),m&&s.createElement("div",{className:"".concat(l,"-footer")},m))}))};m.PRESENTED_IMAGE_DEFAULT=p,m.PRESENTED_IMAGE_SIMPLE=h;var g=m},34960:function(e,t,n){"use strict";n.d(t,{RV:function(){return c},Rk:function(){return u},Ux:function(){return f},aM:function(){return d},q3:function(){return s},qI:function(){return l}});var r=n(2053),o=n(22423),i=n(90123),a=n(50959),s=a.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),l=a.createContext(null),c=function(e){var t=(0,i.Z)(e,["prefixCls"]);return a.createElement(o.FormProvider,(0,r.Z)({},t))},u=a.createContext({prefixCls:""}),d=a.createContext({}),f=function(e){var t=e.children,n=e.status,o=e.override,i=(0,a.useContext)(d),s=(0,a.useMemo)((function(){var e=(0,r.Z)({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,o,i]);return a.createElement(d.Provider,{value:s},t)}},21148:function(e,t,n){"use strict";n.d(t,{Z:function(){return pe}});var r=n(34960),o=n(57904),i=n(2053),a=n(35047),s=n(84875),l=n.n(s),c=n(37670),u=n(50959),d=n(65205),f=n(80029),p=n(99459);function h(e){var t=u.useState(e),n=(0,p.Z)(t,2),r=n[0],o=n[1];return u.useEffect((function(){var t=setTimeout((function(){o(e)}),e.length?0:10);return function(){clearTimeout(t)}}),[e]),r}var m=[];function g(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"===typeof e?e:"".concat(n,"-").concat(r),error:e,errorStatus:t}}function v(e){var t=e.help,n=e.helpStatus,s=e.errors,p=void 0===s?m:s,v=e.warnings,y=void 0===v?m:v,b=e.className,w=e.fieldId,C=e.onVisibleChanged,x=u.useContext(r.Rk).prefixCls,k=u.useContext(d.E_).getPrefixCls,_="".concat(x,"-item-explain"),S=k(),E=h(p),M=h(y),L=u.useMemo((function(){return void 0!==t&&null!==t?[g(t,n,"help")]:[].concat((0,a.Z)(E.map((function(e,t){return g(e,"error","error",t)}))),(0,a.Z)(M.map((function(e,t){return g(e,"warning","warning",t)}))))}),[t,n,E,M]),N={};return w&&(N.id="".concat(w,"_help")),u.createElement(c.default,{motionDeadline:f.ZP.motionDeadline,motionName:"".concat(S,"-show-help"),visible:!!L.length,onVisibleChanged:C},(function(e){var t=e.className,n=e.style;return u.createElement("div",(0,i.Z)({},N,{className:l()(_,t,b),style:n,role:"alert"}),u.createElement(c.CSSMotionList,(0,i.Z)({keys:L},f.ZP,{motionName:"".concat(S,"-show-help-item"),component:!1}),(function(e){var t=e.key,n=e.error,r=e.errorStatus,i=e.className,a=e.style;return u.createElement("div",{key:t,className:l()(i,(0,o.Z)({},"".concat(_,"-").concat(r),r)),style:a},n)})))}))}var y=n(24744),b=n(22423),w=n(72185),C=n(2344);function x(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function k(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function _(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return k(n.overflowY,t)||k(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function S(e,t,n,r,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0}var E=function(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof a?a:function(e){return e!==a};if(!x(e))throw new TypeError("Invalid target");for(var c,u,d=document.scrollingElement||document.documentElement,f=[],p=e;x(p)&&l(p);){if((p=null==(u=(c=p).parentElement)?c.getRootNode().host||null:u)===d){f.push(p);break}null!=p&&p===document.body&&_(p)&&!_(document.documentElement)||null!=p&&_(p,s)&&f.push(p)}for(var h=n.visualViewport?n.visualViewport.width:innerWidth,m=n.visualViewport?n.visualViewport.height:innerHeight,g=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,y=e.getBoundingClientRect(),b=y.height,w=y.width,C=y.top,k=y.right,E=y.bottom,M=y.left,L="start"===o||"nearest"===o?C:"end"===o?E:C+b/2,N="center"===i?M+w/2:"end"===i?k:M,O=[],A=0;A<f.length;A++){var j=f[A],T=j.getBoundingClientRect(),Z=T.height,P=T.width,R=T.top,I=T.right,D=T.bottom,z=T.left;if("if-needed"===r&&C>=0&&M>=0&&E<=m&&k<=h&&C>=R&&E<=D&&M>=z&&k<=I)return O;var H=getComputedStyle(j),B=parseInt(H.borderLeftWidth,10),F=parseInt(H.borderTopWidth,10),V=parseInt(H.borderRightWidth,10),q=parseInt(H.borderBottomWidth,10),U=0,$=0,W="offsetWidth"in j?j.offsetWidth-j.clientWidth-B-V:0,K="offsetHeight"in j?j.offsetHeight-j.clientHeight-F-q:0,G="offsetWidth"in j?0===j.offsetWidth?0:P/j.offsetWidth:0,Y="offsetHeight"in j?0===j.offsetHeight?0:Z/j.offsetHeight:0;if(d===j)U="start"===o?L:"end"===o?L-m:"nearest"===o?S(v,v+m,m,F,q,v+L,v+L+b,b):L-m/2,$="start"===i?N:"center"===i?N-h/2:"end"===i?N-h:S(g,g+h,h,B,V,g+N,g+N+w,w),U=Math.max(0,U+v),$=Math.max(0,$+g);else{U="start"===o?L-R-F:"end"===o?L-D+q+K:"nearest"===o?S(R,D,Z,F,q+K,L,L+b,b):L-(R+Z/2)+K/2,$="start"===i?N-z-B:"center"===i?N-(z+P/2)+W/2:"end"===i?N-I+V+W:S(z,I,P,B,V+W,N,N+w,w);var J=j.scrollLeft,X=j.scrollTop;L+=X-(U=Math.max(0,Math.min(X+U/Y,j.scrollHeight-Z/Y+K))),N+=J-($=Math.max(0,Math.min(J+$/G,j.scrollWidth-P/G+W)))}O.push({el:j,top:U,left:$})}return O};function M(e){return e===Object(e)&&0!==Object.keys(e).length}var L=function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(M(t)&&"function"===typeof t.behavior)return t.behavior(n?E(e,t):[]);if(n){var r=function(e){return!1===e?{block:"end",inline:"nearest"}:M(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i)}))}(E(e,r),r.behavior)}},N=["parentNode"];function O(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function A(e,t){if(e.length){var n=e.join("_");return t?"".concat(t,"_").concat(n):N.indexOf(n)>=0?"".concat("form_item","_").concat(n):n}}function j(e){return O(e).join("_")}function T(e){var t=(0,b.useForm)(),n=(0,p.Z)(t,1)[0],r=u.useRef({}),o=u.useMemo((function(){return null!==e&&void 0!==e?e:(0,i.Z)((0,i.Z)({},n),{__INTERNAL__:{itemRef:function(e){return function(t){var n=j(e);t?r.current[n]=t:delete r.current[n]}}},scrollToField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=O(e),r=A(n,o.__INTERNAL__.name),a=r?document.getElementById(r):null;a&&L(a,(0,i.Z)({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:function(e){var t=j(e);return r.current[t]}})}),[e,n]);return[o]}var Z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},P=function(e,t){var n,a=u.useContext(C.Z),s=u.useContext(w.Z),c=u.useContext(d.E_),f=c.getPrefixCls,h=c.direction,m=c.form,g=e.prefixCls,v=e.className,x=void 0===v?"":v,k=e.size,_=void 0===k?a:k,S=e.disabled,E=void 0===S?s:S,M=e.form,L=e.colon,N=e.labelAlign,O=e.labelWrap,A=e.labelCol,j=e.wrapperCol,P=e.hideRequiredMark,R=e.layout,I=void 0===R?"horizontal":R,D=e.scrollToFirstError,z=e.requiredMark,H=e.onFinishFailed,B=e.name,F=Z(e,["prefixCls","className","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),V=(0,u.useMemo)((function(){return void 0!==z?z:m&&void 0!==m.requiredMark?m.requiredMark:!P}),[P,z,m]),q=null!==L&&void 0!==L?L:null===m||void 0===m?void 0:m.colon,U=f("form",g),$=l()(U,(n={},(0,o.Z)(n,"".concat(U,"-").concat(I),!0),(0,o.Z)(n,"".concat(U,"-hide-required-mark"),!1===V),(0,o.Z)(n,"".concat(U,"-rtl"),"rtl"===h),(0,o.Z)(n,"".concat(U,"-").concat(_),_),n),x),W=T(M),K=(0,p.Z)(W,1)[0],G=K.__INTERNAL__;G.name=B;var Y=(0,u.useMemo)((function(){return{name:B,labelAlign:N,labelCol:A,labelWrap:O,wrapperCol:j,vertical:"vertical"===I,colon:q,requiredMark:V,itemRef:G.itemRef,form:K}}),[B,N,A,j,I,q,V,K]);u.useImperativeHandle(t,(function(){return K}));return u.createElement(w.n,{disabled:E},u.createElement(C.q,{size:_},u.createElement(r.q3.Provider,{value:Y},u.createElement(b.default,(0,i.Z)({id:B},F,{name:B,onFinishFailed:function(e){null===H||void 0===H||H(e);var t={block:"nearest"};D&&e.errorFields.length&&("object"===(0,y.Z)(D)&&(t=D),K.scrollToField(e.errorFields[0].name,t))},form:K,className:$})))))},R=u.forwardRef(P),I=n(24096),D=n(37987),z=function(){return{status:(0,u.useContext)(r.aM).status}},H=n(94826),B=n(19212),F=n(18912);var V=n(93095),q=n(33828),U=n(80745),$=n(39016),W=n(67601),K=n(90123),G=n(63587),Y=n(21292),J=n(80446),X=n(91851),Q=n(71236),ee=n(69158),te=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};var ne=function(e){var t=e.prefixCls,n=e.label,a=e.htmlFor,s=e.labelCol,c=e.labelAlign,d=e.colon,f=e.required,h=e.requiredMark,m=e.tooltip,g=(0,X.E)("Form"),v=(0,p.Z)(g,1)[0];return n?u.createElement(r.q3.Consumer,{key:"label"},(function(e){var r,p,g=e.vertical,b=e.labelAlign,w=e.labelCol,C=e.labelWrap,x=e.colon,k=s||w||{},_=c||b,S="".concat(t,"-item-label"),E=l()(S,"left"===_&&"".concat(S,"-left"),k.className,(0,o.Z)({},"".concat(S,"-wrap"),!!C)),M=n,L=!0===d||!1!==x&&!1!==d;L&&!g&&"string"===typeof n&&""!==n.trim()&&(M=n.replace(/[:|\uff1a]\s*$/,""));var N=function(e){return e?"object"!==(0,y.Z)(e)||u.isValidElement(e)?{title:e}:e:null}(m);if(N){var O=N.icon,A=void 0===O?u.createElement(Y.Z,null):O,j=te(N,["icon"]),T=u.createElement(ee.Z,(0,i.Z)({},j),u.cloneElement(A,{className:"".concat(t,"-item-tooltip"),title:""}));M=u.createElement(u.Fragment,null,M,T)}"optional"!==h||f||(M=u.createElement(u.Fragment,null,M,u.createElement("span",{className:"".concat(t,"-item-optional"),title:""},(null===v||void 0===v?void 0:v.optional)||(null===(p=Q.Z.Form)||void 0===p?void 0:p.optional))));var Z=l()((r={},(0,o.Z)(r,"".concat(t,"-item-required"),f),(0,o.Z)(r,"".concat(t,"-item-required-mark-optional"),"optional"===h),(0,o.Z)(r,"".concat(t,"-item-no-colon"),!L),r));return u.createElement(J.Z,(0,i.Z)({},k,{className:E}),u.createElement("label",{htmlFor:a,className:Z,title:"string"===typeof n?n:""},M))})):null},re=function(e){var t=e.prefixCls,n=e.status,o=e.wrapperCol,a=e.children,s=e.errors,c=e.warnings,d=e._internalItemRender,f=e.extra,p=e.help,h=e.fieldId,m=e.marginBottom,g=e.onErrorVisibleChanged,y="".concat(t,"-item"),b=u.useContext(r.q3),w=o||b.wrapperCol||{},C=l()("".concat(y,"-control"),w.className),x=u.useMemo((function(){return(0,i.Z)({},b)}),[b]);delete x.labelCol,delete x.wrapperCol;var k=u.createElement("div",{className:"".concat(y,"-control-input")},u.createElement("div",{className:"".concat(y,"-control-input-content")},a)),_=u.useMemo((function(){return{prefixCls:t,status:n}}),[t,n]),S=null!==m||s.length||c.length?u.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},u.createElement(r.Rk.Provider,{value:_},u.createElement(v,{fieldId:h,errors:s,warnings:c,help:p,helpStatus:n,className:"".concat(y,"-explain-connected"),onVisibleChanged:g})),!!m&&u.createElement("div",{style:{width:0,height:m}})):null,E={};h&&(E.id="".concat(h,"_extra"));var M=f?u.createElement("div",(0,i.Z)({},E,{className:"".concat(y,"-extra")}),f):null,L=d&&"pro_table_render"===d.mark&&d.render?d.render(e,{input:k,errorList:S,extra:M}):u.createElement(u.Fragment,null,k,S,M);return u.createElement(r.q3.Provider,{value:x},u.createElement(J.Z,(0,i.Z)({},w,{className:C}),L))},oe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ie={success:V.Z,warning:U.Z,error:q.Z,validating:$.Z};function ae(e){var t,n=e.prefixCls,a=e.className,s=e.style,c=e.help,d=e.errors,f=e.warnings,m=e.validateStatus,g=e.meta,v=e.hasFeedback,y=e.hidden,b=e.children,w=e.fieldId,C=e.isRequired,x=e.onSubItemMetaChange,k=oe(e,["prefixCls","className","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","isRequired","onSubItemMetaChange"]),_="".concat(n,"-item"),S=u.useContext(r.q3).requiredMark,E=u.useRef(null),M=h(d),L=h(f),N=void 0!==c&&null!==c,O=!!(N||d.length||f.length),A=u.useState(null),j=(0,p.Z)(A,2),T=j[0],Z=j[1];(0,W.Z)((function(){if(O&&E.current){var e=getComputedStyle(E.current);Z(parseInt(e.marginBottom,10))}}),[O]);var P="";void 0!==m?P=m:g.validating?P="validating":M.length?P="error":L.length?P="warning":g.touched&&(P="success");var R=u.useMemo((function(){var e;if(v){var t=P&&ie[P];e=t?u.createElement("span",{className:l()("".concat(_,"-feedback-icon"),"".concat(_,"-feedback-icon-").concat(P))},u.createElement(t,null)):null}return{status:P,hasFeedback:v,feedbackIcon:e,isFormItemInput:!0}}),[P,v]),I=(t={},(0,o.Z)(t,_,!0),(0,o.Z)(t,"".concat(_,"-with-help"),N||M.length||L.length),(0,o.Z)(t,"".concat(a),!!a),(0,o.Z)(t,"".concat(_,"-has-feedback"),P&&v),(0,o.Z)(t,"".concat(_,"-has-success"),"success"===P),(0,o.Z)(t,"".concat(_,"-has-warning"),"warning"===P),(0,o.Z)(t,"".concat(_,"-has-error"),"error"===P),(0,o.Z)(t,"".concat(_,"-is-validating"),"validating"===P),(0,o.Z)(t,"".concat(_,"-hidden"),y),t);return u.createElement("div",{className:l()(I),style:s,ref:E},u.createElement(G.Z,(0,i.Z)({className:"".concat(_,"-row")},(0,K.Z)(k,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","required","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),u.createElement(ne,(0,i.Z)({htmlFor:w,required:C,requiredMark:S},e,{prefixCls:n})),u.createElement(re,(0,i.Z)({},e,g,{errors:M,warnings:L,prefixCls:n,status:P,help:c,marginBottom:T,onErrorVisibleChanged:function(e){e||Z(null)}}),u.createElement(r.qI.Provider,{value:x},u.createElement(r.aM.Provider,{value:R},b)))),!!T&&u.createElement("div",{className:"".concat(_,"-margin-offset"),style:{marginBottom:-T}}))}(0,B.b)("success","warning","error","validating","");var se=u.memo((function(e){return e.children}),(function(e,t){return e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((function(e,n){return e===t.childProps[n]}))}));var le=function(e){var t=e.name,n=e.noStyle,o=e.dependencies,s=e.prefixCls,l=e.shouldUpdate,c=e.rules,f=e.children,h=e.required,m=e.label,g=e.messageVariables,v=e.trigger,w=void 0===v?"onChange":v,C=e.validateTrigger,x=e.hidden,k=(0,u.useContext)(d.E_).getPrefixCls,_=(0,u.useContext)(r.q3).name,S="function"===typeof f,E=(0,u.useContext)(r.qI),M=(0,u.useContext)(b.FieldContext).validateTrigger,L=void 0!==C?C:M,N=function(e){return!(void 0===e||null===e)}(t),j=k("form",s),T=u.useContext(b.ListContext),Z=u.useRef(),P=function(e){var t=u.useState(e),n=(0,p.Z)(t,2),r=n[0],o=n[1],i=(0,u.useRef)(null),a=(0,u.useRef)([]),s=(0,u.useRef)(!1);return u.useEffect((function(){return s.current=!1,function(){s.current=!0,F.Z.cancel(i.current),i.current=null}}),[]),[r,function(e){s.current||(null===i.current&&(a.current=[],i.current=(0,F.Z)((function(){i.current=null,o((function(e){var t=e;return a.current.forEach((function(e){t=e(t)})),t}))}))),a.current.push(e))}]}({}),R=(0,p.Z)(P,2),z=R[0],B=R[1],V=(0,I.Z)((function(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[]}})),q=(0,p.Z)(V,2),U=q[0],$=q[1],W=function(e,t){B((function(n){var r=(0,i.Z)({},n),o=[].concat((0,a.Z)(e.name.slice(0,-1)),(0,a.Z)(t)).join("__SPLIT__");return e.destroy?delete r[o]:r[o]=e,r}))},K=u.useMemo((function(){var e=(0,a.Z)(U.errors),t=(0,a.Z)(U.warnings);return Object.values(z).forEach((function(n){e.push.apply(e,(0,a.Z)(n.errors||[])),t.push.apply(t,(0,a.Z)(n.warnings||[]))})),[e,t]}),[z,U.errors,U.warnings]),G=(0,p.Z)(K,2),Y=G[0],J=G[1],X=function(){var e=u.useContext(r.q3).itemRef,t=u.useRef({});return function(n,r){var o=r&&"object"===(0,y.Z)(r)&&r.ref,i=n.join("_");return t.current.name===i&&t.current.originRef===o||(t.current.name=i,t.current.originRef=o,t.current.ref=(0,D.sQ)(e(n),o)),t.current.ref}}();function Q(t,r,o){return n&&!x?t:u.createElement(ae,(0,i.Z)({key:"row"},e,{prefixCls:j,fieldId:r,isRequired:o,errors:Y,warnings:J,meta:U,onSubItemMetaChange:W}),t)}if(!N&&!S&&!o)return Q(f);var ee={};return"string"===typeof m?ee.label=m:t&&(ee.label=String(t)),g&&(ee=(0,i.Z)((0,i.Z)({},ee),g)),u.createElement(b.Field,(0,i.Z)({},e,{messageVariables:ee,trigger:w,validateTrigger:L,onMetaChange:function(e){var t=null===T||void 0===T?void 0:T.getKey(e.name);if($(e.destroy?{errors:[],warnings:[],touched:!1,validating:!1,name:[]}:e,!0),n&&E){var r=e.name;if(e.destroy)r=Z.current||r;else if(void 0!==t){var o=(0,p.Z)(t,2),i=o[0],s=o[1];r=[i].concat((0,a.Z)(s)),Z.current=r}E(e,r)}}}),(function(n,r,s){var d=O(t).length&&r?r.name:[],p=A(d,_),m=void 0!==h?h:!(!c||!c.some((function(e){if(e&&"object"===(0,y.Z)(e)&&e.required&&!e.warningOnly)return!0;if("function"===typeof e){var t=e(s);return t&&t.required&&!t.warningOnly}return!1}))),g=(0,i.Z)({},n),v=null;if(Array.isArray(f)&&N)v=f;else if(S&&(!l&&!o||N));else if(!o||S||N)if((0,H.l$)(f)){var b=(0,i.Z)((0,i.Z)({},f.props),g);if(b.id||(b.id=p),e.help||Y.length>0||J.length>0||e.extra){var C=[];(e.help||Y.length>0)&&C.push("".concat(p,"_help")),e.extra&&C.push("".concat(p,"_extra")),b["aria-describedby"]=C.join(" ")}Y.length>0&&(b["aria-invalid"]="true"),m&&(b["aria-required"]="true"),(0,D.Yr)(f)&&(b.ref=X(d,f)),new Set([].concat((0,a.Z)(O(w)),(0,a.Z)(O(L)))).forEach((function(e){b[e]=function(){for(var t,n,r,o,i,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];null===(r=g[e])||void 0===r||(t=r).call.apply(t,[g].concat(s)),null===(i=(o=f.props)[e])||void 0===i||(n=i).call.apply(n,[o].concat(s))}}));var x=[b["aria-required"],b["aria-invalid"],b["aria-describedby"]];v=u.createElement(se,{value:g[e.valuePropName||"value"],update:f,childProps:x},(0,H.Tm)(f,b))}else v=S&&(l||o)&&!N?f(s):f;else;return Q(v,p,m)}))};le.useStatus=z;var ce=le,ue=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},de=function(e){var t=e.prefixCls,n=e.children,o=ue(e,["prefixCls","children"]),a=(0,u.useContext(d.E_).getPrefixCls)("form",t),s=u.useMemo((function(){return{prefixCls:a,status:"error"}}),[a]);return u.createElement(b.List,(0,i.Z)({},o),(function(e,t,o){return u.createElement(r.Rk.Provider,{value:s},n(e.map((function(e){return(0,i.Z)((0,i.Z)({},e),{fieldKey:e.key})})),t,{errors:o.errors,warnings:o.warnings}))}))};var fe=R;fe.Item=ce,fe.List=de,fe.ErrorList=v,fe.useForm=T,fe.useFormInstance=function(){return(0,u.useContext)(r.q3).form},fe.useWatch=b.useWatch,fe.Provider=r.RV,fe.create=function(){};var pe=fe},86610:function(e,t,n){"use strict";var r=(0,n(50959).createContext)({});t.Z=r},80446:function(e,t,n){"use strict";var r=n(57904),o=n(2053),i=n(24744),a=n(84875),s=n.n(a),l=n(50959),c=n(65205),u=n(86610),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};var f=["xs","sm","md","lg","xl","xxl"],p=l.forwardRef((function(e,t){var n,a=l.useContext(c.E_),p=a.getPrefixCls,h=a.direction,m=l.useContext(u.Z),g=m.gutter,v=m.wrap,y=m.supportFlexGap,b=e.prefixCls,w=e.span,C=e.order,x=e.offset,k=e.push,_=e.pull,S=e.className,E=e.children,M=e.flex,L=e.style,N=d(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),O=p("col",b),A={};f.forEach((function(t){var n,a={},s=e[t];"number"===typeof s?a.span=s:"object"===(0,i.Z)(s)&&(a=s||{}),delete N[t],A=(0,o.Z)((0,o.Z)({},A),(n={},(0,r.Z)(n,"".concat(O,"-").concat(t,"-").concat(a.span),void 0!==a.span),(0,r.Z)(n,"".concat(O,"-").concat(t,"-order-").concat(a.order),a.order||0===a.order),(0,r.Z)(n,"".concat(O,"-").concat(t,"-offset-").concat(a.offset),a.offset||0===a.offset),(0,r.Z)(n,"".concat(O,"-").concat(t,"-push-").concat(a.push),a.push||0===a.push),(0,r.Z)(n,"".concat(O,"-").concat(t,"-pull-").concat(a.pull),a.pull||0===a.pull),(0,r.Z)(n,"".concat(O,"-rtl"),"rtl"===h),n))}));var j=s()(O,(n={},(0,r.Z)(n,"".concat(O,"-").concat(w),void 0!==w),(0,r.Z)(n,"".concat(O,"-order-").concat(C),C),(0,r.Z)(n,"".concat(O,"-offset-").concat(x),x),(0,r.Z)(n,"".concat(O,"-push-").concat(k),k),(0,r.Z)(n,"".concat(O,"-pull-").concat(_),_),n),S,A),T={};if(g&&g[0]>0){var Z=g[0]/2;T.paddingLeft=Z,T.paddingRight=Z}if(g&&g[1]>0&&!y){var P=g[1]/2;T.paddingTop=P,T.paddingBottom=P}return M&&(T.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(M),!1!==v||T.minWidth||(T.minWidth=0)),l.createElement("div",(0,o.Z)({},N,{style:(0,o.Z)((0,o.Z)({},T),L),className:j,ref:t}),E)}));t.Z=p},89786:function(e,t,n){"use strict";var r=n(50959),o=n(2945),i=n(99133);t.Z=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=(0,r.useRef)({}),n=(0,o.Z)();return(0,r.useEffect)((function(){var r=i.ZP.subscribe((function(r){t.current=r,e&&n()}));return function(){return i.ZP.unsubscribe(r)}}),[]),t.current}},63587:function(e,t,n){"use strict";var r=n(2053),o=n(57904),i=n(24744),a=n(99459),s=n(84875),l=n.n(s),c=n(50959),u=n(65205),d=n(1899),f=n(99133),p=n(19212),h=n(86610),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},g=((0,p.b)("top","middle","bottom","stretch"),(0,p.b)("start","end","center","space-around","space-between","space-evenly"),c.forwardRef((function(e,t){var n,s=e.prefixCls,p=e.justify,g=e.align,v=e.className,y=e.style,b=e.children,w=e.gutter,C=void 0===w?0:w,x=e.wrap,k=m(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),_=c.useContext(u.E_),S=_.getPrefixCls,E=_.direction,M=c.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),L=(0,a.Z)(M,2),N=L[0],O=L[1],A=(0,d.Z)(),j=c.useRef(C);c.useEffect((function(){var e=f.ZP.subscribe((function(e){var t=j.current||0;(!Array.isArray(t)&&"object"===(0,i.Z)(t)||Array.isArray(t)&&("object"===(0,i.Z)(t[0])||"object"===(0,i.Z)(t[1])))&&O(e)}));return function(){return f.ZP.unsubscribe(e)}}),[]);var T=S("row",s),Z=function(){var e=[void 0,void 0];return(Array.isArray(C)?C:[C,void 0]).forEach((function(t,n){if("object"===(0,i.Z)(t))for(var r=0;r<f.c4.length;r++){var o=f.c4[r];if(N[o]&&void 0!==t[o]){e[n]=t[o];break}}else e[n]=t})),e}(),P=l()(T,(n={},(0,o.Z)(n,"".concat(T,"-no-wrap"),!1===x),(0,o.Z)(n,"".concat(T,"-").concat(p),p),(0,o.Z)(n,"".concat(T,"-").concat(g),g),(0,o.Z)(n,"".concat(T,"-rtl"),"rtl"===E),n),v),R={},I=null!=Z[0]&&Z[0]>0?Z[0]/-2:void 0,D=null!=Z[1]&&Z[1]>0?Z[1]/-2:void 0;if(I&&(R.marginLeft=I,R.marginRight=I),A){var z=(0,a.Z)(Z,2);R.rowGap=z[1]}else D&&(R.marginTop=D,R.marginBottom=D);var H=(0,a.Z)(Z,2),B=H[0],F=H[1],V=c.useMemo((function(){return{gutter:[B,F],wrap:x,supportFlexGap:A}}),[B,F,x,A]);return c.createElement(h.Z.Provider,{value:V},c.createElement("div",(0,r.Z)({},k,{className:P,style:(0,r.Z)((0,r.Z)({},R),y),ref:t}),b))})));t.Z=g},2690:function(e,t,n){"use strict";n.d(t,{Z:function(){return U}});var r=n(2053),o=n(57904),i=n(24744),a=n(99459),s=n(26730),l=n(5406),c=n(84875),u=n.n(c),d=n(53162),f=n(50959),p=n(23278),h=n(67601),m=n(37987),g=n(73779),v=n(71374);function y(){return"function"===typeof BigInt}function b(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),i=o[0]||"0",a=o[1]||"0";"0"===i&&"0"===a&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:i,decimalStr:a,fullStr:"".concat(s).concat(r)}}function w(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function C(e){var t=String(e);if(w(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return(null===r||void 0===r?void 0:r[1])&&(n+=r[1].length),n}return t.includes(".")&&k(t)?t.length-t.indexOf(".")-1:0}function x(e){var t=String(e);if(w(e)){if(e>Number.MAX_SAFE_INTEGER)return String(y()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e<Number.MIN_SAFE_INTEGER)return String(y()?BigInt(e).toString():Number.MIN_SAFE_INTEGER);t=e.toFixed(C(t))}return b(t).fullStr}function k(e){return"number"===typeof e?!Number.isNaN(e):!!e&&(/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e))}function _(e){var t="number"===typeof e?x(e):b(e).fullStr;return t.includes(".")?b(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}var S=function(){function e(t){(0,g.Z)(this,e),this.origin="",this.number=void 0,this.empty=void 0,(t||0===t)&&String(t).trim()?(this.origin=String(t),this.number=Number(t)):this.empty=!0}return(0,v.Z)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var o=Math.max(C(this.number),C(n));return new e(r.toFixed(o))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toNumber()===(null===e||void 0===e?void 0:e.toNumber())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e?this.isInvalidate()?"":x(this.number):this.origin}}]),e}(),E=function(){function e(t){if((0,g.Z)(this,e),this.origin="",this.negative=void 0,this.integer=void 0,this.decimal=void 0,this.decimalLen=void 0,this.empty=void 0,this.nan=void 0,(t||0===t)&&String(t).trim())if(this.origin=String(t),"-"!==t){var n=t;if(w(n)&&(n=Number(n)),k(n="string"===typeof n?n:x(n))){var r=b(n);this.negative=r.negative;var o=r.trimStr.split(".");this.integer=BigInt(o[0]);var i=o[1]||"0";this.decimal=BigInt(i),this.decimalLen=i.length}else this.nan=!0}else this.nan=!0;else this.empty=!0}return(0,v.Z)(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){var t="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0"));return BigInt(t)}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);if(n.isInvalidate())return this;var r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),o=b((this.alignDecimal(r)+n.alignDecimal(r)).toString()),i=o.negativeStr,a=o.trimStr,s="".concat(i).concat(a.padStart(r+1,"0"));return new e("".concat(s.slice(0,-r),".").concat(s.slice(-r)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null===e||void 0===e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e?this.isInvalidate()?"":b("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}();function M(e){return y()?new E(e):new S(e)}function L(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var o=b(e),i=o.negativeStr,a=o.integerStr,s=o.decimalStr,l="".concat(t).concat(s),c="".concat(i).concat(a);if(n>=0){var u=Number(s[n]);if(u>=5&&!r){var d=M(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u));return L(d.toString(),t,n,r)}return 0===n?c:"".concat(c).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return".0"===l?c:"".concat(c).concat(l)}var N=n(24390);function O(e){var t=e.prefixCls,n=e.upNode,i=e.downNode,a=e.upDisabled,s=e.downDisabled,l=e.onStep,c=f.useRef(),d=f.useRef();d.current=l;var p=function(e,t){e.preventDefault(),d.current(t),c.current=setTimeout((function e(){d.current(t),c.current=setTimeout(e,200)}),600)},h=function(){clearTimeout(c.current)};if(f.useEffect((function(){return h}),[]),(0,N.Z)())return null;var m="".concat(t,"-handler"),g=u()(m,"".concat(m,"-up"),(0,o.Z)({},"".concat(m,"-up-disabled"),a)),v=u()(m,"".concat(m,"-down"),(0,o.Z)({},"".concat(m,"-down-disabled"),s)),y={unselectable:"on",role:"button",onMouseUp:h,onMouseLeave:h};return f.createElement("div",{className:"".concat(m,"-wrap")},f.createElement("span",(0,r.Z)({},y,{onMouseDown:function(e){p(e,!0)},"aria-label":"Increase Value","aria-disabled":a,className:g}),n||f.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),f.createElement("span",(0,r.Z)({},y,{onMouseDown:function(e){p(e,!1)},"aria-label":"Decrease Value","aria-disabled":s,className:v}),i||f.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}var A=n(14032);var j=n(18912),T=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Z=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},P=function(e){var t=M(e);return t.isInvalidate()?null:t},R=f.forwardRef((function(e,t){var n,s=e.prefixCls,l=void 0===s?"rc-input-number":s,c=e.className,g=e.style,v=e.min,y=e.max,b=e.step,w=void 0===b?1:b,S=e.defaultValue,E=e.value,N=e.disabled,R=e.readOnly,I=e.upHandler,D=e.downHandler,z=e.keyboard,H=e.controls,B=void 0===H||H,F=e.stringMode,V=e.parser,q=e.formatter,U=e.precision,$=e.decimalSeparator,W=e.onChange,K=e.onInput,G=e.onPressEnter,Y=e.onStep,J=(0,d.Z)(e,T),X="".concat(l,"-input"),Q=f.useRef(null),ee=f.useState(!1),te=(0,a.Z)(ee,2),ne=te[0],re=te[1],oe=f.useRef(!1),ie=f.useRef(!1),ae=f.useRef(!1),se=f.useState((function(){return M(null!==E&&void 0!==E?E:S)})),le=(0,a.Z)(se,2),ce=le[0],ue=le[1];var de=f.useCallback((function(e,t){if(!t)return U>=0?U:Math.max(C(e),C(w))}),[U,w]),fe=f.useCallback((function(e){var t=String(e);if(V)return V(t);var n=t;return $&&(n=n.replace($,".")),n.replace(/[^\w.-]+/g,"")}),[V,$]),pe=f.useRef(""),he=f.useCallback((function(e,t){if(q)return q(e,{userTyping:t,input:String(pe.current)});var n="number"===typeof e?x(e):e;if(!t){var r=de(n,t);if(k(n)&&($||r>=0))n=L(n,$||".",r)}return n}),[q,de,$]),me=f.useState((function(){var e=null!==S&&void 0!==S?S:E;return ce.isInvalidate()&&["string","number"].includes((0,i.Z)(e))?Number.isNaN(e)?"":e:he(ce.toString(),!1)})),ge=(0,a.Z)(me,2),ve=ge[0],ye=ge[1];function be(e,t){ye(he(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}pe.current=ve;var we=f.useMemo((function(){return P(y)}),[y,U]),Ce=f.useMemo((function(){return P(v)}),[v,U]),xe=f.useMemo((function(){return!(!we||!ce||ce.isInvalidate())&&we.lessEquals(ce)}),[we,ce]),ke=f.useMemo((function(){return!(!Ce||!ce||ce.isInvalidate())&&ce.lessEquals(Ce)}),[Ce,ce]),_e=function(e,t){var n=(0,f.useRef)(null);return[function(){try{var t=e.selectionStart,r=e.selectionEnd,o=e.value,i=o.substring(0,t),a=o.substring(r);n.current={start:t,end:r,value:o,beforeTxt:i,afterTxt:a}}catch(s){}},function(){if(e&&n.current&&t)try{var r=e.value,o=n.current,i=o.beforeTxt,a=o.afterTxt,s=o.start,l=r.length;if(r.endsWith(a))l=r.length-n.current.afterTxt.length;else if(r.startsWith(i))l=i.length;else{var c=i[s-1],u=r.indexOf(c,s-1);-1!==u&&(l=u+1)}e.setSelectionRange(l,l)}catch(d){(0,A.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(d.message))}}]}(Q.current,ne),Se=(0,a.Z)(_e,2),Ee=Se[0],Me=Se[1],Le=function(e){return we&&!e.lessEquals(we)?we:Ce&&!Ce.lessEquals(e)?Ce:null},Ne=function(e){return!Le(e)},Oe=function(e,t){var n,r=e,o=Ne(r)||r.isEmpty();if(r.isEmpty()||t||(r=Le(r)||r,o=!0),!R&&!N&&o){var i=r.toString(),a=de(i,t);return a>=0&&(r=M(L(i,".",a)),Ne(r)||(r=M(L(i,".",a,!0)))),r.equals(ce)||(n=r,void 0===E&&ue(n),null===W||void 0===W||W(r.isEmpty()?null:Z(F,r)),void 0===E&&be(r,t)),r}return ce},Ae=function(){var e=(0,f.useRef)(0),t=function(){j.Z.cancel(e.current)};return(0,f.useEffect)((function(){return t}),[]),function(n){t(),e.current=(0,j.Z)((function(){n()}))}}(),je=function e(t){if(Ee(),ye(t),!ie.current){var n=M(fe(t));n.isNaN()||Oe(n,!0)}null===K||void 0===K||K(t),Ae((function(){var n=t;V||(n=t.replace(/\u3002/g,".")),n!==t&&e(n)}))},Te=function(e){var t;if(!(e&&xe||!e&&ke)){oe.current=!1;var n=M(ae.current?_(w):w);e||(n=n.negate());var r=(ce||M(0)).add(n.toString()),o=Oe(r,!1);null===Y||void 0===Y||Y(Z(F,o),{offset:ae.current?_(w):w,type:e?"up":"down"}),null===(t=Q.current)||void 0===t||t.focus()}},Ze=function(e){var t=M(fe(ve)),n=t;n=t.isNaN()?ce:Oe(t,e),void 0!==E?be(ce,!1):n.isNaN()||be(n,!1)};return(0,h.o)((function(){ce.isInvalidate()||be(ce,!1)}),[U]),(0,h.o)((function(){var e=M(E);ue(e);var t=M(fe(ve));e.equals(t)&&oe.current&&!q||be(e,oe.current)}),[E]),(0,h.o)((function(){q&&Me()}),[ve]),f.createElement("div",{className:u()(l,c,(n={},(0,o.Z)(n,"".concat(l,"-focused"),ne),(0,o.Z)(n,"".concat(l,"-disabled"),N),(0,o.Z)(n,"".concat(l,"-readonly"),R),(0,o.Z)(n,"".concat(l,"-not-a-number"),ce.isNaN()),(0,o.Z)(n,"".concat(l,"-out-of-range"),!ce.isInvalidate()&&!Ne(ce)),n)),style:g,onFocus:function(){re(!0)},onBlur:function(){Ze(!1),re(!1),oe.current=!1},onKeyDown:function(e){var t=e.which,n=e.shiftKey;oe.current=!0,ae.current=!!n,t===p.Z.ENTER&&(ie.current||(oe.current=!1),Ze(!1),null===G||void 0===G||G(e)),!1!==z&&!ie.current&&[p.Z.UP,p.Z.DOWN].includes(t)&&(Te(p.Z.UP===t),e.preventDefault())},onKeyUp:function(){oe.current=!1,ae.current=!1},onCompositionStart:function(){ie.current=!0},onCompositionEnd:function(){ie.current=!1,je(Q.current.value)},onBeforeInput:function(){oe.current=!0}},B&&f.createElement(O,{prefixCls:l,upNode:I,downNode:D,upDisabled:xe,downDisabled:ke,onStep:Te}),f.createElement("div",{className:"".concat(X,"-wrap")},f.createElement("input",(0,r.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":v,"aria-valuemax":y,"aria-valuenow":ce.isInvalidate()?null:ce.toString(),step:w},J,{ref:(0,m.sQ)(Q,t),className:X,value:ve,onChange:function(e){je(e.target.value)},disabled:N,readOnly:R}))))}));R.displayName="InputNumber";var I=R,D=n(65205),z=n(72185),H=n(2344),B=n(34960),F=n(94826),V=n(64171),q=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},U=f.forwardRef((function(e,t){var n,c=f.useContext(D.E_),d=c.getPrefixCls,p=c.direction,h=f.useContext(H.Z),m=f.useState(!1),g=(0,a.Z)(m,2),v=g[0],y=g[1],b=f.useRef(null);f.useImperativeHandle(t,(function(){return b.current}));var w=e.className,C=e.size,x=e.disabled,k=e.prefixCls,_=e.addonBefore,S=e.addonAfter,E=e.prefix,M=e.bordered,L=void 0===M||M,N=e.readOnly,O=e.status,A=e.controls,j=q(e,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),T=d("input-number",k),Z=f.createElement(l.Z,{className:"".concat(T,"-handler-up-inner")}),P=f.createElement(s.Z,{className:"".concat(T,"-handler-down-inner")}),R="boolean"===typeof A?A:void 0;"object"===(0,i.Z)(A)&&(Z="undefined"===typeof A.upIcon?Z:f.createElement("span",{className:"".concat(T,"-handler-up-inner")},A.upIcon),P="undefined"===typeof A.downIcon?P:f.createElement("span",{className:"".concat(T,"-handler-down-inner")},A.downIcon));var U=(0,f.useContext)(B.aM),$=U.hasFeedback,W=U.status,K=U.isFormItemInput,G=U.feedbackIcon,Y=(0,V.F)(W,O),J=C||h,X=f.useContext(z.Z),Q=x||X,ee=u()((n={},(0,o.Z)(n,"".concat(T,"-lg"),"large"===J),(0,o.Z)(n,"".concat(T,"-sm"),"small"===J),(0,o.Z)(n,"".concat(T,"-rtl"),"rtl"===p),(0,o.Z)(n,"".concat(T,"-borderless"),!L),(0,o.Z)(n,"".concat(T,"-in-form-item"),K),n),(0,V.Z)(T,Y),w),te=f.createElement(I,(0,r.Z)({ref:b,disabled:Q,className:ee,upHandler:Z,downHandler:P,prefixCls:T,readOnly:N,controls:R},j));if(null!=E||$){var ne,re=u()("".concat(T,"-affix-wrapper"),(0,V.Z)("".concat(T,"-affix-wrapper"),Y,$),(ne={},(0,o.Z)(ne,"".concat(T,"-affix-wrapper-focused"),v),(0,o.Z)(ne,"".concat(T,"-affix-wrapper-disabled"),e.disabled),(0,o.Z)(ne,"".concat(T,"-affix-wrapper-sm"),"small"===h),(0,o.Z)(ne,"".concat(T,"-affix-wrapper-lg"),"large"===h),(0,o.Z)(ne,"".concat(T,"-affix-wrapper-rtl"),"rtl"===p),(0,o.Z)(ne,"".concat(T,"-affix-wrapper-readonly"),N),(0,o.Z)(ne,"".concat(T,"-affix-wrapper-borderless"),!L),(0,o.Z)(ne,"".concat(w),!(_||S)&&w),ne));te=f.createElement("div",{className:re,style:e.style,onMouseUp:function(){return b.current.focus()}},E&&f.createElement("span",{className:"".concat(T,"-prefix")},E),(0,F.Tm)(te,{style:null,value:e.value,onFocus:function(t){var n;y(!0),null===(n=e.onFocus)||void 0===n||n.call(e,t)},onBlur:function(t){var n;y(!1),null===(n=e.onBlur)||void 0===n||n.call(e,t)}}),$&&f.createElement("span",{className:"".concat(T,"-suffix")},G))}if(null!=_||null!=S){var oe,ie="".concat(T,"-group"),ae="".concat(ie,"-addon"),se=_?f.createElement("div",{className:ae},_):null,le=S?f.createElement("div",{className:ae},S):null,ce=u()("".concat(T,"-wrapper"),ie,(0,o.Z)({},"".concat(ie,"-rtl"),"rtl"===p)),ue=u()("".concat(T,"-group-wrapper"),(oe={},(0,o.Z)(oe,"".concat(T,"-group-wrapper-sm"),"small"===h),(0,o.Z)(oe,"".concat(T,"-group-wrapper-lg"),"large"===h),(0,o.Z)(oe,"".concat(T,"-group-wrapper-rtl"),"rtl"===p),oe),(0,V.Z)("".concat(T,"-group-wrapper"),Y,$),w);te=f.createElement("div",{className:ue,style:e.style},f.createElement("div",{className:ce},se&&f.createElement(B.Ux,{status:!0,override:!0},se),(0,F.Tm)(te,{style:null,disabled:Q}),le&&f.createElement(B.Ux,{status:!0,override:!0},le)))}return te}))},39356:function(e,t,n){"use strict";n.d(t,{ZP:function(){return C},D7:function(){return y},rJ:function(){return b},nH:function(){return w}});var r=n(57904),o=n(2053),i=n(24744),a=n(33828),s=n(84875),l=n.n(s),c=n(26784),u=n(37987),d=n(50959),f=n(65205),p=n(72185),h=n(2344),m=n(34960),g=n(64171);var v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function y(e){return"undefined"===typeof e||null===e?"":String(e)}function b(e,t,n,r){if(n){var o=t;if("click"===t.type){var i=e.cloneNode(!0);return o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value="",void n(o)}if(void 0!==r)return o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(o);n(o)}}function w(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}var C=(0,d.forwardRef)((function(e,t){var n,s,y,b=e.prefixCls,w=e.bordered,C=void 0===w||w,x=e.status,k=e.size,_=e.disabled,S=e.onBlur,E=e.onFocus,M=e.suffix,L=e.allowClear,N=e.addonAfter,O=e.addonBefore,A=v(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore"]),j=d.useContext(f.E_),T=j.getPrefixCls,Z=j.direction,P=j.input,R=T("input",b),I=(0,d.useRef)(null),D=d.useContext(h.Z),z=k||D,H=d.useContext(p.Z),B=_||H,F=(0,d.useContext)(m.aM),V=F.status,q=F.hasFeedback,U=F.feedbackIcon,$=(0,g.F)(V,x),W=function(e){return!!(e.prefix||e.suffix||e.allowClear)}(e)||!!q,K=(0,d.useRef)(W);(0,d.useEffect)((function(){W&&K.current,K.current=W}),[W]);var G=(0,d.useRef)([]),Y=function(){G.current.push(window.setTimeout((function(){var e,t,n,r;(null===(e=I.current)||void 0===e?void 0:e.input)&&"password"===(null===(t=I.current)||void 0===t?void 0:t.input.getAttribute("type"))&&(null===(n=I.current)||void 0===n?void 0:n.input.hasAttribute("value"))&&(null===(r=I.current)||void 0===r||r.input.removeAttribute("value"))})))};(0,d.useEffect)((function(){return Y(),function(){return G.current.forEach((function(e){return window.clearTimeout(e)}))}}),[]);var J,X=(q||M)&&d.createElement(d.Fragment,null,M,q&&U);return"object"===(0,i.Z)(L)&&(null===L||void 0===L?void 0:L.clearIcon)?J=L:L&&(J={clearIcon:d.createElement(a.Z,null)}),d.createElement(c.default,(0,o.Z)({ref:(0,u.sQ)(t,I),prefixCls:R,autoComplete:null===P||void 0===P?void 0:P.autoComplete},A,{disabled:B||void 0,onBlur:function(e){Y(),null===S||void 0===S||S(e)},onFocus:function(e){Y(),null===E||void 0===E||E(e)},suffix:X,allowClear:J,addonAfter:N&&d.createElement(m.Ux,{override:!0,status:!0},N),addonBefore:O&&d.createElement(m.Ux,{override:!0,status:!0},O),inputClassName:l()((n={},(0,r.Z)(n,"".concat(R,"-sm"),"small"===z),(0,r.Z)(n,"".concat(R,"-lg"),"large"===z),(0,r.Z)(n,"".concat(R,"-rtl"),"rtl"===Z),(0,r.Z)(n,"".concat(R,"-borderless"),!C),n),!W&&(0,g.Z)(R,$)),affixWrapperClassName:l()((s={},(0,r.Z)(s,"".concat(R,"-affix-wrapper-sm"),"small"===z),(0,r.Z)(s,"".concat(R,"-affix-wrapper-lg"),"large"===z),(0,r.Z)(s,"".concat(R,"-affix-wrapper-rtl"),"rtl"===Z),(0,r.Z)(s,"".concat(R,"-affix-wrapper-borderless"),!C),s),(0,g.Z)("".concat(R,"-affix-wrapper"),$,q)),wrapperClassName:l()((0,r.Z)({},"".concat(R,"-group-rtl"),"rtl"===Z)),groupClassName:l()((y={},(0,r.Z)(y,"".concat(R,"-group-wrapper-sm"),"small"===z),(0,r.Z)(y,"".concat(R,"-group-wrapper-lg"),"large"===z),(0,r.Z)(y,"".concat(R,"-group-wrapper-rtl"),"rtl"===Z),y),(0,g.Z)("".concat(R,"-group-wrapper"),$,q))}))}))},92335:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(24744),o=n(57904),i=n(2053),a=n(99459),s=n(35047),l=n(84875),c=n.n(l),u=n(26518),d=n(5481),f=n(90123),p=n(50959),h=n(65205),m=n(72185),g=n(2344),v=n(34960),y=n(64171),b=n(73779),w=n(71374),C=n(45675),x=n(36280),k=n(33828),_=n(94826),S=(0,n(19212).b)("text","input");var E=function(e){(0,C.Z)(n,e);var t=(0,x.Z)(n);function n(){return(0,b.Z)(this,n),t.apply(this,arguments)}return(0,w.Z)(n,[{key:"renderClearIcon",value:function(e){var t,n=this.props,r=n.value,i=n.disabled,a=n.readOnly,s=n.handleReset,l=n.suffix,u=!i&&!a&&r,d="".concat(e,"-clear-icon");return p.createElement(k.Z,{onClick:s,onMouseDown:function(e){return e.preventDefault()},className:c()((t={},(0,o.Z)(t,"".concat(d,"-hidden"),!u),(0,o.Z)(t,"".concat(d,"-has-suffix"),!!l),t),d),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(e,t,n){var r,i=this.props,a=i.value,s=i.allowClear,l=i.className,u=i.style,d=i.direction,f=i.bordered,h=i.hidden,m=i.status,g=n.status,v=n.hasFeedback;if(!s)return(0,_.Tm)(t,{value:a});var b,w=c()("".concat(e,"-affix-wrapper"),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"),(0,y.Z)("".concat(e,"-affix-wrapper"),(0,y.F)(g,m),v),(r={},(0,o.Z)(r,"".concat(e,"-affix-wrapper-rtl"),"rtl"===d),(0,o.Z)(r,"".concat(e,"-affix-wrapper-borderless"),!f),(0,o.Z)(r,"".concat(l),!((b=this.props).addonBefore||b.addonAfter)&&l),r));return p.createElement("span",{className:w,style:u,hidden:h},(0,_.Tm)(t,{style:null,value:a}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this;return p.createElement(v.aM.Consumer,null,(function(t){var n=e.props,r=n.prefixCls,o=n.inputType,i=n.element;if(o===S[0])return e.renderTextAreaWithClearIcon(r,i,t)}))}}]),n}(p.Component),M=E,L=n(39356),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function O(e,t){return(0,s.Z)(e||"").slice(0,t).join("")}function A(e,t,n,r){var o=n;return e?o=O(n,r):(0,s.Z)(t||"").length<n.length&&(0,s.Z)(n||"").length>r&&(o=t),o}var j=p.forwardRef((function(e,t){var n,l=e.prefixCls,b=e.bordered,w=void 0===b||b,C=e.showCount,x=void 0!==C&&C,k=e.maxLength,_=e.className,S=e.style,E=e.size,j=e.disabled,T=e.onCompositionStart,Z=e.onCompositionEnd,P=e.onChange,R=e.status,I=N(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),D=p.useContext(h.E_),z=D.getPrefixCls,H=D.direction,B=p.useContext(g.Z),F=p.useContext(m.Z),V=j||F,q=p.useContext(v.aM),U=q.status,$=q.hasFeedback,W=q.isFormItemInput,K=q.feedbackIcon,G=(0,y.F)(U,R),Y=p.useRef(null),J=p.useRef(null),X=p.useState(!1),Q=(0,a.Z)(X,2),ee=Q[0],te=Q[1],ne=p.useRef(),re=p.useRef(0),oe=(0,d.Z)(I.defaultValue,{value:I.value}),ie=(0,a.Z)(oe,2),ae=ie[0],se=ie[1],le=I.hidden,ce=function(e,t){void 0===I.value&&(se(e),null===t||void 0===t||t())},ue=Number(k)>0,de=z("input",l);p.useImperativeHandle(t,(function(){var e;return{resizableTextArea:null===(e=Y.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,L.nH)(null===(n=null===(t=Y.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=Y.current)||void 0===e?void 0:e.blur()}}}));var fe=p.createElement(u.default,(0,i.Z)({},(0,f.Z)(I,["allowClear"]),{disabled:V,className:c()((n={},(0,o.Z)(n,"".concat(de,"-borderless"),!w),(0,o.Z)(n,_,_&&!x),(0,o.Z)(n,"".concat(de,"-sm"),"small"===B||"small"===E),(0,o.Z)(n,"".concat(de,"-lg"),"large"===B||"large"===E),n),(0,y.Z)(de,G)),style:x?void 0:S,prefixCls:de,onCompositionStart:function(e){te(!0),ne.current=ae,re.current=e.currentTarget.selectionStart,null===T||void 0===T||T(e)},onChange:function(e){var t=e.target.value;!ee&&ue&&(t=A(e.target.selectionStart>=k+1||e.target.selectionStart===t.length||!e.target.selectionStart,ae,t,k));ce(t),(0,L.rJ)(e.currentTarget,e,P,t)},onCompositionEnd:function(e){var t;te(!1);var n=e.currentTarget.value;ue&&(n=A(re.current>=k+1||re.current===(null===(t=ne.current)||void 0===t?void 0:t.length),ne.current,n,k));n!==ae&&(ce(n),(0,L.rJ)(e.currentTarget,e,P,n)),null===Z||void 0===Z||Z(e)},ref:Y})),pe=(0,L.D7)(ae);ee||!ue||null!==I.value&&void 0!==I.value||(pe=O(pe,k));var he=p.createElement(M,(0,i.Z)({disabled:V},I,{prefixCls:de,direction:H,inputType:"text",value:pe,element:fe,handleReset:function(e){var t,n,r;ce(""),null===(t=Y.current)||void 0===t||t.focus(),(0,L.rJ)(null===(r=null===(n=Y.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,P)},ref:J,bordered:w,status:R,style:x?void 0:S}));if(x||$){var me,ge=(0,s.Z)(pe).length,ve="";return ve="object"===(0,r.Z)(x)?x.formatter({value:pe,count:ge,maxLength:k}):"".concat(ge).concat(ue?" / ".concat(k):""),p.createElement("div",{hidden:le,className:c()("".concat(de,"-textarea"),(me={},(0,o.Z)(me,"".concat(de,"-textarea-rtl"),"rtl"===H),(0,o.Z)(me,"".concat(de,"-textarea-show-count"),x),(0,o.Z)(me,"".concat(de,"-textarea-in-form-item"),W),me),(0,y.Z)("".concat(de,"-textarea"),G,$),_),style:S,"data-count":ve},he,$&&p.createElement("span",{className:"".concat(de,"-textarea-suffix")},K))}return he}))},89553:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(2053),o=n(57904),i=n(84875),a=n.n(i),s=n(50959),l=n(65205),c=n(34960),u=function(e){var t,n=(0,s.useContext)(l.E_),i=n.getPrefixCls,u=n.direction,d=e.prefixCls,f=e.className,p=void 0===f?"":f,h=i("input-group",d),m=a()(h,(t={},(0,o.Z)(t,"".concat(h,"-lg"),"large"===e.size),(0,o.Z)(t,"".concat(h,"-sm"),"small"===e.size),(0,o.Z)(t,"".concat(h,"-compact"),e.compact),(0,o.Z)(t,"".concat(h,"-rtl"),"rtl"===u),t),p),g=(0,s.useContext)(c.aM),v=(0,s.useMemo)((function(){return(0,r.Z)((0,r.Z)({},g),{isFormItemInput:!1})}),[g]);return s.createElement("span",{className:m,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},s.createElement(c.aM.Provider,{value:v},e.children))},d=n(39356),f=n(99459),p=n(98037),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},m=n(86383),g=function(e,t){return s.createElement(m.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:t,icon:h}))};var v=s.forwardRef(g),y=n(39593),b=n(90123),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},C={click:"onClick",hover:"onMouseOver"},x=s.forwardRef((function(e,t){var n=(0,s.useState)(!1),i=(0,f.Z)(n,2),c=i[0],u=i[1],p=function(){e.disabled||u(!c)},h=function(n){var i=n.getPrefixCls,l=e.className,u=e.prefixCls,f=e.inputPrefixCls,h=e.size,m=e.visibilityToggle,g=w(e,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),v=i("input",f),y=i("input-password",u),x=m&&function(t){var n,r=e.action,i=e.iconRender,a=C[r]||"",l=(void 0===i?function(){return null}:i)(c),u=(n={},(0,o.Z)(n,a,p),(0,o.Z)(n,"className","".concat(t,"-icon")),(0,o.Z)(n,"key","passwordIcon"),(0,o.Z)(n,"onMouseDown",(function(e){e.preventDefault()})),(0,o.Z)(n,"onMouseUp",(function(e){e.preventDefault()})),n);return s.cloneElement(s.isValidElement(l)?l:s.createElement("span",null,l),u)}(y),k=a()(y,l,(0,o.Z)({},"".concat(y,"-").concat(h),!!h)),_=(0,r.Z)((0,r.Z)({},(0,b.Z)(g,["suffix","iconRender"])),{type:c?"text":"password",className:k,prefixCls:v,suffix:x});return h&&(_.size=h),s.createElement(d.ZP,(0,r.Z)({ref:t},_))};return s.createElement(l.C,null,h)}));x.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(e){return e?s.createElement(y.Z,null):s.createElement(v,null)}};var k=x,_=n(4261),S=n(37987),E=n(78681),M=n(2344),L=n(94826),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};var O=s.forwardRef((function(e,t){var n,i,c=e.prefixCls,u=e.inputPrefixCls,f=e.className,p=e.size,h=e.suffix,m=e.enterButton,g=void 0!==m&&m,v=e.addonAfter,y=e.loading,b=e.disabled,w=e.onSearch,C=e.onChange,x=e.onCompositionStart,k=e.onCompositionEnd,O=N(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),A=s.useContext(l.E_),j=A.getPrefixCls,T=A.direction,Z=s.useContext(M.Z),P=s.useRef(!1),R=p||Z,I=s.useRef(null),D=function(e){var t;document.activeElement===(null===(t=I.current)||void 0===t?void 0:t.input)&&e.preventDefault()},z=function(e){var t,n;w&&w(null===(n=null===(t=I.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},H=j("input-search",c),B=j("input",u),F="boolean"===typeof g?s.createElement(_.Z,null):null,V="".concat(H,"-button"),q=g||{},U=q.type&&!0===q.type.__ANT_BUTTON;i=U||"button"===q.type?(0,L.Tm)(q,(0,r.Z)({onMouseDown:D,onClick:function(e){var t,n;null===(n=null===(t=null===q||void 0===q?void 0:q.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),z(e)},key:"enterButton"},U?{className:V,size:R}:{})):s.createElement(E.Z,{className:V,type:g?"primary":void 0,size:R,disabled:b,key:"enterButton",onMouseDown:D,onClick:z,loading:y,icon:F},g),v&&(i=[i,(0,L.Tm)(v,{key:"addonAfter"})]);var $=a()(H,(n={},(0,o.Z)(n,"".concat(H,"-rtl"),"rtl"===T),(0,o.Z)(n,"".concat(H,"-").concat(R),!!R),(0,o.Z)(n,"".concat(H,"-with-button"),!!g),n),f);return s.createElement(d.ZP,(0,r.Z)({ref:(0,S.sQ)(I,t),onPressEnter:function(e){P.current||z(e)}},O,{size:R,onCompositionStart:function(e){P.current=!0,null===x||void 0===x||x(e)},onCompositionEnd:function(e){P.current=!1,null===k||void 0===k||k(e)},prefixCls:B,addonAfter:i,suffix:h,onChange:function(e){e&&e.target&&"click"===e.type&&w&&w(e.target.value,e),C&&C(e)},className:$,disabled:b}))})),A=n(92335),j=d.ZP;j.Group=u,j.Search=O,j.TextArea=A.Z,j.Password=k;var T=j},85662:function(e,t,n){"use strict";n.d(t,{D:function(){return x},Z:function(){return _}});var r=n(57904),o=n(2053),i=n(99459),a=n(98037),s=n(50959),l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},c=n(86383),u=function(e,t){return s.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:l}))};var d=s.forwardRef(u),f=n(92865),p=n(26188),h=n(84875),m=n.n(h),g=n(90123),v=n(65205),y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},b=n(13900),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},C={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},x=s.createContext({}),k=function(){var e=0;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}}();var _=s.forwardRef((function(e,t){var n=e.prefixCls,a=e.className,l=e.trigger,c=e.children,u=e.defaultCollapsed,h=void 0!==u&&u,_=e.theme,S=void 0===_?"dark":_,E=e.style,M=void 0===E?{}:E,L=e.collapsible,N=void 0!==L&&L,O=e.reverseArrow,A=void 0!==O&&O,j=e.width,T=void 0===j?200:j,Z=e.collapsedWidth,P=void 0===Z?80:Z,R=e.zeroWidthTriggerStyle,I=e.breakpoint,D=e.onCollapse,z=e.onBreakpoint,H=w(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),B=(0,s.useContext)(b.Gs).siderHook,F=(0,s.useState)("collapsed"in H?H.collapsed:h),V=(0,i.Z)(F,2),q=V[0],U=V[1],$=(0,s.useState)(!1),W=(0,i.Z)($,2),K=W[0],G=W[1];(0,s.useEffect)((function(){"collapsed"in H&&U(H.collapsed)}),[H.collapsed]);var Y=function(e,t){"collapsed"in H||U(e),null===D||void 0===D||D(e,t)},J=(0,s.useRef)();J.current=function(e){G(e.matches),null===z||void 0===z||z(e.matches),q!==e.matches&&Y(e.matches,"responsive")},(0,s.useEffect)((function(){function e(e){return J.current(e)}var t;if("undefined"!==typeof window){var n=window.matchMedia;if(n&&I&&I in C){t=n("(max-width: ".concat(C[I],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null===t||void 0===t||t.removeEventListener("change",e)}catch(r){null===t||void 0===t||t.removeListener(e)}}}),[I]),(0,s.useEffect)((function(){var e=k("ant-sider-");return B.addSider(e),function(){return B.removeSider(e)}}),[]);var X=function(){Y(!q,"clickTrigger")},Q=(0,s.useContext)(v.E_).getPrefixCls,ee=s.useMemo((function(){return{siderCollapsed:q}}),[q]);return s.createElement(x.Provider,{value:ee},function(){var e,i=Q("layout-sider",n),u=(0,g.Z)(H,["collapsed"]),h=q?P:T,v=y(h)?"".concat(h,"px"):String(h),b=0===parseFloat(String(P||0))?s.createElement("span",{onClick:X,className:m()("".concat(i,"-zero-width-trigger"),"".concat(i,"-zero-width-trigger-").concat(A?"right":"left")),style:R},l||s.createElement(d,null)):null,w={expanded:A?s.createElement(p.Z,null):s.createElement(f.Z,null),collapsed:A?s.createElement(f.Z,null):s.createElement(p.Z,null)}[q?"collapsed":"expanded"],C=null!==l?b||s.createElement("div",{className:"".concat(i,"-trigger"),onClick:X,style:{width:v}},l||w):null,x=(0,o.Z)((0,o.Z)({},M),{flex:"0 0 ".concat(v),maxWidth:v,minWidth:v,width:v}),k=m()(i,"".concat(i,"-").concat(S),(e={},(0,r.Z)(e,"".concat(i,"-collapsed"),!!q),(0,r.Z)(e,"".concat(i,"-has-trigger"),N&&null!==l&&!b),(0,r.Z)(e,"".concat(i,"-below"),!!K),(0,r.Z)(e,"".concat(i,"-zero-width"),0===parseFloat(v)),e),a);return s.createElement("aside",(0,o.Z)({className:k},u,{style:x,ref:t}),s.createElement("div",{className:"".concat(i,"-children")},c),N||K&&b?C:null)}())}))},13900:function(e,t,n){"use strict";n.d(t,{$_:function(){return y},Gs:function(){return f},VY:function(){return b},h4:function(){return v}});var r=n(35047),o=n(57904),i=n(99459),a=n(2053),s=n(84875),l=n.n(s),c=n(50959),u=n(65205),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},f=c.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function p(e){var t=e.suffixCls,n=e.tagName;e.displayName;return function(e){return c.forwardRef((function(r,o){var i=c.useContext(u.E_).getPrefixCls,s=r.prefixCls,l=i(t,s);return c.createElement(e,(0,a.Z)({ref:o,prefixCls:l,tagName:n},r))}))}}var h=c.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,o=e.children,i=e.tagName,s=d(e,["prefixCls","className","children","tagName"]),u=l()(n,r);return c.createElement(i,(0,a.Z)((0,a.Z)({className:u},s),{ref:t}),o)})),m=c.forwardRef((function(e,t){var n,s=c.useContext(u.E_).direction,p=c.useState([]),h=(0,i.Z)(p,2),m=h[0],g=h[1],v=e.prefixCls,y=e.className,b=e.children,w=e.hasSider,C=e.tagName,x=d(e,["prefixCls","className","children","hasSider","tagName"]),k=l()(v,(n={},(0,o.Z)(n,"".concat(v,"-has-sider"),"boolean"===typeof w?w:m.length>0),(0,o.Z)(n,"".concat(v,"-rtl"),"rtl"===s),n),y),_=c.useMemo((function(){return{siderHook:{addSider:function(e){g((function(t){return[].concat((0,r.Z)(t),[e])}))},removeSider:function(e){g((function(t){return t.filter((function(t){return t!==e}))}))}}}}),[]);return c.createElement(f.Provider,{value:_},c.createElement(C,(0,a.Z)({ref:t,className:k},x),b))})),g=p({suffixCls:"layout",tagName:"section",displayName:"Layout"})(m),v=p({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(h),y=p({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(h),b=p({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(h);t.ZP=g},91851:function(e,t,n){"use strict";n.d(t,{Z:function(){return d},E:function(){return f}});var r=n(2053),o=n(73779),i=n(71374),a=n(45675),s=n(36280),l=n(50959),c=n(61089),u=n(71236).Z,d=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"getLocale",value:function(){var e=this.props,t=e.componentName,n=e.defaultLocale||u[null!==t&&void 0!==t?t:"global"],o=this.context,i=t&&o?o[t]:{};return(0,r.Z)((0,r.Z)({},n instanceof Function?n():n),i||{})}},{key:"getLocaleCode",value:function(){var e=this.context,t=e&&e.locale;return e&&e.exist&&!t?u.locale:t}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),n}(l.Component);function f(e,t){var n=l.useContext(c.Z);return[l.useMemo((function(){var o=t||u[e||"global"],i=e&&n?n[e]:{};return(0,r.Z)((0,r.Z)({},"function"===typeof o?o():o),i||{})}),[e,t,n])]}d.defaultProps={componentName:"global"},d.contextType=c.Z},61089:function(e,t,n){"use strict";var r=(0,n(50959).createContext)(void 0);t.Z=r},71236:function(e,t,n){"use strict";var r=n(69065),o=n(72884),i=n(63606),a=n(15454),s="${label} is not a valid ${type}",l={locale:"en",Pagination:r.Z,DatePicker:i.Z,TimePicker:a.Z,Calendar:o.Z,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};t.Z=l},10495:function(e,t,n){"use strict";var r=n(71236);t.Z=r.Z},69705:function(e,t,n){"use strict";n.d(t,{J:function(){return s}});var r=n(2053),o=n(50959),i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},a=o.createContext(null),s=function(e){var t=e.children,n=i(e,["children"]),s=o.useContext(a),l=o.useMemo((function(){return(0,r.Z)((0,r.Z)({},s),n)}),[s,n.prefixCls,n.mode,n.selectable]);return o.createElement(a.Provider,{value:l},t)};t.Z=a},1243:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(73779),o=n(71374),i=n(45675),a=n(36280),s=n(2053),l=n(43692),c=n(84875),u=n.n(c),d=n(74564),f=n(99798),p=n(90123),h=n(50959),m=n(65205),g=n(85662),v=n(80029),y=n(94826),b=n(24744),w=n(57904),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},x=function(e){var t=e.prefixCls,n=e.className,r=e.dashed,o=C(e,["prefixCls","className","dashed"]),i=(0,h.useContext(m.E_).getPrefixCls)("menu",t),a=u()((0,w.Z)({},"".concat(i,"-item-divider-dashed"),!!r),n);return h.createElement(d.iz,(0,s.Z)({className:a},o))},k=n(73444),_=n(69158),S=(0,h.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},M=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,r.Z)(this,n),(e=t.apply(this,arguments)).renderItem=function(t){var n,r,o=t.siderCollapsed,i=e.context,a=i.prefixCls,l=i.firstLevel,c=i.inlineCollapsed,f=i.direction,p=i.disableMenuItemTitleTooltip,m=e.props,g=m.className,v=m.children,b=e.props,C=b.title,x=b.icon,S=b.danger,M=E(b,["title","icon","danger"]),L=C;"undefined"===typeof C?L=l?v:"":!1===C&&(L="");var N={title:L};o||c||(N.title=null,N.open=!1);var O=(0,k.Z)(v).length,A=h.createElement(d.ck,(0,s.Z)({},M,{className:u()((n={},(0,w.Z)(n,"".concat(a,"-item-danger"),S),(0,w.Z)(n,"".concat(a,"-item-only-child"),1===(x?O+1:O)),n),g),title:"string"===typeof C?C:void 0}),(0,y.Tm)(x,{className:u()((0,y.l$)(x)?null===(r=x.props)||void 0===r?void 0:r.className:"","".concat(a,"-item-icon"))}),e.renderItemChildren(c));return p||(A=h.createElement(_.Z,(0,s.Z)({},N,{placement:"rtl"===f?"left":"right",overlayClassName:"".concat(a,"-inline-collapsed-tooltip")}),A)),A},e}return(0,o.Z)(n,[{key:"renderItemChildren",value:function(e){var t=this.context,n=t.prefixCls,r=t.firstLevel,o=this.props,i=o.icon,a=o.children,s=h.createElement("span",{className:"".concat(n,"-title-content")},a);return(!i||(0,y.l$)(a)&&"span"===a.type)&&a&&e&&r&&"string"===typeof a?h.createElement("div",{className:"".concat(n,"-inline-collapsed-noicon")},a.charAt(0)):s}},{key:"render",value:function(){return h.createElement(g.D.Consumer,null,this.renderItem)}}]),n}(h.Component);M.contextType=S;var L=function(e){var t,n,r=e.popupClassName,o=e.icon,i=e.title,a=e.theme,l=h.useContext(S),c=l.prefixCls,f=l.inlineCollapsed,m=l.antdMenuTheme,g=(0,d.Xl)();if(o){var v=(0,y.l$)(i)&&"span"===i.type;n=h.createElement(h.Fragment,null,(0,y.Tm)(o,{className:u()((0,y.l$)(o)?null===(t=o.props)||void 0===t?void 0:t.className:"","".concat(c,"-item-icon"))}),v?i:h.createElement("span",{className:"".concat(c,"-title-content")},i))}else n=f&&!g.length&&i&&"string"===typeof i?h.createElement("div",{className:"".concat(c,"-inline-collapsed-noicon")},i.charAt(0)):h.createElement("span",{className:"".concat(c,"-title-content")},i);var b=h.useMemo((function(){return(0,s.Z)((0,s.Z)({},l),{firstLevel:!1})}),[l]);return h.createElement(S.Provider,{value:b},h.createElement(d.Wd,(0,s.Z)({},(0,p.Z)(e,["icon"]),{title:n,popupClassName:u()(c,"".concat(c,"-").concat(a||m),r)})))},N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function O(e){return(e||[]).map((function(e,t){if(e&&"object"===(0,b.Z)(e)){var n=e,r=n.label,o=n.children,i=n.key,a=n.type,l=N(n,["label","children","key","type"]),c=null!==i&&void 0!==i?i:"tmp-".concat(t);return o||"group"===a?"group"===a?h.createElement(d.BW,(0,s.Z)({key:c},l,{title:r}),O(o)):h.createElement(L,(0,s.Z)({key:c},l,{title:r}),O(o)):"divider"===a?h.createElement(x,(0,s.Z)({key:c},l)):h.createElement(M,(0,s.Z)({key:c},l),r)}return null})).filter((function(e){return e}))}function A(e){return h.useMemo((function(){return e?O(e):e}),[e])}var j=n(69705),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Z=(0,h.forwardRef)((function(e,t){var n,r=h.useContext(j.Z)||{},o=h.useContext(m.E_),i=o.getPrefixCls,a=o.getPopupContainer,c=o.direction,g=i(),b=e.prefixCls,w=e.className,C=e.theme,x=void 0===C?"light":C,k=e.expandIcon,_=e._internalDisableMenuItemTitleTooltip,E=e.inlineCollapsed,M=e.siderCollapsed,L=e.items,N=e.children,O=e.mode,Z=e.selectable,P=e.onClick,R=T(e,["prefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","mode","selectable","onClick"]),I=(0,p.Z)(R,["collapsedWidth"]),D=A(L)||N;null===(n=r.validator)||void 0===n||n.call(r,{mode:O});var z,H=(0,f.Z)((function(){var e;null===P||void 0===P||P.apply(void 0,arguments),null===(e=null===r||void 0===r?void 0:r.onClick)||void 0===e||e.call(r)})),B=r.mode||O,F=null!==Z&&void 0!==Z?Z:r.selectable,V=h.useMemo((function(){return void 0!==M?M:E}),[E,M]),q={horizontal:{motionName:"".concat(g,"-slide-up")},inline:v.ZP,other:{motionName:"".concat(g,"-zoom-big")}},U=i("menu",b||r.prefixCls),$=u()("".concat(U,"-").concat(x),w);z="function"===typeof k?k:(0,y.Tm)(k||r.expandIcon,{className:"".concat(U,"-submenu-expand-icon")});var W=h.useMemo((function(){return{prefixCls:U,inlineCollapsed:V||!1,antdMenuTheme:x,direction:c,firstLevel:!0,disableMenuItemTitleTooltip:_}}),[U,V,x,c,_]);return h.createElement(j.Z.Provider,{value:null},h.createElement(S.Provider,{value:W},h.createElement(d.ZP,(0,s.Z)({getPopupContainer:a,overflowedIndicator:h.createElement(l.Z,null),overflowedIndicatorPopupClassName:"".concat(U,"-").concat(x),mode:B,selectable:F,onClick:H},I,{inlineCollapsed:V,className:$,prefixCls:U,direction:c,defaultMotions:q,expandIcon:z,ref:t}),D)))})),P=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,r.Z)(this,n),(e=t.apply(this,arguments)).focus=function(t){var n;null===(n=e.menu)||void 0===n||n.focus(t)},e}return(0,o.Z)(n,[{key:"render",value:function(){var e=this;return h.createElement(g.D.Consumer,null,(function(t){return h.createElement(Z,(0,s.Z)({ref:function(t){e.menu=t}},e.props,t))}))}}]),n}(h.Component);P.Divider=x,P.Item=M,P.SubMenu=L,P.ItemGroup=d.BW;var R=P},78830:function(e,t,n){"use strict";n.d(t,{Df:function(){return Z},ZP:function(){return P},S$:function(){return L},z$:function(){return A}});var r,o=n(2053),i=n(57904),a=n(93095),s=n(33828),l=n(80745),c=n(73128),u=n(39016),d=n(84875),f=n.n(d),p=n(33721),h=n(50959),m=n(41689),g=n(99459),v=n(88306),y=n(65205);var b,w,C,x=3,k=1,_="",S="move-up",E=!1,M=!1;function L(){return k++}function N(e,t){var n=e.prefixCls,o=e.getPopupContainer,i=(0,m.w6)(),a=i.getPrefixCls,s=i.getRootPrefixCls,l=i.getIconPrefixCls,c=a("message",n||_),u=s(e.rootPrefixCls,c),d=l();if(r)t({prefixCls:c,rootPrefixCls:u,iconPrefixCls:d,instance:r});else{var f={prefixCls:c,transitionName:E?S:"".concat(u,"-").concat(S),style:{top:b},getContainer:w||o,maxCount:C};p.default.newInstance(f,(function(e){r?t({prefixCls:c,rootPrefixCls:u,iconPrefixCls:d,instance:r}):(r=e,t({prefixCls:c,rootPrefixCls:u,iconPrefixCls:d,instance:e}))}))}}var O={info:c.Z,success:a.Z,error:s.Z,warning:l.Z,loading:u.Z},A=Object.keys(O);function j(e,t,n){var r,o=void 0!==e.duration?e.duration:x,a=O[e.type],s=f()("".concat(t,"-custom-content"),(r={},(0,i.Z)(r,"".concat(t,"-").concat(e.type),e.type),(0,i.Z)(r,"".concat(t,"-rtl"),!0===M),r));return{key:e.key,duration:o,style:e.style||{},className:e.className,content:h.createElement(m.ZP,{iconPrefixCls:n},h.createElement("div",{className:s},e.icon||a&&h.createElement(a,null),h.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}var T={open:function(e){var t=e.key||L(),n=new Promise((function(n){var r=function(){return"function"===typeof e.onClose&&e.onClose(),n(!0)};N(e,(function(n){var i=n.prefixCls,a=n.iconPrefixCls;n.instance.notice(j((0,o.Z)((0,o.Z)({},e),{key:t,onClose:r}),i,a))}))})),i=function(){r&&r.removeNotice(t)};return i.then=function(e,t){return n.then(e,t)},i.promise=n,i},config:function(e){void 0!==e.top&&(b=e.top,r=null),void 0!==e.duration&&(x=e.duration),void 0!==e.prefixCls&&(_=e.prefixCls),void 0!==e.getContainer&&(w=e.getContainer,r=null),void 0!==e.transitionName&&(S=e.transitionName,r=null,E=!0),void 0!==e.maxCount&&(C=e.maxCount,r=null),void 0!==e.rtl&&(M=e.rtl)},destroy:function(e){if(r)if(e){(0,r.removeNotice)(e)}else{var t=r.destroy;t(),r=null}}};function Z(e,t){e[t]=function(n,r,i){return function(e){return"[object Object]"===Object.prototype.toString.call(e)&&!!e.content}(n)?e.open((0,o.Z)((0,o.Z)({},n),{type:t})):("function"===typeof r&&(i=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:i}))}}A.forEach((function(e){return Z(T,e)})),T.warn=T.warning,T.useMessage=function(e,t){return function(){var n,r,i=null,a={add:function(e,t){null===i||void 0===i||i.component.add(e,t)}},s=(0,v.Z)(a),l=(0,g.Z)(s,2),c=l[0],u=l[1];var d=h.useRef({});return d.current.open=function(a){var s=a.prefixCls,l=n("message",s),u=n(),d=a.key||L(),f=new Promise((function(n){var s=function(){return"function"===typeof a.onClose&&a.onClose(),n(!0)};e((0,o.Z)((0,o.Z)({},a),{prefixCls:l,rootPrefixCls:u,getPopupContainer:r}),(function(e){var n=e.prefixCls,r=e.instance;i=r,c(t((0,o.Z)((0,o.Z)({},a),{key:d,onClose:s}),n))}))})),p=function(){i&&i.removeNotice(d)};return p.then=function(e,t){return f.then(e,t)},p.promise=f,p},A.forEach((function(e){return Z(d.current,e)})),[d.current,h.createElement(y.C,{key:"holder"},(function(e){return n=e.getPrefixCls,r=e.getPopupContainer,u}))]}}(N,j);var P=T},64379:function(e,t,n){"use strict";n.d(t,{Z:function(){return K}});var r,o=n(35047),i=n(2053),a=n(83817),s=n(48192),l=n(2567),c=n(40860),u=n(13988),d=n(50959),f=n(41689),p=n(57904),h=n(84875),m=n.n(h),g=n(82515),v=n(80029),y=n(97272),b=n(51483),w=n(78681),C=n(88129),x=n(65205),k=n(34960),_=n(91851),S=n(23023),E=n(96841),M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};(0,S.jD)()&&document.documentElement.addEventListener("click",(function(e){r={x:e.pageX,y:e.pageY},setTimeout((function(){r=null}),100)}),!0);var L=function(e){var t,n=d.useContext(x.E_),o=n.getPopupContainer,a=n.getPrefixCls,s=n.direction,l=function(t){var n=e.onCancel;null===n||void 0===n||n(t)},c=function(t){var n=e.onOk;null===n||void 0===n||n(t)},u=function(t){var n=e.okText,r=e.okType,o=e.cancelText,a=e.confirmLoading;return d.createElement(d.Fragment,null,d.createElement(w.Z,(0,i.Z)({onClick:l},e.cancelButtonProps),o||t.cancelText),d.createElement(w.Z,(0,i.Z)({},(0,C.n)(r),{loading:a,onClick:c},e.okButtonProps),n||t.okText))},f=e.prefixCls,h=e.footer,g=e.visible,S=e.open,L=e.wrapClassName,N=e.centered,O=e.getContainer,A=e.closeIcon,j=e.focusTriggerAfterClose,T=void 0===j||j,Z=M(e,["prefixCls","footer","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),P=a("modal",f),R=a(),I=d.createElement(_.Z,{componentName:"Modal",defaultLocale:(0,E.A)()},u),D=d.createElement("span",{className:"".concat(P,"-close-x")},A||d.createElement(y.Z,{className:"".concat(P,"-close-icon")})),z=m()(L,(t={},(0,p.Z)(t,"".concat(P,"-centered"),!!N),(0,p.Z)(t,"".concat(P,"-wrap-rtl"),"rtl"===s),t));return d.createElement(k.Ux,{status:!0,override:!0},d.createElement(b.default,(0,i.Z)({},Z,{getContainer:void 0===O?o:O,prefixCls:P,wrapClassName:z,footer:void 0===h?I:h,visible:S||g,mousePosition:r,onClose:l,closeIcon:D,focusTriggerAfterClose:T,transitionName:(0,v.mL)(R,"zoom",e.transitionName),maskTransitionName:(0,v.mL)(R,"fade",e.maskTransitionName)})))};L.defaultProps={width:520,confirmLoading:!1,open:!1,okType:"primary"};var N=L,O=function(e){var t=e.icon,n=e.onCancel,r=e.onOk,o=e.close,i=e.zIndex,a=e.afterClose,s=e.visible,l=e.open,c=e.keyboard,u=e.centered,h=e.getContainer,y=e.maskStyle,b=e.okText,w=e.okButtonProps,C=e.cancelText,x=e.cancelButtonProps,k=e.direction,_=e.prefixCls,S=e.wrapClassName,E=e.rootPrefixCls,M=e.iconPrefixCls,L=e.bodyStyle,O=e.closable,A=void 0!==O&&O,j=e.closeIcon,T=e.modalRender,Z=e.focusTriggerAfterClose,P=e.okType||"primary",R="".concat(_,"-confirm"),I=!("okCancel"in e)||e.okCancel,D=e.width||416,z=e.style||{},H=void 0===e.mask||e.mask,B=void 0!==e.maskClosable&&e.maskClosable,F=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),V=m()(R,"".concat(R,"-").concat(e.type),(0,p.Z)({},"".concat(R,"-rtl"),"rtl"===k),e.className),q=I&&d.createElement(g.Z,{actionFn:n,close:o,autoFocus:"cancel"===F,buttonProps:x,prefixCls:"".concat(E,"-btn")},C);return d.createElement(f.ZP,{prefixCls:E,iconPrefixCls:M,direction:k},d.createElement(N,{prefixCls:_,className:V,wrapClassName:m()((0,p.Z)({},"".concat(R,"-centered"),!!e.centered),S),onCancel:function(){return null===o||void 0===o?void 0:o({triggerCancel:!0})},open:l||s,title:"",footer:"",transitionName:(0,v.mL)(E,"zoom",e.transitionName),maskTransitionName:(0,v.mL)(E,"fade",e.maskTransitionName),mask:H,maskClosable:B,maskStyle:y,style:z,bodyStyle:L,width:D,zIndex:i,afterClose:a,keyboard:c,centered:u,getContainer:h,closable:A,closeIcon:j,modalRender:T,focusTriggerAfterClose:Z},d.createElement("div",{className:"".concat(R,"-body-wrapper")},d.createElement("div",{className:"".concat(R,"-body")},t,void 0===e.title?null:d.createElement("span",{className:"".concat(R,"-title")},e.title),d.createElement("div",{className:"".concat(R,"-content")},e.content)),d.createElement("div",{className:"".concat(R,"-btns")},q,d.createElement(g.Z,{type:P,actionFn:r,close:o,autoFocus:"ok"===F,buttonProps:w,prefixCls:"".concat(E,"-btn")},b)))))},A=[],j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},T="";function Z(e){var t=document.createDocumentFragment(),n=(0,i.Z)((0,i.Z)({},e),{close:s,open:!0});function r(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=r.some((function(e){return e&&e.triggerCancel}));e.onCancel&&a&&e.onCancel.apply(e,[function(){}].concat((0,o.Z)(r.slice(1))));for(var l=0;l<A.length;l++){var c=A[l];if(c===s){A.splice(l,1);break}}(0,u.v)(t)}function a(e){var n=e.okText,r=e.cancelText,o=e.prefixCls,a=e.open,s=e.visible,l=j(e,["okText","cancelText","prefixCls","open","visible"]);setTimeout((function(){var e=(0,E.A)(),c=(0,f.w6)(),p=c.getPrefixCls,h=c.getIconPrefixCls,m=p(void 0,T),g=o||"".concat(m,"-modal"),v=h();(0,u.s)(d.createElement(O,(0,i.Z)({},l,{open:null!==a&&void 0!==a?a:s,prefixCls:g,rootPrefixCls:m,iconPrefixCls:v,okText:n||(l.okCancel?e.okText:e.justOkText),cancelText:r||e.cancelText})),t)}))}function s(){for(var t=this,o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];a(n=(0,i.Z)((0,i.Z)({},n),{open:!1,afterClose:function(){"function"===typeof e.afterClose&&e.afterClose(),r.apply(t,s)}}))}return a(n),A.push(s),{destroy:s,update:function(e){a(n="function"===typeof e?e(n):(0,i.Z)((0,i.Z)({},n),e))}}}function P(e){return(0,i.Z)((0,i.Z)({icon:d.createElement(l.Z,null),okCancel:!1},e),{type:"warning"})}function R(e){return(0,i.Z)((0,i.Z)({icon:d.createElement(c.Z,null),okCancel:!1},e),{type:"info"})}function I(e){return(0,i.Z)((0,i.Z)({icon:d.createElement(a.Z,null),okCancel:!1},e),{type:"success"})}function D(e){return(0,i.Z)((0,i.Z)({icon:d.createElement(s.Z,null),okCancel:!1},e),{type:"error"})}function z(e){return(0,i.Z)((0,i.Z)({icon:d.createElement(l.Z,null),okCancel:!0},e),{type:"confirm"})}var H=n(99459);var B=n(71236),F=function(e,t){var n=e.afterClose,r=e.config,a=d.useState(!0),s=(0,H.Z)(a,2),l=s[0],c=s[1],u=d.useState(r),f=(0,H.Z)(u,2),p=f[0],h=f[1],m=d.useContext(x.E_),g=m.direction,v=m.getPrefixCls,y=v("modal"),b=v(),w=function(){c(!1);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.some((function(e){return e&&e.triggerCancel}));p.onCancel&&r&&p.onCancel.apply(p,[function(){}].concat((0,o.Z)(t.slice(1))))};return d.useImperativeHandle(t,(function(){return{destroy:w,update:function(e){h((function(t){return(0,i.Z)((0,i.Z)({},t),e)}))}}})),d.createElement(_.Z,{componentName:"Modal",defaultLocale:B.Z.Modal},(function(e){return d.createElement(O,(0,i.Z)({prefixCls:y,rootPrefixCls:b},p,{close:w,open:l,afterClose:n,okText:p.okText||(p.okCancel?e.okText:e.justOkText),direction:g,cancelText:p.cancelText||e.cancelText}))}))},V=d.forwardRef(F),q=0,U=d.memo(d.forwardRef((function(e,t){var n=function(){var e=d.useState([]),t=(0,H.Z)(e,2),n=t[0],r=t[1];return[n,d.useCallback((function(e){return r((function(t){return[].concat((0,o.Z)(t),[e])})),function(){r((function(t){return t.filter((function(t){return t!==e}))}))}}),[])]}(),r=(0,H.Z)(n,2),i=r[0],a=r[1];return d.useImperativeHandle(t,(function(){return{patchElement:a}}),[]),d.createElement(d.Fragment,null,i)})));function $(e){return Z(P(e))}var W=N;W.useModal=function(){var e=d.useRef(null),t=d.useState([]),n=(0,H.Z)(t,2),r=n[0],i=n[1];d.useEffect((function(){r.length&&((0,o.Z)(r).forEach((function(e){e()})),i([]))}),[r]);var a=d.useCallback((function(t){return function(n){var r;q+=1;var a,s=d.createRef(),l=d.createElement(V,{key:"modal-".concat(q),config:t(n),ref:s,afterClose:function(){a()}});return a=null===(r=e.current)||void 0===r?void 0:r.patchElement(l),{destroy:function(){function e(){var e;null===(e=s.current)||void 0===e||e.destroy()}s.current?e():i((function(t){return[].concat((0,o.Z)(t),[e])}))},update:function(e){function t(){var t;null===(t=s.current)||void 0===t||t.update(e)}s.current?t():i((function(e){return[].concat((0,o.Z)(e),[t])}))}}}}),[]);return[d.useMemo((function(){return{info:a(R),success:a(I),error:a(D),warning:a(P),confirm:a(z)}}),[]),d.createElement(U,{ref:e})]},W.info=function(e){return Z(R(e))},W.success=function(e){return Z(I(e))},W.error=function(e){return Z(D(e))},W.warning=$,W.warn=$,W.confirm=function(e){return Z(z(e))},W.destroyAll=function(){for(;A.length;){var e=A.pop();e&&e()}},W.config=function(e){var t=e.rootPrefixCls;T=t};var K=W},96841:function(e,t,n){"use strict";n.d(t,{A:function(){return s},f:function(){return a}});var r=n(2053),o=n(71236),i=(0,r.Z)({},o.Z.Modal);function a(e){i=e?(0,r.Z)((0,r.Z)({},i),e):(0,r.Z)({},o.Z.Modal)}function s(){return i}},85554:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(2053),o=n(57904),i=n(83817),a=n(48192),s=n(97272),l=n(2567),c=n(40860),u=n(84875),d=n.n(u),f=n(33721),p=n(50959),h=n(41689),m=n(99459),g=n(88306),v=n(65205);var y,b,w,C={},x=4.5,k=24,_=24,S="",E="topRight",M=!1;function L(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_;switch(e){case"top":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:n,bottom:"auto"};break;case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottom":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:r};break;case"bottomLeft":t={left:0,top:"auto",bottom:r};break;default:t={right:0,top:"auto",bottom:r}}return t}function N(e,t){var n=e.placement,r=void 0===n?E:n,i=e.top,a=e.bottom,s=e.getContainer,l=void 0===s?y:s,c=e.prefixCls,u=(0,h.w6)(),p=u.getPrefixCls,m=u.getIconPrefixCls,g=p("notification",c||S),v=m(),b="".concat(g,"-").concat(r),x=C[b];if(x)Promise.resolve(x).then((function(e){t({prefixCls:"".concat(g,"-notice"),iconPrefixCls:v,instance:e})}));else{var k=d()("".concat(g,"-").concat(r),(0,o.Z)({},"".concat(g,"-rtl"),!0===M));C[b]=new Promise((function(e){f.default.newInstance({prefixCls:g,className:k,style:L(r,i,a),getContainer:l,maxCount:w},(function(n){e(n),t({prefixCls:"".concat(g,"-notice"),iconPrefixCls:v,instance:n})}))}))}}var O={success:i.Z,info:c.Z,error:a.Z,warning:l.Z};function A(e,t,n){var r=e.duration,i=e.icon,a=e.type,l=e.description,c=e.message,u=e.btn,f=e.onClose,m=e.onClick,g=e.key,v=e.style,y=e.className,w=e.closeIcon,C=void 0===w?b:w,k=void 0===r?x:r,_=null;i?_=p.createElement("span",{className:"".concat(t,"-icon")},e.icon):a&&(_=p.createElement(O[a]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(a)}));var S=p.createElement("span",{className:"".concat(t,"-close-x")},C||p.createElement(s.Z,{className:"".concat(t,"-close-icon")})),E=!l&&_?p.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:p.createElement(h.ZP,{iconPrefixCls:n},p.createElement("div",{className:_?"".concat(t,"-with-icon"):"",role:"alert"},_,p.createElement("div",{className:"".concat(t,"-message")},E,c),p.createElement("div",{className:"".concat(t,"-description")},l),u?p.createElement("span",{className:"".concat(t,"-btn")},u):null)),duration:k,closable:!0,closeIcon:S,onClose:f,onClick:m,key:g,style:v||{},className:d()(y,(0,o.Z)({},"".concat(t,"-").concat(a),!!a))}}var j={open:function(e){N(e,(function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(A(e,n,r))}))},close:function(e){Object.keys(C).forEach((function(t){return Promise.resolve(C[t]).then((function(t){t.removeNotice(e)}))}))},config:function(e){var t=e.duration,n=e.placement,r=e.bottom,o=e.top,i=e.getContainer,a=e.closeIcon,s=e.prefixCls;void 0!==s&&(S=s),void 0!==t&&(x=t),void 0!==n?E=n:e.rtl&&(E="topLeft"),void 0!==r&&(_=r),void 0!==o&&(k=o),void 0!==i&&(y=i),void 0!==a&&(b=a),void 0!==e.rtl&&(M=e.rtl),void 0!==e.maxCount&&(w=e.maxCount)},destroy:function(){Object.keys(C).forEach((function(e){Promise.resolve(C[e]).then((function(e){e.destroy()})),delete C[e]}))}};["success","info","warning","error"].forEach((function(e){j[e]=function(t){return j.open((0,r.Z)((0,r.Z)({},t),{type:e}))}})),j.warn=j.warning,j.useNotification=function(e,t){return function(){var n,o=null,i={add:function(e,t){null===o||void 0===o||o.component.add(e,t)}},a=(0,g.Z)(i),s=(0,m.Z)(a,2),l=s[0],c=s[1];var u=p.useRef({});return u.current.open=function(i){var a=i.prefixCls,s=n("notification",a);e((0,r.Z)((0,r.Z)({},i),{prefixCls:s}),(function(e){var n=e.prefixCls,r=e.instance;o=r,l(t(i,n))}))},["success","info","warning","error"].forEach((function(e){u.current[e]=function(t){return u.current.open((0,r.Z)((0,r.Z)({},t),{type:e}))}})),[u.current,p.createElement(v.C,{key:"holder"},(function(e){return n=e.getPrefixCls,c}))]}}(N,A);var T=j},97664:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var r=n(57904),o=n(2053),i=n(98037),a=n(50959),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},l=n(86383),c=function(e,t){return a.createElement(l.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};var u=a.forwardRef(c),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},f=function(e,t){return a.createElement(l.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:d}))};var p=a.forwardRef(f),h=n(92865),m=n(26188),g=n(84875),v=n.n(g),y=n(72488),b=n(69065),w=n(65205),C=n(89786),x=n(91851),k=n(59426),_=function(e){return a.createElement(k.Z,(0,o.Z)({},e,{size:"small"}))},S=function(e){return a.createElement(k.Z,(0,o.Z)({},e,{size:"middle"}))};_.Option=k.Z.Option,S.Option=k.Z.Option;var E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},M=function(e){var t=e.prefixCls,n=e.selectPrefixCls,i=e.className,s=e.size,l=e.locale,c=e.selectComponentClass,d=e.responsive,f=e.showSizeChanger,g=E(e,["prefixCls","selectPrefixCls","className","size","locale","selectComponentClass","responsive","showSizeChanger"]),k=(0,C.Z)(d).xs,M=a.useContext(w.E_),L=M.getPrefixCls,N=M.direction,O=M.pagination,A=void 0===O?{}:O,j=L("pagination",t),T=null!==f&&void 0!==f?f:A.showSizeChanger,Z=function(e){var t,f=(0,o.Z)((0,o.Z)({},e),l),b="small"===s||!(!k||s||!d),w=L("select",n),C=v()((t={},(0,r.Z)(t,"".concat(j,"-mini"),b),(0,r.Z)(t,"".concat(j,"-rtl"),"rtl"===N),t),i);return a.createElement(y.default,(0,o.Z)({},function(){var e=a.createElement("span",{className:"".concat(j,"-item-ellipsis")},"\u2022\u2022\u2022"),t=a.createElement("button",{className:"".concat(j,"-item-link"),type:"button",tabIndex:-1},a.createElement(h.Z,null)),n=a.createElement("button",{className:"".concat(j,"-item-link"),type:"button",tabIndex:-1},a.createElement(m.Z,null)),r=a.createElement("a",{className:"".concat(j,"-item-link")},a.createElement("div",{className:"".concat(j,"-item-container")},a.createElement(u,{className:"".concat(j,"-item-link-icon")}),e)),o=a.createElement("a",{className:"".concat(j,"-item-link")},a.createElement("div",{className:"".concat(j,"-item-container")},a.createElement(p,{className:"".concat(j,"-item-link-icon")}),e));if("rtl"===N){var i=[n,t];t=i[0],n=i[1];var s=[o,r];r=s[0],o=s[1]}return{prevIcon:t,nextIcon:n,jumpPrevIcon:r,jumpNextIcon:o}}(),g,{prefixCls:j,selectPrefixCls:w,className:C,selectComponentClass:c||(b?_:S),locale:f,showSizeChanger:T}))};return a.createElement(x.Z,{componentName:"Pagination",defaultLocale:b.Z},Z)},L=M},21901:function(e,t,n){"use strict";n.d(t,{Z:function(){return U}});var r=n(57904),o=n(2053),i=n(93095),a=n(27086),s=n(33828),l=n(97272),c=n(84875),u=n.n(c),d=n(90123),f=n(50959),p=n(65205),h=n(19212),m=n(56088),g=n(53162),v={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},y=function(){var e=(0,f.useRef)([]),t=(0,f.useRef)(null);return(0,f.useEffect)((function(){var n=Date.now(),r=!1;e.current.forEach((function(e){if(e){r=!0;var o=e.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&n-t.current<100&&(o.transitionDuration="0s, 0s")}})),r&&(t.current=Date.now())})),e.current},b=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],w=function(e){var t=e.className,n=e.percent,r=e.prefixCls,i=e.strokeColor,a=e.strokeLinecap,s=e.strokeWidth,l=e.style,c=e.trailColor,d=e.trailWidth,p=e.transition,h=(0,g.Z)(e,b);delete h.gapPosition;var m=Array.isArray(n)?n:[n],v=Array.isArray(i)?i:[i],w=y(),C=s/2,x=100-s/2,k="M ".concat("round"===a?C:0,",").concat(C,"\n         L ").concat("round"===a?x:100,",").concat(C),_="0 0 100 ".concat(s),S=0;return f.createElement("svg",(0,o.Z)({className:u()("".concat(r,"-line"),t),viewBox:_,preserveAspectRatio:"none",style:l},h),f.createElement("path",{className:"".concat(r,"-line-trail"),d:k,strokeLinecap:a,stroke:c,strokeWidth:d||s,fillOpacity:"0"}),m.map((function(e,t){var n=1;switch(a){case"round":n=1-s/100;break;case"square":n=1-s/2/100;break;default:n=1}var o={strokeDasharray:"".concat(e*n,"px, 100px"),strokeDashoffset:"-".concat(S,"px"),transition:p||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},i=v[t]||v[v.length-1];return S+=e,f.createElement("path",{key:t,className:"".concat(r,"-line-path"),d:k,strokeLinecap:a,stroke:i,strokeWidth:s,fillOpacity:"0",ref:function(e){w[t]=e},style:o})})))};w.defaultProps=v,w.displayName="Line";var C=n(24744),x=n(99459),k=n(91469),_=0,S=(0,k.Z)();var E=function(e){var t=f.useState(),n=(0,x.Z)(t,2),r=n[0],o=n[1];return f.useEffect((function(){o("rc_progress_".concat(function(){var e;return S?(e=_,_+=1):e="TEST_OR_SSR",e}()))}),[]),e||r},M=["id","prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function L(e){return+e.replace("%","")}function N(e){var t=null!==e&&void 0!==e?e:[];return Array.isArray(t)?t:[t]}var O=100,A=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,l=o>0?90+o/2:-90,c=2*Math.PI*e,u=c*((360-o)/360),d=t/100*360*((360-o)/360),f=0===o?0:{bottom:0,top:180,left:90,right:-90}[i],p=(100-n)/100*u;return"round"===a&&100!==n&&(p+=s/2)>=u&&(p=u-.01),{stroke:"string"===typeof r?r:void 0,strokeDasharray:"".concat(u,"px ").concat(c),strokeDashoffset:p,transform:"rotate(".concat(l+d+f,"deg)"),transformOrigin:"50% 50%",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},j=function(e){var t=e.id,n=e.prefixCls,r=e.strokeWidth,i=e.trailWidth,a=e.gapDegree,s=e.gapPosition,l=e.trailColor,c=e.strokeLinecap,d=e.style,p=e.className,h=e.strokeColor,m=e.percent,v=(0,g.Z)(e,M),b=E(t),w="".concat(b,"-gradient"),x=50-r/2,k=A(x,0,100,l,a,s,c,r),_=N(m),S=N(h),j=S.find((function(e){return e&&"object"===(0,C.Z)(e)})),T=y();return f.createElement("svg",(0,o.Z)({className:u()("".concat(n,"-circle"),p),viewBox:"0 0 ".concat(O," ").concat(O),style:d,id:t},v),j&&f.createElement("defs",null,f.createElement("linearGradient",{id:w,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(j).sort((function(e,t){return L(e)-L(t)})).map((function(e,t){return f.createElement("stop",{key:t,offset:e,stopColor:j[e]})})))),f.createElement("circle",{className:"".concat(n,"-circle-trail"),r:x,cx:50,cy:50,stroke:l,strokeLinecap:c,strokeWidth:i||r,style:k}),function(){var e=0;return _.map((function(t,o){var i=S[o]||S[S.length-1],l=i&&"object"===(0,C.Z)(i)?"url(#".concat(w,")"):void 0,u=A(x,e,t,i,a,s,c,r);return e+=t,f.createElement("circle",{key:o,className:"".concat(n,"-circle-path"),r:x,cx:50,cy:50,stroke:l,strokeLinecap:c,strokeWidth:r,opacity:0===t?0:1,style:u,ref:function(e){T[o]=e}})})).reverse()}())};j.defaultProps=v,j.displayName="Circle";var T=j;function Z(e){return!e||e<0?0:e>100?100:e}function P(e){var t=e.success,n=e.successPercent;return t&&"progress"in t&&(n=t.progress),t&&"percent"in t&&(n=t.percent),n}function R(e){var t=e.percent,n=Z(P({success:e.success,successPercent:e.successPercent}));return[n,Z(Z(t)-n)]}var I=function(e){var t=e.prefixCls,n=e.width,o=e.strokeWidth,i=e.trailColor,a=void 0===i?null:i,s=e.strokeLinecap,l=void 0===s?"round":s,c=e.gapPosition,d=e.gapDegree,p=e.type,h=e.children,g=e.success,v=n||120,y={width:v,height:v,fontSize:.15*v+6},b=o||6,w=c||"dashboard"===p&&"bottom"||void 0,C="[object Object]"===Object.prototype.toString.call(e.strokeColor),x=function(e){var t=e.success,n=void 0===t?{}:t,r=e.strokeColor;return[n.strokeColor||m.presetPrimaryColors.green,r||null]}({success:g,strokeColor:e.strokeColor}),k=u()("".concat(t,"-inner"),(0,r.Z)({},"".concat(t,"-circle-gradient"),C));return f.createElement("div",{className:k,style:y},f.createElement(T,{percent:R(e),strokeWidth:b,trailWidth:b,strokeColor:x,strokeLinecap:l,trailColor:a,prefixCls:t,gapDegree:d||0===d?d:"dashboard"===p?75:void 0,gapPosition:w}),h)},D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},z=function(e,t){var n=e.from,r=void 0===n?m.presetPrimaryColors.blue:n,o=e.to,i=void 0===o?m.presetPrimaryColors.blue:o,a=e.direction,s=void 0===a?"rtl"===t?"to left":"to right":a,l=D(e,["from","to","direction"]);if(0!==Object.keys(l).length){var c=function(e){var t=[];return Object.keys(e).forEach((function(n){var r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})})),(t=t.sort((function(e,t){return e.key-t.key}))).map((function(e){var t=e.key,n=e.value;return"".concat(n," ").concat(t,"%")})).join(", ")}(l);return{backgroundImage:"linear-gradient(".concat(s,", ").concat(c,")")}}return{backgroundImage:"linear-gradient(".concat(s,", ").concat(r,", ").concat(i,")")}},H=function(e){var t=e.prefixCls,n=e.direction,r=e.percent,i=e.strokeWidth,a=e.size,s=e.strokeColor,l=e.strokeLinecap,c=void 0===l?"round":l,u=e.children,d=e.trailColor,p=void 0===d?null:d,h=e.success,m=s&&"string"!==typeof s?z(s,n):{background:s},g="square"===c||"butt"===c?0:void 0,v={backgroundColor:p||void 0,borderRadius:g},y=(0,o.Z)({width:"".concat(Z(r),"%"),height:i||("small"===a?6:8),borderRadius:g},m),b=P(e),w={width:"".concat(Z(b),"%"),height:i||("small"===a?6:8),borderRadius:g,backgroundColor:null===h||void 0===h?void 0:h.strokeColor},C=void 0!==b?f.createElement("div",{className:"".concat(t,"-success-bg"),style:w}):null;return f.createElement(f.Fragment,null,f.createElement("div",{className:"".concat(t,"-outer")},f.createElement("div",{className:"".concat(t,"-inner"),style:v},f.createElement("div",{className:"".concat(t,"-bg"),style:y}),C)),u)},B=function(e){for(var t=e.size,n=e.steps,o=e.percent,i=void 0===o?0:o,a=e.strokeWidth,s=void 0===a?8:a,l=e.strokeColor,c=e.trailColor,d=void 0===c?null:c,p=e.prefixCls,h=e.children,m=Math.round(n*(i/100)),g="small"===t?2:14,v=new Array(n),y=0;y<n;y++){var b=Array.isArray(l)?l[y]:l;v[y]=f.createElement("div",{key:y,className:u()("".concat(p,"-steps-item"),(0,r.Z)({},"".concat(p,"-steps-item-active"),y<=m-1)),style:{backgroundColor:y<=m-1?b:d,width:g,height:s}})}return f.createElement("div",{className:"".concat(p,"-steps-outer")},v,h)},F=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},V=((0,h.b)("line","circle","dashboard"),(0,h.b)("normal","exception","active","success")),q=function(e){var t,n=e.prefixCls,c=e.className,h=e.steps,m=e.strokeColor,g=e.percent,v=void 0===g?0:g,y=e.size,b=void 0===y?"default":y,w=e.showInfo,C=void 0===w||w,x=e.type,k=void 0===x?"line":x,_=F(e,["prefixCls","className","steps","strokeColor","percent","size","showInfo","type"]);var S,E=f.useContext(p.E_),M=E.getPrefixCls,L=E.direction,N=M("progress",n),O=function(){var t=e.status;return V.indexOf(t)<0&&function(){var t=P(e);return parseInt(void 0!==t?t.toString():v.toString(),10)}()>=100?"success":t||"normal"}(),A=function(t,n){var r,o=e.format,c=P(e);if(!C)return null;var u="line"===k;return o||"exception"!==n&&"success"!==n?r=(o||function(e){return"".concat(e,"%")})(Z(v),Z(c)):"exception"===n?r=u?f.createElement(s.Z,null):f.createElement(l.Z,null):"success"===n&&(r=u?f.createElement(i.Z,null):f.createElement(a.Z,null)),f.createElement("span",{className:"".concat(t,"-text"),title:"string"===typeof r?r:void 0},r)}(N,O),j=Array.isArray(m)?m[0]:m,T="string"===typeof m||Array.isArray(m)?m:void 0;"line"===k?S=h?f.createElement(B,(0,o.Z)({},e,{strokeColor:T,prefixCls:N,steps:h}),A):f.createElement(H,(0,o.Z)({},e,{strokeColor:j,prefixCls:N,direction:L}),A):"circle"!==k&&"dashboard"!==k||(S=f.createElement(I,(0,o.Z)({},e,{strokeColor:j,prefixCls:N,progressStatus:O}),A));var R=u()(N,(t={},(0,r.Z)(t,"".concat(N,"-").concat(("dashboard"===k?"circle":h&&"steps")||k),!0),(0,r.Z)(t,"".concat(N,"-status-").concat(O),!0),(0,r.Z)(t,"".concat(N,"-show-info"),C),(0,r.Z)(t,"".concat(N,"-").concat(b),b),(0,r.Z)(t,"".concat(N,"-rtl"),"rtl"===L),t),c);return f.createElement("div",(0,o.Z)({},(0,d.Z)(_,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"]),{className:R}),S)},U=q},41322:function(e,t,n){"use strict";n.d(t,{Ag:function(){return a},IH:function(){return s},w:function(){return i}});var r=n(50959),o=r.createContext(null),i=o.Provider;t.ZP=o;var a=r.createContext(null),s=a.Provider},25083:function(e,t,n){"use strict";var r=n(2053),o=n(57904),i=n(99459),a=n(84875),s=n.n(a),l=n(5481),c=n(50959),u=n(65205),d=n(2344),f=n(34369),p=n(41322),h=n(15944),m=c.forwardRef((function(e,t){var n,a=c.useContext(u.E_),m=a.getPrefixCls,g=a.direction,v=c.useContext(d.Z),y=(0,l.Z)(e.defaultValue,{value:e.value}),b=(0,i.Z)(y,2),w=b[0],C=b[1],x=e.prefixCls,k=e.className,_=void 0===k?"":k,S=e.options,E=e.buttonStyle,M=void 0===E?"outline":E,L=e.disabled,N=e.children,O=e.size,A=e.style,j=e.id,T=e.onMouseEnter,Z=e.onMouseLeave,P=e.onFocus,R=e.onBlur,I=m("radio",x),D="".concat(I,"-group"),z=N;S&&S.length>0&&(z=S.map((function(e){return"string"===typeof e||"number"===typeof e?c.createElement(h.Z,{key:e.toString(),prefixCls:I,disabled:L,value:e,checked:w===e},e):c.createElement(h.Z,{key:"radio-group-value-options-".concat(e.value),prefixCls:I,disabled:e.disabled||L,value:e.value,checked:w===e.value,style:e.style},e.label)})));var H=O||v,B=s()(D,"".concat(D,"-").concat(M),(n={},(0,o.Z)(n,"".concat(D,"-").concat(H),H),(0,o.Z)(n,"".concat(D,"-rtl"),"rtl"===g),n),_);return c.createElement("div",(0,r.Z)({},(0,f.Z)(e),{className:B,style:A,onMouseEnter:T,onMouseLeave:Z,onFocus:P,onBlur:R,id:j,ref:t}),c.createElement(p.w,{value:{onChange:function(t){var n=w,r=t.target.value;"value"in e||C(r);var o=e.onChange;o&&r!==n&&o(t)},value:w,disabled:e.disabled,name:e.name,optionType:e.optionType}},z))}));t.Z=c.memo(m)},17978:function(e,t,n){"use strict";var r=n(25083),o=n(15944),i=n(31026),a=o.Z;a.Button=i.Z,a.Group=r.Z,a.__ANT_RADIO=!0,t.ZP=a},15944:function(e,t,n){"use strict";var r=n(57904),o=n(2053),i=n(84875),a=n.n(i),s=n(19075),l=n(37987),c=n(50959),u=n(65205),d=n(72185),f=n(34960),p=n(41322),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},m=function(e,t){var n,i=c.useContext(p.ZP),m=c.useContext(p.Ag),g=c.useContext(u.E_),v=g.getPrefixCls,y=g.direction,b=c.useRef(),w=(0,l.sQ)(t,b),C=(0,c.useContext)(f.aM).isFormItemInput,x=e.prefixCls,k=e.className,_=e.children,S=e.style,E=e.disabled,M=h(e,["prefixCls","className","children","style","disabled"]),L=v("radio",x),N="button"===((null===i||void 0===i?void 0:i.optionType)||m)?"".concat(L,"-button"):L,O=(0,o.Z)({},M),A=c.useContext(d.Z);O.disabled=E||A,i&&(O.name=i.name,O.onChange=function(t){var n,r;null===(n=e.onChange)||void 0===n||n.call(e,t),null===(r=null===i||void 0===i?void 0:i.onChange)||void 0===r||r.call(i,t)},O.checked=e.value===i.value,O.disabled=O.disabled||i.disabled);var j=a()("".concat(N,"-wrapper"),(n={},(0,r.Z)(n,"".concat(N,"-wrapper-checked"),O.checked),(0,r.Z)(n,"".concat(N,"-wrapper-disabled"),O.disabled),(0,r.Z)(n,"".concat(N,"-wrapper-rtl"),"rtl"===y),(0,r.Z)(n,"".concat(N,"-wrapper-in-form-item"),C),n),k);return c.createElement("label",{className:j,style:S,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},c.createElement(s.default,(0,o.Z)({},O,{type:"radio",prefixCls:N,ref:w})),void 0!==_?c.createElement("span",null,_):null)},g=c.forwardRef(m);t.Z=g},31026:function(e,t,n){"use strict";var r=n(2053),o=n(50959),i=n(65205),a=n(41322),s=n(15944),l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},c=function(e,t){var n=o.useContext(i.E_).getPrefixCls,c=e.prefixCls,u=l(e,["prefixCls"]),d=n("radio",c);return o.createElement(a.IH,{value:"button"},o.createElement(s.Z,(0,r.Z)({prefixCls:d},u,{type:"radio",ref:t})))};t.Z=o.forwardRef(c)},59426:function(e,t,n){"use strict";var r=n(57904),o=n(2053),i=n(84875),a=n.n(i),s=n(40180),l=n(90123),c=n(50959),u=n(65205),d=n(27983),f=n(72185),p=n(2344),h=n(34960),m=n(80029),g=n(64171),v=n(82837),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},b="SECRET_COMBOBOX_MODE_DO_NOT_USE",w=function(e,t){var n,i,w=e.prefixCls,C=e.bordered,x=void 0===C||C,k=e.className,_=e.getPopupContainer,S=e.dropdownClassName,E=e.popupClassName,M=e.listHeight,L=void 0===M?256:M,N=e.placement,O=e.listItemHeight,A=void 0===O?24:O,j=e.size,T=e.disabled,Z=e.notFoundContent,P=e.status,R=e.showArrow,I=y(e,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","popupClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow"]),D=c.useContext(u.E_),z=D.getPopupContainer,H=D.getPrefixCls,B=D.renderEmpty,F=D.direction,V=D.virtual,q=D.dropdownMatchSelectWidth,U=c.useContext(p.Z),$=H("select",w),W=H(),K=c.useMemo((function(){var e=I.mode;if("combobox"!==e)return e===b?"combobox":e}),[I.mode]),G="multiple"===K||"tags"===K,Y=void 0!==R?R:I.loading||!(G||"combobox"===K),J=(0,c.useContext)(h.aM),X=J.status,Q=J.hasFeedback,ee=J.isFormItemInput,te=J.feedbackIcon,ne=(0,g.F)(X,P);i=void 0!==Z?Z:"combobox"===K?null:(B||d.Z)("Select");var re=(0,v.Z)((0,o.Z)((0,o.Z)({},I),{multiple:G,hasFeedback:Q,feedbackIcon:te,showArrow:Y,prefixCls:$})),oe=re.suffixIcon,ie=re.itemIcon,ae=re.removeIcon,se=re.clearIcon,le=(0,l.Z)(I,["suffixIcon","itemIcon"]),ce=a()(E||S,(0,r.Z)({},"".concat($,"-dropdown-").concat(F),"rtl"===F)),ue=j||U,de=c.useContext(f.Z),fe=T||de,pe=a()((n={},(0,r.Z)(n,"".concat($,"-lg"),"large"===ue),(0,r.Z)(n,"".concat($,"-sm"),"small"===ue),(0,r.Z)(n,"".concat($,"-rtl"),"rtl"===F),(0,r.Z)(n,"".concat($,"-borderless"),!x),(0,r.Z)(n,"".concat($,"-in-form-item"),ee),n),(0,g.Z)($,ne,Q),k);return c.createElement(s.default,(0,o.Z)({ref:t,virtual:V,dropdownMatchSelectWidth:q},le,{transitionName:(0,m.mL)(W,(0,m.q0)(N),I.transitionName),listHeight:L,listItemHeight:A,mode:K,prefixCls:$,placement:void 0!==N?N:"rtl"===F?"bottomRight":"bottomLeft",direction:F,inputIcon:oe,menuItemSelectedIcon:ie,removeIcon:ae,clearIcon:se,notFoundContent:i,className:pe,getPopupContainer:_||z,dropdownClassName:ce,showArrow:Q||R,disabled:fe}))},C=c.forwardRef(w);C.SECRET_COMBOBOX_MODE_DO_NOT_USE=b,C.Option=s.Option,C.OptGroup=s.OptGroup,t.Z=C},82837:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(27086),o=n(33828),i=n(97272),a=n(26730),s=n(39016),l=n(4261),c=n(50959);function u(e){var t=e.suffixIcon,n=e.clearIcon,u=e.menuItemSelectedIcon,d=e.removeIcon,f=e.loading,p=e.multiple,h=e.hasFeedback,m=e.prefixCls,g=e.showArrow,v=e.feedbackIcon,y=n;n||(y=c.createElement(o.Z,null));var b=function(e){return c.createElement(c.Fragment,null,!1!==g&&e,h&&v)},w=null;if(void 0!==t)w=b(t);else if(f)w=b(c.createElement(s.Z,{spin:!0}));else{var C="".concat(m,"-suffix");w=function(e){var t=e.open,n=e.showSearch;return b(t&&n?c.createElement(l.Z,{className:C}):c.createElement(a.Z,{className:C}))}}return{clearIcon:y,suffixIcon:w,itemIcon:void 0!==u?u:p?c.createElement(r.Z,null):null,removeIcon:void 0!==d?d:c.createElement(i.Z,null)}}},33389:function(e,t,n){"use strict";n.d(t,{u:function(){return h},Z:function(){return g}});var r=n(2053),o=n(57904),i=n(99459),a=n(84875),s=n.n(a),l=n(73444),c=n(50959),u=n(65205),d=n(1899);function f(e){var t=e.className,n=e.direction,i=e.index,a=e.marginDirection,s=e.children,l=e.split,u=e.wrap,d=c.useContext(h),f=d.horizontalSize,p=d.verticalSize,m=d.latestIndex,g={};return d.supportFlexGap||("vertical"===n?i<m&&(g={marginBottom:f/(l?2:1)}):g=(0,r.Z)((0,r.Z)({},i<m&&(0,o.Z)({},a,f/(l?2:1))),u&&{paddingBottom:p})),null===s||void 0===s?null:c.createElement(c.Fragment,null,c.createElement("div",{className:t,style:g},s),i<m&&l&&c.createElement("span",{className:"".concat(t,"-split"),style:g},l))}var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},h=c.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),m={small:8,middle:16,large:24};var g=function(e){var t,n=c.useContext(u.E_),a=n.getPrefixCls,g=n.space,v=n.direction,y=e.size,b=void 0===y?(null===g||void 0===g?void 0:g.size)||"small":y,w=e.align,C=e.className,x=e.children,k=e.direction,_=void 0===k?"horizontal":k,S=e.prefixCls,E=e.split,M=e.style,L=e.wrap,N=void 0!==L&&L,O=p(e,["size","align","className","children","direction","prefixCls","split","style","wrap"]),A=(0,d.Z)(),j=c.useMemo((function(){return(Array.isArray(b)?b:[b,b]).map((function(e){return function(e){return"string"===typeof e?m[e]:e||0}(e)}))}),[b]),T=(0,i.Z)(j,2),Z=T[0],P=T[1],R=(0,l.Z)(x,{keepEmpty:!0}),I=void 0===w&&"horizontal"===_?"center":w,D=a("space",S),z=s()(D,"".concat(D,"-").concat(_),(t={},(0,o.Z)(t,"".concat(D,"-rtl"),"rtl"===v),(0,o.Z)(t,"".concat(D,"-align-").concat(I),I),t),C),H="".concat(D,"-item"),B="rtl"===v?"marginLeft":"marginRight",F=0,V=R.map((function(e,t){null!==e&&void 0!==e&&(F=t);var n=e&&e.key||"".concat(H,"-").concat(t);return c.createElement(f,{className:H,key:n,direction:_,index:t,marginDirection:B,split:E,wrap:N},e)})),q=c.useMemo((function(){return{horizontalSize:Z,verticalSize:P,latestIndex:F,supportFlexGap:A}}),[Z,P,F,A]);if(0===R.length)return null;var U={};return N&&(U.flexWrap="wrap",A||(U.marginBottom=-P)),A&&(U.columnGap=Z,U.rowGap=P),c.createElement("div",(0,r.Z)({className:z,style:(0,r.Z)((0,r.Z)({},U),M)},O),c.createElement(h.Provider,{value:q},V))}},28685:function(e,t,n){"use strict";var r=n(2053),o=n(57904),i=n(73779),a=n(71374),s=n(45675),l=n(36280),c=n(84875),u=n.n(c),d=n(66292),f=n.n(d),p=n(90123),h=n(50959),m=n(65205),g=n(94826),v=n(19212),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},b=((0,v.b)("small","default","large"),null);var w=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var a;(0,i.Z)(this,n),(a=t.call(this,e)).debouncifyUpdateSpinning=function(e){var t=(e||a.props).delay;t&&(a.cancelExistingSpin(),a.updateSpinning=f()(a.originalUpdateSpinning,t))},a.updateSpinning=function(){var e=a.props.spinning;a.state.spinning!==e&&a.setState({spinning:e})},a.renderSpin=function(e){var t,n=e.direction,i=a.props,s=i.spinPrefixCls,l=i.className,c=i.size,d=i.tip,f=i.wrapperClassName,m=i.style,v=y(i,["spinPrefixCls","className","size","tip","wrapperClassName","style"]),w=a.state.spinning,C=u()(s,(t={},(0,o.Z)(t,"".concat(s,"-sm"),"small"===c),(0,o.Z)(t,"".concat(s,"-lg"),"large"===c),(0,o.Z)(t,"".concat(s,"-spinning"),w),(0,o.Z)(t,"".concat(s,"-show-text"),!!d),(0,o.Z)(t,"".concat(s,"-rtl"),"rtl"===n),t),l),x=(0,p.Z)(v,["spinning","delay","indicator","prefixCls"]),k=h.createElement("div",(0,r.Z)({},x,{style:m,className:C,"aria-live":"polite","aria-busy":w}),function(e,t){var n=t.indicator,r="".concat(e,"-dot");return null===n?null:(0,g.l$)(n)?(0,g.Tm)(n,{className:u()(n.props.className,r)}):(0,g.l$)(b)?(0,g.Tm)(b,{className:u()(b.props.className,r)}):h.createElement("span",{className:u()(r,"".concat(e,"-dot-spin"))},h.createElement("i",{className:"".concat(e,"-dot-item")}),h.createElement("i",{className:"".concat(e,"-dot-item")}),h.createElement("i",{className:"".concat(e,"-dot-item")}),h.createElement("i",{className:"".concat(e,"-dot-item")}))}(s,a.props),d?h.createElement("div",{className:"".concat(s,"-text")},d):null);if(a.isNestedPattern()){var _=u()("".concat(s,"-container"),(0,o.Z)({},"".concat(s,"-blur"),w));return h.createElement("div",(0,r.Z)({},x,{className:u()("".concat(s,"-nested-loading"),f)}),w&&h.createElement("div",{key:"loading"},k),h.createElement("div",{className:_,key:"container"},a.props.children))}return k};var s=e.spinning,l=function(e,t){return!!e&&!!t&&!isNaN(Number(t))}(s,e.delay);return a.state={spinning:s&&!l},a.originalUpdateSpinning=a.updateSpinning,a.debouncifyUpdateSpinning(e),a}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){this.updateSpinning()}},{key:"componentDidUpdate",value:function(){this.debouncifyUpdateSpinning(),this.updateSpinning()}},{key:"componentWillUnmount",value:function(){this.cancelExistingSpin()}},{key:"cancelExistingSpin",value:function(){var e=this.updateSpinning;e&&e.cancel&&e.cancel()}},{key:"isNestedPattern",value:function(){return!(!this.props||"undefined"===typeof this.props.children)}},{key:"render",value:function(){return h.createElement(m.C,null,this.renderSpin)}}]),n}(h.Component);w.defaultProps={spinning:!0,size:"default",wrapperClassName:""};var C=function(e){var t=e.prefixCls,n=(0,h.useContext(m.E_).getPrefixCls)("spin",t),o=(0,r.Z)((0,r.Z)({},e),{spinPrefixCls:n});return h.createElement(w,(0,r.Z)({},o))};C.setDefaultIndicator=function(e){b=e},t.Z=C},35855:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(2053),o=n(57904),i=n(39016),a=n(84875),s=n.n(a),l=n(99459),c=n(53162),u=n(50959),d=n(5481),f=n(23278),p=u.forwardRef((function(e,t){var n,r=e.prefixCls,i=void 0===r?"rc-switch":r,a=e.className,p=e.checked,h=e.defaultChecked,m=e.disabled,g=e.loadingIcon,v=e.checkedChildren,y=e.unCheckedChildren,b=e.onClick,w=e.onChange,C=e.onKeyDown,x=(0,c.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),k=(0,d.Z)(!1,{value:p,defaultValue:h}),_=(0,l.Z)(k,2),S=_[0],E=_[1];function M(e,t){var n=S;return m||(E(n=e),null===w||void 0===w||w(n,t)),n}var L=s()(i,a,(n={},(0,o.Z)(n,"".concat(i,"-checked"),S),(0,o.Z)(n,"".concat(i,"-disabled"),m),n));return u.createElement("button",Object.assign({},x,{type:"button",role:"switch","aria-checked":S,disabled:m,className:L,ref:t,onKeyDown:function(e){e.which===f.Z.LEFT?M(!1,e):e.which===f.Z.RIGHT&&M(!0,e),null===C||void 0===C||C(e)},onClick:function(e){var t=M(!S,e);null===b||void 0===b||b(t,e)}}),g,u.createElement("span",{className:"".concat(i,"-inner")},S?v:y))}));p.displayName="Switch";var h=p,m=n(65205),g=n(72185),v=n(2344),y=n(90445),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},w=u.forwardRef((function(e,t){var n,a=e.prefixCls,l=e.size,c=e.disabled,d=e.loading,f=e.className,p=void 0===f?"":f,w=b(e,["prefixCls","size","disabled","loading","className"]),C=u.useContext(m.E_),x=C.getPrefixCls,k=C.direction,_=u.useContext(v.Z),S=u.useContext(g.Z),E=c||S||d,M=x("switch",a),L=u.createElement("div",{className:"".concat(M,"-handle")},d&&u.createElement(i.Z,{className:"".concat(M,"-loading-icon")})),N=s()((n={},(0,o.Z)(n,"".concat(M,"-small"),"small"===(l||_)),(0,o.Z)(n,"".concat(M,"-loading"),d),(0,o.Z)(n,"".concat(M,"-rtl"),"rtl"===k),n),p);return u.createElement(y.Z,{insertExtraNode:!0},u.createElement(h,(0,r.Z)({},w,{prefixCls:M,className:N,disabled:E,ref:t,loadingIcon:L})))}));w.__ANT_SWITCH=!0;var C=w},68778:function(e,t,n){"use strict";n.d(t,{Z:function(){return pn}});var r=n(24744),o=n(57904),i=n(2053),a=n(99459),s=n(84875),l=n.n(s),c=n(98037),u=n(35047),d=n(50959),f=n(16752),p=n(42361),h=n(17751),m=n(50631),g=n.n(m),v=n(14032),y=n(12682),b=n(83020);var w=function(e){return null};var C=function(e){return null},x=n(53162),k=n(37987);function _(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}function S(e,t){if(!t&&"number"!==typeof t)return e;for(var n=_(t),r=e,o=0;o<n.length;o+=1){if(!r)return null;r=r[n[o]]}return r}function E(e){var t=[],n={};return e.forEach((function(e){for(var r=e||{},o=r.key,i=r.dataIndex,a=o||_(i).join("-")||"RC_TABLE_KEY";n[a];)a="".concat(a,"_next");n[a]=!0,t.push(a)})),t}function M(e){return null!==e&&void 0!==e}var L=d.createContext(!1),N=n(67601),O=n(99798);var A=function(){var e=d.createContext(null);return{Context:e,Provider:function(t){var n=t.value,r=t.children,o=d.useRef(n);o.current=n;var i=d.useState((function(){return{getValue:function(){return o.current},listeners:new Set}})),s=(0,a.Z)(i,1)[0];return(0,N.Z)((function(){s.listeners.forEach((function(e){e(n)}))}),[n]),d.createElement(e.Provider,{value:s},r)}}}(),j=A,T=d.createContext(null),Z=d.createContext({renderWithProps:!1}),P=["colSpan","rowSpan","style","className"];function R(e,t){var n,i,s,u=e.prefixCls,f=e.className,p=e.record,h=e.index,m=e.renderIndex,g=e.dataIndex,v=e.render,y=e.children,b=e.component,w=void 0===b?"td":b,C=e.colSpan,_=e.rowSpan,E=e.fixLeft,N=e.fixRight,O=e.firstFixLeft,A=e.lastFixLeft,j=e.firstFixRight,R=e.lastFixRight,I=e.appendNode,D=e.additionalProps,z=void 0===D?{}:D,H=e.ellipsis,B=e.align,F=e.rowType,V=e.isSticky,q=e.hovering,U=e.onHover,$="".concat(u,"-cell"),W=d.useContext(Z),K=d.useContext(L),G=d.useContext(T).allColumnsFixedLeft,Y=d.useMemo((function(){if(M(y))return[y];var e,t=S(p,g),n=t,o=void 0;if(v){var i=v(t,p,m);!(e=i)||"object"!==(0,r.Z)(e)||Array.isArray(e)||d.isValidElement(e)?n=i:(n=i.children,o=i.props,W.renderWithProps=!0)}return[n,o]}),[W.renderWithProps?Math.random():0,y,g,W,p,v,m]),J=(0,a.Z)(Y,2),X=J[0],Q=J[1],ee=X;"object"!==(0,r.Z)(ee)||Array.isArray(ee)||d.isValidElement(ee)||(ee=null),H&&(A||j)&&(ee=d.createElement("span",{className:"".concat($,"-content")},ee));var te=Q||{},ne=te.colSpan,re=te.rowSpan,oe=te.style,ie=te.className,ae=(0,x.Z)(te,P),se=null!==(n=void 0!==ne?ne:C)&&void 0!==n?n:1,le=null!==(i=void 0!==re?re:_)&&void 0!==i?i:1;if(0===se||0===le)return null;var ce={},ue="number"===typeof E&&K,de="number"===typeof N&&K;ue&&(ce.position="sticky",ce.left=E),de&&(ce.position="sticky",ce.right=N);var fe={};B&&(fe.textAlign=B);var pe,he=function(e){var t,n=e.ellipsis,r=e.rowType,o=e.children,i=!0===n?{showTitle:!0}:n;return i&&(i.showTitle||"header"===r)&&("string"===typeof o||"number"===typeof o?t=o.toString():d.isValidElement(o)&&"string"===typeof o.props.children&&(t=o.props.children)),t}({rowType:F,ellipsis:H,children:X}),me=(0,c.Z)((0,c.Z)((0,c.Z)({title:he},ae),z),{},{colSpan:1!==se?se:null,rowSpan:1!==le?le:null,className:l()($,f,(s={},(0,o.Z)(s,"".concat($,"-fix-left"),ue&&K),(0,o.Z)(s,"".concat($,"-fix-left-first"),O&&K),(0,o.Z)(s,"".concat($,"-fix-left-last"),A&&K),(0,o.Z)(s,"".concat($,"-fix-left-all"),A&&G&&K),(0,o.Z)(s,"".concat($,"-fix-right"),de&&K),(0,o.Z)(s,"".concat($,"-fix-right-first"),j&&K),(0,o.Z)(s,"".concat($,"-fix-right-last"),R&&K),(0,o.Z)(s,"".concat($,"-ellipsis"),H),(0,o.Z)(s,"".concat($,"-with-append"),I),(0,o.Z)(s,"".concat($,"-fix-sticky"),(ue||de)&&V&&K),(0,o.Z)(s,"".concat($,"-row-hover"),!Q&&q),s),z.className,ie),style:(0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)({},z.style),fe),ce),oe),onMouseEnter:function(e){var t;p&&U(h,h+le-1),null===z||void 0===z||null===(t=z.onMouseEnter)||void 0===t||t.call(z,e)},onMouseLeave:function(e){var t;p&&U(-1,-1),null===z||void 0===z||null===(t=z.onMouseLeave)||void 0===t||t.call(z,e)},ref:(pe=w,"string"===typeof pe||(0,k.Yr)(pe)?t:null)});return d.createElement(w,me,I,ee)}var I=d.forwardRef(R);I.displayName="Cell";var D=["expanded","className","hovering"],z=d.memo(I,(function(e,t){return t.shouldCellUpdate?D.every((function(n){return e[n]===t[n]}))&&!t.shouldCellUpdate(t.record,e.record):g()(e,t)})),H=d.forwardRef((function(e,t){var n=e.index,r=e.additionalProps,o=void 0===r?{}:r,s=e.colSpan,l=e.rowSpan,c=o.colSpan,u=o.rowSpan,f=null!==s&&void 0!==s?s:c,p=null!==l&&void 0!==l?l:u,h=function(e,t){var n=(0,O.Z)(t),r=d.useContext(null===e||void 0===e?void 0:e.Context),o=r||{},i=o.listeners,s=o.getValue,l=d.useState((function(){return n(r?s():null)})),c=(0,a.Z)(l,2),u=c[0],f=c[1];return(0,N.Z)((function(){if(r)return i.add(e),function(){i.delete(e)};function e(e){f((function(t){var r=n(e);return g()(t,r)?t:r}))}}),[r]),u}(j,(function(e){var t=function(e,t,n,r){return e<=r&&e+t-1>=n}(n,p||1,null===e||void 0===e?void 0:e.startRow,null===e||void 0===e?void 0:e.endRow);return{onHover:null===e||void 0===e?void 0:e.onHover,hovering:t}})),m=h.onHover,v=h.hovering;return d.createElement(z,(0,i.Z)({},e,{colSpan:f,rowSpan:p,hovering:v,ref:t,onHover:m}))}));H.displayName="WrappedCell";var B=H,F=d.createContext(null);function V(e,t,n,r,o){var i,a,s=n[e]||{},l=n[t]||{};"left"===s.fixed?i=r.left[e]:"right"===l.fixed&&(a=r.right[t]);var c=!1,u=!1,d=!1,f=!1,p=n[t+1],h=n[e-1];if("rtl"===o){if(void 0!==i)f=!(h&&"left"===h.fixed);else if(void 0!==a){d=!(p&&"right"===p.fixed)}}else if(void 0!==i){c=!(p&&"left"===p.fixed)}else if(void 0!==a){u=!(h&&"right"===h.fixed)}return{fixLeft:i,fixRight:a,lastFixLeft:c,firstFixRight:u,lastFixRight:d,firstFixLeft:f,isSticky:r.isSticky}}function q(e){var t,n=e.cells,r=e.stickyOffsets,o=e.flattenColumns,a=e.rowComponent,s=e.cellComponent,l=e.onHeaderRow,c=e.index,u=d.useContext(F),f=u.prefixCls,p=u.direction;l&&(t=l(n.map((function(e){return e.column})),c));var h=E(n.map((function(e){return e.column})));return d.createElement(a,t,n.map((function(e,t){var n,a=e.column,l=V(e.colStart,e.colEnd,o,r,p);return a&&a.onHeaderCell&&(n=e.column.onHeaderCell(a)),d.createElement(B,(0,i.Z)({},e,{ellipsis:a.ellipsis,align:a.align,component:s,prefixCls:f,key:h[t]},l,{additionalProps:n,rowType:"header"}))})))}q.displayName="HeaderRow";var U=q;var $=function(e){var t=e.stickyOffsets,n=e.columns,r=e.flattenColumns,o=e.onHeaderRow,i=d.useContext(F),a=i.prefixCls,s=i.getComponent,l=d.useMemo((function(){return function(e){var t=[];!function e(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[o]=t[o]||[];var i=r;return n.filter(Boolean).map((function(n){var r={key:n.key,className:n.className||"",children:n.title,column:n,colStart:i},a=1,s=n.children;return s&&s.length>0&&(a=e(s,i,o+1).reduce((function(e,t){return e+t}),0),r.hasSubColumns=!0),"colSpan"in n&&(a=n.colSpan),"rowSpan"in n&&(r.rowSpan=n.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,t[o].push(r),i+=a,a}))}(e,0);for(var n=t.length,r=function(e){t[e].forEach((function(t){"rowSpan"in t||t.hasSubColumns||(t.rowSpan=n-e)}))},o=0;o<n;o+=1)r(o);return t}(n)}),[n]),c=s(["header","wrapper"],"thead"),u=s(["header","row"],"tr"),f=s(["header","cell"],"th");return d.createElement(c,{className:"".concat(a,"-thead")},l.map((function(e,n){return d.createElement(U,{key:n,flattenColumns:r,cells:e,stickyOffsets:t,rowComponent:u,cellComponent:f,onHeaderRow:o,index:n})})))},W=d.createContext(null);var K=function(e){var t=e.prefixCls,n=e.children,r=e.component,o=e.cellComponent,i=e.className,a=e.expanded,s=e.colSpan,l=e.isEmpty,c=d.useContext(F).scrollbarSize,u=d.useContext(W),f=u.fixHeader,p=u.fixColumn,h=u.componentWidth,m=u.horizonScroll;return d.useMemo((function(){var e=n;return(l?m:p)&&(e=d.createElement("div",{style:{width:h-(f?c:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(t,"-expanded-row-fixed")},0!==h&&e)),d.createElement(r,{className:i,style:{display:a?null:"none"}},d.createElement(B,{component:o,prefixCls:t,colSpan:s},e))}),[n,r,i,a,s,l,c,h,p,f,m])},G=d.createContext(null);function Y(e){var t=e.className,n=e.style,r=e.record,o=e.index,s=e.renderIndex,u=e.rowKey,f=e.rowExpandable,p=e.expandedKeys,h=e.onRow,m=e.indent,g=void 0===m?0:m,v=e.rowComponent,y=e.cellComponent,b=e.childrenColumnName,w=d.useContext(F),C=w.prefixCls,x=w.fixedInfoList,k=d.useContext(T),_=k.flattenColumns,S=k.expandableType,M=k.expandRowByClick,L=k.onTriggerExpand,N=k.rowClassName,O=k.expandedRowClassName,A=k.indentSize,j=k.expandIcon,Z=k.expandedRowRender,P=k.expandIconColumnIndex,R=d.useState(!1),I=(0,a.Z)(R,2),D=I[0],z=I[1],H=p&&p.has(e.recordKey);d.useEffect((function(){H&&z(!0)}),[H]);var V="row"===S&&(!f||f(r)),q="nest"===S,U=b&&r&&r[b],$=V||q,W=d.useRef(L);W.current=L;var G,Y=function(){W.current.apply(W,arguments)},J=null===h||void 0===h?void 0:h(r,o);"string"===typeof N?G=N:"function"===typeof N&&(G=N(r,o,g));var X,Q=E(_),ee=d.createElement(v,(0,i.Z)({},J,{"data-row-key":u,className:l()(t,"".concat(C,"-row"),"".concat(C,"-row-level-").concat(g),G,J&&J.className),style:(0,c.Z)((0,c.Z)({},n),J?J.style:null),onClick:function(e){var t;M&&$&&Y(r,e);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];null===J||void 0===J||null===(t=J.onClick)||void 0===t||t.call.apply(t,[J,e].concat(o))}}),_.map((function(e,t){var n,a,l=e.render,c=e.dataIndex,u=e.className,f=Q[t],p=x[t];return t===(P||0)&&q&&(n=d.createElement(d.Fragment,null,d.createElement("span",{style:{paddingLeft:"".concat(A*g,"px")},className:"".concat(C,"-row-indent indent-level-").concat(g)}),j({prefixCls:C,expanded:H,expandable:U,record:r,onExpand:Y}))),e.onCell&&(a=e.onCell(r,o)),d.createElement(B,(0,i.Z)({className:u,ellipsis:e.ellipsis,align:e.align,component:y,prefixCls:C,key:f,record:r,index:o,renderIndex:s,dataIndex:c,render:l,shouldCellUpdate:e.shouldCellUpdate,expanded:n&&H},p,{appendNode:n,additionalProps:a}))})));if(V&&(D||H)){var te=Z(r,o,g+1,H),ne=O&&O(r,o,g);X=d.createElement(K,{expanded:H,className:l()("".concat(C,"-expanded-row"),"".concat(C,"-expanded-row-level-").concat(g+1),ne),prefixCls:C,component:v,cellComponent:y,colSpan:_.length,isEmpty:!1},te)}return d.createElement(d.Fragment,null,ee,X)}Y.displayName="BodyRow";var J=Y;function X(e,t,n,r,o,i){var a=[];a.push({record:e,indent:t,index:i});var s=o(e),l=null===r||void 0===r?void 0:r.has(s);if(e&&Array.isArray(e[n])&&l)for(var c=0;c<e[n].length;c+=1){var d=X(e[n][c],t+1,n,r,o,c);a.push.apply(a,(0,u.Z)(d))}return a}function Q(e){var t=e.columnKey,n=e.onColumnResize,r=d.useRef();return d.useEffect((function(){r.current&&n(t,r.current.offsetWidth)}),[]),d.createElement(y.default,{data:t},d.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},d.createElement("div",{style:{height:0,overflow:"hidden"}},"\xa0")))}function ee(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return d.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},d.createElement(y.default.Collection,{onBatchResize:function(e){e.forEach((function(e){var t=e.data,n=e.size;r(t,n.offsetWidth)}))}},n.map((function(e){return d.createElement(Q,{key:e,columnKey:e,onColumnResize:r})}))))}function te(e){var t=e.data,n=e.getRowKey,r=e.measureColumnWidth,o=e.expandedKeys,i=e.onRow,s=e.rowExpandable,l=e.emptyNode,c=e.childrenColumnName,f=d.useContext(G).onColumnResize,p=d.useContext(F),h=p.prefixCls,m=p.getComponent,g=d.useContext(T).flattenColumns,v=function(e,t,n,r){return d.useMemo((function(){if(null===n||void 0===n?void 0:n.size){for(var o=[],i=0;i<(null===e||void 0===e?void 0:e.length);i+=1){var a=e[i];o.push.apply(o,(0,u.Z)(X(a,0,t,n,r,i)))}return o}return null===e||void 0===e?void 0:e.map((function(e,t){return{record:e,indent:0,index:t}}))}),[e,t,n,r])}(t,c,o,n),y=d.useRef({renderWithProps:!1}),b=d.useState(-1),w=(0,a.Z)(b,2),C=w[0],x=w[1],k=d.useState(-1),_=(0,a.Z)(k,2),S=_[0],M=_[1],L=d.useCallback((function(e,t){x(e),M(t)}),[]),N=d.useMemo((function(){var e,a=m(["body","wrapper"],"tbody"),u=m(["body","row"],"tr"),p=m(["body","cell"],"td");e=t.length?v.map((function(e,t){var r=e.record,a=e.indent,l=e.index,f=n(r,t);return d.createElement(J,{key:f,rowKey:f,record:r,recordKey:f,index:t,renderIndex:l,rowComponent:u,cellComponent:p,expandedKeys:o,onRow:i,getRowKey:n,rowExpandable:s,childrenColumnName:c,indent:a})})):d.createElement(K,{expanded:!0,className:"".concat(h,"-placeholder"),prefixCls:h,component:u,cellComponent:p,colSpan:g.length,isEmpty:!0},l);var y=E(g);return d.createElement(a,{className:"".concat(h,"-tbody")},r&&d.createElement(ee,{prefixCls:h,columnsKey:y,onColumnResize:f}),e)}),[t,h,i,r,o,n,m,l,g,c,f,s,v]);return d.createElement(Z.Provider,{value:y.current},d.createElement(j.Provider,{value:{startRow:C,endRow:S,onHover:L}},N))}var ne=d.memo(te);ne.displayName="Body";var re=ne,oe=n(73444),ie=["expandable"],ae="RC_TABLE_INTERNAL_COL_DEFINE";var se={},le=["children"],ce=["fixed"];function ue(e){return(0,oe.Z)(e).filter((function(e){return d.isValidElement(e)})).map((function(e){var t=e.key,n=e.props,r=n.children,o=(0,x.Z)(n,le),i=(0,c.Z)({key:t},o);return r&&(i.children=ue(r)),i}))}function de(e){return e.reduce((function(e,t){var n=t.fixed,r=!0===n?"left":n,o=t.children;return o&&o.length>0?[].concat((0,u.Z)(e),(0,u.Z)(de(o).map((function(e){return(0,c.Z)({fixed:r},e)})))):[].concat((0,u.Z)(e),[(0,c.Z)((0,c.Z)({},t),{},{fixed:r})])}),[])}var fe=function(e,t){var n=e.prefixCls,r=e.columns,i=e.children,a=e.expandable,s=e.expandedKeys,l=e.columnTitle,u=e.getRowKey,f=e.onTriggerExpand,p=e.expandIcon,h=e.rowExpandable,m=e.expandIconColumnIndex,g=e.direction,v=e.expandRowByClick,y=e.columnWidth,b=e.fixed,w=d.useMemo((function(){return r||ue(i)}),[r,i]),C=d.useMemo((function(){if(a){var e,t=w.slice();if(!t.includes(se)){var r=m||0;r>=0&&t.splice(r,0,se)}0;var i=t.indexOf(se);t=t.filter((function(e,t){return e!==se||t===i}));var c,g=w[i];c="left"!==b&&!b||m?"right"!==b&&!b||m!==w.length?g?g.fixed:null:"right":"left";var C=(e={},(0,o.Z)(e,ae,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,o.Z)(e,"title",l),(0,o.Z)(e,"fixed",c),(0,o.Z)(e,"className","".concat(n,"-row-expand-icon-cell")),(0,o.Z)(e,"width",y),(0,o.Z)(e,"render",(function(e,t,r){var o=u(t,r),i=s.has(o),a=!h||h(t),l=p({prefixCls:n,expanded:i,expandable:a,record:t,onExpand:f});return v?d.createElement("span",{onClick:function(e){return e.stopPropagation()}},l):l})),e);return t.map((function(e){return e===se?C:e}))}return w.filter((function(e){return e!==se}))}),[a,w,u,s,p,g]),k=d.useMemo((function(){var e=C;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e}),[t,C,g]),_=d.useMemo((function(){return"rtl"===g?function(e){return e.map((function(e){var t=e.fixed,n=(0,x.Z)(e,ce),r=t;return"left"===t?r="right":"right"===t&&(r="left"),(0,c.Z)({fixed:r},n)}))}(de(k)):de(k)}),[k,g]);return[k,_]};function pe(e){var t=(0,d.useRef)(e),n=(0,d.useState)({}),r=(0,a.Z)(n,2)[1],o=(0,d.useRef)(null),i=(0,d.useRef)([]);return(0,d.useEffect)((function(){return function(){o.current=null}}),[]),[t.current,function(e){i.current.push(e);var n=Promise.resolve();o.current=n,n.then((function(){if(o.current===n){var e=i.current,a=t.current;i.current=[],e.forEach((function(e){t.current=e(t.current)})),o.current=null,a!==t.current&&r({})}}))}]}var he=function(e,t,n){return(0,d.useMemo)((function(){for(var r=[],o=[],i=0,a=0,s=0;s<t;s+=1)if("rtl"===n){o[s]=a,a+=e[s]||0;var l=t-s-1;r[l]=i,i+=e[l]||0}else{r[s]=i,i+=e[s]||0;var c=t-s-1;o[c]=a,a+=e[c]||0}return{left:r,right:o}}),[e,t,n])},me=["columnType"];var ge=function(e){for(var t=e.colWidths,n=e.columns,r=[],o=!1,a=(e.columCount||n.length)-1;a>=0;a-=1){var s=t[a],l=n&&n[a],c=l&&l[ae];if(s||c||o){var u=c||{},f=(u.columnType,(0,x.Z)(u,me));r.unshift(d.createElement("col",(0,i.Z)({key:a,style:{width:s}},f))),o=!0}}return d.createElement("colgroup",null,r)};var ve=function(e){var t=e.className,n=e.children;return d.createElement("div",{className:t},n)},ye=d.createContext({});var be=["children"];function we(e){return e.children}we.Row=function(e){var t=e.children,n=(0,x.Z)(e,be);return d.createElement("tr",n,t)},we.Cell=function(e){var t=e.className,n=e.index,r=e.children,o=e.colSpan,a=void 0===o?1:o,s=e.rowSpan,l=e.align,c=d.useContext(F),u=c.prefixCls,f=c.direction,p=d.useContext(ye),h=p.scrollColumnIndex,m=p.stickyOffsets,g=n+a-1+1===h?a+1:a,v=V(n,n+g-1,p.flattenColumns,m,f);return d.createElement(B,(0,i.Z)({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:l,colSpan:g,rowSpan:s,render:function(){return r}},v))};var Ce=we;var xe=function(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,o=d.useContext(F).prefixCls,i=r.length-1,a=r[i],s=d.useMemo((function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:(null===a||void 0===a?void 0:a.scrollbar)?i:null}}),[a,r,i,n]);return d.createElement(ye.Provider,{value:s},d.createElement("tfoot",{className:"".concat(o,"-summary")},t))},ke=Ce;function _e(e){var t,n=e.prefixCls,r=e.record,i=e.onExpand,a=e.expanded,s=e.expandable,c="".concat(n,"-row-expand-icon");if(!s)return d.createElement("span",{className:l()(c,"".concat(n,"-row-spaced"))});return d.createElement("span",{className:l()(c,(t={},(0,o.Z)(t,"".concat(n,"-row-expanded"),a),(0,o.Z)(t,"".concat(n,"-row-collapsed"),!a),t)),onClick:function(e){i(r,e),e.stopPropagation()}})}var Se=n(13028),Ee=n(24995),Me=function(e,t){var n,r,i=e.scrollBodyRef,s=e.onScroll,u=e.offsetScroll,f=e.container,p=d.useContext(F).prefixCls,h=(null===(n=i.current)||void 0===n?void 0:n.scrollWidth)||0,m=(null===(r=i.current)||void 0===r?void 0:r.clientWidth)||0,g=h&&m*(m/h),v=d.useRef(),y=pe({scrollLeft:0,isHiddenScrollBar:!1}),w=(0,a.Z)(y,2),C=w[0],x=w[1],k=d.useRef({delta:0,x:0}),_=d.useState(!1),S=(0,a.Z)(_,2),E=S[0],M=S[1],L=function(){M(!1)},N=function(e){var t,n=(e||(null===(t=window)||void 0===t?void 0:t.event)).buttons;if(E&&0!==n){var r=k.current.x+e.pageX-k.current.x-k.current.delta;r<=0&&(r=0),r+g>=m&&(r=m-g),s({scrollLeft:r/m*(h+2)}),k.current.x=e.pageX}else E&&M(!1)},O=function(){if(i.current){var e=(0,Ee.os)(i.current).top,t=e+i.current.offsetHeight,n=f===window?document.documentElement.scrollTop+window.innerHeight:(0,Ee.os)(f).top+f.clientHeight;t-(0,b.Z)()<=n||e>=n-u?x((function(e){return(0,c.Z)((0,c.Z)({},e),{},{isHiddenScrollBar:!0})})):x((function(e){return(0,c.Z)((0,c.Z)({},e),{},{isHiddenScrollBar:!1})}))}},A=function(e){x((function(t){return(0,c.Z)((0,c.Z)({},t),{},{scrollLeft:e/h*m||0})}))};return d.useImperativeHandle(t,(function(){return{setScrollLeft:A}})),d.useEffect((function(){var e=(0,Se.Z)(document.body,"mouseup",L,!1),t=(0,Se.Z)(document.body,"mousemove",N,!1);return O(),function(){e.remove(),t.remove()}}),[g,E]),d.useEffect((function(){var e=(0,Se.Z)(f,"scroll",O,!1),t=(0,Se.Z)(window,"resize",O,!1);return function(){e.remove(),t.remove()}}),[f]),d.useEffect((function(){C.isHiddenScrollBar||x((function(e){var t=i.current;return t?(0,c.Z)((0,c.Z)({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e}))}),[C.isHiddenScrollBar]),h<=m||!g||C.isHiddenScrollBar?null:d.createElement("div",{style:{height:(0,b.Z)(),width:m,bottom:u},className:"".concat(p,"-sticky-scroll")},d.createElement("div",{onMouseDown:function(e){e.persist(),k.current.delta=e.pageX-C.scrollLeft,k.current.x=0,M(!0),e.preventDefault()},ref:v,className:l()("".concat(p,"-sticky-scroll-bar"),(0,o.Z)({},"".concat(p,"-sticky-scroll-bar-active"),E)),style:{width:"".concat(g,"px"),transform:"translate3d(".concat(C.scrollLeft,"px, 0, 0)")}}))},Le=d.forwardRef(Me),Ne=(0,n(91469).Z)()?window:null;var Oe=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];var Ae=d.forwardRef((function(e,t){var n=e.className,r=e.noData,i=e.columns,a=e.flattenColumns,s=e.colWidths,f=e.columCount,p=e.stickyOffsets,h=e.direction,m=e.fixHeader,g=e.stickyTopOffset,v=e.stickyBottomOffset,y=e.stickyClassName,b=e.onScroll,w=e.maxContentScroll,C=e.children,_=(0,x.Z)(e,Oe),S=d.useContext(F),E=S.prefixCls,M=S.scrollbarSize,L=S.isSticky,N=L&&!m?0:M,O=d.useRef(null),A=d.useCallback((function(e){(0,k.mH)(t,e),(0,k.mH)(O,e)}),[]);d.useEffect((function(){var e;function t(e){var t=e.currentTarget,n=e.deltaX;n&&(b({currentTarget:t,scrollLeft:t.scrollLeft+n}),e.preventDefault())}return null===(e=O.current)||void 0===e||e.addEventListener("wheel",t),function(){var e;null===(e=O.current)||void 0===e||e.removeEventListener("wheel",t)}}),[]);var j=d.useMemo((function(){return a.every((function(e){return e.width>=0}))}),[a]),T=a[a.length-1],Z={fixed:T?T.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(E,"-cell-scrollbar")}}},P=(0,d.useMemo)((function(){return N?[].concat((0,u.Z)(i),[Z]):i}),[N,i]),R=(0,d.useMemo)((function(){return N?[].concat((0,u.Z)(a),[Z]):a}),[N,a]),I=(0,d.useMemo)((function(){var e=p.right,t=p.left;return(0,c.Z)((0,c.Z)({},p),{},{left:"rtl"===h?[].concat((0,u.Z)(t.map((function(e){return e+N}))),[0]):t,right:"rtl"===h?e:[].concat((0,u.Z)(e.map((function(e){return e+N}))),[0]),isSticky:L})}),[N,p,L]),D=function(e,t){return(0,d.useMemo)((function(){for(var n=[],r=0;r<t;r+=1){var o=e[r];if(void 0===o)return null;n[r]=o}return n}),[e.join("_"),t])}(s,f);return d.createElement("div",{style:(0,c.Z)({overflow:"hidden"},L?{top:g,bottom:v}:{}),ref:A,className:l()(n,(0,o.Z)({},y,!!y))},d.createElement("table",{style:{tableLayout:"fixed",visibility:r||D?null:"hidden"}},(!r||!w||j)&&d.createElement(ge,{colWidths:D?[].concat((0,u.Z)(D),[N]):[],columCount:f+1,columns:R}),C((0,c.Z)((0,c.Z)({},_),{},{stickyOffsets:I,columns:P,flattenColumns:R}))))}));Ae.displayName="FixedHolder";var je=Ae,Te=[],Ze={},Pe="rc-table-internal-hook",Re=d.memo((function(e){return e.children}),(function(e,t){return!!g()(e.props,t.props)&&(e.pingLeft!==t.pingLeft||e.pingRight!==t.pingRight)}));function Ie(e){var t,n=e.prefixCls,s=e.className,m=e.rowClassName,g=e.style,w=e.data,C=e.rowKey,k=e.scroll,_=e.tableLayout,N=e.direction,O=e.title,A=e.footer,j=e.summary,Z=e.id,P=e.showHeader,R=e.components,I=e.emptyText,D=e.onRow,z=e.onHeaderRow,H=e.internalHooks,B=e.transformColumns,q=e.internalRefs,U=e.sticky,K=w||Te,Y=!!K.length;var J=d.useCallback((function(e,t){return S(R||{},e)||t}),[R]),X=d.useMemo((function(){return"function"===typeof C?C:function(e){return e&&e[C]}}),[C]),Q=function(e){var t,n=e.expandable,r=(0,x.Z)(e,ie);return!1===(t="expandable"in e?(0,c.Z)((0,c.Z)({},r),n):r).showExpandColumn&&(t.expandIconColumnIndex=-1),t}(e),ee=Q.expandIcon,te=Q.expandedRowKeys,ne=Q.defaultExpandedRowKeys,oe=Q.defaultExpandAllRows,ae=Q.expandedRowRender,se=Q.columnTitle,le=Q.onExpand,ce=Q.onExpandedRowsChange,ue=Q.expandRowByClick,de=Q.rowExpandable,me=Q.expandIconColumnIndex,ye=Q.expandedRowClassName,be=Q.childrenColumnName,we=Q.indentSize,ke=ee||_e,Se=be||"children",Ee=d.useMemo((function(){return ae?"row":!!(e.expandable&&H===Pe&&e.expandable.__PARENT_RENDER_ICON__||K.some((function(e){return e&&"object"===(0,r.Z)(e)&&e[Se]})))&&"nest"}),[!!ae,K]),Me=d.useState((function(){return ne||(oe?function(e,t,n){var r=[];return function e(o){(o||[]).forEach((function(o,i){r.push(t(o,i)),e(o[n])}))}(e),r}(K,X,Se):[])})),Oe=(0,a.Z)(Me,2),Ae=Oe[0],Ie=Oe[1],De=d.useMemo((function(){return new Set(te||Ae||[])}),[te,Ae]),ze=d.useCallback((function(e){var t,n=X(e,K.indexOf(e)),r=De.has(n);r?(De.delete(n),t=(0,u.Z)(De)):t=[].concat((0,u.Z)(De),[n]),Ie(t),le&&le(!r,e),ce&&ce(t)}),[X,De,K,le,ce]);var He,Be,Fe,Ve=d.useState(0),qe=(0,a.Z)(Ve,2),Ue=qe[0],$e=qe[1],We=fe((0,c.Z)((0,c.Z)((0,c.Z)({},e),Q),{},{expandable:!!ae,columnTitle:se,expandedKeys:De,getRowKey:X,onTriggerExpand:ze,expandIcon:ke,expandIconColumnIndex:me,direction:N}),H===Pe?B:null),Ke=(0,a.Z)(We,2),Ge=Ke[0],Ye=Ke[1],Je=d.useMemo((function(){return{columns:Ge,flattenColumns:Ye}}),[Ge,Ye]),Xe=d.useRef(),Qe=d.useRef(),et=d.useRef(),tt=d.useRef(),nt=d.useRef(),rt=d.useState(!1),ot=(0,a.Z)(rt,2),it=ot[0],at=ot[1],st=d.useState(!1),lt=(0,a.Z)(st,2),ct=lt[0],ut=lt[1],dt=pe(new Map),ft=(0,a.Z)(dt,2),pt=ft[0],ht=ft[1],mt=E(Ye).map((function(e){return pt.get(e)})),gt=d.useMemo((function(){return mt}),[mt.join("_")]),vt=he(gt,Ye.length,N),yt=k&&M(k.y),bt=k&&M(k.x)||Boolean(Q.fixed),wt=bt&&Ye.some((function(e){return e.fixed})),Ct=d.useRef(),xt=function(e,t){var n="object"===(0,r.Z)(e)?e:{},o=n.offsetHeader,i=void 0===o?0:o,a=n.offsetSummary,s=void 0===a?0:a,l=n.offsetScroll,c=void 0===l?0:l,u=n.getContainer,f=(void 0===u?function(){return Ne}:u)()||Ne;return d.useMemo((function(){var n=!!e;return{isSticky:n,stickyClassName:n?"".concat(t,"-sticky-holder"):"",offsetHeader:i,offsetSummary:s,offsetScroll:c,container:f}}),[c,i,s,t,f])}(U,n),kt=xt.isSticky,_t=xt.offsetHeader,St=xt.offsetSummary,Et=xt.offsetScroll,Mt=xt.stickyClassName,Lt=xt.container,Nt=null===j||void 0===j?void 0:j(K),Ot=(yt||kt)&&d.isValidElement(Nt)&&Nt.type===Ce&&Nt.props.fixed;yt&&(Be={overflowY:"scroll",maxHeight:k.y}),bt&&(He={overflowX:"auto"},yt||(Be={overflowY:"hidden"}),Fe={width:!0===(null===k||void 0===k?void 0:k.x)?"auto":null===k||void 0===k?void 0:k.x,minWidth:"100%"});var At=d.useCallback((function(e,t){(0,f.Z)(Xe.current)&&ht((function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n}))}),[]),jt=function(e){var t=(0,d.useRef)(e||null),n=(0,d.useRef)();function r(){window.clearTimeout(n.current)}return(0,d.useEffect)((function(){return r}),[]),[function(e){t.current=e,r(),n.current=window.setTimeout((function(){t.current=null,n.current=void 0}),100)},function(){return t.current}]}(null),Tt=(0,a.Z)(jt,2),Zt=Tt[0],Pt=Tt[1];function Rt(e,t){t&&("function"===typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e))}var It=function(e){var t,n=e.currentTarget,r=e.scrollLeft,o="rtl"===N,i="number"===typeof r?r:n.scrollLeft,a=n||Ze;Pt()&&Pt()!==a||(Zt(a),Rt(i,Qe.current),Rt(i,et.current),Rt(i,nt.current),Rt(i,null===(t=Ct.current)||void 0===t?void 0:t.setScrollLeft));if(n){var s=n.scrollWidth,l=n.clientWidth;if(s===l)return at(!1),void ut(!1);o?(at(-i<s-l),ut(-i>0)):(at(i>0),ut(i<s-l))}},Dt=function(){bt&&et.current?It({currentTarget:et.current}):(at(!1),ut(!1))},zt=d.useRef(!1);d.useEffect((function(){zt.current&&Dt()}),[bt,w,Ge.length]),d.useEffect((function(){zt.current=!0}),[]);var Ht=d.useState(0),Bt=(0,a.Z)(Ht,2),Ft=Bt[0],Vt=Bt[1],qt=d.useState(!0),Ut=(0,a.Z)(qt,2),$t=Ut[0],Wt=Ut[1];d.useEffect((function(){et.current instanceof Element?Vt((0,b.o)(et.current).width):Vt((0,b.o)(tt.current).width),Wt((0,h.G)("position","sticky"))}),[]),d.useEffect((function(){H===Pe&&q&&(q.body.current=et.current)}));var Kt,Gt=J(["table"],"table"),Yt=d.useMemo((function(){return _||(wt?"max-content"===(null===k||void 0===k?void 0:k.x)?"auto":"fixed":yt||kt||Ye.some((function(e){return e.ellipsis}))?"fixed":"auto")}),[yt,wt,Ye,_,kt]),Jt={colWidths:gt,columCount:Ye.length,stickyOffsets:vt,onHeaderRow:z,fixHeader:yt,scroll:k},Xt=d.useMemo((function(){return Y?null:"function"===typeof I?I():I}),[Y,I]),Qt=d.createElement(re,{data:K,measureColumnWidth:yt||bt||kt,expandedKeys:De,rowExpandable:de,getRowKey:X,onRow:D,emptyNode:Xt,childrenColumnName:Se}),en=d.createElement(ge,{colWidths:Ye.map((function(e){return e.width})),columns:Ye}),tn=J(["body"]);if(yt||kt){var nn;"function"===typeof tn?(nn=tn(K,{scrollbarSize:Ft,ref:et,onScroll:It}),Jt.colWidths=Ye.map((function(e,t){var n=e.width,r=t===Ge.length-1?n-Ft:n;return"number"!==typeof r||Number.isNaN(r)?((0,v.ZP)(!1,"When use `components.body` with render props. Each column should have a fixed `width` value."),0):r}))):nn=d.createElement("div",{style:(0,c.Z)((0,c.Z)({},He),Be),onScroll:It,ref:et,className:l()("".concat(n,"-body"))},d.createElement(Gt,{style:(0,c.Z)((0,c.Z)({},Fe),{},{tableLayout:Yt})},en,Qt,!Ot&&Nt&&d.createElement(xe,{stickyOffsets:vt,flattenColumns:Ye},Nt)));var rn=(0,c.Z)((0,c.Z)((0,c.Z)({noData:!K.length,maxContentScroll:bt&&"max-content"===k.x},Jt),Je),{},{direction:N,stickyClassName:Mt,onScroll:It});Kt=d.createElement(d.Fragment,null,!1!==P&&d.createElement(je,(0,i.Z)({},rn,{stickyTopOffset:_t,className:"".concat(n,"-header"),ref:Qe}),(function(e){return d.createElement(d.Fragment,null,d.createElement($,e),"top"===Ot&&d.createElement(xe,e,Nt))})),nn,Ot&&"top"!==Ot&&d.createElement(je,(0,i.Z)({},rn,{stickyBottomOffset:St,className:"".concat(n,"-summary"),ref:nt}),(function(e){return d.createElement(xe,e,Nt)})),kt&&d.createElement(Le,{ref:Ct,offsetScroll:Et,scrollBodyRef:et,onScroll:It,container:Lt}))}else Kt=d.createElement("div",{style:(0,c.Z)((0,c.Z)({},He),Be),className:l()("".concat(n,"-content")),onScroll:It,ref:et},d.createElement(Gt,{style:(0,c.Z)((0,c.Z)({},Fe),{},{tableLayout:Yt})},en,!1!==P&&d.createElement($,(0,i.Z)({},Jt,Je)),Qt,Nt&&d.createElement(xe,{stickyOffsets:vt,flattenColumns:Ye},Nt)));var on=(0,p.Z)(e,{aria:!0,data:!0}),an=d.createElement("div",(0,i.Z)({className:l()(n,s,(t={},(0,o.Z)(t,"".concat(n,"-rtl"),"rtl"===N),(0,o.Z)(t,"".concat(n,"-ping-left"),it),(0,o.Z)(t,"".concat(n,"-ping-right"),ct),(0,o.Z)(t,"".concat(n,"-layout-fixed"),"fixed"===_),(0,o.Z)(t,"".concat(n,"-fixed-header"),yt),(0,o.Z)(t,"".concat(n,"-fixed-column"),wt),(0,o.Z)(t,"".concat(n,"-scroll-horizontal"),bt),(0,o.Z)(t,"".concat(n,"-has-fix-left"),Ye[0]&&Ye[0].fixed),(0,o.Z)(t,"".concat(n,"-has-fix-right"),Ye[Ye.length-1]&&"right"===Ye[Ye.length-1].fixed),t)),style:g,id:Z,ref:Xe},on),d.createElement(Re,{pingLeft:it,pingRight:ct,props:(0,c.Z)((0,c.Z)({},e),{},{stickyOffsets:vt,mergedExpandedKeys:De})},O&&d.createElement(ve,{className:"".concat(n,"-title")},O(K)),d.createElement("div",{ref:tt,className:"".concat(n,"-container")},Kt),A&&d.createElement(ve,{className:"".concat(n,"-footer")},A(K))));bt&&(an=d.createElement(y.default,{onResize:function(e){var t=e.width;t!==Ue&&(Dt(),$e(Xe.current?Xe.current.offsetWidth:t))}},an));var sn=d.useMemo((function(){return{prefixCls:n,getComponent:J,scrollbarSize:Ft,direction:N,fixedInfoList:Ye.map((function(e,t){return V(t,t,Ye,vt,N)})),isSticky:kt}}),[n,J,Ft,N,Ye,vt,kt]),ln=d.useMemo((function(){return(0,c.Z)((0,c.Z)({},Je),{},{tableLayout:Yt,rowClassName:m,expandedRowClassName:ye,expandIcon:ke,expandableType:Ee,expandRowByClick:ue,expandedRowRender:ae,onTriggerExpand:ze,expandIconColumnIndex:me,indentSize:we,allColumnsFixedLeft:Je.flattenColumns.every((function(e){return"left"===e.fixed}))})}),[Je,Yt,m,ye,ke,Ee,ue,ae,ze,me,we]),cn=d.useMemo((function(){return{componentWidth:Ue,fixHeader:yt,fixColumn:wt,horizonScroll:bt}}),[Ue,yt,wt,bt]),un=d.useMemo((function(){return{onColumnResize:At}}),[At]);return d.createElement(L.Provider,{value:$t},d.createElement(F.Provider,{value:sn},d.createElement(T.Provider,{value:ln},d.createElement(W.Provider,{value:cn},d.createElement(G.Provider,{value:un},an)))))}Ie.EXPAND_COLUMN=se,Ie.Column=C,Ie.ColumnGroup=w,Ie.Summary=ke,Ie.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var De=Ie,ze=n(90123),He=n(65205),Be=n(27983),Fe=n(2344),Ve=n(89786),qe=n(10495),Ue=n(97664),$e=n(28685),We=n(23109);var Ke=function(e){return null};var Ge=function(e){return null};var Ye=function(e){return function(t){var n,r=t.prefixCls,i=t.onExpand,a=t.record,s=t.expanded,c=t.expandable,u="".concat(r,"-row-expand-icon");return d.createElement("button",{type:"button",onClick:function(e){i(a,e),e.stopPropagation()},className:l()(u,(n={},(0,o.Z)(n,"".concat(u,"-spaced"),!c),(0,o.Z)(n,"".concat(u,"-expanded"),c&&s),(0,o.Z)(n,"".concat(u,"-collapsed"),c&&!s),n)),"aria-label":s?e.collapse:e.expand,"aria-expanded":s})}};function Je(e,t){return"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function Xe(e,t){return t?"".concat(t,"-").concat(e):"".concat(e)}function Qe(e,t){return"function"===typeof e?e(t):e}var et={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},tt=n(86383),nt=function(e,t){return d.createElement(tt.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:t,icon:et}))};var rt=d.forwardRef(nt),ot=n(31223),it=n.n(ot),at=n(78681),st=n(64388),lt=n(58463),ct=n(53102),ut=n(1243),dt=n(69705),ft=n(17978),pt=n(45557),ht=n(2945);var mt=n(4261),gt=n(89553),vt=function(e){var t=e.value,n=e.onChange,r=e.filterSearch,o=e.tablePrefixCls,i=e.locale;return r?d.createElement("div",{className:"".concat(o,"-filter-dropdown-search")},d.createElement(gt.Z,{prefix:d.createElement(mt.Z,null),placeholder:i.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,className:"".concat(o,"-filter-dropdown-search-input")})):null},yt=function(e){return d.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function bt(e,t){return("string"===typeof t||"number"===typeof t)&&(null===t||void 0===t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}function wt(e){var t=e.filters,n=e.prefixCls,r=e.filteredKeys,o=e.filterMultiple,i=e.searchValue,a=e.filterSearch;return t.map((function(e,t){var s=String(e.value);if(e.children)return{key:s||t,label:e.text,popupClassName:"".concat(n,"-dropdown-submenu"),children:wt({filters:e.children,prefixCls:n,filteredKeys:r,filterMultiple:o,searchValue:i,filterSearch:a})};var l=o?st.Z:ft.ZP,c={key:void 0!==e.value?s:t,label:d.createElement(d.Fragment,null,d.createElement(l,{checked:r.includes(s)}),d.createElement("span",null,e.text))};return i.trim()?"function"===typeof a?a(i,e)?c:null:bt(i,e.text)?c:null:c}))}var Ct=function(e){var t,n,r=e.tablePrefixCls,i=e.prefixCls,s=e.column,c=e.dropdownPrefixCls,u=e.columnKey,f=e.filterMultiple,p=e.filterMode,h=void 0===p?"menu":p,m=e.filterSearch,g=void 0!==m&&m,v=e.filterState,y=e.triggerFilter,b=e.locale,w=e.children,C=e.getPopupContainer,x=s.filterDropdownOpen,k=s.onFilterDropdownOpenChange,_=s.filterDropdownVisible,S=s.onFilterDropdownVisibleChange,E=s.filterResetToDefaultFilteredValue,M=s.defaultFilteredValue,L=d.useState(!1),N=(0,a.Z)(L,2),O=N[0],A=N[1],j=!(!v||!(null===(t=v.filteredKeys)||void 0===t?void 0:t.length)&&!v.forceFiltered),T=function(e){A(e),null===k||void 0===k||k(e),null===S||void 0===S||S(e)};n="boolean"===typeof x?x:"boolean"===typeof _?_:O;var Z=null===v||void 0===v?void 0:v.filteredKeys,P=function(e){var t=d.useRef(e),n=(0,ht.Z)();return[function(){return t.current},function(e){t.current=e,n()}]}(Z||[]),R=(0,a.Z)(P,2),I=R[0],D=R[1],z=function(e){var t=e.selectedKeys;D(t)},H=function(e,t){var n=t.node,r=t.checked;z(f?{selectedKeys:e}:{selectedKeys:r&&n.key?[n.key]:[]})};d.useEffect((function(){O&&z({selectedKeys:Z||[]})}),[Z]);var B=d.useState([]),F=(0,a.Z)(B,2),V=F[0],q=F[1],U=function(e){q(e)},$=d.useState(""),W=(0,a.Z)($,2),K=W[0],G=W[1],Y=function(e){var t=e.target.value;G(t)};d.useEffect((function(){O||G("")}),[O]);var J,X=function(e){var t=e&&e.length?e:null;return null!==t||v&&v.filteredKeys?it()(t,null===v||void 0===v?void 0:v.filteredKeys)?null:void y({column:s,key:u,filteredKeys:t}):null},Q=function(){T(!1),X(I())},ee=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},t=e.confirm,n=e.closeDropdown;t&&X([]),n&&T(!1),G(""),D(E?(M||[]).map((function(e){return String(e)})):[])},te=l()((0,o.Z)({},"".concat(c,"-menu-without-submenu"),!(s.filters||[]).some((function(e){return e.children})))),ne=function(e){if(e.target.checked){var t=_t(null===s||void 0===s?void 0:s.filters).map((function(e){return String(e)}));D(t)}else D([])},re=function e(t){return(t.filters||[]).map((function(t,n){var r=String(t.value),o={title:t.text,key:void 0!==t.value?r:n};return t.children&&(o.children=e({filters:t.children})),o}))};if("function"===typeof s.filterDropdown)J=s.filterDropdown({prefixCls:"".concat(c,"-custom"),setSelectedKeys:function(e){return z({selectedKeys:e})},selectedKeys:I(),confirm:function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0}).closeDropdown&&T(!1),X(I())},clearFilters:ee,filters:s.filters,visible:n});else if(s.filterDropdown)J=s.filterDropdown;else{var oe=I()||[];J=d.createElement(d.Fragment,null,0===(s.filters||[]).length?d.createElement(ct.Z,{image:ct.Z.PRESENTED_IMAGE_SIMPLE,description:b.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===h?d.createElement(d.Fragment,null,d.createElement(vt,{filterSearch:g,value:K,onChange:Y,tablePrefixCls:r,locale:b}),d.createElement("div",{className:"".concat(r,"-filter-dropdown-tree")},f?d.createElement(st.Z,{checked:oe.length===_t(s.filters).length,indeterminate:oe.length>0&&oe.length<_t(s.filters).length,className:"".concat(r,"-filter-dropdown-checkall"),onChange:ne},b.filterCheckall):null,d.createElement(pt.Z,{checkable:!0,selectable:!1,blockNode:!0,multiple:f,checkStrictly:!f,className:"".concat(c,"-menu"),onCheck:H,checkedKeys:oe,selectedKeys:oe,showIcon:!1,treeData:re({filters:s.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:K.trim()?function(e){return"function"===typeof g?g(K,e):bt(K,e.title)}:void 0}))):d.createElement(d.Fragment,null,d.createElement(vt,{filterSearch:g,value:K,onChange:Y,tablePrefixCls:r,locale:b}),d.createElement(ut.Z,{selectable:!0,multiple:f,prefixCls:"".concat(c,"-menu"),className:te,onSelect:z,onDeselect:z,selectedKeys:oe,getPopupContainer:C,openKeys:V,onOpenChange:U,items:wt({filters:s.filters||[],filterSearch:g,prefixCls:i,filteredKeys:I(),filterMultiple:f,searchValue:K})})),d.createElement("div",{className:"".concat(i,"-dropdown-btns")},d.createElement(at.Z,{type:"link",size:"small",disabled:E?it()((M||[]).map((function(e){return String(e)})),oe):0===oe.length,onClick:function(){return ee()}},b.filterReset),d.createElement(at.Z,{type:"primary",size:"small",onClick:Q},b.filterConfirm)))}s.filterDropdown&&(J=d.createElement(dt.J,{selectable:void 0},J));var ie,ae=d.createElement(yt,{className:"".concat(i,"-dropdown")},J);ie="function"===typeof s.filterIcon?s.filterIcon(j):s.filterIcon?s.filterIcon:d.createElement(rt,null);var se=d.useContext(He.E_).direction;return d.createElement("div",{className:"".concat(i,"-column")},d.createElement("span",{className:"".concat(r,"-column-title")},w),d.createElement(lt.Z,{overlay:ae,trigger:["click"],open:n,onOpenChange:function(e){e&&void 0!==Z&&D(Z||[]),T(e),e||s.filterDropdown||Q()},getPopupContainer:C,placement:"rtl"===se?"bottomLeft":"bottomRight"},d.createElement("span",{role:"button",tabIndex:-1,className:l()("".concat(i,"-trigger"),{active:j}),onClick:function(e){e.stopPropagation()}},ie)))};function xt(e,t,n){var r=[];return(e||[]).forEach((function(e,o){var i,a=Xe(o,n);if(e.filters||"filterDropdown"in e||"onFilter"in e)if("filteredValue"in e){var s=e.filteredValue;"filterDropdown"in e||(s=null!==(i=null===s||void 0===s?void 0:s.map(String))&&void 0!==i?i:s),r.push({column:e,key:Je(e,a),filteredKeys:s,forceFiltered:e.filtered})}else r.push({column:e,key:Je(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});"children"in e&&(r=[].concat((0,u.Z)(r),(0,u.Z)(xt(e.children,t,a))))})),r}function kt(e,t,n,r,o,a,s,l){return n.map((function(n,c){var u=Xe(c,l),f=n.filterMultiple,p=void 0===f||f,h=n.filterMode,m=n.filterSearch,g=n;if(g.filters||g.filterDropdown){var v=Je(g,u),y=r.find((function(e){var t=e.key;return v===t}));g=(0,i.Z)((0,i.Z)({},g),{title:function(r){return d.createElement(Ct,{tablePrefixCls:e,prefixCls:"".concat(e,"-filter"),dropdownPrefixCls:t,column:g,columnKey:v,filterState:y,filterMultiple:p,filterMode:h,filterSearch:m,triggerFilter:o,locale:s,getPopupContainer:a},Qe(n.title,r))}})}return"children"in g&&(g=(0,i.Z)((0,i.Z)({},g),{children:kt(e,t,g.children,r,o,a,s,u)})),g}))}function _t(e){var t=[];return(e||[]).forEach((function(e){var n=e.value,r=e.children;t.push(n),r&&(t=[].concat((0,u.Z)(t),(0,u.Z)(_t(r))))})),t}function St(e){var t={};return e.forEach((function(e){var n=e.key,r=e.filteredKeys,o=e.column,i=o.filters;if(o.filterDropdown)t[n]=r||null;else if(Array.isArray(r)){var a=_t(i);t[n]=a.filter((function(e){return r.includes(String(e))}))}else t[n]=null})),t}function Et(e,t){return t.reduce((function(e,t){var n=t.column,r=n.onFilter,o=n.filters,i=t.filteredKeys;return r&&i&&i.length?e.filter((function(e){return i.some((function(t){var n=_t(o),i=n.findIndex((function(e){return String(e)===String(t)})),a=-1!==i?n[i]:t;return r(a,e)}))})):e}),e)}var Mt=function(e){var t=e.prefixCls,n=e.dropdownPrefixCls,r=e.mergedColumns,o=e.onFilterChange,i=e.getPopupContainer,s=e.locale,l=d.useState(xt(r,!0)),c=(0,a.Z)(l,2),u=c[0],f=c[1],p=d.useMemo((function(){var e=xt(r,!1),t=!0;return e.forEach((function(e){void 0!==e.filteredKeys?t=!1:!1})),t?u:e}),[r,u]),h=d.useCallback((function(){return St(p)}),[p]),m=function(e){var t=p.filter((function(t){return t.key!==e.key}));t.push(e),f(t),o(St(t),t)};return[function(e){return kt(t,n,e,p,m,i,s)},p,h]};var Lt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Nt(e,t,n){var o=t&&"object"===(0,r.Z)(t)?t:{},s=o.total,l=void 0===s?0:s,c=Lt(o,["total"]),u=(0,d.useState)((function(){return{current:"defaultCurrent"in c?c.defaultCurrent:1,pageSize:"defaultPageSize"in c?c.defaultPageSize:10}})),f=(0,a.Z)(u,2),p=f[0],h=f[1],m=function(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){t&&Object.keys(t).forEach((function(n){var r=t[n];void 0!==r&&(e[n]=r)}))})),e}(p,c,{total:l>0?l:e}),g=Math.ceil((l||e)/m.pageSize);m.current>g&&(m.current=g||1);var v=function(e,t){h({current:null!==e&&void 0!==e?e:1,pageSize:t||m.pageSize})};return!1===t?[{},function(){}]:[(0,i.Z)((0,i.Z)({},m),{onChange:function(e,r){var o;t&&(null===(o=t.onChange)||void 0===o||o.call(t,e,r)),v(e,r),n(e,r||(null===m||void 0===m?void 0:m.pageSize))}}),v]}var Ot=n(24769),At=n(26730),jt=n(33492),Tt=n(80085),Zt=n(16318),Pt=n(5481),Rt={},It="SELECT_ALL",Dt="SELECT_INVERT",zt="SELECT_NONE",Ht=[];function Bt(e,t){var n=[];return(e||[]).forEach((function(e){n.push(e),e&&"object"===(0,r.Z)(e)&&t in e&&(n=[].concat((0,u.Z)(n),(0,u.Z)(Bt(e[t],t))))})),n}function Ft(e,t){var n=e||{},r=n.preserveSelectedRowKeys,s=n.selectedRowKeys,l=n.defaultSelectedRowKeys,c=n.getCheckboxProps,f=n.onChange,p=n.onSelect,h=n.onSelectAll,m=n.onSelectInvert,g=n.onSelectNone,v=n.onSelectMultiple,y=n.columnWidth,b=n.type,w=n.selections,C=n.fixed,x=n.renderCell,k=n.hideSelectAll,_=n.checkStrictly,S=void 0===_||_,E=t.prefixCls,M=t.data,L=t.pageData,N=t.getRecordByKey,O=t.getRowKey,A=t.expandType,j=t.childrenColumnName,T=t.locale,Z=t.getPopupContainer,P=(0,Pt.Z)(s||l||Ht,{value:s}),R=(0,a.Z)(P,2),I=R[0],D=R[1],z=d.useRef(new Map),H=(0,d.useCallback)((function(e){if(r){var t=new Map;e.forEach((function(e){var n=N(e);!n&&z.current.has(e)&&(n=z.current.get(e)),t.set(e,n)})),z.current=t}}),[N,r]);d.useEffect((function(){H(I)}),[I]);var B=(0,d.useMemo)((function(){return S?{keyEntities:null}:(0,Zt.I8)(M,{externalGetKey:O,childrenPropName:j})}),[M,O,S,j]).keyEntities,F=(0,d.useMemo)((function(){return Bt(L,j)}),[L,j]),V=(0,d.useMemo)((function(){var e=new Map;return F.forEach((function(t,n){var r=O(t,n),o=(c?c(t):null)||{};e.set(r,o)})),e}),[F,O,c]),q=(0,d.useCallback)((function(e){var t;return!!(null===(t=V.get(O(e)))||void 0===t?void 0:t.disabled)}),[V,O]),U=(0,d.useMemo)((function(){if(S)return[I||[],[]];var e=(0,Tt.S)(I,!0,B,q);return[e.checkedKeys||[],e.halfCheckedKeys]}),[I,S,B,q]),$=(0,a.Z)(U,2),W=$[0],K=$[1],G=(0,d.useMemo)((function(){var e="radio"===b?W.slice(0,1):W;return new Set(e)}),[W,b]),Y=(0,d.useMemo)((function(){return"radio"===b?new Set:new Set(K)}),[K,b]),J=(0,d.useState)(null),X=(0,a.Z)(J,2),Q=X[0],ee=X[1];d.useEffect((function(){e||D(Ht)}),[!!e]);var te=(0,d.useCallback)((function(e,t){var n,o;H(e),r?(n=e,o=e.map((function(e){return z.current.get(e)}))):(n=[],o=[],e.forEach((function(e){var t=N(e);void 0!==t&&(n.push(e),o.push(t))}))),D(n),null===f||void 0===f||f(n,o,{type:t})}),[D,N,f,r]),ne=(0,d.useCallback)((function(e,t,n,r){if(p){var o=n.map((function(e){return N(e)}));p(N(e),t,o,r)}te(n,"single")}),[p,N,te]),re=(0,d.useMemo)((function(){return!w||k?null:(!0===w?[It,Dt,zt]:w).map((function(e){return e===It?{key:"all",text:T.selectionAll,onSelect:function(){te(M.map((function(e,t){return O(e,t)})).filter((function(e){var t=V.get(e);return!(null===t||void 0===t?void 0:t.disabled)||G.has(e)})),"all")}}:e===Dt?{key:"invert",text:T.selectInvert,onSelect:function(){var e=new Set(G);L.forEach((function(t,n){var r=O(t,n),o=V.get(r);(null===o||void 0===o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))}));var t=Array.from(e);m&&m(t),te(t,"invert")}}:e===zt?{key:"none",text:T.selectNone,onSelect:function(){null===g||void 0===g||g(),te(Array.from(G).filter((function(e){var t=V.get(e);return null===t||void 0===t?void 0:t.disabled})),"none")}}:e})).map((function(e){return(0,i.Z)((0,i.Z)({},e),{onSelect:function(){for(var t,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];null===(n=e.onSelect)||void 0===n||(t=n).call.apply(t,[e].concat(o)),ee(null)}})}))}),[w,G,L,O,m,te]);return[(0,d.useCallback)((function(t){var n;if(!e)return t.filter((function(e){return e!==Rt}));var r,a,s=(0,u.Z)(t),l=new Set(G),c=F.map(O).filter((function(e){return!V.get(e).disabled})),f=c.every((function(e){return l.has(e)})),p=c.some((function(e){return l.has(e)}));if("radio"!==b){var m;if(re){var g=d.createElement(ut.Z,{getPopupContainer:Z,items:re.map((function(e,t){var n=e.key,r=e.text,o=e.onSelect;return{key:n||t,onClick:function(){null===o||void 0===o||o(c)},label:r}}))});m=d.createElement("div",{className:"".concat(E,"-selection-extra")},d.createElement(lt.Z,{overlay:g,getPopupContainer:Z},d.createElement("span",null,d.createElement(At.Z,null))))}var w=F.map((function(e,t){var n=O(e,t),r=V.get(n)||{};return(0,i.Z)({checked:l.has(n)},r)})).filter((function(e){return e.disabled})),_=!!w.length&&w.length===F.length,M=_&&w.every((function(e){return e.checked})),L=_&&w.some((function(e){return e.checked}));r=!k&&d.createElement("div",{className:"".concat(E,"-selection")},d.createElement(st.Z,{checked:_?M:!!F.length&&f,indeterminate:_?!M&&L:!f&&p,onChange:function(){var e=[];f?c.forEach((function(t){l.delete(t),e.push(t)})):c.forEach((function(t){l.has(t)||(l.add(t),e.push(t))}));var t=Array.from(l);null===h||void 0===h||h(!f,t.map((function(e){return N(e)})),e.map((function(e){return N(e)}))),te(t,"all"),ee(null)},disabled:0===F.length||_,skipGroup:!0}),m)}a="radio"===b?function(e,t,n){var r=O(t,n),o=l.has(r);return{node:d.createElement(ft.ZP,(0,i.Z)({},V.get(r),{checked:o,onClick:function(e){return e.stopPropagation()},onChange:function(e){l.has(r)||ne(r,!0,[r],e.nativeEvent)}})),checked:o}}:function(e,t,n){var r,o,a=O(t,n),s=l.has(a),f=Y.has(a),p=V.get(a);return o="nest"===A?f:null!==(r=null===p||void 0===p?void 0:p.indeterminate)&&void 0!==r?r:f,{node:d.createElement(st.Z,(0,i.Z)({},p,{indeterminate:o,checked:s,skipGroup:!0,onClick:function(e){return e.stopPropagation()},onChange:function(e){var t=e.nativeEvent,n=t.shiftKey,r=-1,o=-1;if(n&&S){var i=new Set([Q,a]);c.some((function(e,t){if(i.has(e)){if(-1!==r)return o=t,!0;r=t}return!1}))}if(-1!==o&&r!==o&&S){var d=c.slice(r,o+1),f=[];s?d.forEach((function(e){l.has(e)&&(f.push(e),l.delete(e))})):d.forEach((function(e){l.has(e)||(f.push(e),l.add(e))}));var p=Array.from(l);null===v||void 0===v||v(!s,p.map((function(e){return N(e)})),f.map((function(e){return N(e)}))),te(p,"multiple")}else{var h=W;if(S){var m=s?(0,jt._5)(h,a):(0,jt.L0)(h,a);ne(a,!s,m,t)}else{var g=(0,Tt.S)([].concat((0,u.Z)(h),[a]),!0,B,q),y=g.checkedKeys,b=g.halfCheckedKeys,w=y;if(s){var C=new Set(y);C.delete(a),w=(0,Tt.S)(Array.from(C),{checked:!1,halfCheckedKeys:b},B,q).checkedKeys}ne(a,!s,w,t)}}ee(s?null:a)}})),checked:s}};if(!s.includes(Rt))if(0===s.findIndex((function(e){var t;return"EXPAND_COLUMN"===(null===(t=e[ae])||void 0===t?void 0:t.columnType)}))){var j=s,T=(0,Ot.Z)(j),P=T[0],R=T.slice(1);s=[P,Rt].concat((0,u.Z)(R))}else s=[Rt].concat((0,u.Z)(s));var I=s.indexOf(Rt),D=(s=s.filter((function(e,t){return e!==Rt||t===I})))[I-1],z=s[I+1],H=C;void 0===H&&(void 0!==(null===z||void 0===z?void 0:z.fixed)?H=z.fixed:void 0!==(null===D||void 0===D?void 0:D.fixed)&&(H=D.fixed)),H&&D&&"EXPAND_COLUMN"===(null===(n=D[ae])||void 0===n?void 0:n.columnType)&&void 0===D.fixed&&(D.fixed=H);var U=(0,o.Z)({fixed:H,width:y,className:"".concat(E,"-selection-column"),title:e.columnTitle||r,render:function(e,t,n){var r=a(e,t,n),o=r.node,i=r.checked;return x?x(i,t,n,o):o}},ae,{className:"".concat(E,"-selection-col")});return s.map((function(e){return e===Rt?U:e}))}),[O,F,e,W,G,Y,y,re,A,Q,V,v,ne,q]),G]}var Vt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},qt=function(e,t){return d.createElement(tt.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:t,icon:Vt}))};var Ut=d.forwardRef(qt),$t={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Wt=function(e,t){return d.createElement(tt.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:t,icon:$t}))};var Kt=d.forwardRef(Wt),Gt=n(23278),Yt=n(69158),Jt="ascend",Xt="descend";function Qt(e){return"object"===(0,r.Z)(e.sorter)&&"number"===typeof e.sorter.multiple&&e.sorter.multiple}function en(e){return"function"===typeof e?e:!(!e||"object"!==(0,r.Z)(e)||!e.compare)&&e.compare}function tn(e,t,n){var r=[];function o(e,t){r.push({column:e,key:Je(e,t),multiplePriority:Qt(e),sortOrder:e.sortOrder})}return(e||[]).forEach((function(e,i){var a=Xe(i,n);e.children?("sortOrder"in e&&o(e,a),r=[].concat((0,u.Z)(r),(0,u.Z)(tn(e.children,t,a)))):e.sorter&&("sortOrder"in e?o(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:Je(e,a),multiplePriority:Qt(e),sortOrder:e.defaultSortOrder}))})),r}function nn(e,t,n,a,s,c,u,f){return(t||[]).map((function(t,p){var h=Xe(p,f),m=t;if(m.sorter){var g=m.sortDirections||s,v=void 0===m.showSorterTooltip?u:m.showSorterTooltip,y=Je(m,h),b=n.find((function(e){return e.key===y})),w=b?b.sortOrder:null,C=function(e,t){return t?e[e.indexOf(t)+1]:e[0]}(g,w),x=g.includes(Jt)&&d.createElement(Kt,{className:l()("".concat(e,"-column-sorter-up"),{active:w===Jt}),role:"presentation"}),k=g.includes(Xt)&&d.createElement(Ut,{className:l()("".concat(e,"-column-sorter-down"),{active:w===Xt}),role:"presentation"}),_=c||{},S=_.cancelSort,E=_.triggerAsc,M=_.triggerDesc,L=S;C===Xt?L=M:C===Jt&&(L=E);var N="object"===(0,r.Z)(v)?v:{title:L};m=(0,i.Z)((0,i.Z)({},m),{className:l()(m.className,(0,o.Z)({},"".concat(e,"-column-sort"),w)),title:function(n){var r=d.createElement("div",{className:"".concat(e,"-column-sorters")},d.createElement("span",{className:"".concat(e,"-column-title")},Qe(t.title,n)),d.createElement("span",{className:l()("".concat(e,"-column-sorter"),(0,o.Z)({},"".concat(e,"-column-sorter-full"),!(!x||!k)))},d.createElement("span",{className:"".concat(e,"-column-sorter-inner")},x,k)));return v?d.createElement(Yt.Z,(0,i.Z)({},N),r):r},onHeaderCell:function(n){var r=t.onHeaderCell&&t.onHeaderCell(n)||{},o=r.onClick,i=r.onKeyDown;return r.onClick=function(e){a({column:t,key:y,sortOrder:C,multiplePriority:Qt(t)}),null===o||void 0===o||o(e)},r.onKeyDown=function(e){e.keyCode===Gt.Z.ENTER&&(a({column:t,key:y,sortOrder:C,multiplePriority:Qt(t)}),null===i||void 0===i||i(e))},w?r["aria-sort"]="ascend"===w?"ascending":"descending":r["aria-label"]="".concat(Qe(t.title,{})," sortable"),r.className=l()(r.className,"".concat(e,"-column-has-sorters")),r.tabIndex=0,r}})}return"children"in m&&(m=(0,i.Z)((0,i.Z)({},m),{children:nn(e,m.children,n,a,s,c,u,h)})),m}))}function rn(e){var t=e.column;return{column:t,order:e.sortOrder,field:t.dataIndex,columnKey:t.key}}function on(e){var t=e.filter((function(e){return e.sortOrder})).map(rn);return 0===t.length&&e.length?(0,i.Z)((0,i.Z)({},rn(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function an(e,t,n){var r=t.slice().sort((function(e,t){return t.multiplePriority-e.multiplePriority})),a=e.slice(),s=r.filter((function(e){var t=e.column.sorter,n=e.sortOrder;return en(t)&&n}));return s.length?a.sort((function(e,t){for(var n=0;n<s.length;n+=1){var r=s[n],o=r.column.sorter,i=r.sortOrder,a=en(o);if(a&&i){var l=a(e,t,i);if(0!==l)return i===Jt?l:-l}}return 0})).map((function(e){var r=e[n];return r?(0,i.Z)((0,i.Z)({},e),(0,o.Z)({},n,an(r,t,n))):e})):a}function sn(e){var t=e.prefixCls,n=e.mergedColumns,r=e.onSorterChange,o=e.sortDirections,s=e.tableLocale,l=e.showSorterTooltip,c=d.useState(tn(n,!0)),f=(0,a.Z)(c,2),p=f[0],h=f[1],m=d.useMemo((function(){var e=!0,t=tn(n,!1);if(!t.length)return p;var r=[];function o(t){e?r.push(t):r.push((0,i.Z)((0,i.Z)({},t),{sortOrder:null}))}var a=null;return t.forEach((function(t){null===a?(o(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:a=!0)):(a&&!1!==t.multiplePriority||(e=!1),o(t))})),r}),[n,p]),g=d.useMemo((function(){var e=m.map((function(e){return{column:e.column,order:e.sortOrder}}));return{sortColumns:e,sortColumn:e[0]&&e[0].column,sortOrder:e[0]&&e[0].order}}),[m]);function v(e){var t;t=!1!==e.multiplePriority&&m.length&&!1!==m[0].multiplePriority?[].concat((0,u.Z)(m.filter((function(t){return t.key!==e.key}))),[e]):[e],h(t),r(on(t),t)}return[function(e){return nn(t,e,m,v,o,s,l)},m,g,function(){return on(m)}]}function ln(e,t){return e.map((function(e){var n=(0,i.Z)({},e);return n.title=Qe(e.title,t),"children"in n&&(n.children=ln(n.children,t)),n}))}function cn(e){return[d.useCallback((function(t){return ln(t,e)}),[e])]}var un=[];function dn(e,t){var n,s=e.prefixCls,c=e.className,u=e.style,f=e.size,p=e.bordered,h=e.dropdownPrefixCls,m=e.dataSource,g=e.pagination,v=e.rowSelection,y=e.rowKey,b=e.rowClassName,w=e.columns,C=e.children,x=e.childrenColumnName,k=e.onChange,_=e.getPopupContainer,S=e.loading,E=e.expandIcon,M=e.expandable,L=e.expandedRowRender,N=e.expandIconColumnIndex,O=e.indentSize,A=e.scroll,j=e.sortDirections,T=e.locale,Z=e.showSorterTooltip,P=void 0===Z||Z;[["filterDropdownVisible","filterDropdownOpen"],["onFilterDropdownVisibleChange","onFilterDropdownOpenChange"]].forEach((function(e){var t=(0,a.Z)(e,2);t[0],t[1]}));var R=d.useMemo((function(){return w||ue(C)}),[w,C]),I=d.useMemo((function(){return R.some((function(e){return e.responsive}))}),[R]),D=(0,Ve.Z)(I),z=d.useMemo((function(){var e=new Set(Object.keys(D).filter((function(e){return D[e]})));return R.filter((function(t){return!t.responsive||t.responsive.some((function(t){return e.has(t)}))}))}),[R,D]),H=(0,ze.Z)(e,["className","style","columns"]),B=d.useContext(Fe.Z),F=d.useContext(He.E_),V=F.locale,q=void 0===V?qe.Z:V,U=F.renderEmpty,$=F.direction,W=f||B,K=(0,i.Z)((0,i.Z)({},q.Table),T),G=m||un,Y=d.useContext(He.E_).getPrefixCls,J=Y("table",s),X=Y("dropdown",h),Q=(0,i.Z)({childrenColumnName:x,expandIconColumnIndex:N},M),ee=Q.childrenColumnName,te=void 0===ee?"children":ee,ne=d.useMemo((function(){return G.some((function(e){return null===e||void 0===e?void 0:e[te]}))?"nest":L||M&&M.expandedRowRender?"row":null}),[G]),re={body:d.useRef()},oe=d.useMemo((function(){return"function"===typeof y?y:function(e){return null===e||void 0===e?void 0:e[y]}}),[y]),ie=function(e,t,n){var o=d.useRef({});return[function(i){if(!o.current||o.current.data!==e||o.current.childrenColumnName!==t||o.current.getRowKey!==n){var a=new Map;function s(e){e.forEach((function(e,o){var i=n(e,o);a.set(i,e),e&&"object"===(0,r.Z)(e)&&t in e&&s(e[t]||[])}))}s(e),o.current={data:e,childrenColumnName:t,kvMap:a,getRowKey:n}}return o.current.kvMap.get(i)}]}(G,te,oe),ae=(0,a.Z)(ie,1)[0],se={},le=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=(0,i.Z)((0,i.Z)({},se),e);n&&(se.resetPagination(),r.pagination.current&&(r.pagination.current=1),g&&g.onChange&&g.onChange(1,r.pagination.pageSize)),A&&!1!==A.scrollToFirstRowOnChange&&re.body.current&&(0,We.Z)(0,{getContainer:function(){return re.body.current}}),null===k||void 0===k||k(r.pagination,r.filters,r.sorter,{currentDataSource:Et(an(G,r.sorterStates,te),r.filterStates),action:t})},ce=sn({prefixCls:J,mergedColumns:z,onSorterChange:function(e,t){le({sorter:e,sorterStates:t},"sort",!1)},sortDirections:j||["ascend","descend"],tableLocale:K,showSorterTooltip:P}),de=(0,a.Z)(ce,4),fe=de[0],pe=de[1],he=de[2],me=de[3],ge=d.useMemo((function(){return an(G,pe,te)}),[G,pe]);se.sorter=me(),se.sorterStates=pe;var ve=Mt({prefixCls:J,locale:K,dropdownPrefixCls:X,mergedColumns:z,onFilterChange:function(e,t){le({filters:e,filterStates:t},"filter",!0)},getPopupContainer:_}),ye=(0,a.Z)(ve,3),be=ye[0],we=ye[1],Ce=ye[2],xe=Et(ge,we);se.filters=Ce(),se.filterStates=we;var ke=cn(d.useMemo((function(){return(0,i.Z)({},he)}),[he])),_e=(0,a.Z)(ke,1)[0],Se=Nt(xe.length,g,(function(e,t){le({pagination:(0,i.Z)((0,i.Z)({},se.pagination),{current:e,pageSize:t})},"paginate")})),Ee=(0,a.Z)(Se,2),Me=Ee[0],Le=Ee[1];se.pagination=!1===g?{}:function(e,t){var n={current:t.current,pageSize:t.pageSize},o=e&&"object"===(0,r.Z)(e)?e:{};return Object.keys(o).forEach((function(e){var r=t[e];"function"!==typeof r&&(n[e]=r)})),n}(g,Me),se.resetPagination=Le;var Ne=d.useMemo((function(){if(!1===g||!Me.pageSize)return xe;var e=Me.current,t=void 0===e?1:e,n=Me.total,r=Me.pageSize,o=void 0===r?10:r;return xe.length<n?xe.length>o?xe.slice((t-1)*o,t*o):xe:xe.slice((t-1)*o,t*o)}),[!!g,xe,Me&&Me.current,Me&&Me.pageSize,Me&&Me.total]),Oe=Ft(v,{prefixCls:J,data:xe,pageData:Ne,getRowKey:oe,getRecordByKey:ae,expandType:ne,childrenColumnName:te,locale:K,getPopupContainer:_}),Ae=(0,a.Z)(Oe,2),je=Ae[0],Te=Ae[1];Q.__PARENT_RENDER_ICON__=Q.expandIcon,Q.expandIcon=Q.expandIcon||E||Ye(K),"nest"===ne&&void 0===Q.expandIconColumnIndex?Q.expandIconColumnIndex=v?1:0:Q.expandIconColumnIndex>0&&v&&(Q.expandIconColumnIndex-=1),"number"!==typeof Q.indentSize&&(Q.indentSize="number"===typeof O?O:15);var Ze,Re,Ie,Ke=d.useCallback((function(e){return _e(je(be(fe(e))))}),[fe,be,je]);if(!1!==g&&(null===Me||void 0===Me?void 0:Me.total)){var Ge;Ge=Me.size?Me.size:"small"===W||"middle"===W?"small":void 0;var Je=function(e){return d.createElement(Ue.Z,(0,i.Z)({},Me,{className:l()("".concat(J,"-pagination ").concat(J,"-pagination-").concat(e),Me.className),size:Ge}))},Xe="rtl"===$?"left":"right",Qe=Me.position;if(null!==Qe&&Array.isArray(Qe)){var et=Qe.find((function(e){return-1!==e.indexOf("top")})),tt=Qe.find((function(e){return-1!==e.indexOf("bottom")})),nt=Qe.every((function(e){return"none"==="".concat(e)}));et||tt||nt||(Re=Je(Xe)),et&&(Ze=Je(et.toLowerCase().replace("top",""))),tt&&(Re=Je(tt.toLowerCase().replace("bottom","")))}else Re=Je(Xe)}"boolean"===typeof S?Ie={spinning:S}:"object"===(0,r.Z)(S)&&(Ie=(0,i.Z)({spinning:!0},S));var rt=l()("".concat(J,"-wrapper"),(0,o.Z)({},"".concat(J,"-wrapper-rtl"),"rtl"===$),c);return d.createElement("div",{ref:t,className:rt,style:u},d.createElement($e.Z,(0,i.Z)({spinning:!1},Ie),Ze,d.createElement(De,(0,i.Z)({},H,{columns:z,direction:$,expandable:Q,prefixCls:J,className:l()((n={},(0,o.Z)(n,"".concat(J,"-middle"),"middle"===W),(0,o.Z)(n,"".concat(J,"-small"),"small"===W),(0,o.Z)(n,"".concat(J,"-bordered"),p),(0,o.Z)(n,"".concat(J,"-empty"),0===G.length),n)),data:Ne,rowKey:oe,rowClassName:function(e,t,n){var r;return r="function"===typeof b?l()(b(e,t,n)):l()(b),l()((0,o.Z)({},"".concat(J,"-row-selected"),Te.has(oe(e,t))),r)},emptyText:T&&T.emptyText||(U||Be.Z)("Table"),internalHooks:Pe,internalRefs:re,transformColumns:Ke})),Re))}var fn=d.forwardRef(dn);fn.defaultProps={rowKey:"key"},fn.SELECTION_COLUMN=Rt,fn.EXPAND_COLUMN=De.EXPAND_COLUMN,fn.SELECTION_ALL=It,fn.SELECTION_INVERT=Dt,fn.SELECTION_NONE=zt,fn.Column=Ke,fn.ColumnGroup=Ge,fn.Summary=ke;var pn=fn},73086:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(57904),o=n(2053),i=n(99459),a=n(97272),s=n(84875),l=n.n(s),c=n(90123),u=n(50959),d=n(65205),f=n(93007),p=n(90445),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},m=function(e){var t,n=e.prefixCls,i=e.className,a=e.checked,s=e.onChange,c=e.onClick,f=h(e,["prefixCls","className","checked","onChange","onClick"]),p=(0,u.useContext(d.E_).getPrefixCls)("tag",n),m=l()(p,(t={},(0,r.Z)(t,"".concat(p,"-checkable"),!0),(0,r.Z)(t,"".concat(p,"-checkable-checked"),a),t),i);return u.createElement("span",(0,o.Z)({},f,{className:m,onClick:function(e){null===s||void 0===s||s(!a),null===c||void 0===c||c(e)}}))},g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},v=new RegExp("^(".concat(f.Y.join("|"),")(-inverse)?$")),y=new RegExp("^(".concat(f.E.join("|"),")$")),b=function(e,t){var n,s=e.prefixCls,f=e.className,h=e.style,m=e.children,b=e.icon,w=e.color,C=e.onClose,x=e.closeIcon,k=e.closable,_=void 0!==k&&k,S=g(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),E=u.useContext(d.E_),M=E.getPrefixCls,L=E.direction,N=u.useState(!0),O=(0,i.Z)(N,2),A=O[0],j=O[1];u.useEffect((function(){"visible"in S&&j(S.visible)}),[S.visible]);var T=function(){return!!w&&(v.test(w)||y.test(w))},Z=(0,o.Z)({backgroundColor:w&&!T()?w:void 0},h),P=T(),R=M("tag",s),I=l()(R,(n={},(0,r.Z)(n,"".concat(R,"-").concat(w),P),(0,r.Z)(n,"".concat(R,"-has-color"),w&&!P),(0,r.Z)(n,"".concat(R,"-hidden"),!A),(0,r.Z)(n,"".concat(R,"-rtl"),"rtl"===L),n),f),D=function(e){e.stopPropagation(),null===C||void 0===C||C(e),e.defaultPrevented||"visible"in S||j(!1)},z="onClick"in S||m&&"a"===m.type,H=(0,c.Z)(S,["visible"]),B=b||null,F=B?u.createElement(u.Fragment,null,B,u.createElement("span",null,m)):m,V=u.createElement("span",(0,o.Z)({},H,{ref:t,className:I,style:Z}),F,_?x?u.createElement("span",{className:"".concat(R,"-close-icon"),onClick:D},x):u.createElement(a.Z,{className:"".concat(R,"-close-icon"),onClick:D}):null);return z?u.createElement(p.Z,null,V):V},w=u.forwardRef(b);w.CheckableTag=m;var C=w},15454:function(e,t){"use strict";t.Z={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},69158:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(57904),o=n(99459),i=n(2053),a=n(84875),s=n.n(a),l=n(24744),c=n(98037),u=n(53162),d=n(50959),f=n(13445),p=n(73053);function h(e){var t=e.showArrow,n=e.arrowContent,r=e.children,o=e.prefixCls,i=e.id,a=e.overlayInnerStyle,l=e.className,c=e.style;return d.createElement("div",{className:s()("".concat(o,"-content"),l),style:c},!1!==t&&d.createElement("div",{className:"".concat(o,"-arrow"),key:"arrow"},n),d.createElement("div",{className:"".concat(o,"-inner"),id:i,role:"tooltip",style:a},"function"===typeof r?r():r))}var m=function(e,t){var n=e.overlayClassName,r=e.trigger,o=void 0===r?["hover"]:r,a=e.mouseEnterDelay,s=void 0===a?0:a,m=e.mouseLeaveDelay,g=void 0===m?.1:m,v=e.overlayStyle,y=e.prefixCls,b=void 0===y?"rc-tooltip":y,w=e.children,C=e.onVisibleChange,x=e.afterVisibleChange,k=e.transitionName,_=e.animation,S=e.motion,E=e.placement,M=void 0===E?"right":E,L=e.align,N=void 0===L?{}:L,O=e.destroyTooltipOnHide,A=void 0!==O&&O,j=e.defaultVisible,T=e.getTooltipContainer,Z=e.overlayInnerStyle,P=e.arrowContent,R=e.overlay,I=e.id,D=e.showArrow,z=(0,u.Z)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),H=(0,d.useRef)(null);(0,d.useImperativeHandle)(t,(function(){return H.current}));var B=(0,c.Z)({},z);"visible"in e&&(B.popupVisible=e.visible);var F=!1,V=!1;if("boolean"===typeof A)F=A;else if(A&&"object"===(0,l.Z)(A)){var q=A.keepParent;F=!0===q,V=!1===q}return d.createElement(f.Z,(0,i.Z)({popupClassName:n,prefixCls:b,popup:function(){return d.createElement(h,{showArrow:D,arrowContent:P,key:"content",prefixCls:b,id:I,overlayInnerStyle:Z},R)},action:o,builtinPlacements:p.C,popupPlacement:M,ref:H,popupAlign:N,getPopupContainer:T,onPopupVisibleChange:C,afterPopupVisibleChange:x,popupTransitionName:k,popupAnimation:_,popupMotion:S,defaultPopupVisible:j,destroyPopupOnHide:F,autoDestroy:V,mouseLeaveDelay:g,popupStyle:v,mouseEnterDelay:s},B),w)},g=(0,d.forwardRef)(m),v=n(5481),y=n(65205),b=n(93007),w=n(80029),C=n(58588),x=n(94826),k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},_=new RegExp("^(".concat(b.Y.join("|"),")(-inverse)?$"));function S(e,t){var n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){var r=function(e,t){var n={},r=(0,i.Z)({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete r[t])})),{picked:n,omitted:r}}(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=r.picked,a=r.omitted,l=(0,i.Z)((0,i.Z)({display:"inline-block"},o),{cursor:"not-allowed",width:e.props.block?"100%":null}),c=(0,i.Z)((0,i.Z)({},a),{pointerEvents:"none"}),u=(0,x.Tm)(e,{style:c,className:null});return d.createElement("span",{style:l,className:s()(e.props.className,"".concat(t,"-disabled-compatible-wrapper"))},u)}return e}var E=d.forwardRef((function(e,t){var n,a=d.useContext(y.E_),l=a.getPopupContainer,c=a.getPrefixCls,u=a.direction;var f=(0,v.Z)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),p=(0,o.Z)(f,2),h=p[0],m=p[1],b=function(){var t=e.title,n=e.overlay;return!t&&!n&&0!==t},E=function(){var t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||(0,C.Z)({arrowPointAtCenter:n,autoAdjustOverflow:r})},M=e.getPopupContainer,L=k(e,["getPopupContainer"]),N=e.prefixCls,O=e.openClassName,A=e.getTooltipContainer,j=e.overlayClassName,T=e.color,Z=e.overlayInnerStyle,P=e.children,R=c("tooltip",N),I=c(),D=h;"open"in e||"visible"in e||!b()||(D=!1);var z,H=S((0,x.l$)(P)&&!(0,x.M2)(P)?P:d.createElement("span",null,P),R),B=H.props,F=B.className&&"string"!==typeof B.className?B.className:s()(B.className,(0,r.Z)({},O||"".concat(R,"-open"),!0)),V=s()(j,(n={},(0,r.Z)(n,"".concat(R,"-rtl"),"rtl"===u),(0,r.Z)(n,"".concat(R,"-").concat(T),T&&_.test(T)),n)),q=Z;return T&&!_.test(T)&&(q=(0,i.Z)((0,i.Z)({},Z),{background:T}),z={"--antd-arrow-background-color":T}),d.createElement(g,(0,i.Z)({},L,{prefixCls:R,overlayClassName:V,getTooltipContainer:M||A||l,ref:t,builtinPlacements:E(),overlay:function(){var t=e.title,n=e.overlay;return 0===t?t:n||t||""}(),visible:D,onVisibleChange:function(t){var n,r;m(!b()&&t),b()||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},onPopupAlign:function(e,t){var n=E(),r=Object.keys(n).find((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}));if(r){var o=e.getBoundingClientRect(),i={top:"50%",left:"50%"};r.indexOf("top")>=0||r.indexOf("Bottom")>=0?i.top="".concat(o.height-t.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?i.left="".concat(o.width-t.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayInnerStyle:q,arrowContent:d.createElement("span",{className:"".concat(R,"-arrow-content"),style:z}),motion:{motionName:(0,w.mL)(I,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),D?(0,x.Tm)(H,{className:F}):H)}));E.defaultProps={placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var M=E},45557:function(e,t,n){"use strict";n.d(t,{Z:function(){return F}});var r=n(57904),o=n(24744),i=n(2053),a=n(98037),s=n(50959),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},c=n(86383),u=function(e,t){return s.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:l}))};var d=s.forwardRef(u),f=n(84875),p=n.n(f),h=n(59614),m=n(65205),g=n(80029),v=n(35047),y=n(99459),b=n(97892),w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},C=function(e,t){return s.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:w}))};var x=s.forwardRef(C),k={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},_=function(e,t){return s.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:k}))};var S,E=s.forwardRef(_),M=n(33492),L=n(16318);function N(e,t){e.forEach((function(e){var n=e.key,r=e.children;!1!==t(n,e)&&N(r||[],t)}))}function O(e){var t=e.treeData,n=e.expandedKeys,r=e.startKey,o=e.endKey,i=[],a=S.None;if(r&&r===o)return[r];if(!r||!o)return[];return N(t,(function(e){if(a===S.End)return!1;if(function(e){return e===r||e===o}(e)){if(i.push(e),a===S.None)a=S.Start;else if(a===S.Start)return a=S.End,!1}else a===S.Start&&i.push(e);return-1!==n.indexOf(e)})),i}function A(e,t){var n=(0,v.Z)(t),r=[];return N(e,(function(e,t){var o=n.indexOf(e);return-1!==o&&(r.push(t),n.splice(o,1)),!!n.length})),r}!function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"}(S||(S={}));var j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function T(e){var t=e.isLeaf,n=e.expanded;return t?s.createElement(b.Z,null):n?s.createElement(x,null):s.createElement(E,null)}function Z(e){var t=e.treeData,n=e.children;return t||(0,L.zn)(n)}var P=function(e,t){var n=e.defaultExpandAll,o=e.defaultExpandParent,a=e.defaultExpandedKeys,l=j(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),c=s.useRef(),u=s.useRef(),d=s.createRef();s.useImperativeHandle(t,(function(){return d.current}));var f=s.useState(l.selectedKeys||l.defaultSelectedKeys||[]),h=(0,y.Z)(f,2),g=h[0],b=h[1],w=s.useState(function(){var e=(0,L.I8)(Z(l)).keyEntities;return n?Object.keys(e):o?(0,M.r7)(l.expandedKeys||a||[],e):l.expandedKeys||a}()),C=(0,y.Z)(w,2),x=C[0],k=C[1];s.useEffect((function(){"selectedKeys"in l&&b(l.selectedKeys)}),[l.selectedKeys]),s.useEffect((function(){"expandedKeys"in l&&k(l.expandedKeys)}),[l.expandedKeys]);var _=s.useContext(m.E_),S=_.getPrefixCls,E=_.direction,N=l.prefixCls,P=l.className,R=j(l,["prefixCls","className"]),I=S("tree",N),D=p()("".concat(I,"-directory"),(0,r.Z)({},"".concat(I,"-directory-rtl"),"rtl"===E),P);return s.createElement(B,(0,i.Z)({icon:T,ref:d,blockNode:!0},R,{prefixCls:I,className:D,expandedKeys:x,selectedKeys:g,onSelect:function(e,t){var n,r,o=l.multiple,a=t.node,s=t.nativeEvent,d=a.key,f=void 0===d?"":d,p=Z(l),h=(0,i.Z)((0,i.Z)({},t),{selected:!0}),m=(null===s||void 0===s?void 0:s.ctrlKey)||(null===s||void 0===s?void 0:s.metaKey),g=null===s||void 0===s?void 0:s.shiftKey;o&&m?(r=e,c.current=f,u.current=r,h.selectedNodes=A(p,r)):o&&g?(r=Array.from(new Set([].concat((0,v.Z)(u.current||[]),(0,v.Z)(O({treeData:p,expandedKeys:x,startKey:f,endKey:c.current}))))),h.selectedNodes=A(p,r)):(r=[f],c.current=f,u.current=r,h.selectedNodes=A(p,r)),null===(n=l.onSelect)||void 0===n||n.call(l,r,h),"selectedKeys"in l||b(r)},onExpand:function(e,t){var n;return"expandedKeys"in l||k(e),null===(n=l.onExpand)||void 0===n?void 0:n.call(l,e,t)}}))},R=s.forwardRef(P);R.defaultProps={showIcon:!0,expandAction:"click"};var I=R;function D(e){var t,n=e.dropPosition,o=e.dropLevelOffset,i=e.prefixCls,a=e.indent,l=e.direction,c=void 0===l?"ltr":l,u="ltr"===c?"left":"right",d="ltr"===c?"right":"left",f=(t={},(0,r.Z)(t,u,-o*a+4),(0,r.Z)(t,d,0),t);switch(n){case-1:f.top=-3;break;case 1:f.bottom=-3;break;default:f.bottom=-3,f[u]=a+4}return s.createElement("div",{style:f,className:"".concat(i,"-drop-indicator")})}var z=n(77982),H=s.forwardRef((function(e,t){var n,a=s.useContext(m.E_),l=a.getPrefixCls,c=a.direction,u=a.virtual,f=e.prefixCls,g=e.className,v=e.showIcon,y=e.showLine,b=e.switcherIcon,w=e.blockNode,C=e.children,x=e.checkable,k=e.selectable,_=e.draggable,S=l("tree",f),E=(0,i.Z)((0,i.Z)({},e),{showLine:Boolean(y),dropIndicatorRender:D}),M=s.useMemo((function(){if(!_)return!1;var e={};switch((0,o.Z)(_)){case"function":e.nodeDraggable=_;break;case"object":e=(0,i.Z)({},_)}return!1!==e.icon&&(e.icon=e.icon||s.createElement(d,null)),e}),[_]);return s.createElement(h.Z,(0,i.Z)({itemHeight:20,ref:t,virtual:u},E,{prefixCls:S,className:p()((n={},(0,r.Z)(n,"".concat(S,"-icon-hide"),!v),(0,r.Z)(n,"".concat(S,"-block-node"),w),(0,r.Z)(n,"".concat(S,"-unselectable"),!k),(0,r.Z)(n,"".concat(S,"-rtl"),"rtl"===c),n),g),direction:c,checkable:x?s.createElement("span",{className:"".concat(S,"-checkbox-inner")}):x,selectable:k,switcherIcon:function(e){return(0,z.Z)(S,b,y,e)},draggable:M}),C)}));H.TreeNode=h.O,H.DirectoryTree=I,H.defaultProps={checkable:!1,selectable:!0,showIcon:!1,motion:(0,i.Z)((0,i.Z)({},g.ZP),{motionAppear:!1}),blockNode:!1};var B=H,F=H},77982:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(24744),o=n(98037),i=n(50959),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},s=n(86383),l=function(e,t){return i.createElement(s.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:a}))};var c=i.forwardRef(l),u=n(97892),d=n(39016),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},p=function(e,t){return i.createElement(s.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:f}))};var h=i.forwardRef(p),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},g=function(e,t){return i.createElement(s.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:m}))};var v=i.forwardRef(g),y=n(84875),b=n.n(y),w=n(94826);function C(e,t,n,o){var a,s=o.isLeaf,l=o.expanded;if(o.loading)return i.createElement(d.Z,{className:"".concat(e,"-switcher-loading-icon")});if(n&&"object"===(0,r.Z)(n)&&(a=n.showLeafIcon),s)return n?"object"!==(0,r.Z)(n)||a?i.createElement(u.Z,{className:"".concat(e,"-switcher-line-icon")}):i.createElement("span",{className:"".concat(e,"-switcher-leaf-line")}):null;var f="".concat(e,"-switcher-icon"),p="function"===typeof t?t(o):t;return(0,w.l$)(p)?(0,w.Tm)(p,{className:b()(p.props.className||"",f)}):p||(n?l?i.createElement(h,{className:"".concat(e,"-switcher-line-icon")}):i.createElement(v,{className:"".concat(e,"-switcher-line-icon")}):i.createElement(c,{className:f}))}},65452:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ee}});var r=n(2053),o=n(50959),i=n(57904),a=n(69501),s=n(24744),l=n(35047),c=n(99459),u=n(84875),d=n.n(u),f=n(73779),p=n(71374),h=n(45675),m=n(36280),g=n(53162),v=n(81517),y=n(42361);function b(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function w(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append("".concat(t,"[]"),e)})):n.append(t,r)})),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(function(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),b(t)):e.onSuccess(b(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach((function(e){null!==r[e]&&t.setRequestHeader(e,r[e])})),t.send(n),{abort:function(){t.abort()}}}var C=+new Date,x=0;function k(){return"rc-upload-".concat(C,"-").concat(++x)}var _=n(14032),S=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=r.toLowerCase(),a=t.toLowerCase(),s=[a];return".jpg"!==a&&".jpeg"!==a||(s=[".jpg",".jpeg"]),s.some((function(e){return n.endsWith(e)}))}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&((0,_.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)}))}return!0};var E=function(e,t,n){var r=function e(r,o){r&&(r.path=o||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&function(e,t){var n=e.createReader(),r=[];!function e(){n.readEntries((function(n){var o=Array.prototype.slice.apply(n);r=r.concat(o),o.length?e():t(r)}))}()}(r,(function(t){t.forEach((function(t){e(t,"".concat(o).concat(r.name,"/"))}))})))};e.forEach((function(e){r(e.webkitGetAsEntry())}))},M=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],L=function(e){(0,h.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,f.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={uid:k()},e.reqs={},e.fileInput=void 0,e._isMounted=void 0,e.onChange=function(t){var n=e.props,r=n.accept,o=n.directory,i=t.target.files,a=(0,l.Z)(i).filter((function(e){return!o||S(e,r)}));e.uploadFiles(a),e.reset()},e.onClick=function(t){var n=e.fileInput;if(n){var r=t.target,o=e.props.onClick;if(r&&"BUTTON"===r.tagName)n.parentNode.focus(),r.blur();n.click(),o&&o(t)}},e.onKeyDown=function(t){"Enter"===t.key&&e.onClick(t)},e.onFileDrop=function(t){var n=e.props.multiple;if(t.preventDefault(),"dragover"!==t.type)if(e.props.directory)E(Array.prototype.slice.call(t.dataTransfer.items),e.uploadFiles,(function(t){return S(t,e.props.accept)}));else{var r=(0,l.Z)(t.dataTransfer.files).filter((function(t){return S(t,e.props.accept)}));!1===n&&(r=r.slice(0,1)),e.uploadFiles(r)}},e.uploadFiles=function(t){var n=(0,l.Z)(t),r=n.map((function(t){return t.uid=k(),e.processFile(t,n)}));Promise.all(r).then((function(t){var n=e.props.onBatchStart;null===n||void 0===n||n(t.map((function(e){return{file:e.origin,parsedFile:e.parsedFile}}))),t.filter((function(e){return null!==e.parsedFile})).forEach((function(t){e.post(t)}))}))},e.processFile=function(){var t=(0,v.Z)((0,a.Z)().mark((function t(n,r){var o,i,l,c,u,d,f,p,h;return(0,a.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=e.props.beforeUpload,i=n,!o){t.next=14;break}return t.prev=3,t.next=6,o(n,r);case 6:i=t.sent,t.next=12;break;case 9:t.prev=9,t.t0=t.catch(3),i=!1;case 12:if(!1!==i){t.next=14;break}return t.abrupt("return",{origin:n,parsedFile:null,action:null,data:null});case 14:if("function"!==typeof(l=e.props.action)){t.next=21;break}return t.next=18,l(n);case 18:c=t.sent,t.next=22;break;case 21:c=l;case 22:if("function"!==typeof(u=e.props.data)){t.next=29;break}return t.next=26,u(n);case 26:d=t.sent,t.next=30;break;case 29:d=u;case 30:return f="object"!==(0,s.Z)(i)&&"string"!==typeof i||!i?n:i,p=f instanceof File?f:new File([f],n.name,{type:n.type}),(h=p).uid=n.uid,t.abrupt("return",{origin:n,data:d,parsedFile:h,action:c});case 35:case"end":return t.stop()}}),t,null,[[3,9]])})));return function(e,n){return t.apply(this,arguments)}}(),e.saveFileInput=function(t){e.fileInput=t},e}return(0,p.Z)(n,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(e){var t=this,n=e.data,r=e.origin,o=e.action,i=e.parsedFile;if(this._isMounted){var a=this.props,s=a.onStart,l=a.customRequest,c=a.name,u=a.headers,d=a.withCredentials,f=a.method,p=r.uid,h=l||w,m={action:o,filename:c,data:n,file:i,headers:u,withCredentials:d,method:f||"post",onProgress:function(e){var n=t.props.onProgress;null===n||void 0===n||n(e,i)},onSuccess:function(e,n){var r=t.props.onSuccess;null===r||void 0===r||r(e,i,n),delete t.reqs[p]},onError:function(e,n){var r=t.props.onError;null===r||void 0===r||r(e,n,i),delete t.reqs[p]}};s(r),this.reqs[p]=h(m)}}},{key:"reset",value:function(){this.setState({uid:k()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e.uid?e.uid:e;t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e=this.props,t=e.component,n=e.prefixCls,a=e.className,s=e.disabled,l=e.id,c=e.style,u=e.multiple,f=e.accept,p=e.capture,h=e.children,m=e.directory,v=e.openFileDialogOnClick,b=e.onMouseEnter,w=e.onMouseLeave,C=(0,g.Z)(e,M),x=d()((0,i.Z)((0,i.Z)((0,i.Z)({},n,!0),"".concat(n,"-disabled"),s),a,a)),k=m?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},_=s?{}:{onClick:v?this.onClick:function(){},onKeyDown:v?this.onKeyDown:function(){},onMouseEnter:b,onMouseLeave:w,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return o.createElement(t,(0,r.Z)({},_,{className:x,role:"button",style:c}),o.createElement("input",(0,r.Z)({},(0,y.Z)(C,{aria:!0,data:!0}),{id:l,disabled:s,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:f},k,{multiple:u,onChange:this.onChange},null!=p?{capture:p}:{})),h)}}]),n}(o.Component),N=L;function O(){}var A=function(e){(0,h.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,f.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).uploader=void 0,e.saveUploader=function(t){e.uploader=t},e}return(0,p.Z)(n,[{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){return o.createElement(N,(0,r.Z)({},this.props,{ref:this.saveUploader}))}}]),n}(o.Component);A.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:O,onError:O,onSuccess:O,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var j=A,T=n(5481),Z=n(10422),P=n(65205),R=n(72185),I=n(91851),D=n(71236),z=n(98037),H={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"},B=n(86383),F=function(e,t){return o.createElement(B.Z,(0,z.Z)((0,z.Z)({},e),{},{ref:t,icon:H}))};var V=o.forwardRef(F),q=n(39016),U={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},$=function(e,t){return o.createElement(B.Z,(0,z.Z)((0,z.Z)({},e),{},{ref:t,icon:U}))};var W=o.forwardRef($),K={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"},G=function(e,t){return o.createElement(B.Z,(0,z.Z)((0,z.Z)({},e),{},{ref:t,icon:K}))};var Y=o.forwardRef(G),J=n(37670),X=n(78681),Q=n(2945),ee=n(80029),te=n(94826);function ne(e){return(0,r.Z)((0,r.Z)({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function re(e,t){var n=(0,l.Z)(t),r=n.findIndex((function(t){return t.uid===e.uid}));return-1===r?n.push(e):n[r]=e,n}function oe(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var ie=function(e){return 0===e.indexOf("image/")},ae=200;var se=n(93071),le=n(1031),ce=n(39593),ue=n(21901),de=n(69158),fe=o.forwardRef((function(e,t){var n,a,s,l=e.prefixCls,u=e.className,f=e.style,p=e.locale,h=e.listType,m=e.file,g=e.items,v=e.progress,y=e.iconRender,b=e.actionIconRender,w=e.itemRender,C=e.isImgUrl,x=e.showPreviewIcon,k=e.showRemoveIcon,_=e.showDownloadIcon,S=e.previewIcon,E=e.removeIcon,M=e.downloadIcon,L=e.onPreview,N=e.onDownload,O=e.onClose,A=m.status,j=o.useState(A),T=(0,c.Z)(j,2),Z=T[0],R=T[1];o.useEffect((function(){"removed"!==A&&R(A)}),[A]);var I=o.useState(!1),D=(0,c.Z)(I,2),z=D[0],H=D[1],B=o.useRef();o.useEffect((function(){return B.current=setTimeout((function(){H(!0)}),300),function(){window.clearTimeout(B.current)}}),[]);var F="".concat(l,"-span"),V=y(m),q=o.createElement("div",{className:"".concat(l,"-text-icon")},V);if("picture"===h||"picture-card"===h)if("uploading"===Z||!m.thumbUrl&&!m.url){var U,$=d()((U={},(0,i.Z)(U,"".concat(l,"-list-item-thumbnail"),!0),(0,i.Z)(U,"".concat(l,"-list-item-file"),"uploading"!==Z),U));q=o.createElement("div",{className:$},V)}else{var W,K=(null===C||void 0===C?void 0:C(m))?o.createElement("img",{src:m.thumbUrl||m.url,alt:m.name,className:"".concat(l,"-list-item-image"),crossOrigin:m.crossOrigin}):V,G=d()((W={},(0,i.Z)(W,"".concat(l,"-list-item-thumbnail"),!0),(0,i.Z)(W,"".concat(l,"-list-item-file"),C&&!C(m)),W));q=o.createElement("a",{className:G,onClick:function(e){return L(m,e)},href:m.url||m.thumbUrl,target:"_blank",rel:"noopener noreferrer"},K)}var Y,X=d()((n={},(0,i.Z)(n,"".concat(l,"-list-item"),!0),(0,i.Z)(n,"".concat(l,"-list-item-").concat(Z),!0),(0,i.Z)(n,"".concat(l,"-list-item-list-type-").concat(h),!0),n)),Q="string"===typeof m.linkProps?JSON.parse(m.linkProps):m.linkProps,ee=k?b(("function"===typeof E?E(m):E)||o.createElement(se.Z,null),(function(){return O(m)}),l,p.removeFile):null,te=_&&"done"===Z?b(("function"===typeof M?M(m):M)||o.createElement(le.Z,null),(function(){return N(m)}),l,p.downloadFile):null,ne="picture-card"!==h&&o.createElement("span",{key:"download-delete",className:d()("".concat(l,"-list-item-card-actions"),{picture:"picture"===h})},te,ee),re=d()("".concat(l,"-list-item-name")),oe=m.url?[o.createElement("a",(0,r.Z)({key:"view",target:"_blank",rel:"noopener noreferrer",className:re,title:m.name},Q,{href:m.url,onClick:function(e){return L(m,e)}}),m.name),ne]:[o.createElement("span",{key:"view",className:re,onClick:function(e){return L(m,e)},title:m.name},m.name),ne],ie=x?o.createElement("a",{href:m.url||m.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:m.url||m.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(e){return L(m,e)},title:p.previewFile},"function"===typeof S?S(m):S||o.createElement(ce.Z,null)):null,ae="picture-card"===h&&"uploading"!==Z&&o.createElement("span",{className:"".concat(l,"-list-item-actions")},ie,"done"===Z&&te,ee);Y=m.response&&"string"===typeof m.response?m.response:(null===(a=m.error)||void 0===a?void 0:a.statusText)||(null===(s=m.error)||void 0===s?void 0:s.message)||p.uploadError;var fe=o.createElement("span",{className:F},q,oe),pe=(0,o.useContext(P.E_).getPrefixCls)(),he=o.createElement("div",{className:X},o.createElement("div",{className:"".concat(l,"-list-item-info")},fe),ae,z&&o.createElement(J.default,{motionName:"".concat(pe,"-fade"),visible:"uploading"===Z,motionDeadline:2e3},(function(e){var t=e.className,n="percent"in m?o.createElement(ue.Z,(0,r.Z)({},v,{type:"line",percent:m.percent})):null;return o.createElement("div",{className:d()("".concat(l,"-list-item-progress"),t)},n)}))),me=d()("".concat(l,"-list-").concat(h,"-container"),u),ge="error"===Z?o.createElement(de.Z,{title:Y,getPopupContainer:function(e){return e.parentNode}},he):he;return o.createElement("div",{className:me,style:f,ref:t},w?w(ge,m,g,{download:N.bind(null,m),preview:L.bind(null,m),remove:O.bind(null,m)}):ge)})),pe=(0,r.Z)({},ee.ZP);delete pe.onAppearEnd,delete pe.onEnterEnd,delete pe.onLeaveEnd;var he=function(e,t){var n,a=e.listType,s=e.previewFile,u=e.onPreview,f=e.onDownload,p=e.onRemove,h=e.locale,m=e.iconRender,g=e.isImageUrl,v=e.prefixCls,y=e.items,b=void 0===y?[]:y,w=e.showPreviewIcon,C=e.showRemoveIcon,x=e.showDownloadIcon,k=e.removeIcon,_=e.previewIcon,S=e.downloadIcon,E=e.progress,M=e.appendAction,L=e.appendActionVisible,N=e.itemRender,O=(0,Q.Z)(),A=o.useState(!1),j=(0,c.Z)(A,2),T=j[0],Z=j[1];o.useEffect((function(){"picture"!==a&&"picture-card"!==a||(b||[]).forEach((function(e){"undefined"!==typeof document&&"undefined"!==typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",s&&s(e.originFileObj).then((function(t){e.thumbUrl=t||"",O()})))}))}),[a,b,s]),o.useEffect((function(){Z(!0)}),[]);var R=function(e,t){if(u)return null===t||void 0===t||t.preventDefault(),u(e)},I=function(e){"function"===typeof f?f(e):e.url&&window.open(e.url)},D=function(e){null===p||void 0===p||p(e)},z=function(e){if(m)return m(e,a);var t="uploading"===e.status,n=g&&g(e)?o.createElement(Y,null):o.createElement(V,null),r=t?o.createElement(q.Z,null):o.createElement(W,null);return"picture"===a?r=t?o.createElement(q.Z,null):n:"picture-card"===a&&(r=t?h.uploading:n),r},H=function(e,t,n,i){var a={type:"text",size:"small",title:i,onClick:function(n){t(),(0,te.l$)(e)&&e.props.onClick&&e.props.onClick(n)},className:"".concat(n,"-list-item-card-actions-btn")};if((0,te.l$)(e)){var s=(0,te.Tm)(e,(0,r.Z)((0,r.Z)({},e.props),{onClick:function(){}}));return o.createElement(X.Z,(0,r.Z)({},a,{icon:s}))}return o.createElement(X.Z,(0,r.Z)({},a),o.createElement("span",null,e))};o.useImperativeHandle(t,(function(){return{handlePreview:R,handleDownload:I}}));var B=o.useContext(P.E_),F=B.getPrefixCls,U=B.direction,$=F("upload",v),K=d()((n={},(0,i.Z)(n,"".concat($,"-list"),!0),(0,i.Z)(n,"".concat($,"-list-").concat(a),!0),(0,i.Z)(n,"".concat($,"-list-rtl"),"rtl"===U),n)),G=(0,l.Z)(b.map((function(e){return{key:e.uid,file:e}}))),ee="picture-card"===a?"animate-inline":"animate",ne={motionDeadline:2e3,motionName:"".concat($,"-").concat(ee),keys:G,motionAppear:T};return"picture-card"!==a&&(ne=(0,r.Z)((0,r.Z)({},pe),ne)),o.createElement("div",{className:K},o.createElement(J.CSSMotionList,(0,r.Z)({},ne,{component:!1}),(function(e){var t=e.key,n=e.file,r=e.className,i=e.style;return o.createElement(fe,{key:t,locale:h,prefixCls:$,className:r,style:i,file:n,items:b,progress:E,listType:a,isImgUrl:g,showPreviewIcon:w,showRemoveIcon:C,showDownloadIcon:x,removeIcon:k,previewIcon:_,downloadIcon:S,iconRender:z,actionIconRender:H,itemRender:N,onPreview:R,onDownload:I,onClose:D})})),M&&o.createElement(J.default,(0,r.Z)({},ne,{visible:L,forceRender:!0}),(function(e){var t=e.className,n=e.style;return(0,te.Tm)(M,(function(e){return{className:d()(e.className,t),style:(0,r.Z)((0,r.Z)((0,r.Z)({},n),{pointerEvents:t?"none":void 0}),e.style)}}))})))},me=o.forwardRef(he);me.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,appendActionVisible:!0,previewFile:function(e){return new Promise((function(t){if(e.type&&ie(e.type)){var n=document.createElement("canvas");n.width=ae,n.height=ae,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(ae,"px; height: ").concat(ae,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),o=new Image;if(o.onload=function(){var e=o.width,i=o.height,a=ae,s=ae,l=0,c=0;e>i?c=-((s=i*(ae/e))-a)/2:l=-((a=e*(ae/i))-s)/2,r.drawImage(o,l,c,a,s);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){var i=new FileReader;i.addEventListener("load",(function(){i.result&&(o.src=i.result)})),i.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)}else t("")}))},isImageUrl:function(e){if(e.type&&!e.thumbUrl)return ie(e.type);var t=e.thumbUrl||e.url||"",n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/"),t=e[e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(t)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n}};var ge=me,ve=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},ye="__LIST_IGNORE_".concat(Date.now(),"__"),be=function(e,t){var n,u=e.fileList,f=e.defaultFileList,p=e.onRemove,h=e.showUploadList,m=e.listType,g=e.onPreview,v=e.onDownload,y=e.onChange,b=e.onDrop,w=e.previewFile,C=e.disabled,x=e.locale,k=e.iconRender,_=e.isImageUrl,S=e.progress,E=e.prefixCls,M=e.className,L=e.type,N=e.children,O=e.style,A=e.itemRender,z=e.maxCount,H=o.useContext(R.Z),B=C||H,F=(0,T.Z)(f||[],{value:u,postState:function(e){return null!==e&&void 0!==e?e:[]}}),V=(0,c.Z)(F,2),q=V[0],U=V[1],$=o.useState("drop"),W=(0,c.Z)($,2),K=W[0],G=W[1],Y=o.useRef();o.useMemo((function(){var e=Date.now();(u||[]).forEach((function(t,n){t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(n,"__"))}))}),[u]);var J=function(e,t,n){var r=(0,l.Z)(t);1===z?r=r.slice(-1):z&&(r=r.slice(0,z)),(0,Z.flushSync)((function(){U(r)}));var o={file:e,fileList:r};n&&(o.event=n),null===y||void 0===y||y(o)},X=function(e){var t=e.filter((function(e){return!e.file[ye]}));if(t.length){var n=t.map((function(e){return ne(e.file)})),r=(0,l.Z)(q);n.forEach((function(e){r=re(e,r)})),n.forEach((function(e,n){var o=e;if(t[n].parsedFile)e.status="uploading";else{var i,a=e.originFileObj;try{i=new File([a],a.name,{type:a.type})}catch(s){(i=new Blob([a],{type:a.type})).name=a.name,i.lastModifiedDate=new Date,i.lastModified=(new Date).getTime()}i.uid=e.uid,o=i}J(o,r)}))}},Q=function(e,t,n){try{"string"===typeof e&&(e=JSON.parse(e))}catch(i){}if(oe(t,q)){var r=ne(t);r.status="done",r.percent=100,r.response=e,r.xhr=n;var o=re(r,q);J(r,o)}},ee=function(e,t){if(oe(t,q)){var n=ne(t);n.status="uploading",n.percent=e.percent;var r=re(n,q);J(n,r,e)}},te=function(e,t,n){if(oe(n,q)){var r=ne(n);r.error=e,r.response=t,r.status="error";var o=re(r,q);J(r,o)}},ie=function(e){var t;Promise.resolve("function"===typeof p?p(e):p).then((function(n){var o;if(!1!==n){var i=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,q);i&&(t=(0,r.Z)((0,r.Z)({},e),{status:"removed"}),null===q||void 0===q||q.forEach((function(e){var n=void 0!==t.uid?"uid":"name";e[n]!==t[n]||Object.isFrozen(e)||(e.status="removed")})),null===(o=Y.current)||void 0===o||o.abort(t),J(t,i))}}))},ae=function(e){G(e.type),"drop"===e.type&&(null===b||void 0===b||b(e))};o.useImperativeHandle(t,(function(){return{onBatchStart:X,onSuccess:Q,onProgress:ee,onError:te,fileList:q,upload:Y.current}}));var se=o.useContext(P.E_),le=se.getPrefixCls,ce=se.direction,ue=le("upload",E),de=(0,r.Z)((0,r.Z)({onBatchStart:X,onError:te,onProgress:ee,onSuccess:Q},e),{prefixCls:ue,disabled:B,beforeUpload:function(t,n){return ve(void 0,void 0,void 0,(0,a.Z)().mark((function r(){var o,i,l,c;return(0,a.Z)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=e.beforeUpload,i=e.transformFile,l=t,!o){r.next=13;break}return r.next=5,o(t,n);case 5:if(!1!==(c=r.sent)){r.next=8;break}return r.abrupt("return",!1);case 8:if(delete t[ye],c!==ye){r.next=12;break}return Object.defineProperty(t,ye,{value:!0,configurable:!0}),r.abrupt("return",!1);case 12:"object"===(0,s.Z)(c)&&c&&(l=c);case 13:if(!i){r.next=17;break}return r.next=16,i(l);case 16:l=r.sent;case 17:return r.abrupt("return",l);case 18:case"end":return r.stop()}}),r)})))},onChange:void 0});delete de.className,delete de.style,N&&!B||delete de.id;var fe=function(e,t){return h?o.createElement(I.Z,{componentName:"Upload",defaultLocale:D.Z.Upload},(function(n){var i="boolean"===typeof h?{}:h,a=i.showRemoveIcon,s=i.showPreviewIcon,l=i.showDownloadIcon,c=i.removeIcon,u=i.previewIcon,d=i.downloadIcon;return o.createElement(ge,{prefixCls:ue,listType:m,items:q,previewFile:w,onPreview:g,onDownload:v,onRemove:ie,showRemoveIcon:!B&&a,showPreviewIcon:s,showDownloadIcon:l,removeIcon:c,previewIcon:u,downloadIcon:d,iconRender:k,locale:(0,r.Z)((0,r.Z)({},n),x),isImageUrl:_,progress:S,appendAction:e,appendActionVisible:t,itemRender:A})})):e};if("drag"===L){var pe,he=d()(ue,(pe={},(0,i.Z)(pe,"".concat(ue,"-drag"),!0),(0,i.Z)(pe,"".concat(ue,"-drag-uploading"),q.some((function(e){return"uploading"===e.status}))),(0,i.Z)(pe,"".concat(ue,"-drag-hover"),"dragover"===K),(0,i.Z)(pe,"".concat(ue,"-disabled"),B),(0,i.Z)(pe,"".concat(ue,"-rtl"),"rtl"===ce),pe),M);return o.createElement("span",null,o.createElement("div",{className:he,onDrop:ae,onDragOver:ae,onDragLeave:ae,style:O},o.createElement(j,(0,r.Z)({},de,{ref:Y,className:"".concat(ue,"-btn")}),o.createElement("div",{className:"".concat(ue,"-drag-container")},N))),fe())}var me,be=d()(ue,(n={},(0,i.Z)(n,"".concat(ue,"-select"),!0),(0,i.Z)(n,"".concat(ue,"-select-").concat(m),!0),(0,i.Z)(n,"".concat(ue,"-disabled"),B),(0,i.Z)(n,"".concat(ue,"-rtl"),"rtl"===ce),n)),we=(me=N?void 0:{display:"none"},o.createElement("div",{className:be,style:me},o.createElement(j,(0,r.Z)({},de,{ref:Y}))));return"picture-card"===m?o.createElement("span",{className:d()("".concat(ue,"-picture-card-wrapper"),M)},fe(we,!!N)):o.createElement("span",{className:M},we,fe())},we=o.forwardRef(be);we.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var Ce=we,xe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ke=function(e,t){var n=e.style,i=e.height,a=xe(e,["style","height"]);return o.createElement(Ce,(0,r.Z)({ref:t},a,{type:"drag",style:(0,r.Z)((0,r.Z)({},n),{height:i})}))};var _e=o.forwardRef(ke),Se=Ce;Se.Dragger=_e,Se.LIST_IGNORE=ye;var Ee=Se},33114:function(e,t,n){"use strict";var r=n(65957).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.noop=i,Object.defineProperty(t,"resetWarned",{enumerable:!0,get:function(){return o.resetWarned}});var o=r(n(59090));function i(){}var a=i;t.default=a},59194:function(e,t,n){"use strict";var r=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(55828)).default;t.default=o},2020:function(e,t,n){"use strict";var r=n(65957).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DisabledContextProvider=void 0;var o=r(n(50959)),i=o.createContext(!1);t.DisabledContextProvider=function(e){var t=e.children,n=e.disabled,r=o.useContext(i);return o.createElement(i.Provider,{value:n||r},t)};var a=i;t.default=a},73978:function(e,t,n){"use strict";var r=n(65957).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SizeContextProvider=void 0;var o=r(n(50959)),i=o.createContext(void 0);t.SizeContextProvider=function(e){var t=e.children,n=e.size;return o.createElement(i.Consumer,null,(function(e){return o.createElement(i.Provider,{value:n||e},t)}))};var a=i;t.default=a},71673:function(e,t,n){"use strict";var r=n(65957).default,o=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigContext=t.ConfigConsumer=void 0,t.withConfigConsumer=function(e){return function(t){var n=t.constructor;n&&n.displayName||t.name;return function(n){return a.createElement(l,null,(function(r){var o=e.prefixCls,s=(0,r.getPrefixCls)(o,n.prefixCls);return a.createElement(t,(0,i.default)({},r,n,{prefixCls:s}))}))}}};var i=o(n(85591)),a=r(n(50959)),s=a.createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")}});t.ConfigContext=s;var l=s.Consumer;t.ConfigConsumer=l},54888:function(e,t,n){"use strict";var r=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getStyle=c,t.registerTheme=function(e,t){var n=c(e,t);(0,a.default)()&&(0,s.updateCSS)(n,"".concat(l,"-dynamic-theme"))};var o=n(56088),i=n(75640),a=r(n(76688)),s=n(16647),l=(r(n(33114)),"-ant-".concat(Date.now(),"-").concat(Math.random()));function c(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null===t||void 0===t?void 0:t(n))||n).toRgbString()},a=function(e,t){var a=new i.TinyColor(e),s=(0,o.generate)(a.toRgbString());n["".concat(t,"-color")]=r(a),n["".concat(t,"-color-disabled")]=s[1],n["".concat(t,"-color-hover")]=s[4],n["".concat(t,"-color-active")]=s[6],n["".concat(t,"-color-outline")]=a.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=s[0],n["".concat(t,"-color-deprecated-border")]=s[2]};if(t.primaryColor){a(t.primaryColor,"primary");var s=new i.TinyColor(t.primaryColor),l=(0,o.generate)(s.toRgbString());l.forEach((function(e,t){n["primary-".concat(t+1)]=e})),n["primary-color-deprecated-l-35"]=r(s,(function(e){return e.lighten(35)})),n["primary-color-deprecated-l-20"]=r(s,(function(e){return e.lighten(20)})),n["primary-color-deprecated-t-20"]=r(s,(function(e){return e.tint(20)})),n["primary-color-deprecated-t-50"]=r(s,(function(e){return e.tint(50)})),n["primary-color-deprecated-f-12"]=r(s,(function(e){return e.setAlpha(.12*e.getAlpha())}));var c=new i.TinyColor(l[0]);n["primary-color-active-deprecated-f-30"]=r(c,(function(e){return e.setAlpha(.3*e.getAlpha())})),n["primary-color-active-deprecated-d-02"]=r(c,(function(e){return e.darken(2)}))}t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info");var u=Object.keys(n).map((function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")}));return"\n  :root {\n    ".concat(u.join("\n"),"\n  }\n  ").trim()}},549:function(e,t,n){"use strict";var r=n(65957).default,o=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ConfigConsumer",{enumerable:!0,get:function(){return m.ConfigConsumer}}),Object.defineProperty(t,"ConfigContext",{enumerable:!0,get:function(){return m.ConfigContext}}),t.globalConfig=t.defaultPrefixCls=t.defaultIconPrefixCls=t.default=t.configConsumerProps=void 0;var i=o(n(85591)),a=o(n(69631)),s=n(22423),l=o(n(389)),c=r(n(50959)),u=r(n(28472)),d=o(n(21014)),f=o(n(39168)),p=o(n(19829)),h=o(n(33972)),m=n(71673),g=n(54888),v=n(2020),y=r(n(73978));t.configConsumerProps=["getTargetContainer","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","autoInsertSpaceInButton","locale","pageHeader"];var b=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];t.defaultPrefixCls="ant";var w,C,x="anticon";function k(){return w||"ant"}function _(){return C||x}t.defaultIconPrefixCls=x;t.globalConfig=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(k(),"-").concat(e):k())},getIconPrefixCls:_,getRootPrefixCls:function(e,t){return e||(w||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):k()))}}};var S=function(e){var t,n,r=e.children,o=e.csp,d=e.autoInsertSpaceInButton,p=e.form,h=e.locale,g=e.componentSize,w=e.direction,C=e.space,x=e.virtual,k=e.dropdownMatchSelectWidth,_=e.legacyLocale,S=e.parentContext,E=e.iconPrefixCls,M=e.componentDisabled,L=c.useCallback((function(t,n){var r=e.prefixCls;if(n)return n;var o=r||S.getPrefixCls("");return t?"".concat(o,"-").concat(t):o}),[S.getPrefixCls,e.prefixCls]),N=(0,i.default)((0,i.default)({},S),{csp:o,autoInsertSpaceInButton:d,locale:h||_,direction:w,space:C,virtual:x,dropdownMatchSelectWidth:k,getPrefixCls:L});b.forEach((function(t){var n=e[t];n&&(N[t]=n)}));var O=(0,l.default)((function(){return N}),N,(function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((function(n){return e[n]!==t[n]}))})),A=c.useMemo((function(){return{prefixCls:E,csp:o}}),[E,o]),j=r,T={};return h&&(T=(null===(t=h.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=f.default.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),p&&p.validateMessages&&(T=(0,i.default)((0,i.default)({},T),p.validateMessages)),Object.keys(T).length>0&&(j=c.createElement(s.FormProvider,{validateMessages:T},r)),h&&(j=c.createElement(u.default,{locale:h,_ANT_MARK__:u.ANT_MARK},j)),(E||o)&&(j=c.createElement(a.default.Provider,{value:A},j)),g&&(j=c.createElement(y.SizeContextProvider,{size:g},j)),void 0!==M&&(j=c.createElement(v.DisabledContextProvider,{disabled:M},j)),c.createElement(m.ConfigContext.Provider,{value:O},j)},E=function(e){return c.useEffect((function(){e.direction&&(p.default.config({rtl:"rtl"===e.direction}),h.default.config({rtl:"rtl"===e.direction}))}),[e.direction]),c.createElement(d.default,null,(function(t,n,r){return c.createElement(m.ConfigConsumer,null,(function(t){return c.createElement(S,(0,i.default)({parentContext:t,legacyLocale:r},e))}))}))};E.ConfigContext=m.ConfigContext,E.SizeContext=y.default,E.config=function(e){var t=e.prefixCls,n=e.iconPrefixCls,r=e.theme;void 0!==t&&(w=t),void 0!==n&&(C=n),r&&(0,g.registerTheme)(k(),r)};var M=E;t.default=M},55828:function(e,t,n){"use strict";var r=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(85591)),i=r(n(61748)),a=r(n(85384)),s={lang:(0,o.default)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},i.default),timePickerLocale:(0,o.default)({},a.default)};t.default=s},87173:function(e,t,n){"use strict";var r=n(65957).default,o=n(26538).default;Object.defineProperty(t,"cI",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"qo",{enumerable:!0,get:function(){return u.useWatch}});var i=o(n(85591)),a=o(n(59668)),s=o(n(16796)),l=o(n(74298)),c=o(n(84875)),u=r(n(22423)),d=r(n(50959)),f=n(549),p=r(n(2020)),h=r(n(73978)),m=n(34588),g=o(n(41573)),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},y=function(e,t){var n,r=d.useContext(h.default),o=d.useContext(p.default),y=d.useContext(f.ConfigContext),b=y.getPrefixCls,w=y.direction,C=y.form,x=e.prefixCls,k=e.className,_=void 0===k?"":k,S=e.size,E=void 0===S?r:S,M=e.disabled,L=void 0===M?o:M,N=e.form,O=e.colon,A=e.labelAlign,j=e.labelWrap,T=e.labelCol,Z=e.wrapperCol,P=e.hideRequiredMark,R=e.layout,I=void 0===R?"horizontal":R,D=e.scrollToFirstError,z=e.requiredMark,H=e.onFinishFailed,B=e.name,F=v(e,["prefixCls","className","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),V=(0,d.useMemo)((function(){return void 0!==z?z:C&&void 0!==C.requiredMark?C.requiredMark:!P}),[P,z,C]),q=null!==O&&void 0!==O?O:null===C||void 0===C?void 0:C.colon,U=b("form",x),$=(0,c.default)(U,(n={},(0,l.default)(n,"".concat(U,"-").concat(I),!0),(0,l.default)(n,"".concat(U,"-hide-required-mark"),!1===V),(0,l.default)(n,"".concat(U,"-rtl"),"rtl"===w),(0,l.default)(n,"".concat(U,"-").concat(E),E),n),_),W=(0,g.default)(N),K=(0,s.default)(W,1)[0],G=K.__INTERNAL__;G.name=B;var Y=(0,d.useMemo)((function(){return{name:B,labelAlign:A,labelCol:T,labelWrap:j,wrapperCol:Z,vertical:"vertical"===I,colon:q,requiredMark:V,itemRef:G.itemRef,form:K}}),[B,A,T,Z,I,q,V,K]);d.useImperativeHandle(t,(function(){return K}));return d.createElement(p.DisabledContextProvider,{disabled:L},d.createElement(h.SizeContextProvider,{size:E},d.createElement(m.FormContext.Provider,{value:Y},d.createElement(u.default,(0,i.default)({id:B},F,{name:B,onFinishFailed:function(e){null===H||void 0===H||H(e);var t={block:"nearest"};D&&e.errorFields.length&&("object"===(0,a.default)(D)&&(t=D),K.scrollToField(e.errorFields[0].name,t))},form:K,className:$})))))}},34588:function(e,t,n){"use strict";var r=n(65957).default,o=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.NoStyleItemContext=t.NoFormStyle=t.FormProvider=t.FormItemPrefixContext=t.FormItemInputContext=t.FormContext=void 0;var i=o(n(85591)),a=n(22423),s=o(n(36768)),l=r(n(50959)),c=l.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}});t.FormContext=c;var u=l.createContext(null);t.NoStyleItemContext=u;t.FormProvider=function(e){var t=(0,s.default)(e,["prefixCls"]);return l.createElement(a.FormProvider,(0,i.default)({},t))};var d=l.createContext({prefixCls:""});t.FormItemPrefixContext=d;var f=l.createContext({});t.FormItemInputContext=f;t.NoFormStyle=function(e){var t=e.children,n=e.status,r=e.override,o=(0,l.useContext)(f),a=(0,l.useMemo)((function(){var e=(0,i.default)({},o);return r&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,r,o]);return l.createElement(f.Provider,{value:a},t)}},41573:function(e,t,n){"use strict";var r=n(65957).default,o=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,s.useForm)(),n=(0,a.default)(t,1)[0],r=l.useRef({}),o=l.useMemo((function(){return null!==e&&void 0!==e?e:(0,i.default)((0,i.default)({},n),{__INTERNAL__:{itemRef:function(e){return function(t){var n=d(e);t?r.current[n]=t:delete r.current[n]}}},scrollToField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,u.toArray)(e),r=(0,u.getFieldId)(n,o.__INTERNAL__.name),a=r?document.getElementById(r):null;a&&(0,c.default)(a,(0,i.default)({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:function(e){var t=d(e);return r.current[t]}})}),[e,n]);return[o]};var i=o(n(85591)),a=o(n(16796)),s=n(22423),l=r(n(50959)),c=o(n(48603)),u=n(44433);function d(e){return(0,u.toArray)(e).join("_")}},44433:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldId=function(e,t){if(!e.length)return;var r=e.join("_");if(t)return"".concat(t,"_").concat(r);return n.indexOf(r)>=0?"".concat("form_item","_").concat(r):r},t.toArray=function(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]};var n=["parentNode"]},21014:function(e,t,n){"use strict";var r=n(65957).default,o=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.useLocaleReceiver=function(e,t){var n=u.useContext(d.default);return[u.useMemo((function(){var r=t||f.default[e||"global"],o=e&&n?n[e]:{};return(0,i.default)((0,i.default)({},"function"===typeof r?r():r),o||{})}),[e,t,n])]};var i=o(n(85591)),a=o(n(99246)),s=o(n(28842)),l=o(n(22802)),c=o(n(70700)),u=r(n(50959)),d=o(n(88902)),f=o(n(68392)),p=function(e){(0,l.default)(n,e);var t=(0,c.default)(n);function n(){return(0,a.default)(this,n),t.apply(this,arguments)}return(0,s.default)(n,[{key:"getLocale",value:function(){var e=this.props,t=e.componentName,n=e.defaultLocale||f.default[null!==t&&void 0!==t?t:"global"],r=this.context,o=t&&r?r[t]:{};return(0,i.default)((0,i.default)({},n instanceof Function?n():n),o||{})}},{key:"getLocaleCode",value:function(){var e=this.context,t=e&&e.locale;return e&&e.exist&&!t?f.default.locale:t}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),n}(u.Component);t.default=p,p.defaultProps={componentName:"global"},p.contextType=d.default},88902:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(50959).createContext)(void 0);t.default=r},68392:function(e,t,n){"use strict";var r=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39168)).default;t.default=o},28472:function(e,t,n){"use strict";var r=n(65957).default,o=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ANT_MARK=void 0;var i=o(n(85591)),a=o(n(99246)),s=o(n(28842)),l=o(n(22802)),c=o(n(70700)),u=o(n(32424)),d=r(n(50959)),f=(o(n(33114)),n(83073)),p=o(n(88902));t.ANT_MARK="internalMark";var h=function(e){(0,l.default)(n,e);var t=(0,c.default)(n);function n(e){var r;return(0,a.default)(this,n),(r=t.call(this,e)).getMemoizedContextValue=(0,u.default)((function(e){return(0,i.default)((0,i.default)({},e),{exist:!0})})),(0,f.changeConfirmLocale)(e.locale&&e.locale.Modal),r}return(0,s.default)(n,[{key:"componentDidMount",value:function(){(0,f.changeConfirmLocale)(this.props.locale&&this.props.locale.Modal)}},{key:"componentDidUpdate",value:function(e){var t=this.props.locale;e.locale!==t&&(0,f.changeConfirmLocale)(t&&t.Modal)}},{key:"componentWillUnmount",value:function(){(0,f.changeConfirmLocale)()}},{key:"render",value:function(){var e=this.props,t=e.locale,n=e.children,r=this.getMemoizedContextValue(t);return d.createElement(p.default.Provider,{value:r},n)}}]),n}(d.Component);t.default=h,h.defaultProps={locale:{}}},39168:function(e,t,n){"use strict";var r=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(63305)),i=r(n(59194)),a=r(n(55828)),s=r(n(85384)),l="${label} is not a valid ${type}",c={locale:"en",Pagination:o.default,DatePicker:a.default,TimePicker:s.default,Calendar:i.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};t.default=c},5821:function(e,t,n){"use strict";var r=n(65957).default,o=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(){var n,r,o=null,d={add:function(e,t){null===o||void 0===o||o.component.add(e,t)}},f=(0,s.default)(d),p=(0,a.default)(f,2),h=p[0],m=p[1];var g=l.useRef({});return g.current.open=function(a){var s=a.prefixCls,l=n("message",s),u=n(),d=a.key||(0,c.getKeyThenIncreaseKey)(),f=new Promise((function(n){var s=function(){return"function"===typeof a.onClose&&a.onClose(),n(!0)};e((0,i.default)((0,i.default)({},a),{prefixCls:l,rootPrefixCls:u,getPopupContainer:r}),(function(e){var n=e.prefixCls,r=e.instance;o=r,h(t((0,i.default)((0,i.default)({},a),{key:d,onClose:s}),n))}))})),p=function(){o&&o.removeNotice(d)};return p.then=function(e,t){return f.then(e,t)},p.promise=f,p},c.typeList.forEach((function(e){return(0,c.attachTypeApi)(g.current,e)})),[g.current,l.createElement(u.ConfigConsumer,{key:"holder"},(function(e){return n=e.getPrefixCls,r=e.getPopupContainer,m}))]}};var i=o(n(85591)),a=o(n(16796)),s=o(n(16565)),l=r(n(50959)),c=n(19829),u=n(549)},19829:function(e,t,n){"use strict";var r=n(65957).default,o=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.attachTypeApi=T,t.getInstance=t.default=void 0,t.getKeyThenIncreaseKey=M,t.typeList=void 0;var i,a,s,l,c=o(n(85591)),u=o(n(74298)),d=o(n(46067)),f=o(n(15965)),p=o(n(58811)),h=o(n(47942)),m=o(n(16651)),g=o(n(84875)),v=o(n(33721)),y=r(n(50959)),b=r(n(549)),w=o(n(5821)),C=3,x=1,k="",_="move-up",S=!1,E=!1;function M(){return x++}function L(e,t){var n=e.prefixCls,r=e.getPopupContainer,o=(0,b.globalConfig)(),c=o.getPrefixCls,u=o.getRootPrefixCls,d=o.getIconPrefixCls,f=c("message",n||k),p=u(e.rootPrefixCls,f),h=d();if(i)t({prefixCls:f,rootPrefixCls:p,iconPrefixCls:h,instance:i});else{var m={prefixCls:f,transitionName:S?_:"".concat(p,"-").concat(_),style:{top:a},getContainer:s||r,maxCount:l};v.default.newInstance(m,(function(e){i?t({prefixCls:f,rootPrefixCls:p,iconPrefixCls:h,instance:i}):(i=e,t({prefixCls:f,rootPrefixCls:p,iconPrefixCls:h,instance:e}))}))}}var N={info:h.default,success:d.default,error:f.default,warning:p.default,loading:m.default},O=Object.keys(N);function A(e,t,n){var r,o=void 0!==e.duration?e.duration:C,i=N[e.type],a=(0,g.default)("".concat(t,"-custom-content"),(r={},(0,u.default)(r,"".concat(t,"-").concat(e.type),e.type),(0,u.default)(r,"".concat(t,"-rtl"),!0===E),r));return{key:e.key,duration:o,style:e.style||{},className:e.className,content:y.createElement(b.default,{iconPrefixCls:n},y.createElement("div",{className:a},e.icon||i&&y.createElement(i,null),y.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}t.typeList=O;var j={open:function(e){var t=e.key||M(),n=new Promise((function(n){var r=function(){return"function"===typeof e.onClose&&e.onClose(),n(!0)};L(e,(function(n){var o=n.prefixCls,i=n.iconPrefixCls;n.instance.notice(A((0,c.default)((0,c.default)({},e),{key:t,onClose:r}),o,i))}))})),r=function(){i&&i.removeNotice(t)};return r.then=function(e,t){return n.then(e,t)},r.promise=n,r},config:function(e){void 0!==e.top&&(a=e.top,i=null),void 0!==e.duration&&(C=e.duration),void 0!==e.prefixCls&&(k=e.prefixCls),void 0!==e.getContainer&&(s=e.getContainer,i=null),void 0!==e.transitionName&&(_=e.transitionName,i=null,S=!0),void 0!==e.maxCount&&(l=e.maxCount,i=null),void 0!==e.rtl&&(E=e.rtl)},destroy:function(e){if(i)if(e){(0,i.removeNotice)(e)}else{var t=i.destroy;t(),i=null}}};function T(e,t){e[t]=function(n,r,o){return function(e){return"[object Object]"===Object.prototype.toString.call(e)&&!!e.content}(n)?e.open((0,c.default)((0,c.default)({},n),{type:t})):("function"===typeof r&&(o=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:o}))}}O.forEach((function(e){return T(j,e)})),j.warn=j.warning,j.useMessage=(0,w.default)(L,A);t.getInstance=function(){return null};var Z=j;t.default=Z},83073:function(e,t,n){"use strict";var r=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.changeConfirmLocale=function(e){a=e?(0,o.default)((0,o.default)({},a),e):(0,o.default)({},i.default.Modal)},t.getConfirmLocale=function(){return a};var o=r(n(85591)),i=r(n(39168)),a=(0,o.default)({},i.default.Modal)},68318:function(e,t,n){"use strict";var r=n(65957).default,o=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(){var n,r=null,o={add:function(e,t){null===r||void 0===r||r.component.add(e,t)}},u=(0,s.default)(o),d=(0,a.default)(u,2),f=d[0],p=d[1];var h=l.useRef({});return h.current.open=function(o){var a=o.prefixCls,s=n("notification",a);e((0,i.default)((0,i.default)({},o),{prefixCls:s}),(function(e){var n=e.prefixCls,i=e.instance;r=i,f(t(o,n))}))},["success","info","warning","error"].forEach((function(e){h.current[e]=function(t){return h.current.open((0,i.default)((0,i.default)({},t),{type:e}))}})),[h.current,l.createElement(c.ConfigConsumer,{key:"holder"},(function(e){return n=e.getPrefixCls,p}))]}};var i=o(n(85591)),a=o(n(16796)),s=o(n(16565)),l=r(n(50959)),c=n(549)},33972:function(e,t,n){"use strict";var r=n(65957).default,o=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getInstance=t.default=void 0;var i,a,s,l=o(n(4182)),c=o(n(85591)),u=o(n(74298)),d=o(n(71085)),f=o(n(26582)),p=o(n(95572)),h=o(n(70157)),m=o(n(35131)),g=o(n(84875)),v=o(n(33721)),y=r(n(50959)),b=r(n(549)),w=o(n(68318)),C=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},x={},k=4.5,_=24,S=24,E="",M="topRight",L=!1;function N(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S;switch(e){case"top":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:n,bottom:"auto"};break;case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottom":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:r};break;case"bottomLeft":t={left:0,top:"auto",bottom:r};break;default:t={right:0,top:"auto",bottom:r}}return t}function O(e,t){var n=e.placement,r=void 0===n?M:n,o=e.top,a=e.bottom,l=e.getContainer,c=void 0===l?i:l,d=e.prefixCls,f=(0,b.globalConfig)(),p=f.getPrefixCls,h=f.getIconPrefixCls,m=p("notification",d||E),y=h(),w="".concat(m,"-").concat(r),C=x[w];if(C)Promise.resolve(C).then((function(e){t({prefixCls:"".concat(m,"-notice"),iconPrefixCls:y,instance:e})}));else{var k=(0,g.default)("".concat(m,"-").concat(r),(0,u.default)({},"".concat(m,"-rtl"),!0===L));x[w]=new Promise((function(e){v.default.newInstance({prefixCls:m,className:k,style:N(r,o,a),getContainer:c,maxCount:s},(function(n){e(n),t({prefixCls:"".concat(m,"-notice"),iconPrefixCls:y,instance:n})}))}))}}var A={success:d.default,info:m.default,error:f.default,warning:h.default};function j(e,t,n){var r=e.duration,o=e.icon,i=e.type,s=e.description,l=e.message,c=e.btn,d=e.onClose,f=e.onClick,h=e.key,m=e.style,v=e.className,w=e.closeIcon,C=void 0===w?a:w,x=void 0===r?k:r,_=null;o?_=y.createElement("span",{className:"".concat(t,"-icon")},e.icon):i&&(_=y.createElement(A[i]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(i)}));var S=y.createElement("span",{className:"".concat(t,"-close-x")},C||y.createElement(p.default,{className:"".concat(t,"-close-icon")})),E=!s&&_?y.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:y.createElement(b.default,{iconPrefixCls:n},y.createElement("div",{className:_?"".concat(t,"-with-icon"):"",role:"alert"},_,y.createElement("div",{className:"".concat(t,"-message")},E,l),y.createElement("div",{className:"".concat(t,"-description")},s),c?y.createElement("span",{className:"".concat(t,"-btn")},c):null)),duration:x,closable:!0,closeIcon:S,onClose:d,onClick:f,key:h,style:m||{},className:(0,g.default)(v,(0,u.default)({},"".concat(t,"-").concat(i),!!i))}}var T={open:function(e){O(e,(function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(j(e,n,r))}))},close:function(e){Object.keys(x).forEach((function(t){return Promise.resolve(x[t]).then((function(t){t.removeNotice(e)}))}))},config:function(e){var t=e.duration,n=e.placement,r=e.bottom,o=e.top,l=e.getContainer,c=e.closeIcon,u=e.prefixCls;void 0!==u&&(E=u),void 0!==t&&(k=t),void 0!==n?M=n:e.rtl&&(M="topLeft"),void 0!==r&&(S=r),void 0!==o&&(_=o),void 0!==l&&(i=l),void 0!==c&&(a=c),void 0!==e.rtl&&(L=e.rtl),void 0!==e.maxCount&&(s=e.maxCount)},destroy:function(){Object.keys(x).forEach((function(e){Promise.resolve(x[e]).then((function(e){e.destroy()})),delete x[e]}))}};["success","info","warning","error"].forEach((function(e){T[e]=function(t){return T.open((0,c.default)((0,c.default)({},t),{type:e}))}})),T.warn=T.warning,T.useNotification=(0,w.default)(O,j);t.getInstance=function(e){return C(void 0,void 0,void 0,(0,l.default)().mark((function e(){return(0,l.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}}),e)})))};var Z=T;t.default=Z},85384:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};t.default=n},84875:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},26313:function(e){function t(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function n(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function r(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return n(r.overflowY,t)||n(r.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function o(e,t,n,r,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0}e.exports=function(e,n){var i=window,a=n.scrollMode,s=n.block,l=n.inline,c=n.boundary,u=n.skipOverflowHiddenElements,d="function"==typeof c?c:function(e){return e!==c};if(!t(e))throw new TypeError("Invalid target");for(var f,p,h=document.scrollingElement||document.documentElement,m=[],g=e;t(g)&&d(g);){if((g=null==(p=(f=g).parentElement)?f.getRootNode().host||null:p)===h){m.push(g);break}null!=g&&g===document.body&&r(g)&&!r(document.documentElement)||null!=g&&r(g,u)&&m.push(g)}for(var v=i.visualViewport?i.visualViewport.width:innerWidth,y=i.visualViewport?i.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,w=window.scrollY||pageYOffset,C=e.getBoundingClientRect(),x=C.height,k=C.width,_=C.top,S=C.right,E=C.bottom,M=C.left,L="start"===s||"nearest"===s?_:"end"===s?E:_+x/2,N="center"===l?M+k/2:"end"===l?S:M,O=[],A=0;A<m.length;A++){var j=m[A],T=j.getBoundingClientRect(),Z=T.height,P=T.width,R=T.top,I=T.right,D=T.bottom,z=T.left;if("if-needed"===a&&_>=0&&M>=0&&E<=y&&S<=v&&_>=R&&E<=D&&M>=z&&S<=I)return O;var H=getComputedStyle(j),B=parseInt(H.borderLeftWidth,10),F=parseInt(H.borderTopWidth,10),V=parseInt(H.borderRightWidth,10),q=parseInt(H.borderBottomWidth,10),U=0,$=0,W="offsetWidth"in j?j.offsetWidth-j.clientWidth-B-V:0,K="offsetHeight"in j?j.offsetHeight-j.clientHeight-F-q:0,G="offsetWidth"in j?0===j.offsetWidth?0:P/j.offsetWidth:0,Y="offsetHeight"in j?0===j.offsetHeight?0:Z/j.offsetHeight:0;if(h===j)U="start"===s?L:"end"===s?L-y:"nearest"===s?o(w,w+y,y,F,q,w+L,w+L+x,x):L-y/2,$="start"===l?N:"center"===l?N-v/2:"end"===l?N-v:o(b,b+v,v,B,V,b+N,b+N+k,k),U=Math.max(0,U+w),$=Math.max(0,$+b);else{U="start"===s?L-R-F:"end"===s?L-D+q+K:"nearest"===s?o(R,D,Z,F,q+K,L,L+x,x):L-(R+Z/2)+K/2,$="start"===l?N-z-B:"center"===l?N-(z+P/2)+W/2:"end"===l?N-I+V+W:o(z,I,P,B,V+W,N,N+k,k);var J=j.scrollLeft,X=j.scrollTop;L+=X-(U=Math.max(0,Math.min(X+U/Y,j.scrollHeight-Z/Y+K))),N+=J-($=Math.max(0,Math.min(J+$/G,j.scrollWidth-P/G+W)))}O.push({el:j,top:U,left:$})}return O}},81816:function(e,t){var n="undefined"!==typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!==typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"===typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=h(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(w)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=c(e),t=u(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},f.prototype.delete=function(e){delete this.map[c(e)]},f.prototype.get=function(e){return e=c(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(c(e))},f.prototype.set=function(e,t){this.map[c(e)]=u(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),d(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),d(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),d(e)},r&&(f.prototype[Symbol.iterator]=f.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var n=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=function(e){var t=e.toUpperCase();return y.indexOf(t)>-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function C(e){var t=new f;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t}function x(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},v.call(b.prototype),v.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var k=[301,302,303,307,308];x.redirect=function(e,t){if(-1===k.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(S){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function _(e,n){return new Promise((function(r,i){var a=new b(e,n);if(a.signal&&a.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e={status:s.status,statusText:s.statusText,headers:C(s.getAllResponseHeaders()||"")};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var t="response"in s?s.response:s.responseText;r(new x(t,e))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send("undefined"===typeof a._bodyInit?null:a._bodyInit)}))}_.polyfill=!0,e.fetch||(e.fetch=_,e.Headers=f,e.Request=b,e.Response=x),t.Headers=f,t.Request=b,t.Response=x,t.fetch=_,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},13706:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},91612:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(13706),a=n(4409);o(n(4409),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"===typeof t&&(n=t,t=s),"object"===typeof e&&(t=e,e=void 0),this.callback=null!==e&&void 0!==e?e:null,this.options=null!==t&&void 0!==t?t:s,this.elementCB=null!==n&&void 0!==n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"===typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},4409:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var i=n(13706),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),C(this,e)},e}();t.Node=a;var s=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=s;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(s);t.Text=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(s);t.Comment=c;var u=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=i.ElementType.Directive,r}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(s);t.ProcessingInstruction=u;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=d;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=p;var h=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var a=e.call(this,r)||this;return a.name=t,a.attribs=n,a.type=o,a}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function m(e){return(0,i.isTag)(e)}function g(e){return e.type===i.ElementType.CDATA}function v(e){return e.type===i.ElementType.Text}function y(e){return e.type===i.ElementType.Comment}function b(e){return e.type===i.ElementType.Directive}function w(e){return e.type===i.ElementType.Root}function C(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new l(e.data);else if(y(e))n=new c(e.data);else if(m(e)){var r=t?x(e.children):[],i=new h(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(g(e)){r=t?x(e.children):[];var a=new f(r);r.forEach((function(e){return e.parent=a})),n=a}else if(w(e)){r=t?x(e.children):[];var s=new p(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!b(e))throw new Error("Not implemented yet: ".concat(e.type));var d=new u(e.name,e.data);null!=e["x-name"]&&(d["x-name"]=e["x-name"],d["x-publicId"]=e["x-publicId"],d["x-systemId"]=e["x-systemId"]),n=d}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function x(e){for(var t=e.map((function(e){return C(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=h,t.isTag=m,t.isCDATA=g,t.isText=v,t.isComment=y,t.isDirective=b,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=C},60571:function(e){!function(){var t;function n(e){for(var t,n,r,o,i=1,a=[].slice.call(arguments),s=0,l=e.length,c="",u=!1,d=!1,f=function(){return a[i++]},p=function(){for(var n="";/\d/.test(e[s]);)n+=e[s++],t=e[s];return n.length>0?parseInt(n):null};s<l;++s)if(t=e[s],u)switch(u=!1,"."==t?(d=!1,t=e[++s]):"0"==t&&"."==e[s+1]?(d=!0,t=e[s+=2]):d=!0,o=p(),t){case"b":c+=parseInt(f(),10).toString(2);break;case"c":c+="string"===typeof(n=f())||n instanceof String?n:String.fromCharCode(parseInt(n,10));break;case"d":c+=parseInt(f(),10);break;case"f":r=String(parseFloat(f()).toFixed(o||6)),c+=d?r:r.replace(/^0/,"");break;case"j":c+=JSON.stringify(f());break;case"o":c+="0"+parseInt(f(),10).toString(8);break;case"s":c+=f();break;case"x":c+="0x"+parseInt(f(),10).toString(16);break;case"X":c+="0x"+parseInt(f(),10).toString(16).toUpperCase();break;default:c+=t}else"%"===t?u=!0:c+=t;return c}(t=e.exports=n).format=n,t.vsprintf=function(e,t){return n.apply(null,[e].concat(t))},"undefined"!==typeof console&&"function"===typeof console.log&&(t.printf=function(){console.log(n.apply(null,arguments))})}()},72535:function(e,t,n){"use strict";var r=n(56237),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!i[v]&&(!r||!r[v])&&(!m||!m[v])&&(!s||!s[v])){var y=f(n,v);try{c(t,v,y)}catch(b){}}}}return t}},69400:function(e,t){t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]},6461:function(e){var t="html",n="head",r="body",o=/<([a-zA-Z]+[0-9]?)/,i=/<head[^]*>/i,a=/<body[^]*>/i,s=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},l=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"===typeof window&&window.DOMParser;if("function"===typeof c){var u=new c;s=l=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),u.parseFromString(e,"text/html")}}if("object"===typeof document&&document.implementation){var d=document.implementation.createHTMLDocument();s=function(e,t){return t?(d.documentElement.querySelector(t).innerHTML=e,d):(d.documentElement.innerHTML=e,d)}}var f,p="object"===typeof document?document.createElement("template"):{};p.content&&(f=function(e){return p.innerHTML=e,p.content.childNodes}),e.exports=function(e){var c,u,d,p,h=e.match(o);switch(h&&h[1]&&(c=h[1].toLowerCase()),c){case t:return u=l(e),i.test(e)||(d=u.querySelector(n))&&d.parentNode.removeChild(d),a.test(e)||(d=u.querySelector(r))&&d.parentNode.removeChild(d),u.querySelectorAll(t);case n:case r:return p=(u=s(e)).querySelectorAll(c),a.test(e)&&i.test(e)?p[0].parentNode.childNodes:p;default:return f?f(e):(d=s(e,r).querySelector(r)).childNodes}}},37587:function(e,t,n){var r=n(6461),o=n(57926).formatDOM,i=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(i);return n&&n[1]&&(t=n[1]),o(r(e),null,t)}},57926:function(e,t,n){for(var r,o=n(91612),i=n(69400).CASE_SENSITIVE_TAG_NAMES,a=o.Comment,s=o.Element,l=o.ProcessingInstruction,c=o.Text,u={},d=0,f=i.length;d<f;d++)r=i[d],u[r.toLowerCase()]=r;function p(e){for(var t,n={},r=0,o=e.length;r<o;r++)n[(t=e[r]).name]=t.value;return n}function h(e){var t=function(e){return u[e]}(e=e.toLowerCase());return t||e}t.formatAttributes=p,t.formatDOM=function e(t,n,r){n=n||null;for(var o,i=[],u=0,d=t.length;u<d;u++){var f,m=t[u];switch(m.nodeType){case 1:o=h(m.nodeName),(f=new s(o,p(m.attributes))).children=e("template"===o?m.content.childNodes:m.childNodes,f);break;case 3:f=new c(m.nodeValue);break;case 8:f=new a(m.nodeValue);break;default:continue}var g=i[u-1]||null;g&&(g.next=f),f.parent=n,f.prev=g,f.next=null,i.push(f)}return r&&((f=new l(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=i[0]||null,f.parent=n,i.unshift(f),i[1]&&(i[1].prev=i[0])),i}},50153:function(e,t,n){var r=n(91612),o=n(37587),i=n(50744),a=n(72130);o="function"===typeof o.default?o.default:o;var s={lowerCaseAttributeNames:!1};function l(e,t){if("string"!==typeof e)throw new TypeError("First argument must be a string");return""===e?[]:a(o(e,(t=t||{}).htmlparser2||s),t)}l.domToReact=a,l.htmlToDOM=o,l.attributesToProps=i,l.Comment=r.Comment,l.Element=r.Element,l.ProcessingInstruction=r.ProcessingInstruction,l.Text=r.Text,e.exports=l,l.default=l},50744:function(e,t,n){var r=n(26509),o=n(57667),i=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}e.exports=function(e,t){var n,c,u,d,f,p={},h=(e=e||{}).type&&s[e.type];for(n in e)if(u=e[n],r.isCustomAttribute(n))p[n]=u;else if(d=l(c=n.toLowerCase()))switch(f=r.getPropertyInfo(d),-1===i.indexOf(d)||-1===a.indexOf(t)||h||(d=l("default"+c)),p[d]=u,f&&f.type){case r.BOOLEAN:p[d]=!0;break;case r.OVERLOADED_BOOLEAN:""===u&&(p[d]=!0)}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(p[n]=u);return o.setStyleProp(e.style,p),p}},72130:function(e,t,n){var r=n(50959),o=n(50744),i=n(57667),a=i.setStyleProp,s=i.canTextBeChildOfNode;function l(e){return i.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&i.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var i,c,u,d,f,p=(n=n||{}).library||r,h=p.cloneElement,m=p.createElement,g=p.isValidElement,v=[],y="function"===typeof n.replace,b=n.trim,w=0,C=t.length;w<C;w++)if(i=t[w],y&&g(u=n.replace(i)))C>1&&(u=h(u,{key:u.key||w})),v.push(u);else if("text"!==i.type){switch(d=i.attribs,l(i)?a(d.style,d):d&&(d=o(d,i.name)),f=null,i.type){case"script":case"style":i.children[0]&&(d.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?d.defaultValue=i.children[0].data:i.children&&i.children.length&&(f=e(i.children,n));break;default:continue}C>1&&(d.key=w),v.push(m(i.name,d,f))}else{if((c=!i.data.trim().length)&&i.parent&&!s(i.parent))continue;if(b&&c)continue;v.push(i.data)}return 1===v.length?v[0]:v}},57667:function(e,t,n){var r=n(50959),o=n(75090).default;var i={reactCompat:!0};var a=r.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!==typeof e)throw new TypeError("First argument must be an object");var n,r,o="function"===typeof t,i={},a={};for(n in e)r=e[n],o&&(i=t(n,r))&&2===i.length?a[i[0]]=i[1]:"string"===typeof r&&(a[r]=n);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"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}},setStyleProp:function(e,t){if(null!==e&&void 0!==e)try{t.style=o(e,i)}catch(n){t.style={}}},canTextBeChildOfNode:function(e){return!s.has(e.name)},elementsWithNoTextChildren:s}},55309:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,f=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:d,column:f};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:d,column:f},this.source=l.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(l.source+":"+d+":"+f+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=f,n.source=e,!l.silent)throw n;g.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){y(r)}function w(e){var t;for(e=e||[];t=C();)!1!==t&&e.push(t);return e}function C(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function x(){var e=h(),n=y(o);if(n){if(C(),!y(i))return v("property missing ':'");var r=y(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return y(s),l}}return b(),function(){var e,t=[];for(w(t);e=x();)!1!==e&&(t.push(e),w(t));return t}()}},87269:function(e,t,n){var r=n(47758)(n(29165),"DataView");e.exports=r},88987:function(e,t,n){var r=n(71519),o=n(82999),i=n(76111),a=n(50506),s=n(80845);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=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},175:function(e,t,n){var r=n(2173),o=n(33752),i=n(10548),a=n(63410),s=n(3564);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=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},35922:function(e,t,n){var r=n(47758)(n(29165),"Map");e.exports=r},9440:function(e,t,n){var r=n(7140),o=n(56504),i=n(88833),a=n(80953),s=n(70724);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=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},6795:function(e,t,n){var r=n(47758)(n(29165),"Promise");e.exports=r},81956:function(e,t,n){var r=n(47758)(n(29165),"Set");e.exports=r},78188:function(e,t,n){var r=n(9440),o=n(96659),i=n(97230);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=o,a.prototype.has=i,e.exports=a},5929:function(e,t,n){var r=n(175),o=n(40551),i=n(4090),a=n(47694),s=n(86220),l=n(68958);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},74396:function(e,t,n){var r=n(29165).Symbol;e.exports=r},92210:function(e,t,n){var r=n(29165).Uint8Array;e.exports=r},69477:function(e,t,n){var r=n(47758)(n(29165),"WeakMap");e.exports=r},48969:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},79809:function(e,t,n){var r=n(39739),o=n(30353),i=n(24669),a=n(61563),s=n(91010),l=n(73806),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),f=!n&&!u&&!d&&l(e),p=n||u||d||f,h=p?r(e.length,String):[],m=h.length;for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},75697:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},28486:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},30695:function(e){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},84330: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}},74202:function(e){e.exports=function(e){return e.split("")}},81034:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},62718:function(e,t,n){var r=n(42448);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},38084:function(e,t,n){var r=n(28486),o=n(24669);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},80732:function(e,t,n){var r=n(74396),o=n(31239),i=n(57058),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)?o(e):i(e)}},84742:function(e,t,n){var r=n(80732),o=n(55073);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},6620:function(e,t,n){var r=n(83977),o=n(55073);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},83977:function(e,t,n){var r=n(5929),o=n(22684),i=n(7456),a=n(18120),s=n(81887),l=n(24669),c=n(61563),u=n(73806),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=l(e),b=l(t),w=y?f:s(e),C=b?f:s(t),x=(w=w==d?p:w)==p,k=(C=C==d?p:C)==p,_=w==C;if(_&&c(e)){if(!c(t))return!1;y=!0,x=!1}if(_&&!x)return v||(v=new r),y||u(e)?o(e,t,n,m,g,v):i(e,t,w,n,m,g,v);if(!(1&n)){var S=x&&h.call(e,"__wrapped__"),E=k&&h.call(t,"__wrapped__");if(S||E){var M=S?e.value():e,L=E?t.value():t;return v||(v=new r),g(M,L,n,m,v)}}return!!_&&(v||(v=new r),a(e,t,n,m,g,v))}},58939:function(e,t,n){var r=n(92042),o=n(90654),i=n(36838),a=n(51059),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},22882:function(e,t,n){var r=n(80732),o=n(17216),i=n(55073),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 i(e)&&o(e.length)&&!!a[r(e)]}},87473:function(e,t,n){var r=n(92963),o=n(14457),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},243:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},43846:function(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},39739:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},73150:function(e,t,n){var r=n(74396),o=n(75697),i=n(24669),a=n(16764),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},33124:function(e,t,n){var r=n(82996),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},58792:function(e){e.exports=function(e){return function(t){return e(t)}}},29880:function(e){e.exports=function(e,t){return e.has(t)}},20167:function(e,t,n){var r=n(43846);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},36633:function(e,t,n){var r=n(29165)["__core-js_shared__"];e.exports=r},23684:function(e,t,n){var r=n(20167),o=n(30080),i=n(30078),a=n(8389);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},51471:function(e,t,n){var r=n(30695),o=n(26357),i=n(71055),a=RegExp("['\u2019]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},92523:function(e,t,n){var r=n(243)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});e.exports=r},22684:function(e,t,n){var r=n(78188),o=n(84330),i=n(29880);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var f=l.get(e),p=l.get(t);if(f&&p)return f==t&&p==e;var h=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++h<u;){var v=e[h],y=t[h];if(a)var b=c?a(y,v,h,t,e,l):a(v,y,h,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,l)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},7456:function(e,t,n){var r=n(74396),o=n(92210),i=n(42448),a=n(22684),s=n(7523),l=n(79967),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+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 p=s;case"[object Set]":var h=1&r;if(p||(p=l),e.size!=t.size&&!h)return!1;var m=f.get(e);if(m)return m==t;r|=2,f.set(e,t);var g=a(p(e),p(t),r,c,d,f);return f.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},18120:function(e,t,n){var r=n(69698),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var f=c[d];if(!(l?f in t:o.call(t,f)))return!1}var p=s.get(e),h=s.get(t);if(p&&h)return p==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++d<u;){var v=e[f=c[d]],y=t[f];if(i)var b=l?i(y,v,f,t,e,s):i(v,y,f,e,t,s);if(!(void 0===b?v===y||a(v,y,n,i,s):b)){m=!1;break}g||(g="constructor"==f)}if(m&&!g){var w=e.constructor,C=t.constructor;w==C||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof C&&C instanceof C||(m=!1)}return s.delete(e),s.delete(t),m}},96476:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},69698:function(e,t,n){var r=n(38084),o=n(97482),i=n(50579);e.exports=function(e){return r(e,i,o)}},67707:function(e,t,n){var r=n(3880);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},47758:function(e,t,n){var r=n(58939),o=n(9149);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},31239:function(e,t,n){var r=n(74396),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},97482:function(e,t,n){var r=n(48969),o=n(68036),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},81887:function(e,t,n){var r=n(87269),o=n(35922),i=n(6795),a=n(81956),s=n(69477),l=n(80732),c=n(51059),u="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=c(r),g=c(o),v=c(i),y=c(a),b=c(s),w=l;(r&&w(new r(new ArrayBuffer(1)))!=h||o&&w(new o)!=u||i&&w(i.resolve())!=d||a&&w(new a)!=f||s&&w(new s)!=p)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return h;case g:return u;case v:return d;case y:return f;case b:return p}return t}),e.exports=w},9149:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},30080:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},37854:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},71519:function(e,t,n){var r=n(37722);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},82999:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},76111:function(e,t,n){var r=n(37722),o=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 o.call(t,e)?t[e]:void 0}},50506:function(e,t,n){var r=n(37722),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},80845:function(e,t,n){var r=n(37722);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}},91010: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}},3880:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},90654:function(e,t,n){var r=n(36633),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},92963:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},2173:function(e){e.exports=function(){this.__data__=[],this.size=0}},33752:function(e,t,n){var r=n(62718),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},10548:function(e,t,n){var r=n(62718);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},63410:function(e,t,n){var r=n(62718);e.exports=function(e){return r(this.__data__,e)>-1}},3564:function(e,t,n){var r=n(62718);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},7140:function(e,t,n){var r=n(88987),o=n(175),i=n(35922);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},56504:function(e,t,n){var r=n(67707);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},88833:function(e,t,n){var r=n(67707);e.exports=function(e){return r(this,e).get(e)}},80953:function(e,t,n){var r=n(67707);e.exports=function(e){return r(this,e).has(e)}},70724:function(e,t,n){var r=n(67707);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},7523:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},37722:function(e,t,n){var r=n(47758)(Object,"create");e.exports=r},14457:function(e,t,n){var r=n(75542)(Object.keys,Object);e.exports=r},8478:function(e,t,n){e=n.nmd(e);var r=n(96476),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},57058:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},75542:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},29165:function(e,t,n){var r=n(96476),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},96659:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},97230:function(e){e.exports=function(e){return this.__data__.has(e)}},79967:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},40551:function(e,t,n){var r=n(175);e.exports=function(){this.__data__=new r,this.size=0}},4090:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},47694:function(e){e.exports=function(e){return this.__data__.get(e)}},86220:function(e){e.exports=function(e){return this.__data__.has(e)}},68958:function(e,t,n){var r=n(175),o=n(35922),i=n(9440);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},30078:function(e,t,n){var r=n(74202),o=n(30080),i=n(95611);e.exports=function(e){return o(e)?i(e):r(e)}},51059:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},82996:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},95611:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")"+"?",l="[\\ufe0e\\ufe0f]?",c=l+s+("(?:\\u200d(?:"+[o,i,a].join("|")+")"+l+s+")*"),u="(?:"+[o+n+"?",n,i,a,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+u+c,"g");e.exports=function(e){return e.match(d)||[]}},24155:function(e){var t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",i="["+o+"]",a="\\d+",s="[\\u2700-\\u27bf]",l="["+n+"]",c="[^\\ud800-\\udfff"+o+a+t+n+r+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",f="["+r+"]",p="(?:"+l+"|"+c+")",h="(?:"+f+"|"+c+")",m="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",g="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",y="[\\ufe0e\\ufe0f]?",b=y+v+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",u,d].join("|")+")"+y+v+")*"),w="(?:"+[s,u,d].join("|")+")"+b,C=RegExp([f+"?"+l+"+"+m+"(?="+[i,f,"$"].join("|")+")",h+"+"+g+"(?="+[i,f+p,"$"].join("|")+")",f+"?"+p+"+"+m,f+"+"+g,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,w].join("|"),"g");e.exports=function(e){return e.match(C)||[]}},47638:function(e,t,n){var r=n(68437),o=n(51471)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=o},68437:function(e,t,n){var r=n(8389),o=n(42950);e.exports=function(e){return o(r(e).toLowerCase())}},66292:function(e,t,n){var r=n(36838),o=n(76668),i=n(12448),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,f,p,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=c;return l=c=void 0,h=t,d=e.apply(r,n)}function b(e){return h=e,f=setTimeout(C,t),m?y(e):d}function w(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-h>=u}function C(){var e=o();if(w(e))return x(e);f=setTimeout(C,function(e){var n=t-(e-p);return g?s(n,u-(e-h)):n}(e))}function x(e){return f=void 0,v&&l?y(e):(l=c=void 0,d)}function k(){var e=o(),n=w(e);if(l=arguments,c=this,p=e,n){if(void 0===f)return b(p);if(g)return clearTimeout(f),f=setTimeout(C,t),y(p)}return void 0===f&&(f=setTimeout(C,t)),d}return t=i(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(i(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==f&&clearTimeout(f),h=0,l=p=c=f=void 0},k.flush=function(){return void 0===f?d:x(o())},k}},26357:function(e,t,n){var r=n(92523),o=n(8389),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},42448:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},30353:function(e,t,n){var r=n(84742),o=n(55073),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},24669:function(e){var t=Array.isArray;e.exports=t},47428:function(e,t,n){var r=n(92042),o=n(17216);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},61563:function(e,t,n){e=n.nmd(e);var r=n(29165),o=n(84193),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},31223:function(e,t,n){var r=n(6620);e.exports=function(e,t){return r(e,t)}},92042:function(e,t,n){var r=n(80732),o=n(36838);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},17216:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},36838:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},55073:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},16764:function(e,t,n){var r=n(80732),o=n(55073);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},73806:function(e,t,n){var r=n(22882),o=n(58792),i=n(8478),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},50579:function(e,t,n){var r=n(79809),o=n(87473),i=n(47428);e.exports=function(e){return i(e)?r(e):o(e)}},28786:function(e,t,n){var r=n(51471)((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}));e.exports=r},76668:function(e,t,n){var r=n(29165);e.exports=function(){return r.Date.now()}},68036:function(e){e.exports=function(){return[]}},84193:function(e){e.exports=function(){return!1}},12448:function(e,t,n){var r=n(33124),o=n(36838),i=n(16764),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},8389:function(e,t,n){var r=n(73150);e.exports=function(e){return null==e?"":r(e)}},42950:function(e,t,n){var r=n(23684)("toUpperCase");e.exports=r},71055:function(e,t,n){var r=n(81034),o=n(37854),i=n(8389),a=n(24155);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},32424:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(o=e[n],i=t[n],!(o===i||r(o)&&r(i)))return!1;var o,i;return!0}function i(e,t){void 0===t&&(t=o);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}},98777:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[],o=e.length;for(n=0;n<o;++n)r.push(t(e[n],n));return r}function p(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return Kn(e,t,n,r,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return null==e._pf&&(e._pf=m()),e._pf}function v(e){if(null==e._isValid){var t=g(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function y(e){var t=h(NaN);return null!=e?p(g(t),e):g(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=r.momentProperties=[],w=!1;function C(e,t){var n,r,o,i=b.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=g(t)),c(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)c(o=t[r=b[n]])||(e[r]=o);return e}function x(e){C(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,r.updateOffset(this),w=!1)}function k(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function _(e){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return p((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var o,i,a,l=[],c=arguments.length;for(i=0;i<c;i++){if(o="","object"===typeof arguments[i]){for(a in o+="\n["+i+"] ",arguments[0])s(arguments[0],a)&&(o+=a+": "+arguments[0][a]+", ");o=o.slice(0,-2)}else o=arguments[i];l.push(o)}_(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var E,M={};function L(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),M[e]||(_(t),M[e]=!0)}function N(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(e){var t,n;for(n in e)s(e,n)&&(N(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function A(e,t){var n,r=p({},e);for(n in t)s(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&a(e[n])&&(r[n]=p({},r[n]));return r}function j(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,E=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var T={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Z(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return N(r)?r.call(t,n):r}function P(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var R=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D={},z={};function H(e,t,n,r){var o=r;"string"===typeof r&&(o=function(){return this[r]()}),e&&(z[e]=o),t&&(z[t[0]]=function(){return P(o.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function F(e){var t,n,r=e.match(R);for(t=0,n=r.length;t<n;t++)z[r[t]]?r[t]=z[r[t]]:r[t]=B(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=N(r[o])?r[o].call(t,e):r[o];return i}}function V(e,t){return e.isValid()?(t=q(t,e.localeData()),D[t]=D[t]||F(t),D[t](e)):e.localeData().invalidDate()}function q(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(I.lastIndex=0;n>=0&&I.test(e);)e=e.replace(I,r),I.lastIndex=0,n-=1;return e}var U={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function $(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(R).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var W="Invalid date";function K(){return this._invalidDate}var G="%d",Y=/\d{1,2}/;function J(e){return this._ordinal.replace("%d",e)}var X={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var o=this._relativeTime[n];return N(o)?o(e,t,n,r):o.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return N(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function oe(e){var t,n,r={};for(n in e)s(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ie={};function ae(e,t){ie[e]=t}function se(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4===0&&e%100!==0||e%400===0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function de(e,t){return function(n){return null!=n?(pe(this,e,n),r.updateOffset(this,t),this):fe(this,e)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Qe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function he(e){return N(this[e=re(e)])?this[e]():this}function me(e,t){if("object"===typeof e){var n,r=se(e=oe(e)),o=r.length;for(n=0;n<o;n++)this[r[n].unit](e[r[n].unit])}else if(N(this[e=re(e)]))return this[e](t);return this}var ge,ve=/\d/,ye=/\d\d/,be=/\d{3}/,we=/\d{4}/,Ce=/[+-]?\d{6}/,xe=/\d\d?/,ke=/\d\d\d\d?/,_e=/\d\d\d\d\d\d?/,Se=/\d{1,3}/,Ee=/\d{1,4}/,Me=/[+-]?\d{1,6}/,Le=/\d+/,Ne=/[+-]?\d+/,Oe=/Z|[+-]\d\d:?\d\d/gi,Ae=/Z|[+-]\d\d(?::?\d\d)?/gi,je=/[+-]?\d+(\.\d{1,3})?/,Te=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Ze(e,t,n){ge[e]=N(t)?t:function(e,r){return e&&n?n:t}}function Pe(e,t){return s(ge,e)?ge[e](t._strict,t._locale):new RegExp(Re(e))}function Re(e){return Ie(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}function Ie(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var De={};function ze(e,t){var n,r,o=t;for("string"===typeof e&&(e=[e]),u(t)&&(o=function(e,n){n[t]=ue(e)}),r=e.length,n=0;n<r;n++)De[e[n]]=o}function He(e,t){ze(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function Be(e,t,n){null!=t&&s(De,e)&&De[e](t,n._a,n,e)}var Fe,Ve=0,qe=1,Ue=2,$e=3,We=4,Ke=5,Ge=6,Ye=7,Je=8;function Xe(e,t){return(e%t+t)%t}function Qe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Xe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}Fe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),ne("month","M"),ae("month",8),Ze("M",xe),Ze("MM",xe,ye),Ze("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ze("MMMM",(function(e,t){return t.monthsRegex(e)})),ze(["M","MM"],(function(e,t){t[qe]=ue(e)-1})),ze(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[qe]=o:g(n).invalidMonth=e}));var et="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),tt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rt=Te,ot=Te;function it(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||nt).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone}function at(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[nt.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function st(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=Fe.call(this._shortMonthsParse,a))?o:null:-1!==(o=Fe.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=Fe.call(this._shortMonthsParse,a))||-1!==(o=Fe.call(this._longMonthsParse,a))?o:null:-1!==(o=Fe.call(this._longMonthsParse,a))||-1!==(o=Fe.call(this._shortMonthsParse,a))?o:null}function lt(e,t,n){var r,o,i;if(this._monthsParseExact)return st.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ct(e,t){var n;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=ue(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Qe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ut(e){return null!=e?(ct(this,e),r.updateOffset(this,!0),this):fe(this,"Month")}function dt(){return Qe(this.year(),this.month())}function ft(e){return this._monthsParseExact?(s(this,"_monthsRegex")||ht.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=rt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||ht.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=ot),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ht(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=h([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=Ie(r[t]),o[t]=Ie(o[t]);for(t=0;t<24;t++)i[t]=Ie(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function mt(e){return le(e)?366:365}H("Y",0,0,(function(){var e=this.year();return e<=9999?P(e,4):"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),ne("year","y"),ae("year",1),Ze("Y",Ne),Ze("YY",xe,ye),Ze("YYYY",Ee,we),Ze("YYYYY",Me,Ce),Ze("YYYYYY",Me,Ce),ze(["YYYYY","YYYYYY"],Ve),ze("YYYY",(function(e,t){t[Ve]=2===e.length?r.parseTwoDigitYear(e):ue(e)})),ze("YY",(function(e,t){t[Ve]=r.parseTwoDigitYear(e)})),ze("Y",(function(e,t){t[Ve]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};var gt=de("FullYear",!0);function vt(){return le(this.year())}function yt(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function bt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,n){var r=7+t-n;return-(7+bt(e,0,r).getUTCDay()-t)%7+r-1}function Ct(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+wt(e,r,o);return s<=0?a=mt(i=e-1)+s:s>mt(e)?(i=e+1,a=s-mt(e)):(i=e,a=s),{year:i,dayOfYear:a}}function xt(e,t,n){var r,o,i=wt(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+kt(o=e.year()-1,t,n):a>kt(e.year(),t,n)?(r=a-kt(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function kt(e,t,n){var r=wt(e,t,n),o=wt(e+1,t,n);return(mt(e)-r+o)/7}function _t(e){return xt(e,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),ne("week","w"),ne("isoWeek","W"),ae("week",5),ae("isoWeek",5),Ze("w",xe),Ze("ww",xe,ye),Ze("W",xe),Ze("WW",xe,ye),He(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ue(e)}));var St={dow:0,doy:6};function Et(){return this._week.dow}function Mt(){return this._week.doy}function Lt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Nt(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ot(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function At(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function jt(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),ae("day",11),ae("weekday",11),ae("isoWeekday",11),Ze("d",xe),Ze("e",xe),Ze("E",xe),Ze("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ze("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ze("dddd",(function(e,t){return t.weekdaysRegex(e)})),He(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:g(n).invalidWeekday=e})),He(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var Tt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Pt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rt=Te,It=Te,Dt=Te;function zt(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?jt(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?jt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bt(e){return!0===e?jt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ft(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Fe.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Fe.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=Fe.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=Fe.call(this._weekdaysParse,a))||-1!==(o=Fe.call(this._shortWeekdaysParse,a))||-1!==(o=Fe.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Fe.call(this._shortWeekdaysParse,a))||-1!==(o=Fe.call(this._weekdaysParse,a))||-1!==(o=Fe.call(this._minWeekdaysParse,a))?o:null:-1!==(o=Fe.call(this._minWeekdaysParse,a))||-1!==(o=Fe.call(this._weekdaysParse,a))||-1!==(o=Fe.call(this._shortWeekdaysParse,a))?o:null}function Vt(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ft.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function qt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ot(e,this.localeData()),this.add(e-t,"d")):t}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function $t(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=At(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Wt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Rt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=It),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Gt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Dt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Yt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=Ie(this.weekdaysMin(n,"")),o=Ie(this.weekdaysShort(n,"")),i=Ie(this.weekdays(n,"")),a.push(r),s.push(o),l.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Jt(){return this.hours()%12||12}function Xt(){return this.hours()||24}function Qt(e,t){H(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Jt),H("k",["kk",2],0,Xt),H("hmm",0,0,(function(){return""+Jt.apply(this)+P(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Jt.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),Qt("a",!0),Qt("A",!1),ne("hour","h"),ae("hour",13),Ze("a",en),Ze("A",en),Ze("H",xe),Ze("h",xe),Ze("k",xe),Ze("HH",xe,ye),Ze("hh",xe,ye),Ze("kk",xe,ye),Ze("hmm",ke),Ze("hmmss",_e),Ze("Hmm",ke),Ze("Hmmss",_e),ze(["H","HH"],$e),ze(["k","kk"],(function(e,t,n){var r=ue(e);t[$e]=24===r?0:r})),ze(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ze(["h","hh"],(function(e,t,n){t[$e]=ue(e),g(n).bigHour=!0})),ze("hmm",(function(e,t,n){var r=e.length-2;t[$e]=ue(e.substr(0,r)),t[We]=ue(e.substr(r)),g(n).bigHour=!0})),ze("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[$e]=ue(e.substr(0,r)),t[We]=ue(e.substr(r,2)),t[Ke]=ue(e.substr(o)),g(n).bigHour=!0})),ze("Hmm",(function(e,t,n){var r=e.length-2;t[$e]=ue(e.substr(0,r)),t[We]=ue(e.substr(r))})),ze("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[$e]=ue(e.substr(0,r)),t[We]=ue(e.substr(r,2)),t[Ke]=ue(e.substr(o))}));var nn=/[ap]\.?m?\.?/i,rn=de("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,sn={calendar:T,longDateFormat:U,invalidDate:W,ordinal:G,dayOfMonthOrdinalParse:Y,relativeTime:X,months:et,monthsShort:tt,week:St,weekdays:Tt,weekdaysMin:Pt,weekdaysShort:Zt,meridiemParse:nn},ln={},cn={};function un(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=dn(e[i]).split("-")).length,n=(n=dn(e[i+1]))?n.split("-"):null;t>0;){if(r=hn(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&un(o,n)>=t-1)break;t--}i++}return an}function pn(e){return null!=e.match("^[^/\\\\]*$")}function hn(t){var n=null;if(void 0===ln[t]&&e&&e.exports&&pn(t))try{n=an._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),mn(n)}catch(r){ln[t]=null}return ln[t]}function mn(e,t){var n;return e&&((n=c(t)?yn(e):gn(e,t))?an=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function gn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[e])L("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=hn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new j(A(r,t)),cn[e]&&cn[e].forEach((function(e){gn(e.name,e.config)})),mn(e),ln[e]}return delete ln[e],null}function vn(e,t){if(null!=t){var n,r,o=sn;null!=ln[e]&&null!=ln[e].parentLocale?ln[e].set(A(ln[e]._config,t)):(null!=(r=hn(e))&&(o=r._config),t=A(o,t),null==r&&(t.abbr=e),(n=new j(t)).parentLocale=ln[e],ln[e]=n),mn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===mn()&&mn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!i(e)){if(t=hn(e))return t;e=[e]}return fn(e)}function bn(){return E(ln)}function wn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[qe]<0||n[qe]>11?qe:n[Ue]<1||n[Ue]>Qe(n[Ve],n[qe])?Ue:n[$e]<0||n[$e]>24||24===n[$e]&&(0!==n[We]||0!==n[Ke]||0!==n[Ge])?$e:n[We]<0||n[We]>59?We:n[Ke]<0||n[Ke]>59?Ke:n[Ge]<0||n[Ge]>999?Ge:-1,g(e)._overflowDayOfYear&&(t<Ve||t>Ue)&&(t=Ue),g(e)._overflowWeeks&&-1===t&&(t=Ye),g(e)._overflowWeekday&&-1===t&&(t=Je),g(e).overflow=t),e}var Cn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/Z|[+-]\d\d(?::?\d\d)?/,_n=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],En=/^\/?Date\((-?\d+)/i,Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ln={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Nn(e){var t,n,r,o,i,a,s=e._i,l=Cn.exec(s)||xn.exec(s),c=_n.length,u=Sn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(_n[t][1].exec(l[1])){o=_n[t][0],r=!1!==_n[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(Sn[t][1].exec(l[3])){i=(l[2]||" ")+Sn[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(l[4]){if(!kn.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Bn(e)}else e._isValid=!1}function On(e,t,n,r,o,i){var a=[An(e),tt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function An(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function jn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Tn(e,t,n){return!e||Zt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Zn(e,t,n){if(e)return Ln[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function Pn(e){var t,n=Mn.exec(jn(e._i));if(n){if(t=On(n[4],n[3],n[2],n[5],n[6],n[7]),!Tn(n[1],t,e))return;e._a=t,e._tzm=Zn(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function Rn(e){var t=En.exec(e._i);null===t?(Nn(e),!1===e._isValid&&(delete e._isValid,Pn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}function In(e,t,n){return null!=e?e:null!=t?t:n}function Dn(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function zn(e){var t,n,r,o,i,a=[];if(!e._d){for(r=Dn(e),e._w&&null==e._a[Ue]&&null==e._a[qe]&&Hn(e),null!=e._dayOfYear&&(i=In(e._a[Ve],r[Ve]),(e._dayOfYear>mt(i)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=bt(i,0,e._dayOfYear),e._a[qe]=n.getUTCMonth(),e._a[Ue]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[$e]&&0===e._a[We]&&0===e._a[Ke]&&0===e._a[Ge]&&(e._nextDay=!0,e._a[$e]=0),e._d=(e._useUTC?bt:yt).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[$e]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==o&&(g(e).weekdayMismatch=!0)}}function Hn(e){var t,n,r,o,i,a,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=In(t.GG,e._a[Ve],xt(Gn(),1,4).year),r=In(t.W,1),((o=In(t.E,1))<1||o>7)&&(l=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=xt(Gn(),i,a),n=In(t.gg,e._a[Ve],c.year),r=In(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(l=!0)):o=i),r<1||r>kt(n,i,a)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=Ct(n,r,o,i,a),e._a[Ve]=s.year,e._dayOfYear=s.dayOfYear)}function Bn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;var t,n,o,i,a,s,l,c=""+e._i,u=c.length,d=0;for(l=(o=q(e._f,e._locale).match(R)||[]).length,t=0;t<l;t++)i=o[t],(n=(c.match(Pe(i,e))||[])[0])&&((a=c.substr(0,c.indexOf(n))).length>0&&g(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),d+=n.length),z[i]?(n?g(e).empty=!1:g(e).unusedTokens.push(i),Be(i,n,e)):e._strict&&!n&&g(e).unusedTokens.push(i);g(e).charsLeftOver=u-d,c.length>0&&g(e).unusedInput.push(c),e._a[$e]<=12&&!0===g(e).bigHour&&e._a[$e]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[$e]=Fn(e._locale,e._a[$e],e._meridiem),null!==(s=g(e).era)&&(e._a[Ve]=e._locale.erasConvertYear(s,e._a[Ve])),zn(e),wn(e)}else Pn(e);else Nn(e)}function Fn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Vn(e){var t,n,r,o,i,a,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<l;o++)i=0,a=!1,t=C({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Bn(t),v(t)&&(a=!0),i+=g(t).charsLeftOver,i+=10*g(t).unusedTokens.length,g(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(s=!0));p(e,n||t)}function qn(e){if(!e._d){var t=oe(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),zn(e)}}function Un(e){var t=new x(wn($n(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function $n(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new x(wn(t)):(d(t)?e._d=t:i(n)?Vn(e):n?Bn(e):Wn(e),v(e)||(e._d=null),e))}function Wn(e){var t=e._i;c(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Rn(e):i(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),zn(e)):a(t)?qn(e):u(t)?e._d=new Date(t):r.createFromInputFallback(e)}function Kn(e,t,n,r,o){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||i(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=o,s._l=n,s._i=e,s._f=t,s._strict=r,Un(s)}function Gn(e,t,n,r){return Kn(e,t,n,r,!1)}r.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Yn=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Gn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),Jn=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Gn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function Xn(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Gn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Qn(){return Xn("isBefore",[].slice.call(arguments,0))}function er(){return Xn("isAfter",[].slice.call(arguments,0))}var tr=function(){return Date.now?Date.now():+new Date},nr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rr(e){var t,n,r=!1,o=nr.length;for(t in e)if(s(e,t)&&(-1===Fe.call(nr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<o;++n)if(e[nr[n]]){if(r)return!1;parseFloat(e[nr[n]])!==ue(e[nr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function ir(){return Lr(NaN)}function ar(e){var t=oe(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=rr(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function sr(e){return e instanceof ar}function lr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function cr(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&ue(e[r])!==ue(t[r]))&&a++;return a+i}function ur(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+P(~~(e/60),2)+t+P(~~e%60,2)}))}ur("Z",":"),ur("ZZ",""),Ze("Z",Ae),Ze("ZZ",Ae),ze(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(Ae,e)}));var dr=/([\+\-]|\d\d)/gi;function fr(e,t){var n,r,o=(t||"").match(e);return null===o?null:0===(r=60*(n=((o[o.length-1]||[])+"").match(dr)||["-",0,0])[1]+ue(n[2]))?0:"+"===n[0]?r:-r}function pr(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(k(e)||d(e)?e.valueOf():Gn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):Gn(e).local()}function hr(e){return-Math.round(e._d.getTimezoneOffset())}function mr(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=fr(Ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=hr(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Tr(this,Lr(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:hr(this)}function gr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function yr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hr(this),"m")),this}function br(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=fr(Oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wr(e){return!!this.isValid()&&(e=e?Gn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Cr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return C(t,this),(t=$n(t))._a?(e=t._isUTC?h(t._a):Gn(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function kr(){return!!this.isValid()&&!this._isUTC}function _r(){return!!this.isValid()&&this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Er=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Mr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Lr(e,t){var n,r,o,i=e,a=null;return sr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Er.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:ue(a[Ue])*n,h:ue(a[$e])*n,m:ue(a[We])*n,s:ue(a[Ke])*n,ms:ue(lr(1e3*a[Ge]))*n}):(a=Mr.exec(e))?(n="-"===a[1]?-1:1,i={y:Nr(a[2],n),M:Nr(a[3],n),w:Nr(a[4],n),d:Nr(a[5],n),h:Nr(a[6],n),m:Nr(a[7],n),s:Nr(a[8],n)}):null==i?i={}:"object"===typeof i&&("from"in i||"to"in i)&&(o=Ar(Gn(i.from),Gn(i.to)),(i={}).ms=o.milliseconds,i.M=o.months),r=new ar(i),sr(e)&&s(e,"_locale")&&(r._locale=e._locale),sr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Nr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Or(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ar(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=Or(e,t):((n=Or(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function jr(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(L(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Tr(this,Lr(n,r),e),this}}function Tr(e,t,n,o){var i=t._milliseconds,a=lr(t._days),s=lr(t._months);e.isValid()&&(o=null==o||o,s&&ct(e,fe(e,"Month")+s*n),a&&pe(e,"Date",fe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||s))}Lr.fn=ar.prototype,Lr.invalid=ir;var Zr=jr(1,"add"),Pr=jr(-1,"subtract");function Rr(e){return"string"===typeof e||e instanceof String}function Ir(e){return k(e)||d(e)||Rr(e)||u(e)||zr(e)||Dr(e)||null===e||void 0===e}function Dr(e){var t,n,r=a(e)&&!l(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=i.length;for(t=0;t<c;t+=1)n=i[t],o=o||s(e,n);return r&&o}function zr(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Rr(e)})).length),t&&n}function Hr(e){var t,n,r=a(e)&&!l(e),o=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=i[t],o=o||s(e,n);return r&&o}function Br(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Fr(e,t){1===arguments.length&&(arguments[0]?Ir(arguments[0])?(e=arguments[0],t=void 0):Hr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Gn(),o=pr(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(N(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Gn(n)))}function Vr(){return new x(this)}function qr(e,t){var n=k(e)?e:Gn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Ur(e,t){var n=k(e)?e:Gn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function $r(e,t,n,r){var o=k(e)?e:Gn(e),i=k(t)?t:Gn(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))}function Wr(e,t){var n,r=k(e)?e:Gn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Kr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Gr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Yr(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=re(t)){case"year":i=Jr(this,r)/12;break;case"month":i=Jr(this,r);break;case"quarter":i=Jr(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:ce(i)}function Jr(e,t){if(e.date()<t.date())return-Jr(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Xr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Qr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?V(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):N(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(n,"Z")):V(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function eo(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,o="moment",i="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function to(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)}function no(e,t){return this.isValid()&&(k(e)&&e.isValid()||Gn(e).isValid())?Lr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ro(e){return this.from(Gn(),e)}function oo(e,t){return this.isValid()&&(k(e)&&e.isValid()||Gn(e).isValid())?Lr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function io(e){return this.to(Gn(),e)}function ao(e){var t;return void 0===e?this._locale._abbr:(null!=(t=yn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var so=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function lo(){return this._locale}var co=1e3,uo=60*co,fo=60*uo,po=3506328*fo;function ho(e,t){return(e%t+t)%t}function mo(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-po:new Date(e,t,n).valueOf()}function go(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-po:Date.UTC(e,t,n)}function vo(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?go:mo,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ho(t+(this._isUTC?0:this.utcOffset()*uo),fo);break;case"minute":t=this._d.valueOf(),t-=ho(t,uo);break;case"second":t=this._d.valueOf(),t-=ho(t,co)}return this._d.setTime(t),r.updateOffset(this,!0),this}function yo(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?go:mo,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fo-ho(t+(this._isUTC?0:this.utcOffset()*uo),fo)-1;break;case"minute":t=this._d.valueOf(),t+=uo-ho(t,uo)-1;break;case"second":t=this._d.valueOf(),t+=co-ho(t,co)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function bo(){return this._d.valueOf()-6e4*(this._offset||0)}function wo(){return Math.floor(this.valueOf()/1e3)}function Co(){return new Date(this.valueOf())}function xo(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ko(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function _o(){return this.isValid()?this.toISOString():null}function So(){return v(this)}function Eo(){return p({},g(this))}function Mo(){return g(this).overflow}function Lo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function No(e,t){var n,o,i,a=this._eras||yn("en")._eras;for(n=0,o=a.length;n<o;++n)switch("string"===typeof a[n].since&&(i=r(a[n].since).startOf("day"),a[n].since=i.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=r(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}return a}function Oo(e,t,n){var r,o,i,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,o=l.length;r<o;++r)if(i=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([i,a,s].indexOf(e)>=0)return l[r]}function Ao(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function jo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function To(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Zo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Po(){var e,t,n,o,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,o=this.clone().startOf("day").valueOf(),i[e].since<=o&&o<=i[e].until||i[e].until<=o&&o<=i[e].since)return(this.year()-r(i[e].since).year())*n+i[e].offset;return this.year()}function Ro(e){return s(this,"_erasNameRegex")||Vo.call(this),e?this._erasNameRegex:this._erasRegex}function Io(e){return s(this,"_erasAbbrRegex")||Vo.call(this),e?this._erasAbbrRegex:this._erasRegex}function Do(e){return s(this,"_erasNarrowRegex")||Vo.call(this),e?this._erasNarrowRegex:this._erasRegex}function zo(e,t){return t.erasAbbrRegex(e)}function Ho(e,t){return t.erasNameRegex(e)}function Bo(e,t){return t.erasNarrowRegex(e)}function Fo(e,t){return t._eraYearOrdinalRegex||Le}function Vo(){var e,t,n=[],r=[],o=[],i=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(Ie(a[e].name)),n.push(Ie(a[e].abbr)),o.push(Ie(a[e].narrow)),i.push(Ie(a[e].name)),i.push(Ie(a[e].abbr)),i.push(Ie(a[e].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function qo(e,t){H(0,[e,e.length],0,t)}function Uo(e){return Jo.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function $o(e){return Jo.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wo(){return kt(this.year(),1,4)}function Ko(){return kt(this.isoWeekYear(),1,4)}function Go(){var e=this.localeData()._week;return kt(this.year(),e.dow,e.doy)}function Yo(){var e=this.localeData()._week;return kt(this.weekYear(),e.dow,e.doy)}function Jo(e,t,n,r,o){var i;return null==e?xt(this,r,o).year:(t>(i=kt(e,r,o))&&(t=i),Xo.call(this,e,t,n,r,o))}function Xo(e,t,n,r,o){var i=Ct(e,t,n,r,o),a=bt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qo(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),Ze("N",zo),Ze("NN",zo),Ze("NNN",zo),Ze("NNNN",Ho),Ze("NNNNN",Bo),ze(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?g(n).era=o:g(n).invalidEra=e})),Ze("y",Le),Ze("yy",Le),Ze("yyy",Le),Ze("yyyy",Le),Ze("yo",Fo),ze(["y","yy","yyy","yyyy"],Ve),ze(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ve]=n._locale.eraYearOrdinalParse(e,o):t[Ve]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),qo("gggg","weekYear"),qo("ggggg","weekYear"),qo("GGGG","isoWeekYear"),qo("GGGGG","isoWeekYear"),ne("weekYear","gg"),ne("isoWeekYear","GG"),ae("weekYear",1),ae("isoWeekYear",1),Ze("G",Ne),Ze("g",Ne),Ze("GG",xe,ye),Ze("gg",xe,ye),Ze("GGGG",Ee,we),Ze("gggg",Ee,we),Ze("GGGGG",Me,Ce),Ze("ggggg",Me,Ce),He(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ue(e)})),He(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),ne("quarter","Q"),ae("quarter",7),Ze("Q",ve),ze("Q",(function(e,t){t[qe]=3*(ue(e)-1)})),H("D",["DD",2],"Do","date"),ne("date","D"),ae("date",9),Ze("D",xe),Ze("DD",xe,ye),Ze("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ze(["D","DD"],Ue),ze("Do",(function(e,t){t[Ue]=ue(e.match(xe)[0])}));var ei=de("Date",!0);function ti(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}H("DDD",["DDDD",3],"DDDo","dayOfYear"),ne("dayOfYear","DDD"),ae("dayOfYear",4),Ze("DDD",Se),Ze("DDDD",be),ze(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),H("m",["mm",2],0,"minute"),ne("minute","m"),ae("minute",14),Ze("m",xe),Ze("mm",xe,ye),ze(["m","mm"],We);var ni=de("Minutes",!1);H("s",["ss",2],0,"second"),ne("second","s"),ae("second",15),Ze("s",xe),Ze("ss",xe,ye),ze(["s","ss"],Ke);var ri,oi,ii=de("Seconds",!1);for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ne("millisecond","ms"),ae("millisecond",16),Ze("S",Se,ve),Ze("SS",Se,ye),Ze("SSS",Se,be),ri="SSSS";ri.length<=9;ri+="S")Ze(ri,Le);function ai(e,t){t[Ge]=ue(1e3*("0."+e))}for(ri="S";ri.length<=9;ri+="S")ze(ri,ai);function si(){return this._isUTC?"UTC":""}function li(){return this._isUTC?"Coordinated Universal Time":""}oi=de("Milliseconds",!1),H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ci=x.prototype;function ui(e){return Gn(1e3*e)}function di(){return Gn.apply(null,arguments).parseZone()}function fi(e){return e}ci.add=Zr,ci.calendar=Fr,ci.clone=Vr,ci.diff=Yr,ci.endOf=yo,ci.format=to,ci.from=no,ci.fromNow=ro,ci.to=oo,ci.toNow=io,ci.get=he,ci.invalidAt=Mo,ci.isAfter=qr,ci.isBefore=Ur,ci.isBetween=$r,ci.isSame=Wr,ci.isSameOrAfter=Kr,ci.isSameOrBefore=Gr,ci.isValid=So,ci.lang=so,ci.locale=ao,ci.localeData=lo,ci.max=Jn,ci.min=Yn,ci.parsingFlags=Eo,ci.set=me,ci.startOf=vo,ci.subtract=Pr,ci.toArray=xo,ci.toObject=ko,ci.toDate=Co,ci.toISOString=Qr,ci.inspect=eo,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ci.toJSON=_o,ci.toString=Xr,ci.unix=wo,ci.valueOf=bo,ci.creationData=Lo,ci.eraName=jo,ci.eraNarrow=To,ci.eraAbbr=Zo,ci.eraYear=Po,ci.year=gt,ci.isLeapYear=vt,ci.weekYear=Uo,ci.isoWeekYear=$o,ci.quarter=ci.quarters=Qo,ci.month=ut,ci.daysInMonth=dt,ci.week=ci.weeks=Lt,ci.isoWeek=ci.isoWeeks=Nt,ci.weeksInYear=Go,ci.weeksInWeekYear=Yo,ci.isoWeeksInYear=Wo,ci.isoWeeksInISOWeekYear=Ko,ci.date=ei,ci.day=ci.days=qt,ci.weekday=Ut,ci.isoWeekday=$t,ci.dayOfYear=ti,ci.hour=ci.hours=rn,ci.minute=ci.minutes=ni,ci.second=ci.seconds=ii,ci.millisecond=ci.milliseconds=oi,ci.utcOffset=mr,ci.utc=vr,ci.local=yr,ci.parseZone=br,ci.hasAlignedHourOffset=wr,ci.isDST=Cr,ci.isLocal=kr,ci.isUtcOffset=_r,ci.isUtc=Sr,ci.isUTC=Sr,ci.zoneAbbr=si,ci.zoneName=li,ci.dates=S("dates accessor is deprecated. Use date instead.",ei),ci.months=S("months accessor is deprecated. Use month instead",ut),ci.years=S("years accessor is deprecated. Use year instead",gt),ci.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),ci.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xr);var pi=j.prototype;function hi(e,t,n,r){var o=yn(),i=h().set(r,t);return o[n](i,e)}function mi(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return hi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=hi(e,r,n,"month");return o}function gi(e,t,n,r){"boolean"===typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var o,i=yn(),a=e?i._week.dow:0,s=[];if(null!=n)return hi(t,(n+a)%7,r,"day");for(o=0;o<7;o++)s[o]=hi(t,(o+a)%7,r,"day");return s}function vi(e,t){return mi(e,t,"months")}function yi(e,t){return mi(e,t,"monthsShort")}function bi(e,t,n){return gi(e,t,n,"weekdays")}function wi(e,t,n){return gi(e,t,n,"weekdaysShort")}function Ci(e,t,n){return gi(e,t,n,"weekdaysMin")}pi.calendar=Z,pi.longDateFormat=$,pi.invalidDate=K,pi.ordinal=J,pi.preparse=fi,pi.postformat=fi,pi.relativeTime=Q,pi.pastFuture=ee,pi.set=O,pi.eras=No,pi.erasParse=Oo,pi.erasConvertYear=Ao,pi.erasAbbrRegex=Io,pi.erasNameRegex=Ro,pi.erasNarrowRegex=Do,pi.months=it,pi.monthsShort=at,pi.monthsParse=lt,pi.monthsRegex=pt,pi.monthsShortRegex=ft,pi.week=_t,pi.firstDayOfYear=Mt,pi.firstDayOfWeek=Et,pi.weekdays=zt,pi.weekdaysMin=Bt,pi.weekdaysShort=Ht,pi.weekdaysParse=Vt,pi.weekdaysRegex=Wt,pi.weekdaysShortRegex=Kt,pi.weekdaysMinRegex=Gt,pi.isPM=tn,pi.meridiem=on,mn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",mn),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",yn);var xi=Math.abs;function ki(){var e=this._data;return this._milliseconds=xi(this._milliseconds),this._days=xi(this._days),this._months=xi(this._months),e.milliseconds=xi(e.milliseconds),e.seconds=xi(e.seconds),e.minutes=xi(e.minutes),e.hours=xi(e.hours),e.months=xi(e.months),e.years=xi(e.years),this}function _i(e,t,n,r){var o=Lr(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Si(e,t){return _i(this,e,t,1)}function Ei(e,t){return _i(this,e,t,-1)}function Mi(e){return e<0?Math.floor(e):Math.ceil(e)}function Li(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Mi(Oi(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=ce(i/1e3),l.seconds=e%60,t=ce(e/60),l.minutes=t%60,n=ce(t/60),l.hours=n%24,a+=ce(n/24),s+=o=ce(Ni(a)),a-=Mi(Oi(o)),r=ce(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function Ni(e){return 4800*e/146097}function Oi(e){return 146097*e/4800}function Ai(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Ni(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Oi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function ji(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Ti(e){return function(){return this.as(e)}}var Zi=Ti("ms"),Pi=Ti("s"),Ri=Ti("m"),Ii=Ti("h"),Di=Ti("d"),zi=Ti("w"),Hi=Ti("M"),Bi=Ti("Q"),Fi=Ti("y");function Vi(){return Lr(this)}function qi(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Ui(e){return function(){return this.isValid()?this._data[e]:NaN}}var $i=Ui("milliseconds"),Wi=Ui("seconds"),Ki=Ui("minutes"),Gi=Ui("hours"),Yi=Ui("days"),Ji=Ui("months"),Xi=Ui("years");function Qi(){return ce(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function ra(e,t,n,r){var o=Lr(e).abs(),i=ea(o.as("s")),a=ea(o.as("m")),s=ea(o.as("h")),l=ea(o.as("d")),c=ea(o.as("M")),u=ea(o.as("w")),d=ea(o.as("y")),f=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),(f=f||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,f[3]=+e>0,f[4]=r,na.apply(null,f)}function oa(e){return void 0===e?ea:"function"===typeof e&&(ea=e,!0)}function ia(e,t){return void 0!==ta[e]&&(void 0===t?ta[e]:(ta[e]=t,"s"===e&&(ta.ss=t-1),!0))}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=ta;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(o=e),"object"===typeof t&&(i=Object.assign({},ta,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=ra(this,!o,i,n=this.localeData()),o&&(r=n.pastFuture(+this,r)),n.postformat(r)}var sa=Math.abs;function la(e){return(e>0)-(e<0)||+e}function ca(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,l=sa(this._milliseconds)/1e3,c=sa(this._days),u=sa(this._months),d=this.asSeconds();return d?(e=ce(l/60),t=ce(e/60),l%=60,e%=60,n=ce(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=la(this._months)!==la(d)?"-":"",a=la(this._days)!==la(d)?"-":"",s=la(this._milliseconds)!==la(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var ua=ar.prototype;return ua.isValid=or,ua.abs=ki,ua.add=Si,ua.subtract=Ei,ua.as=Ai,ua.asMilliseconds=Zi,ua.asSeconds=Pi,ua.asMinutes=Ri,ua.asHours=Ii,ua.asDays=Di,ua.asWeeks=zi,ua.asMonths=Hi,ua.asQuarters=Bi,ua.asYears=Fi,ua.valueOf=ji,ua._bubble=Li,ua.clone=Vi,ua.get=qi,ua.milliseconds=$i,ua.seconds=Wi,ua.minutes=Ki,ua.hours=Gi,ua.days=Yi,ua.weeks=Qi,ua.months=Ji,ua.years=Xi,ua.humanize=aa,ua.toISOString=ca,ua.toString=ca,ua.toJSON=ca,ua.locale=ao,ua.localeData=lo,ua.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ca),ua.lang=so,H("X",0,0,"unix"),H("x",0,0,"valueOf"),Ze("x",Ne),Ze("X",je),ze("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ze("x",(function(e,t,n){n._d=new Date(ue(e))})),r.version="2.29.4",o(Gn),r.fn=ci,r.min=Qn,r.max=er,r.now=tr,r.utc=h,r.unix=ui,r.months=vi,r.isDate=d,r.locale=mn,r.invalid=y,r.duration=Lr,r.isMoment=k,r.weekdays=bi,r.parseZone=di,r.localeData=yn,r.isDuration=sr,r.monthsShort=yi,r.weekdaysMin=Ci,r.defineLocale=gn,r.updateLocale=vn,r.locales=bn,r.weekdaysShort=wi,r.normalizeUnits=re,r.relativeTimeRounding=oa,r.relativeTimeThreshold=ia,r.calendarFormat=Br,r.prototype=ci,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},81438:function(e,t,n){"use strict";n.d(t,{Jc:function(){return tt},$G:function(){return M}});var r=n(50959);n(89626);Object.create(null);function o(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"===typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var i={};function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"===typeof t[0]&&i[t[0]]||("string"===typeof t[0]&&(i[t[0]]=new Date),o.apply(void 0,t))}function s(e,t,n){e.loadNamespaces(t,(function(){if(e.isInitialized)n();else{e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),n()}))}}))}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],o=!!t.options&&t.options.fallbackLng,i=t.languages[t.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};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(r,e)||(!(t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages))||!(!a(r,e)||o&&!a(i,e))))}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.languages||!t.languages.length)return a("i18n.languages were undefined or empty",t.languages),!0;var r=void 0!==t.options.ignoreJSONStructure;return r?t.hasLoadedNamespace(e,{precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):l(e,t,n)}var u=n(57904),d=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,f={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"\u2026","&#8230;":"\u2026","&#x2F;":"/","&#47;":"/"},p=function(e){return f[e]};var h={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(d,p)}};function m(){return h}var g,v=n(73779),y=n(71374);function b(){return g}var w=(0,r.createContext)(),C=function(){function e(){(0,v.Z)(this,e),this.usedNamespaces={}}return(0,y.Z)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();var x=n(99459),k=n(24744);function _(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 S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=function(e,t){var n=(0,r.useRef)();return(0,r.useEffect)((function(){n.current=t?n.current:e}),[e,t]),n.current};function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,o=(0,r.useContext)(w)||{},i=o.i18n,l=o.defaultNS,u=n||i||b();if(u&&!u.reportNamespaces&&(u.reportNamespaces=new C),!u){a("You will need to pass in an i18next instance by using initReactI18next");var d=function(e,t){return"string"===typeof t?t:t&&"object"===(0,k.Z)(t)&&"string"===typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e},f=[d,{},!1];return f.t=d,f.i18n={},f.ready=!1,f}u.options.react&&void 0!==u.options.react.wait&&a("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var p=S(S(S({},m()),u.options.react),t),h=p.useSuspense,g=p.keyPrefix,v=e||l||u.options&&u.options.defaultNS;v="string"===typeof v?[v]:v||["translation"],u.reportNamespaces.addUsedNamespaces&&u.reportNamespaces.addUsedNamespaces(v);var y=(u.isInitialized||u.initializedStoreOnce)&&v.every((function(e){return c(e,u,p)}));function _(){return u.getFixedT(null,"fallback"===p.nsMode?v:v[0],g)}var M=(0,r.useState)(_),L=(0,x.Z)(M,2),N=L[0],O=L[1],A=v.join(),j=E(A),T=(0,r.useRef)(!0);(0,r.useEffect)((function(){var e=p.bindI18n,t=p.bindI18nStore;function n(){T.current&&O(_)}return T.current=!0,y||h||s(u,v,(function(){T.current&&O(_)})),y&&j&&j!==A&&T.current&&O(_),e&&u&&u.on(e,n),t&&u&&u.store.on(t,n),function(){T.current=!1,e&&u&&e.split(" ").forEach((function(e){return u.off(e,n)})),t&&u&&t.split(" ").forEach((function(e){return u.store.off(e,n)}))}}),[u,A]);var Z=(0,r.useRef)(!0);(0,r.useEffect)((function(){T.current&&!Z.current&&O(_),Z.current=!1}),[u,g]);var P=[N,u,y];if(P.t=N,P.i18n=u,P.ready=y,y)return P;if(!y&&!h)return P;throw new Promise((function(e){s(u,v,(function(){e()}))}))}function L(e){var t=e.i18n,n=e.defaultNS,o=e.children,i=(0,r.useMemo)((function(){return{i18n:t,defaultNS:n}}),[t,n]);return(0,r.createElement)(w.Provider,{value:i},o)}var N=n(2053),O=n(72535),A=n.n(O),j=n(35047),T=n(53162),Z={defaultNS:"common",errorStackTraceLimit:0,i18n:{defaultLocale:"en",locales:["en"]},get initImmediate(){return"undefined"!==typeof window},interpolation:{escapeValue:!1},load:"currentOnly",localeExtension:"json",localePath:"./public/locales",localeStructure:"{{lng}}/{{ns}}",react:{useSuspense:!1},reloadOnPrerender:!1,serializeConfig:!0,use:[]},P=["i18n"],R=["i18n"];function I(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 D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z=["backend","detection"],H=function(e){var t,n,r;if("string"!==typeof(null===e||void 0===e?void 0:e.lng))throw new Error("config.lng was not passed into createConfig");var o=e.i18n,i=(0,T.Z)(e,P),a=Z.i18n,s=D(D(D(D({},(0,T.Z)(Z,R)),i),a),o),l=s.defaultNS,c=s.lng,u=s.localeExtension,d=s.localePath,f=s.nonExplicitSupportedLngs,p=s.locales.filter((function(e){return"default"!==e}));if("cimode"===c)return s;if("undefined"===typeof s.fallbackLng&&(s.fallbackLng=s.defaultLocale,"default"===s.fallbackLng)){var h=(0,x.Z)(p,1);s.fallbackLng=h[0]}var m=null===e||void 0===e||null===(t=e.interpolation)||void 0===t?void 0:t.prefix,g=null===e||void 0===e||null===(n=e.interpolation)||void 0===n?void 0:n.suffix,v=null!==m&&void 0!==m?m:"{{",y=null!==g&&void 0!==g?g:"}}";"string"!==typeof(null===e||void 0===e?void 0:e.localeStructure)&&(m||g)&&(s.localeStructure="".concat(v,"lng").concat(y,"/").concat(v,"ns").concat(y));var b=s.fallbackLng,w=s.localeStructure;if(f){var C=function(e,t){var n=t.split("-"),r=(0,x.Z)(n,1)[0];return e[t]=[r],e};if("string"===typeof b)s.fallbackLng=s.locales.filter((function(e){return e.includes("-")})).reduce(C,{default:[b]});else if(Array.isArray(b))s.fallbackLng=s.locales.filter((function(e){return e.includes("-")})).reduce(C,{default:b});else if("object"===(0,k.Z)(b))s.fallbackLng=Object.entries(s.fallbackLng).reduce((function(e,t){var n,r=(0,x.Z)(t,2),o=r[0],i=r[1];return e[o]=o.includes("-")?(n=[o.split("-")[0]].concat((0,j.Z)(i)),Array.from(new Set(n))):i,e}),b);else if("function"===typeof b)throw new Error("If nonExplicitSupportedLngs is true, no functions are allowed for fallbackLng")}return(null===e||void 0===e||null===(r=e.use)||void 0===r?void 0:r.some((function(e){return"backend"===e.type})))||("string"===typeof d?s.backend={addPath:"".concat(d,"/").concat(w,".missing.").concat(u),loadPath:"".concat(d,"/").concat(w,".").concat(u)}:"function"===typeof d&&(s.backend={addPath:function(e,t){return d(e,t,!0)},loadPath:function(e,t){return d(e,t,!1)}})),"string"===typeof s.ns||Array.isArray(s.ns)||(s.ns=[l]),z.forEach((function(t){e[t]&&(s[t]=D(D({},s[t]),e[t]))})),s},B=n(46468),F=n(45675),V=n(57520),q=n(52601),U=n(24769);function $(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 W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var K={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)}},G=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,v.Z)(this,e),this.init(t,n)}return(0,y.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||K,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=new 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=new 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=new 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=new 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,W(W({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}},{key:"clone",value:function(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}}]),e}(),Y=new G,J=function(){function e(){(0,v.Z)(this,e),this.observers={}}return(0,y.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){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var o=[].concat(this.observers[e]);o.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var i=[].concat(this.observers["*"]);i.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function X(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function Q(e){return null==e?"":""+e}function ee(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function te(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"===typeof e}for(var i="string"!==typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function ne(e,t,n){var r=te(e,t,Object);r.obj[r.k]=n}function re(e,t){var n=te(e,t),r=n.obj,o=n.k;if(r)return r[o]}function oe(e,t,n){var r=re(e,n);return void 0!==r?r:re(t,n)}function ie(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"===typeof e[r]||e[r]instanceof String||"string"===typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):ie(e[r],t[r],n):e[r]=t[r]);return e}function ae(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var se={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function le(e){return"string"===typeof e?e.replace(/[&<>"'\/]/g,(function(e){return se[e]})):e}var ce="undefined"!==typeof window&&window.navigator&&"undefined"===typeof window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,ue=[" ",",","?","!",";"];function de(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 fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pe(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(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}}();return function(){var n,r=(0,q.Z)(e);if(t){var o=(0,q.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,V.Z)(this,n)}}function he(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o)return;if("string"===typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,s=r.slice(i,i+a).join(n),l=o[s];void 0===l&&r.length>i+a;)a++,l=o[s=r.slice(i,i+a).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(s)){if("string"===typeof l)return l;if(s&&"string"===typeof l[s])return l[s]}var c=r.slice(i+a).join(n);return c?he(l,c,n):void 0}o=o[r[i]]}return o}}var me=function(e){(0,F.Z)(n,e);var t=pe(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,v.Z)(this,n),r=t.call(this),ce&&J.call((0,B.Z)(r)),r.data=e||{},r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return(0,y.Z)(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&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]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!==typeof n&&(a=a.concat(n)),n&&"string"===typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=re(this.data,a);return s||!i||"string"!==typeof n?s:he(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),ne(this.data,a,r),o.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 o in n)"string"!==typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=re(this.data,a)||{};r?ie(s,n,o):s=fe(fe({},s),n),ne(this.data,a,s),i.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?fe(fe({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(J),ge={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))})),t}};function ve(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 ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function be(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(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}}();return function(){var n,r=(0,q.Z)(e);if(t){var o=(0,q.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,V.Z)(this,n)}}var we={},Ce=function(e){(0,F.Z)(n,e);var t=be(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,v.Z)(this,n),r=t.call(this),ce&&J.call((0,B.Z)(r)),ee(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,(0,B.Z)(r)),r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=Y.create("translator"),r}return(0,y.Z)(n,[{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:{}};if(void 0===e||null===e)return!1;var 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,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";var r=ue.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),i=!o.test(e);if(!i){var a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i}(e,n,r);if(i&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:o};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(o=l.shift()),e=l.join(r)}return"string"===typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,t,r){var o=this;if("object"!==(0,k.Z)(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),void 0===e||null===e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),l=s.key,c=s.namespaces,u=c[c.length-1],d=t.lng||this.language,f=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(f){var p=t.nsSeparator||this.options.nsSeparator;return i?{res:"".concat(u).concat(p).concat(l),usedKey:l,exactUsedKey:l,usedLng:d,usedNS:u}:"".concat(u).concat(p).concat(l)}return i?{res:l,usedKey:l,exactUsedKey:l,usedLng:d,usedNS:u}:l}var h=this.resolve(e,t),m=h&&h.res,g=h&&h.usedKey||l,v=h&&h.exactUsedKey||l,y=Object.prototype.toString.apply(m),b=["[object Number]","[object Function]","[object RegExp]"],w=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,C=!this.i18nFormat||this.i18nFormat.handleAsObject,x="string"!==typeof m&&"boolean"!==typeof m&&"number"!==typeof m;if(C&&m&&x&&b.indexOf(y)<0&&("string"!==typeof w||"[object Array]"!==y)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var _=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,m,ye(ye({},t),{},{ns:c})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");return i?(h.res=_,h):_}if(a){var S="[object Array]"===y,E=S?[]:{},M=S?v:g;for(var L in m)if(Object.prototype.hasOwnProperty.call(m,L)){var N="".concat(M).concat(a).concat(L);E[L]=this.translate(N,ye(ye({},t),{joinArrays:!1,ns:c})),E[L]===N&&(E[L]=m[L])}m=E}}else if(C&&"string"===typeof w&&"[object Array]"===y)(m=m.join(w))&&(m=this.extendTranslation(m,e,t,r));else{var O=!1,A=!1,j=void 0!==t.count&&"string"!==typeof t.count,T=n.hasDefaultValue(t),Z=j?this.pluralResolver.getSuffix(d,t.count,t):"",P=t["defaultValue".concat(Z)]||t.defaultValue;!this.isValidLookup(m)&&T&&(O=!0,m=P),this.isValidLookup(m)||(A=!0,m=l);var R=t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,I=R&&A?void 0:m,D=T&&P!==m&&this.options.updateMissing;if(A||O||D){if(this.logger.log(D?"updateKey":"missingKey",d,u,l,D?P:m),a){var z=this.resolve(l,ye(ye({},t),{},{keySeparator:!1}));z&&z.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 H=[],B=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&B&&B[0])for(var F=0;F<B.length;F++)H.push(B[F]);else"all"===this.options.saveMissingTo?H=this.languageUtils.toResolveHierarchy(t.lng||this.language):H.push(t.lng||this.language);var V=function(e,n,r){var i=T&&r!==m?r:I;o.options.missingKeyHandler?o.options.missingKeyHandler(e,u,n,i,D,t):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,u,n,i,D,t),o.emit("missingKey",e,u,n,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&j?H.forEach((function(e){o.pluralResolver.getSuffixes(e,t).forEach((function(n){V([e],l+n,t["defaultValue".concat(n)]||P)}))})):V(H,l,P))}m=this.extendTranslation(m,e,t,h,r),A&&m===l&&this.options.appendNamespaceToMissingKey&&(m="".concat(u,":").concat(l)),(A||O)&&this.options.parseMissingKeyHandler&&(m="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(u,":").concat(l):l,O?m:void 0):this.options.parseMissingKeyHandler(m))}return i?(h.res=m,h):m}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,ye(ye({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(ye(ye({},n),{interpolation:ye(ye({},this.options.interpolation),n.interpolation)}));var a,s="string"===typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=e.match(this.interpolator.nestingRegexp);a=l&&l.length}var c=n.replace&&"string"!==typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=ye(ye({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);a<(u&&u.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,f="string"===typeof d?[d]:d;return void 0!==e&&null!==e&&f&&f.length&&!1!==n.applyPostProcessor&&(e=ge.handle(f,e,t,this.options&&this.options.postProcessPassResolved?ye({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,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),c=l.key;n=c;var u=l.namespaces;a.options.fallbackNS&&(u=u.concat(a.options.fallbackNS));var d=void 0!==s.count&&"string"!==typeof s.count,f=d&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),p=void 0!==s.context&&("string"===typeof s.context||"number"===typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);u.forEach((function(e){a.isValidLookup(t)||(i=e,!we["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(we["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(i,'" 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)){o=n;var i,l=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(l,c,n,e,s);else{var u;d&&(u=a.pluralResolver.getSuffix(n,s.count,s));var h="".concat(a.options.pluralSeparator,"zero");if(d&&(l.push(c+u),f&&l.push(c+h)),p){var m="".concat(c).concat(a.options.contextSeparator).concat(s.context);l.push(m),d&&(l.push(m+u),f&&l.push(m+h))}}for(;i=l.pop();)a.isValidLookup(t)||(r=i,t=a.getResource(n,e,i,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{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}}]),n}(J);function xe(e){return e.charAt(0).toUpperCase()+e.slice(1)}var ke=function(){function e(t){(0,v.Z)(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Y.create("languageUtils")}return(0,y.Z)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)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||e.indexOf("-")<0)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]=xe(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]=xe(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=xe(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():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),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.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&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"===typeof e&&i(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e))})),o}}]),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","kk","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","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}],Se={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)}},Ee=["v1","v2","v3"],Me={zero:0,one:1,two:2,few:3,many:4,other:5};function Le(){var e={};return _e.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:Se[t.fc]}}))})),e}var Ne=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,v.Z)(this,e),this.languageUtils=t,this.options=n,this.logger=Y.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!==typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Le()}return(0,y.Z)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(n){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return Me[e]-Me[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var i=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"===typeof o?"_plural_".concat(o.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!Ee.includes(this.options.compatibilityJSON)}}]),e}();function Oe(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 Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var je=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,v.Z)(this,e),this.logger=Y.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,y.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:le,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?ae(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?ae(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?ae(t.nestingPrefix):t.nestingPrefixEscaped||ae("$t("),this.nestingSuffix=t.nestingSuffix?ae(t.nestingSuffix):t.nestingSuffixEscaped||ae(")"),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=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var o=oe(t,l,e);return s.alwaysFormat?s.format(o,void 0,n,Ae(Ae(Ae({},r),t),{},{interpolationkey:e})):o}var i=e.split(s.formatSeparator),a=i.shift().trim(),c=i.join(s.formatSeparator).trim();return s.format(oe(t,l,a),c,n,Ae(Ae(Ae({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(a=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(i=u(n)))if("function"===typeof d){var l=d(e,o,r);i="string"===typeof l?l:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else{if(f){i=o[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),i=""}else"string"===typeof i||s.useRawValueToEscape||(i=Q(i));var c=t.safeValue(i);if(e=e.replace(o[0],c),f?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0];var a=(i=this.interpolate(i,o)).match(/'/g),s=i.match(/"/g);(a&&a.length%2===0&&!s||s.length%2!==0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o=Ae(Ae({},t),o))}catch(l){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),l),"".concat(e).concat(n).concat(i)}return delete o.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){var l=[];(o=(o=Ae({},a)).replace&&"string"!==typeof o.replace?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;var c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),o),o))&&n[0]===e&&"string"!==typeof r)return r;"string"!==typeof r&&(r=Q(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce((function(e,t){return i.format(e,t,a.lng,Ae(Ae({},a),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Te(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 Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pe(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);if("currency"===t&&o.indexOf(":")<0)n.currency||(n.currency=o.trim());else if("relativetime"===t&&o.indexOf(":")<0)n.range||(n.range=o.trim());else{o.split(";").forEach((function(e){if(e){var t=e.split(":"),r=(0,U.Z)(t),o=r[0],i=r.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[o.trim()]||(n[o.trim()]=i),"false"===i&&(n[o.trim()]=!1),"true"===i&&(n[o.trim()]=!0),isNaN(i)||(n[o.trim()]=parseInt(i,10))}}))}}return{formatName:t,formatOptions:n}}function Re(e){var t={};return function(n,r,o){var i=r+JSON.stringify(o),a=t[i];return a||(a=e(r,o),t[i]=a),a(n)}}var Ie=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,v.Z)(this,e),this.logger=Y.create("formatter"),this.options=t,this.formats={number:Re((function(e,t){var n=new Intl.NumberFormat(e,Ze({},t));return function(e){return n.format(e)}})),currency:Re((function(e,t){var n=new Intl.NumberFormat(e,Ze(Ze({},t),{},{style:"currency"}));return function(e){return n.format(e)}})),datetime:Re((function(e,t){var n=new Intl.DateTimeFormat(e,Ze({},t));return function(e){return n.format(e)}})),relativetime:Re((function(e,t){var n=new Intl.RelativeTimeFormat(e,Ze({},t));return function(e){return n.format(e,t.range||"day")}})),list:Re((function(e,t){var n=new Intl.ListFormat(e,Ze({},t));return function(e){return n.format(e)}}))},this.init(t)}return(0,y.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=Re(t)}},{key:"format",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.split(this.formatSeparator),a=i.reduce((function(e,t){var i=Pe(t),a=i.formatName,s=i.formatOptions;if(r.formats[a]){var l=e;try{var c=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},u=c.locale||c.lng||o.locale||o.lng||n;l=r.formats[a](e,u,Ze(Ze(Ze({},s),o),c))}catch(d){r.logger.warn(d)}return l}return r.logger.warn("there was no format function for ".concat(a)),e}),e);return a}}]),e}();function De(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 ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function He(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(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}}();return function(){var n,r=(0,q.Z)(e);if(t){var o=(0,q.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,V.Z)(this,n)}}var Be=function(e){(0,F.Z)(n,e);var t=He(n);function n(e,r,o){var i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,v.Z)(this,n),i=t.call(this),ce&&J.call((0,B.Z)(i)),i.backend=e,i.store=r,i.services=o,i.languageUtils=o.languageUtils,i.options=a,i.logger=Y.create("backendConnector"),i.waitingReads=[],i.maxParallelReads=a.maxParallelReads||10,i.readingCalls=0,i.maxRetries=a.maxRetries>=0?a.maxRetries:5,i.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(o,a.backend,a),i}return(0,y.Z)(n,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i={},a={},s={},l={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?void 0===a[s]&&(a[s]=!0):(o.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===l[t]&&(l[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){!function(e,t,n,r){var o=te(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],r&&(i[a]=i[a].concat(n)),r||i[a].push(n)}(n.loaded,[o],i),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===a[e][t]&&(a[e][t]=!0)}))})),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,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)this.waitingReads.push({lng:e,ns:t,fcName:n,tried:o,wait:i,callback:a});else{this.readingCalls++;var s=function(s,l){if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}s&&l&&o<r.maxRetries?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*i,a)}),i):a(s,l)},l=this.backend[n].bind(this.backend);if(2!==l.length)return l(e,t,s);try{var c=l(e,t);c&&"function"===typeof c.then?c.then((function(e){return s(null,e)})).catch(s):s(null,c)}catch(u){s(u)}}}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=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."),o&&o();"string"===typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"===typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.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("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){};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!!!");else if(void 0!==n&&null!==n&&""!==n){if(this.backend&&this.backend.create){var s=ze(ze({},i),{},{isUpdate:o}),l=this.backend.create.bind(this.backend);if(l.length<6)try{var c;(c=5===l.length?l(e,t,n,r,s):l(e,t,n,r))&&"function"===typeof c.then?c.then((function(e){return a(null,e)})).catch(a):a(null,c)}catch(u){a(u)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}]),n}(J);function Fe(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!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,k.Z)(e[1])&&(t=e[1]),"string"===typeof e[1]&&(t.defaultValue=e[1]),"string"===typeof e[2]&&(t.tDescription=e[2]),"object"===(0,k.Z)(e[2])||"object"===(0,k.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:!0}}}function Ve(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.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function qe(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 Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qe(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $e(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(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}}();return function(){var n,r=(0,q.Z)(e);if(t){var o=(0,q.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,V.Z)(this,n)}}function We(){}function Ke(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"===typeof e[t]&&(e[t]=e[t].bind(e))}))}var Ge=function(e){(0,F.Z)(n,e);var t=$e(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if((0,v.Z)(this,n),e=t.call(this),ce&&J.call((0,B.Z)(e)),e.options=Ve(r),e.services={},e.logger=Y,e.modules={external:[]},Ke((0,B.Z)(e)),o&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,o),(0,V.Z)(e,(0,B.Z)(e));setTimeout((function(){e.init(r,o)}),0)}return e}return(0,y.Z)(n,[{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"===typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"===typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r=Fe();function o(e){return e?"function"===typeof e?new e:e:null}if(this.options=Ue(Ue(Ue({},r),this.options),Ve(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=Ue(Ue({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var i;this.modules.logger?Y.init(o(this.modules.logger),this.options):Y.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!==typeof Intl&&(i=Ie);var a=new ke(this.options);this.store=new me(this.options.resources,this.options);var s=this.services;s.logger=Y,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new Ne(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!i||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(s.formatter=o(i),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new je(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new Be(o(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(s.languageDetector=o(this.modules.languageDetector),s.languageDetector.init&&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 Ce(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=We),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");var c=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var u=["addResource","addResources","addResourceBundle","removeResourceBundle"];u.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var d=X(),f=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&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),d.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?f():setTimeout(f,0),d}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:We,r=n,o="string"===typeof e?e:this.language;if("function"===typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return r();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};if(o)a(o);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return a(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(i,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),r(e)}))}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=X();return e||(e=this.languages),t||(t=this.options.ns),n||(n=We),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new 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&&ge.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=X();this.emit("languageChanging",e);var o=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},i=function(i){e||i||!n.services.languageDetector||(i=[]);var a="string"===typeof i?i:n.services.languageUtils.getBestMatchFromCodes(i);a&&(n.language||o(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){!function(e,i){i?(o(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)}))}(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(i):this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){var i;if("object"!==(0,k.Z)(o)){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];i=r.options.overloadTranslationOptionHandler([t,o].concat(s))}else i=Ue({},o);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns,i.keyPrefix=i.keyPrefix||n||e.keyPrefix;var c,u=r.options.keySeparator||".";return c=i.keyPrefix&&Array.isArray(t)?t.map((function(e){return"".concat(i.keyPrefix).concat(u).concat(e)})):i.keyPrefix?"".concat(i.keyPrefix).concat(u).concat(t):t,r.t(c,i)};return"string"===typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,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.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=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&&(!this.options.resources||this.options.partialBundledLanguages))||!(!a(r,e)||o&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=X();return this.options.ns?("string"===typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&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=X();"string"===typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";var t=this.services&&this.services.languageUtils||new ke(Fe());return["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","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:We,o=Ue(Ue(Ue({},this.options),t),{isClone:!0}),i=new n(o);void 0===t.debug&&void 0===t.prefix||(i.logger=i.logger.clone(t));var a=["store","services","language"];return a.forEach((function(t){i[t]=e[t]})),i.services=Ue({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new Ce(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))})),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(J);(0,u.Z)(Ge,"createInstance",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Ge(e,t)}));var Ye=Ge.createInstance();Ye.createInstance=Ge.createInstance;Ye.createInstance,Ye.dir,Ye.init,Ye.loadResources,Ye.reloadResources,Ye.use,Ye.changeLanguage,Ye.getFixedT,Ye.t,Ye.exists,Ye.setDefaultNamespace,Ye.hasLoadedNamespace,Ye.loadNamespaces,Ye.loadLanguages;var Je=function(e){void 0===e.ns&&(e.ns=[]);var t,n,r=Ye.createInstance(e);r.isInitialized?t=Promise.resolve(Ye.t):(null===e||void 0===e||null===(n=e.use)||void 0===n||n.forEach((function(e){return r.use(e)})),"function"===typeof e.onPreInitI18next&&e.onPreInitI18next(r),t=r.init(e));return{i18n:r,initPromise:t}},Xe=r.createElement;function Qe(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 et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var tt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(n){var o,i,a=(n.pageProps||{})._nextI18Next,s=null!==(o=null===a||void 0===a?void 0:a.initialLocale)&&void 0!==o?o:null===n||void 0===n||null===(i=n.router)||void 0===i?void 0:i.locale,l=null===a||void 0===a?void 0:a.ns,c=(0,r.useMemo)((function(){var e;if(!a&&!t)return null;var n=null!==t&&void 0!==t?t:null===a||void 0===a?void 0:a.userConfig;if(!n)throw new Error("appWithTranslation was called without a next-i18next config");if(null===n||void 0===n||!n.i18n)throw new Error("appWithTranslation was called without config.i18n");if(null===n||void 0===n||null===(e=n.i18n)||void 0===e||!e.defaultLocale)throw new Error("config.i18n does not include a defaultLocale property");var r=(a||{}).initialI18nStore,o=null!==t&&void 0!==t&&t.resources?t.resources:r;s||(s=n.i18n.defaultLocale);var i=Je(et(et({},H(et(et({},n),{},{lng:s}))),{},{lng:s,ns:l,resources:o})).i18n;return i,i}),[a,s,t,l]);return null!==c?Xe(L,{i18n:c},Xe(e,n)):Xe(e,(0,N.Z)({key:s},n))};return A()(n,e)}},65171:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"===typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(78529)},94596:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(77862)}])},35892:function(e,t,n){"use strict";var r=n(23281);e.exports={i18n:{defaultLocale:"default",locales:["default","af","ar","as","az","be","bg","bh","bn","bs","cs","cy","da","de","el","en","es","et","fa","fi","fo","fr","fy","ga","gu","he","hi","hr","hu","hy","id","io","is","it","ja","ka","kg","kk","ko","ks","ku","la","lb","lo","lt","lv","ml","mn","mr","my","ne","nl","no","or","pl","pt","ro","ru","sa","sd","si","sk","sm","sn","so","sq","sr","sv","ta","te","th","tr","uk","ur","uz","vi","zh"],localeDetection:!1},backend:{loadPath:"/api/teacher/setting/get-language/{{lng}}?ns={{ns}}"},debug:!1,locale:!1,serializeConfig:!1,use:[r],fallbackLng:!1}},87991:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,r,o){var i=n(8994).normalizeLocalePath,a=n(71781).detectDomainLocale,s=t||i(e,r).detectedLocale,l=a(o,void 0,s);if(l){var c="http".concat(l.http?"":"s","://"),u=s===l.defaultLocale?"":"/".concat(s);return"".concat(c).concat(l.domain).concat("").concat(u).concat(e)}return!1};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},18996:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(30553).Z;n(12359).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(57022).Z,i=n(5997).Z,a=o(n(50959)),s=n(27354),l=n(57046),c=n(36037),u=n(60921),d=n(14082),f=n(87991),p=n(13410),h={};function m(e,t,n,r){if(e&&s.isLocalURL(t)){Promise.resolve(e.prefetch(t,n,r)).catch((function(e){0}));var o=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;h[t+"%"+n+(o?"%"+o:"")]=!0}}var g=a.default.forwardRef((function(e,t){var n,o=e.href,g=e.as,v=e.children,y=e.prefetch,b=e.passHref,w=e.replace,C=e.shallow,x=e.scroll,k=e.locale,_=e.onClick,S=e.onMouseEnter,E=e.onTouchStart,M=e.legacyBehavior,L=void 0===M?!0!==Boolean(!1):M,N=i(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=v,!L||"string"!==typeof n&&"number"!==typeof n||(n=a.default.createElement("a",null,n));var O=!1!==y,A=a.default.useContext(c.RouterContext),j=a.default.useContext(u.AppRouterContext);j&&(A=j);var T,Z=a.default.useMemo((function(){var e=r(s.resolveHref(A,o,!0),2),t=e[0],n=e[1];return{href:t,as:g?s.resolveHref(A,g):n||t}}),[A,o,g]),P=Z.href,R=Z.as,I=a.default.useRef(P),D=a.default.useRef(R);L&&(T=a.default.Children.only(n));var z=L?T&&"object"===typeof T&&T.ref:t,H=r(d.useIntersection({rootMargin:"200px"}),3),B=H[0],F=H[1],V=H[2],q=a.default.useCallback((function(e){D.current===R&&I.current===P||(V(),D.current=R,I.current=P),B(e),z&&("function"===typeof z?z(e):"object"===typeof z&&(z.current=e))}),[R,z,P,V,B]);a.default.useEffect((function(){var e=F&&O&&s.isLocalURL(P),t="undefined"!==typeof k?k:A&&A.locale,n=h[P+"%"+R+(t?"%"+t:"")];e&&!n&&m(A,P,R,{locale:t})}),[R,P,F,k,O,A]);var U={ref:q,onClick:function(e){L||"function"!==typeof _||_(e),L&&T.props&&"function"===typeof T.props.onClick&&T.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,i,l,c,u,d){if("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&s.isLocalURL(n)){e.preventDefault();var f=function(){"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:i,locale:c,scroll:l}):t[o?"replace":"push"](n,{forceOptimisticNavigation:!d})};u?a.default.startTransition(f):f()}}(e,A,P,R,w,C,x,k,Boolean(j),O)},onMouseEnter:function(e){L||"function"!==typeof S||S(e),L&&T.props&&"function"===typeof T.props.onMouseEnter&&T.props.onMouseEnter(e),!O&&j||s.isLocalURL(P)&&m(A,P,R,{priority:!0})},onTouchStart:function(e){L||"function"!==typeof E||E(e),L&&T.props&&"function"===typeof T.props.onTouchStart&&T.props.onTouchStart(e),!O&&j||s.isLocalURL(P)&&m(A,P,R,{priority:!0})}};if(!L||b||"a"===T.type&&!("href"in T.props)){var $="undefined"!==typeof k?k:A&&A.locale,W=A&&A.isLocaleDomain&&f.getDomainLocale(R,$,A.locales,A.domainLocales);U.href=W||p.addBasePath(l.addLocale(R,$,A&&A.defaultLocale))}return L?a.default.cloneElement(T,U):a.default.createElement("a",Object.assign({},N,U),n)}));t.default=g,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8994:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=void 0;t.normalizeLocalePath=function(e,t){return n(55935).normalizeLocalePath(e,t)},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14082:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(30553).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,n=e.rootMargin,c=e.disabled||!a,u=r(o.useState(!1),2),d=u[0],f=u[1],p=r(o.useState(null),2),h=p[0],m=p[1];o.useEffect((function(){if(a){if(c||d)return;if(h&&h.tagName){var e=function(e,t,n){var r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=l.find((function(e){return e.root===n.root&&e.margin===n.margin}));if(r&&(t=s.get(r)))return t;var o=new Map,i=new IntersectionObserver((function(e){e.forEach((function(e){var t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return t={id:n,observer:i,elements:o},l.push(n),s.set(n,t),t}(n),o=r.id,i=r.observer,a=r.elements;return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),s.delete(o);var t=l.findIndex((function(e){return e.root===o.root&&e.margin===o.margin}));t>-1&&l.splice(t,1)}}}(h,(function(e){return e&&f(e)}),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!d){var r=i.requestIdleCallback((function(){return f(!0)}));return function(){return i.cancelIdleCallback(r)}}}),[h,c,n,t,d]);var g=o.useCallback((function(){f(!1)}),[]);return[m,d,g]};var o=n(50959),i=n(29242),a="function"===typeof IntersectionObserver,s=new Map,l=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},60921:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=void 0;var r=(0,n(57022).Z)(n(50959)),o=r.default.createContext(null);t.AppRouterContext=o;var i=r.default.createContext(null);t.LayoutRouterContext=i;var a=r.default.createContext(null);t.GlobalLayoutRouterContext=a;var s=r.default.createContext(null);t.TemplateContext=s},22852:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(21470).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=a.default,i=(null==t?void 0:t.suspense)?{}:{loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};r(e,Promise)?i.loader=function(){return e}:"function"===typeof e?i.loader=e:"object"===typeof e&&(i=o({},i,e));!1;(i=o({},i,t)).suspense&&(delete i.ssr,delete i.loading);i.loadableGenerated&&delete(i=o({},i,i.loadableGenerated)).loadableGenerated;if("boolean"===typeof i.ssr&&!i.suspense){if(!i.ssr)return delete i.ssr,s(n,i);delete i.ssr}return n(i)},t.noSSR=s;var o=n(5506).Z,i=n(57022).Z,a=(i(n(50959)),i(n(65430)));function s(e,t){return delete t.webpack,delete t.modules,e(t)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98162:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=(0,n(57022).Z)(n(50959)).default.createContext(null);t.LoadableContext=r},65430:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(31358).Z,o=n(56993).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(5506).Z,a=(0,n(57022).Z)(n(50959)),s=n(98162),l=n(50959).useSyncExternalStore,c=[],u=[],d=!1;function f(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}var p=function(){function e(t,n){r(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return o(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=i({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function h(e){return function(e,t){var n=function(){if(!c){var t=new p(e,o);c={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return c.promise()},r=function(){n();var e=a.default.useContext(s.LoadableContext);e&&Array.isArray(o.modules)&&o.modules.forEach((function(t){e(t)}))},o=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);o.suspense&&(o.lazy=a.default.lazy(o.loader));var c=null;if(!d){var f=o.webpack?o.webpack():o.modules;f&&u.push((function(e){var t=!0,r=!1,o=void 0;try{for(var i,a=f[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value;if(-1!==e.indexOf(s))return n()}}catch(l){r=!0,o=l}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}}))}var h=o.suspense?function(e,t){return r(),a.default.createElement(o.lazy,i({},e,{ref:t}))}:function(e,t){r();var n=l(c.subscribe,c.getCurrentValue,c.getCurrentValue);return a.default.useImperativeHandle(t,(function(){return{retry:c.retry}}),[]),a.default.useMemo((function(){return n.loading||n.error?a.default.createElement(o.loading,{isLoading:n.loading,pastDelay:n.pastDelay,timedOut:n.timedOut,error:n.error,retry:c.retry}):n.loaded?a.default.createElement((t=n.loaded)&&t.__esModule?t.default:t,e):null;var t}),[e,n])};return h.preload=function(){return n()},h.displayName="LoadableComponent",a.default.forwardRef(h)}(f,e)}function m(e,t){for(var n=[];e.length;){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return m(e,t)}))}h.preloadAll=function(){return new Promise((function(e,t){m(c).then(e,t)}))},h.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return d=!0,t()};m(u,e).then(n,n)}))},window.__NEXT_PRELOADREADY=h.preloadReady;var g=h;t.default=g},17376:function(e,t,n){var r=n(65171),o=n(50959);function i(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var a=i(o);function s(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)}}var l="undefined"!==typeof r&&r.env&&!0,c=function(e){return"[object String]"===Object.prototype.toString.call(e)},u=function(){var e,t,n,r=function(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,o=t.optimizeForSpeed,i=void 0===o?l:o;d(c(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",d("boolean"===typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a=document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null},o=r.prototype;return o.setOptimizeForSpeed=function(e){d("boolean"===typeof e,"`setOptimizeForSpeed` accepts a boolean"),d(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},o.isOptimizeForSpeed=function(){return this._optimizeForSpeed},o.inject=function(){var e=this;if(d(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed)return this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),void(this._optimizeForSpeed||(l||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0));this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"===typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},o.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},o.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},o.insertRule=function(e,t){if(d(c(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!==typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(o){return l||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},o.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(o){l||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];d(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},o.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];d(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},o.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEach((function(e){return e&&e.parentNode.removeChild(e)})),this._tags=[]},o.cssRules=function(){var e=this;return this._tags.reduce((function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,(function(t){return t.cssText===e._deletedRulePlaceholder?null:t}))):t.push(null),t}),[])},o.makeStyleTag=function(e,t,n){t&&d(c(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var o=document.head||document.getElementsByTagName("head")[0];return n?o.insertBefore(r,n):o.appendChild(r),r},e=r,(t=[{key:"length",get:function(){return this._rulesCount}}])&&s(e.prototype,t),n&&s(e,n),r}();function d(e,t){if(!e)throw new Error("StyleSheet: "+t+".")}var f=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},p={};function h(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return p[r]||(p[r]="jsx-"+f(e+"-"+n)),p[r]}function m(e,t){var n=e+t;return p[n]||(p[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),p[n]}var g=function(){var e=function(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,o=t.optimizeForSpeed,i=void 0!==o&&o;this._sheet=r||new u({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),r&&"boolean"===typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce((function(e,t){return e[t]=0,e}),{}));var n=this.getIdAndRules(e),r=n.styleId,o=n.rules;if(r in this._instancesCounts)this._instancesCounts[r]+=1;else{var i=o.map((function(e){return t._sheet.insertRule(e)})).filter((function(e){return-1!==e}));this._indices[r]=i,this._instancesCounts[r]=1}},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw new Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach((function(e){return t._sheet.deleteRule(e)})),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map((function(t){return[t,e._fromServer[t]]})):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map((function(t){return[t,e._indices[t].map((function(e){return n[e].cssText})).join(e._optimizeForSpeed?"":"\n")]})).filter((function(e){return Boolean(e[1])})))},t.styles=function(e){return function(e,t){return void 0===t&&(t={}),e.map((function(e){var n=e[0],r=e[1];return a.default.createElement("style",{id:"__"+n,key:"__"+n,nonce:t.nonce?t.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})}))}(this.cssRules(),e)},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var o=h(r,n);return{styleId:o,rules:Array.isArray(t)?t.map((function(e){return m(o,e)})):[m(o,t)]}}return{styleId:h(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce((function(e,t){return e[t.id.slice(2)]=t,e}),{})},e}();var v=o.createContext(null);function y(){return new g}function b(){return o.useContext(v)}v.displayName="StyleSheetContext";var w=a.default.useInsertionEffect||a.default.useLayoutEffect,C=y();function x(e){var t=C||b();return t?(w((function(){return t.add(e),function(){t.remove(e)}}),[e.id,String(e.dynamic)]),null):null}x.dynamic=function(e){return e.map((function(e){return h(e[0],e[1])})).join(" ")},t.style=x},54185:function(e,t,n){"use strict";e.exports=n(17376).style},81316:function(e,t,n){"use strict";n.d(t,{EY:function(){return s},VT:function(){return a},av:function(){return i}});var r=(0,n(768).oM)({name:"auth",initialState:{info:{id:0,email:"",full_name:""},online:{referer:"",userAgent:"",payload:{}}},reducers:{setUser:function(e,t){e.info=t.payload},setOnline:function(e,t){e.online=t.payload},setEzyAffiliateUserId:function(e,t){e.info.ezy_affiliate_user_id=t.payload}}}),o=r.actions,i=o.setUser,a=o.setOnline,s=o.setEzyAffiliateUserId;t.ZP=r.reducer},61981:function(e,t,n){"use strict";n.d(t,{$f:function(){return R},Ae:function(){return Z},Bv:function(){return T},D8:function(){return b},KB:function(){return p},Kg:function(){return S},Ku:function(){return m},LJ:function(){return M},Ob:function(){return k},Oi:function(){return O},P6:function(){return g},P_:function(){return x},Sk:function(){return P},T2:function(){return H},UH:function(){return v},XI:function(){return h},_3:function(){return L},_C:function(){return I},bA:function(){return w},c5:function(){return u},cu:function(){return C},f5:function(){return d},fu:function(){return j},gR:function(){return y},hf:function(){return z},iX:function(){return _},lR:function(){return D},m_:function(){return E},or:function(){return N},rf:function(){return f},wy:function(){return A}});var r=n(72006),o=n(9970),i=n(768),a=n(82058),s={lists:{data:[],meta:{}},singleChat:null,chatLists:[],replayBox:null,groupChatBox:null,tab:1,preLen:0,preId:0,seen:!1,typingIndicator:!1,replayLists:[],is_privete:!1,chat_index:-1,left_chat_index:0,reply_box_2:!1,isChatPoup:!1,chat_buddy_id:null,visible:!1,msgErrorData:null,gamification:null,meetingListBox:!1,meetingList:[],meetingCount:0},l=(0,i.oM)({name:"chat",initialState:s,reducers:{resetCommunityStates:function(){return s},updateLeftChatIndex:function(e,t){e.left_chat_index=t.payload},setGamificationData:function(e,t){e.gamification=t.payload},replyBoxForTab2:function(e,t){e.reply_box_2=t.payload},meetingListBox:function(e,t){e.meetingListBox=t.payload},setMsgErrorData:function(e,t){e.msgErrorData=t.payload},setVisiable:function(e,t){e.visible=t.payload},initialIndexOfChat:function(e,t){e.chat_index=t.payload},removeConversation:function(e,t){e.lists.data.splice(e.left_chat_index,1),e.singleChat=null,e.isChatPoup=!1},updateChatList:function(e,t){1==e.tab||null==t.payload.replay_id||""==t.payload.replay_id?e.chatLists.push(t.payload):(e.replayLists.push(t.payload),-1!=e.chat_index&&e.chatLists.length&&e.chatLists[e.chat_index]&&(e.chatLists[e.chat_index].replay_count++,e.replayBox.replay_count++));var n=!0,o=!1,i=void 0;try{for(var a,s=e.lists.data[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value;if(1==e.tab&&1==t.payload.tab){if(l.inbox_key==t.payload.inbox_key){l.lastmsg=(0,r.Z)({},t.payload),!0;break}}else if(l.id==t.payload.inbox_key){l.lastmsg=(0,r.Z)({},t.payload),!0;break}}}catch(c){o=!0,i=c}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}e.preId++},updateChatListWithFilter:function(e,t){e.lists=t.payload},storeAllReplay:function(e,t){e.replayLists=t.payload},setMeetingList:function(e,t){e.meetingList=t.payload},setMeetingCount:function(e,t){e.meetingCount=t.payload},storeSingleReplay:function(e,t){e.replayLists=(0,o.Z)(e.replayLists).concat((0,o.Z)(t.payload))},addMoreChatLists:function(e,t){var n=!0,o=!1,i=void 0;try{for(var a,s=t.payload.data[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value;e.lists.data.push(l)}}catch(c){o=!0,i=c}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}e.lists.meta=(0,r.Z)({},t.payload.meta)},updateLeftList:function(e,t){e.lists.data.unshift(t.payload),e.chatLists=[],e.singleChat=(0,r.Z)({},t.payload)},resetSingleChat:function(e){e.singleChat=null},intialNewBuddy:function(e,t){e.singleChat=(0,r.Z)({},t.payload),e.preId++},intialChatLists:function(e,t){e.chatLists=t.payload,e.preId++},updateChatLists:function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=t.payload[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;e.chatLists.unshift(s)}}catch(l){r=!0,o=l}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}},intialReplyBox:function(e,t){e.replayBox=t.payload},intialReplyBoxForGroup:function(e,t){e.groupChatBox=t.payload},updateChatTab:function(e,t){e.tab=t.payload},removeMsgFromChatList:function(e,t){e.chatLists.splice(t.payload,1)},updateSeen:function(e,t){e.seen=t.payload},updateSingleSeen:function(e,t){e.lists.data[t.payload].is_seen=1},updateTypeing:function(e,t){e.typingIndicator=t.payload},updateLastSeen:function(e,t){if(e.chatLists.length){var n=(0,r.Z)({},t.payload);n.is_seen=1,e.chatLists[e.chatLists.length-1]=(0,r.Z)({},n)}},lastMsgOfList:function(e,t){e.chatLists.push(t.payload)},updateUserReactions:function(e,t){t.payload.reactions.isNew?e.chatLists[t.payload.index].meta.total_reaction_count+=1:t.payload.reactions.isNew||"Single"!=t.payload.reactions.isDelete?"All"==t.payload.reactions.isDelete&&(e.chatLists[t.payload.index].user_reaction=null,e.chatLists[t.payload.index].meta.total_reaction_count-=1):e.chatLists[t.payload.index].meta.total_reaction_count-=1,e.chatLists[t.payload.index].reactions=t.payload.reactions.data},updateUserReactionsInReplay:function(e,t){t.payload.reactions.isNew?e.replayLists[t.payload.index].meta.total_reaction_count+=1:t.payload.reactions.isNew||"Single"!=t.payload.reactions.isDelete?"All"==t.payload.reactions.isDelete&&(e.replayLists[t.payload.index].user_reaction=null,e.replayLists[t.payload.index].meta.total_reaction_count-=1):e.replayLists[t.payload.index].meta.total_reaction_count-=1,e.replayLists[t.payload.index].reactions=t.payload.reactions.data},updateIsPrivate:function(e,t){e.is_privete=t.payload},removeReplyItemFromReplybox:function(e,t){e.replayLists.splice(t.payload,1),-1!=e.chat_index&&(e.chatLists[e.chat_index].replay_count--,e.replayBox.replay_count--)},openSingleChatPopup:function(e){e.isChatPoup=!0},closeChatPopup:function(e){e.isChatPoup=!1},toggleChatPopup:function(e,t){var n=t.payload;e.isChatPoup||n.muteSound||(0,a.GN)("https://letcheck.b-cdn.net/salman-cademys/cla5f99300003cp1zdj0xgp20.mp3"),n.open?e.isChatPoup=!0:e.isChatPoup=!e.isChatPoup,n&&n.group?e.tab=2:e.tab=1,n&&e.isChatPoup&&(e.chat_buddy_id=n),e.replayLists=[],e.replayBox=null,e.reply_box_2=!1}}}),c=l.actions,u=c.setGamificationData,d=(c.openSingleChatPopup,c.closeChatPopup),f=c.toggleChatPopup,p=c.removeReplyItemFromReplybox,h=c.updateUserReactionsInReplay,m=c.initialIndexOfChat,g=(c.updateIsPrivate,c.resetCommunityStates,c.updateChatList),v=c.updateChatListWithFilter,y=c.intialNewBuddy,b=c.intialChatLists,w=c.updateChatLists,C=c.intialReplyBox,x=c.intialReplyBoxForGroup,k=c.updateChatTab,_=c.updateLeftList,S=c.removeMsgFromChatList,E=c.updateSeen,M=c.updateSingleSeen,L=(c.updateLastSeen,c.lastMsgOfList,c.addMoreChatLists),N=c.updateTypeing,O=c.storeAllReplay,A=c.updateUserReactions,j=c.replyBoxForTab2,T=c.setVisiable,Z=c.removeConversation,P=c.updateLeftChatIndex,R=c.setMsgErrorData,I=c.resetSingleChat,D=c.meetingListBox,z=c.setMeetingList,H=c.setMeetingCount,B=l.reducer;t.ZP=B},14046:function(e,t,n){"use strict";var r=n(57135),o=n(56871),i=n(84796),a=(n(50959),n(61981)),s=n(42760);t.Z=function(){var e=(0,s.T)(),t=function(){var t=(0,r.Z)((function(t){var n,r,s;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return n=(null===t||void 0===t?void 0:t.inbox_key)?t.inbox_key:null===t||void 0===t?void 0:t.id,t?[4,(0,i.Z)("/teacher/zoom/get-chat-meetings-count/".concat(n))]:[3,2];case 1:return(r=o.sent()).meta&&e((0,a.T2)(null===r||void 0===r||null===(s=r.meta)||void 0===s?void 0:s.future_meeting_count)),[2];case 2:return[2]}}))}));return function(e){return t.apply(this,arguments)}}();return{getMeetingsCount:t}}},4523:function(e,t,n){"use strict";var r=n(57135),o=n(56871),i=n(42760),a=n(84796),s=n(61981);t.Z=function(){var e=(0,i.T)(),t=(0,i.C)((function(e){var t;return null===(t=e.chat)||void 0===t?void 0:t.singleChat}))||{},n=function(){var n=(0,r.Z)((function(n){var r,i,l,c=arguments;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:if(r=c.length>1&&void 0!==c[1]?c[1]:null,i={buddy_id:null,inbox_id:null,more:r},n&&n.group_name){if(t.id===n.id&&!r)return[2];i.inbox_id=n.id}else if(n){if(t.buddy_id===n.buddy_id&&!r)return[2];i.buddy_id=n.buddy_id}return i.inbox_id||i.buddy_id?[4,(0,a.Z)("/student/chatting/getChatLists","post",i)]:[2];case 1:return(l=o.sent())&&(e(r?(0,s.bA)(l.chatLists):(0,s.D8)(l.chatLists)),e((0,s.m_)(l.seen))),[2]}}))}));return function(e){return n.apply(this,arguments)}}();return{getSingleChats:n}}},40958:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(57135),o=n(72006),i=n(9970),a=n(56871),s=n(50959),l=n(84796),c=n(78830),u=n(42760),d=n(61981),f=n(15154),p=n(82058),h=n(9881),m=n(4523),g=n(85850),v=function(){var e=(0,u.T)(),t=function(){var t=(0,r.Z)((function(t){var n,r;return(0,a.__generator)(this,(function(o){switch(o.label){case 0:return n=(null===t||void 0===t?void 0:t.inbox_key)?t.inbox_key:null===t||void 0===t?void 0:t.id,t?[4,(0,l.Z)("/teacher/zoom/get-chat-meetings/".concat(n))]:[3,2];case 1:return(r=o.sent())&&e((0,d.hf)(r)),[2];case 2:return[2]}}))}));return function(e){return t.apply(this,arguments)}}();return{getMeetingsList:t}},y=n(14046),b=n(81438),w=function(){var e,t=(0,f.useRouter)(),n=(0,u.T)(),w=(0,u.C)((function(e){return e.chat})),C=((0,u.C)((function(e){return e.chat.singleChat})),(0,b.$G)().t),x=(0,u.C)((function(e){return e.settingsData})),k=(0,u.C)((function(e){return e.settingsData.addons})).find((function(e){return"Private Chat"===e.addon_name})),_=(0,u.C)((function(e){return e.settingsData.is_private_chat_enabled})),S=(0,m.Z)().getSingleChats,E=v().getMeetingsList,M=(0,y.Z)().getMeetingsCount,L=(0,s.useState)(!1),N=L[0],O=L[1],A=(0,s.useState)([]),j=A[0],T=A[1],Z=(0,s.useState)(""),P=Z[0],R=Z[1],I=(0,s.useState)([]),D=I[0],z=I[1],H=(0,s.useState)([]),B=H[0],F=H[1],V=(0,s.useState)(!1),q=V[0],U=V[1],$=(0,u.C)((function(e){return e.user})),W=(0,p.ZS)({plan:null===x||void 0===x?void 0:x.current_plan,userType:null===$||void 0===$||null===(e=$.info)||void 0===e?void 0:e.user_type,current_period_end:null===x||void 0===x?void 0:x.current_period_end,is_private_chat_enabled:_,chatAddons:k}),K=W.is_chat_icon_available,G=W.is_notification_fetch,Y=(0,s.useState)([]),J=Y[0],X=Y[1],Q=(0,s.useState)(-1),ee=Q[0],te=Q[1],ne=(0,u.C)((function(e){var t;return null===e||void 0===e||null===(t=e.chat)||void 0===t?void 0:t.msgErrorData})),re=(0,u.C)((function(e){var t;return null===e||void 0===e||null===(t=e.chat)||void 0===t?void 0:t.chat_buddy_id})),oe=(0,s.useState)(null),ie=oe[0],ae=oe[1],se=(0,s.useState)(-1),le=se[0],ce=se[1],ue=(0,s.useState)(""),de=ue[0],fe=ue[1],pe=(0,s.useState)(!1),he=pe[0],me=pe[1],ge=(0,s.useState)(!1),ve=ge[0],ye=ge[1],be=(0,s.useState)(!0),we=be[0],Ce=be[1],xe=(0,s.useState)(!1),ke=xe[0],_e=xe[1],Se=(0,s.useState)(!1),Ee=Se[0],Me=Se[1];(0,s.useEffect)((function(){fe(""),ce(-1),X([]),T([]),F([]),ae(null),te(-1),_e(!1),Ce(!0),R(""),z([]),me(!1),ye(!1),U(!1)}),[re]);var Le=function(e){n((0,d.Bv)(e))},Ne=function(e){n((0,d.Ob)(e)),Te("",e)},Oe=function(){var e=(0,r.Z)((function(e){var r,i,s,c,u;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return t.query.gid,r="/student/chatting/getInbox_web?page=1&str=".concat(P,"&gid=").concat(t.query.gid?t.query.gid:""),2==e&&(r="/student/group/getGroupChatsLeftLists?page=1&str=".concat(P,"&gid=").concat(t.query.gid?t.query.gid:"")),[4,(0,l.Z)(r)];case 1:return(i=a.sent())&&(n((0,d.UH)(i)),re&&re.group?(n((0,d.gR)(re.group)),S(re.group),n((0,d.Ob)(2))):re&&re.id?(c=null===i||void 0===i||null===(s=i.data)||void 0===s?void 0:s.find((function(e){return(null===e||void 0===e?void 0:e.buddy_id)===(null===re||void 0===re?void 0:re.id)})),u={buddy:(0,o.Z)({},re),id:re.id,buddy_id:re.id,inbox_id:-1,inbox_key:null===c||void 0===c?void 0:c.inbox_key},n((0,d.gR)(u)),S(u)):i&&i.data&&i.data.length>0?(n((0,d.gR)(i.data[0])),S(i.data[0]),M(i.data[0])):(n((0,d.gR)(null)),n((0,d.D8)([])))),[2]}}))}));return function(t){return e.apply(this,arguments)}}(),Ae=function(){var e=(0,r.Z)((function(){var e,t,r,o,i,s,c=arguments;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return c.length>0&&void 0!==c[0]?c[0]:de,(null===w||void 0===w||null===(e=w.lists)||void 0===e?void 0:e.meta)&&w.lists.meta.current_page>=w.lists.meta.last_page?[2]:(o=(null===w||void 0===w||null===(t=w.lists)||void 0===t||null===(r=t.meta)||void 0===r?void 0:r.current_page)+1,i="/student/chatting/_web?page=".concat(o,"&str=").concat(P),2==(null===w||void 0===w?void 0:w.tab)&&(i="/student/group/getGroupChatsLeftLists?page=".concat(o,"&str=").concat(P)),[4,(0,l.Z)(i)]);case 1:return(s=a.sent())&&n((0,d._3)(s)),[2]}}))}));return function(){return e.apply(this,arguments)}}(),je=(0,s.useCallback)((0,p.Ds)(function(){var e=(0,r.Z)((function(e,t){var r,o;return(0,a.__generator)(this,(function(i){switch(i.label){case 0:return R(e),r="/student/group/getGroupChatsLeftLists?page=1&str=".concat(e,"&gid="),1==t&&(r="/student/chatting/getInbox_web?page=1&str=".concat(e)),[4,(0,l.Z)(r)];case 1:return(o=i.sent())&&n((0,d.UH)(o)),[2]}}))}));return function(t,n){return e.apply(this,arguments)}}(),500),[]),Te=(0,s.useCallback)((0,p.Ds)(function(){var e=(0,r.Z)((function(e,t){var n,r;return(0,a.__generator)(this,(function(o){switch(o.label){case 0:return n="/student/chatting/getInboxGlobalSearch?page=1&limit=10&str=".concat(e,"&tab=").concat(t),[4,(0,l.Z)(n)];case 1:return(r=o.sent())&&z(r),[2]}}))}));return function(t,n){return e.apply(this,arguments)}}(),500),[]),Ze=function(){var e=(0,r.Z)((function(){var e,t=arguments;return(0,a.__generator)(this,(function(n){return e=t.length>0&&void 0!==t[0]?t[0]:"",je(e,null===w||void 0===w?void 0:w.tab),[2]}))}));return function(){return e.apply(this,arguments)}}(),Pe=function(){var e=(0,r.Z)((function(e,t){var r,i,s,l,c,u,f,p,h,m,g;return(0,a.__generator)(this,(function(a){if(-1==t){if(i={buddy:(0,o.Z)({},e),id:e.id,buddy_id:e.id,inbox_id:-1},s=!1,l=-1,c=!0,u=!1,f=void 0,null===w||void 0===w||null===(r=w.lists)||void 0===r?void 0:r.data)try{for(p=w.lists.data[Symbol.iterator]();!(c=(h=p.next()).done);c=!0)if(m=h.value,l++,2==w.tab){if(m.id==e.id){s=!0;break}}else if(m.buddy_id==e.id){s=!0;break}}catch(v){u=!0,f=v}finally{try{c||null==p.return||p.return()}finally{if(u)throw f}}s?(g=(0,o.Z)({},w.lists.data[l]),n((0,d.gR)(g)),S(g)):2==w.tab?(n((0,d.iX)(e)),Pe(e,0)):(e.inbox_id=e.id,n((0,d.iX)(i)),Pe(i,0))}else n((0,d.gR)(e)),S(e),n((0,d.LJ)(t));return _e(!1),[2]}))}));return function(t,n){return e.apply(this,arguments)}}(),Re={multiple:!0,name:"file",withCredentials:!0,action:"".concat(l._,"student/auth/uploadFile"),fileList:j,onChange:function(e){!function(e){var t=e.fileList;T(t)}(e);var t,n,r,o,a,s,l,u,d,f,p,h,m=e.file.status;if("done"===m)X((0,i.Z)(J).concat([{fileLoc:null===e||void 0===e||null===(t=e.file)||void 0===t||null===(n=t.response)||void 0===n?void 0:n.file_link,originalName:null===e||void 0===e||null===(r=e.file)||void 0===r||null===(o=r.response)||void 0===o?void 0:o.file_name,extname:null===(l=null===e||void 0===e||null===(a=e.file)||void 0===a||null===(s=a.name)||void 0===s?void 0:s.split("."))||void 0===l?void 0:l.pop(),size:null===e||void 0===e||null===(u=e.file)||void 0===u?void 0:u.size,type:null===e||void 0===e||null===(d=e.file)||void 0===d?void 0:d.type,thumbnail_link:null===e||void 0===e||null===(f=e.file)||void 0===f||null===(p=f.response)||void 0===p?void 0:p.thumbnail_link}])),c.ZP.success("".concat(null===e||void 0===e||null===(h=e.file)||void 0===h?void 0:h.name," file uploaded successfully."));else if("error"===m){var g;c.ZP.error("".concat(null===e||void 0===e||null===(g=e.file)||void 0===g?void 0:g.name," file upload failed."))}},onDrop:function(e){},onRemove:function(){var e=(0,r.Z)((function(e){var t,n;return(0,a.__generator)(this,(function(r){switch(r.label){case 0:return[4,(0,l.Z)("/teacher/gallery/deleteFile","post",{file_name:null===e||void 0===e||null===(t=e.response)||void 0===t?void 0:t.file_name})];case 1:return(n=r.sent())&&c.ZP.success("Deleted successfully"),[2,n]}}))}));return function(t){return e.apply(this,arguments)}}()},Ie=function(){n((0,d.lR)(!1))},De=function(){var e=(0,r.Z)((function(e,t){var r;return(0,a.__generator)(this,(function(o){switch(o.label){case 0:return 2==w.tab||e.chat_group_id?[4,(0,l.Z)("/student/chatting/getAllReply/".concat(e.id))]:[3,4];case 1:return(r=o.sent())?[4,n((0,d.Oi)(r))]:[3,3];case 2:o.sent(),n((0,d.cu)(e)),n((0,d.Ku)(t)),te(-1),n((0,d.fu)(!0)),o.label=3;case 3:return[2];case 4:n((0,d.cu)(e)),te(-1),o.label=5;case 5:return[2]}}))}));return function(t,n){return e.apply(this,arguments)}}(),ze=function(){var e=(0,r.Z)((function(){return(0,a.__generator)(this,(function(e){switch(e.label){case 0:return[4,n((0,d.Oi)([]))];case 1:return e.sent(),n((0,d.cu)(null)),n((0,d.P_)(null)),n((0,d.fu)(!1)),[2]}}))}));return function(){return e.apply(this,arguments)}}(),He=function(){var e=(0,r.Z)((function(e){var t,n;return(0,a.__generator)(this,(function(r){switch(r.label){case 0:return t=/(?:(?:https?|ftp):\/\/)?[\w/\-?=%.]+\.[\w/\-&?=%.]+?$/gi,null!=(n=e.match(t))&&n.length>0?[4,Be(n[0])]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}));return function(t){return e.apply(this,arguments)}}(),Be=function(){var e=(0,r.Z)((function(e){var t,n,r,o,i,s,c,u;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return[4,(0,l.Z)("student/chatting/getLinkPreview","post",{url:e})];case 1:return(t=a.sent())?t.metaData&&ae({siteName:null===t||void 0===t||null===(n=t.metaData)||void 0===n?void 0:n.siteName,title:null===t||void 0===t||null===(r=t.metaData)||void 0===r?void 0:r.title,url:null===t||void 0===t||null===(o=t.metaData)||void 0===o?void 0:o.url,image:(null===t||void 0===t||null===(i=t.metaData)||void 0===i||null===(s=i.images)||void 0===s?void 0:s.length)?null===t||void 0===t||null===(c=t.metaData)||void 0===c?void 0:c.images[0]:null,description:null===t||void 0===t||null===(u=t.metaData)||void 0===u?void 0:u.description}):ae(null),[2]}}))}));return function(t){return e.apply(this,arguments)}}(),Fe=function(){var e=(0,r.Z)((function(e,r,o){var i,s,c,u,f,p,h,m,v=arguments;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return i=v.length>3&&void 0!==v[3]?v[3]:"",o&&""!=o.trim()||e&&0!=e.length?(u={tab:w.tab,msg:o,reply_id:"",meeting_id:"",buddy_id:null,files:"",reply_msg:"",inbox_id:null,meta_data:{feed_meta:null,link_meta:ie||null}},(null===w||void 0===w||null===(s=w.singleChat)||void 0===s?void 0:s.group_name)&&null!=(null===w||void 0===w||null===(c=w.singleChat)||void 0===c?void 0:c.group_name)?(u.buddy_id=null,u.inbox_id=w.singleChat.id):u.buddy_id=null===w||void 0===w||null===(f=w.singleChat)||void 0===f?void 0:f.buddy_id,r&&(u.reply_id=r.id,u.reply_msg=r.msg),"Attachment"==i?(u.files=JSON.stringify(e),u.msg="Attachment"):"gif"==i?((p=[]).push({fileLoc:e,originalName:"gif",extname:".gif",size:null,type:"image"}),u.files=JSON.stringify(p),u.msg="Gif"):"zoom_meeting"==i?(u.meeting_id=e,u.msg="".concat($.info.full_name," has invited you to join a meeting.")):"gift"==i&&(u.files=JSON.stringify(e),u.msg="".concat($.info.full_name," ").concat(C("gifted")," ").concat(e[0].packageName)),e&&null!=e||(u.files=JSON.stringify([])),[4,(0,l.Z)("/student/chatting/insertChat","post",u,!0)]):[2];case 1:return h=a.sent(),[4,ae(null)];case 2:return a.sent(),h&&h.status&&400==h.status?(n((0,d.$f)(h.data)),Le(!0),"/messenger/chat"!=t.pathname&&(0,g.e)(h.data.msg)):h&&(h.buddy_id=u.buddy_id,h.buddy=$.info,h.from_user=null===$||void 0===$||null===(m=$.info)||void 0===m?void 0:m.id,h.replay_id=u.reply_id,h.reactions=[],h.user_reaction=null,$e(h,"new_msg"),h.files&&u.msg,n((0,d.P6)(h))),T([]),[2]}}))}));return function(t,n,r){return e.apply(this,arguments)}}(),Ve=function(e){te(e==ee?-1:e)},qe=function(){var e=(0,r.Z)((function(e,t){return(0,a.__generator)(this,(function(r){return Ue(e,t)&&(n((0,d.Kg)(t)),Ve(t)),[2]}))}));return function(t,n){return e.apply(this,arguments)}}(),Ue=function(){var e=(0,r.Z)((function(e,t){var n,r;return(0,a.__generator)(this,(function(t){switch(t.label){case 0:return(n={buddy_id:null,inbox_id:null,chat_id:null}).chat_id=e.id,2==w.tab?n.inbox_id=e.inbox_key:n.buddy_id=100,[4,(0,l.Z)("/student/chatting/deleteSingleMsg","post",n)];case 1:return(r=t.sent())&&(0,g.s)("Message has been deleted"),[2,r]}}))}));return function(t,n){return e.apply(this,arguments)}}(),$e=function(e,t){var n;e.school_id=null===$||void 0===$||null===(n=$.info)||void 0===n?void 0:n.school_id,e.tab=w.tab,e.is_seen=0,e.noti_type=t},We=function(){var e=(0,r.Z)((function(){var e,t,n,r,o,s;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return e=[],F([]),"qj3EB381QPq832emOMF1KMUfG7cci4fD",[4,fetch("https://api.giphy.com/v1/gifs/trending?api_key=".concat("qj3EB381QPq832emOMF1KMUfG7cci4fD","&offset=0&rating=g&lang=en"))];case 1:return[4,(t=a.sent()).json()];case 2:if(n=a.sent(),200==t.status){for(var l in n.data)e.push(null===(r=null===n||void 0===n?void 0:n.data[l])||void 0===r||null===(o=r.images)||void 0===o||null===(s=o.fixed_height_small)||void 0===s?void 0:s.url);F((0,i.Z)(e))}return[2]}}))}));return function(){return e.apply(this,arguments)}}(),Ke=function(){var e=(0,r.Z)((function(e){var t,n,r,o,s,l;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return t=[],F([]),"qj3EB381QPq832emOMF1KMUfG7cci4fD",[4,fetch("https://api.giphy.com/v1/gifs/search?api_key=".concat("qj3EB381QPq832emOMF1KMUfG7cci4fD","&offset=0&rating=g&lang=en&q=").concat(e.target.value))];case 1:return[4,(n=a.sent()).json()];case 2:if(r=a.sent(),200==n.status){for(var c in r.data)t.push(null===(o=null===r||void 0===r?void 0:r.data[c])||void 0===o||null===(s=o.images)||void 0===s||null===(l=s.fixed_height_small)||void 0===l?void 0:l.url);F((0,i.Z)(t))}return[2]}}))}));return function(t){return e.apply(this,arguments)}}(),Ge=function(){var e=(0,r.Z)((function(e,t,r){var o,i,s;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return o={chat_id:t.id,reaction:e},[4,(0,l.Z)("/student/chatting/createChatOrUpdateReaction","post",o)];case 1:return(i=a.sent())&&(s={reactions:i,index:r,user:$.info},n((0,d.wy)(s))),ce(-1),[2]}}))}));return function(t,n,r){return e.apply(this,arguments)}}(),Ye=function(){var e=(0,r.Z)((function(e,t,r){var o,i,s;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return ce(-1),o={chat_id:t.id,reaction:e},[4,(0,l.Z)("/student/chatting/createChatOrUpdateReaction","post",o)];case 1:return(i=a.sent())&&(s={reactions:i,index:r,user:$.info},n((0,d.XI)(s))),[2]}}))}));return function(t,n,r){return e.apply(this,arguments)}}(),Je=function(){var e=(0,r.Z)((function(e,t){return(0,a.__generator)(this,(function(r){switch(r.label){case 0:return[4,Ue(e,t)];case 1:return r.sent()&&n((0,d.KB)(t)),[2]}}))}));return function(t,n){return e.apply(this,arguments)}}(),Xe=function(){var e=(0,r.Z)((function(e){var t,r,o,i;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return r={chat_group_id:null,buddy_id:null},(null===w||void 0===w||null===(t=w.singleChat)||void 0===t?void 0:t.buddy_id)?r.buddy_id=w.singleChat.buddy_id:r.chat_group_id=null===w||void 0===w||null===(o=w.singleChat)||void 0===o?void 0:o.id,Me(!0),[4,(0,l.Z)("/student/chatting/deleteFullConvers","post",r)];case 1:return i=a.sent(),Me(!1),i&&("STUDENT"!=$.info.user_type?(n((0,d.Ae)(e)),(0,g.s)("Conversation deleted successfully")):Oe(e)),[2]}}))}));return function(t){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){var e=new Date;if($.info&&"ACTIVE"==$.info.status){var t=new Date($.info.expire_date);null==$.info.expire_date||t<e&&Ce(!1)}}),[]),(0,s.useEffect)((function(){ke&&Te("",w.tab)}),[ke]);var Qe=function(){var e=(0,r.Z)((function(e){var t,r,i,s,c;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return Ne(1),t="/student/chatting/getInbox_web?page=1&str=&gid=".concat(e.user.id),[4,(0,l.Z)(t)];case 1:return(r=a.sent())&&n((0,d.UH)(r)),history.pushState({},"","/messenger/chat/?tab=".concat(1)),i=!1,r.data.length>0&&r.data[0].buddy_id==e.user.id&&(n((0,d.gR)(r.data[0])),S(r.data[0]),i=!0),s=(0,o.Z)({},e.user),c={buddy:(0,o.Z)({},s),id:s.id,buddy_id:s.id,inbox_id:-1},i||(s.inbox_id=s.id,n((0,d.iX)(c)),Pe(c,0)),[2]}}))}));return function(t){return e.apply(this,arguments)}}();return{openGroupChatPoup:Qe,loading:Ee,setActiveIndex:function(e){n((0,d.Sk)(e))},is_chat_icon_available:K,is_notification_fetch:G,userIsTypingChanging:function(){var e,t,n,r;if((null===w||void 0===w?void 0:w.singleChat)&&(null===w||void 0===w||null===(e=w.singleChat)||void 0===e?void 0:e.buddy_id))h.Wb.emit("notification",{data:{inbox_key:null===w||void 0===w||null===(t=w.singleChat)||void 0===t?void 0:t.inbox_key,tab:null===w||void 0===w?void 0:w.tab},noti_type:"typing",buddy_id:null===w||void 0===w||null===(n=w.singleChat)||void 0===n?void 0:n.buddy_id,tab:null===w||void 0===w?void 0:w.tab,from_id:null===$||void 0===$||null===(r=$.info)||void 0===r?void 0:r.id});else if((null===w||void 0===w?void 0:w.singleChat)&&2==(null===w||void 0===w?void 0:w.tab)){var o,i;h.Wb.emit("notification",{from_id:null===$||void 0===$||null===(o=$.info)||void 0===o?void 0:o.id,noti_type:"typing_group",group_id:null===w||void 0===w||null===(i=w.singleChat)||void 0===i?void 0:i.id,tab:null===w||void 0===w?void 0:w.tab})}},galleryModal:he,setGalleryModal:me,onGallerySelect:function(e){if(e.length){var t,n,r,i,a,s,l,c=[],u=(0,o.Z)({},e[0]);if("video"==u.file_type)c.push({fileLoc:null===u||void 0===u||null===(t=u.meta)||void 0===t?void 0:t.hls_link,thumbnail_link:null===u||void 0===u||null===(n=u.meta)||void 0===n?void 0:n.thumbnail_link,originalName:null===u||void 0===u?void 0:u.original_name,extname:null===(i=null===u||void 0===u||null===(r=u.original_name)||void 0===r?void 0:r.split("."))||void 0===i?void 0:i.pop(),size:null===u||void 0===u?void 0:u.length,type:null===u||void 0===u?void 0:u.file_type,videoID:null===u||void 0===u||null===(a=u.meta)||void 0===a?void 0:a.videoID});else c.push({fileLoc:null===u||void 0===u||null===(s=u.meta)||void 0===s?void 0:s.file_link,originalName:null===u||void 0===u?void 0:u.original_name,thumbnail_link:(null===u||void 0===u||null===(l=u.meta)||void 0===l?void 0:l.thumbnail_link)?u.meta.thumbnail_link:null,extname:u.original_name.split(".").pop(),size:u.length,type:u.file_type});Fe(c,w.replayBox,null,"Attachment"),me(!1),ye(!1)}},removeAllChat:Xe,searchForGifs:Ke,giphies:B,sent:$e,tab:w.tab,typingIndicator:w.typingIndicator,setTab:Ne,chatData:w.lists,singleChat:w.singleChat,chatLists:w.chatLists,seen:w.seen,replayBox:w.replayBox,replayLists:w.replayLists,reply_box_2:w.reply_box_2,meetingBox:w.meetingListBox,user:$,openNewBuddy:Pe,file_props:Re,openReplayBox:De,closeReplayBox:ze,sendMsg:Fe,fileList:j,files:J,getChatList:Oe,getChatSearchList:Ze,searchList:D,getSingleChats:S,setSearchList:z,preLen:w.preLen,preId:w.preId,openReplyOrRemoveOption:Ve,isReplyOrRemoveOption:ee,removeMsg:qe,searchText:P,getMoreChatList:Ae,addReactionToTheMsg:Ge,groupChatBox:w.groupChatBox,changeTab:function(e){var t=w.tab;t!=e&&(Ie(),ze(),t!=e&&Oe(e),Ne(e),history.pushState({},"","/messenger/chat/?tab=".concat(e)))},addReactionToReplayTheMsg:Ye,removeReplayFromReplayBox:Je,userIsTypingChangin:He,text:de,setText:fe,meta_data:ie,selectedIndex:le,setIndex:ce,uploadModal:ve,openUploadModal:ye,is_validity_open:we,lazyTeacherSearch:Te,newMessage:ke,setNewMessage:_e,msgErrorData:ne,visible:w.visible,setVisibleModal:Le,option:q,openOpeiotns:U,active_index:w.left_chat_index,getTrendingGIFs:We,openMeetingListBox:function(){n((0,d.lR)(!0)),E(w.singleChat)},closeMeetingListBox:Ie,giftCoinModal:function(){O(!0)},openCoinModal:N,setOpenCoinModal:O}}},21828:function(e,t,n){"use strict";n.d(t,{A_:function(){return x},BB:function(){return p},Cu:function(){return j},Dg:function(){return C},NS:function(){return N},OE:function(){return M},QA:function(){return O},R9:function(){return g},TL:function(){return k},V4:function(){return v},Wh:function(){return E},Y5:function(){return h},bU:function(){return L},dO:function(){return T},f6:function(){return _},oL:function(){return m},og:function(){return w},uL:function(){return b},vd:function(){return S},wC:function(){return y},xi:function(){return A}});var r=n(72006),o=n(4405),i=n(9970),a=n(768),s=n(28786),l=n.n(s),c=n(76784),u={loading:!1,product_enrollment:null,payment_gateway_settings:null,saved_card_details:null,saved_payment_element_card_details:null,upsell_stripe_setup_intent_uuid:null,product:null,pp_quantity:1,pp_unit_price:0,pp_total_price:0,existing_user:null,upsellProducts:[],upsellProductLength:null,seller_info:{},downsellProduct:null,appointment_data:[],appointment_free_slots_data:{},appointment_discout:0,billingAddress:{},membership_plans:[],selected_addons:[],coupon:null,coupon_code:null,discount:0,total_addons_amount:0,total_amount:0,total_one_time_amount:0,total_recurring_amount:0,total_selected_physical_products:0,isAddonSupported:!1,subscription_interval:null,subscription_interval_count:1,checkout_stat:null,donation_price:0,is_open_checkout_modal:!1},d=(0,a.oM)({name:"checkout",initialState:u,reducers:{updateProductAlreadyEnrolled:function(e,t){var n=t.payload;e.product_enrollment=n},updateSavedCardDetails:function(e,t){var n=t.payload;e.saved_card_details=n},updatePaymentElementSavedCardDetails:function(e,t){var n=t.payload;e.saved_payment_element_card_details=n},resetCommunityStates:function(){return u},updateCheckoutStat:function(e,t){var n=t.payload;e.checkout_stat=n},updateStripeSetupIntentUuid:function(e,t){var n=t.payload;e.upsell_stripe_setup_intent_uuid=n},loadProductAndCoupon:function(e,t){var n=t.payload,o=n.product,i=n.coupon,a=n.payment_gateway_settings;if(e.payment_gateway_settings=a,e.coupon=i,e.product=(0,r.Z)({},o,null===o||void 0===o?void 0:o.meta),e.pp_quantity=(null===o||void 0===o?void 0:o.pp_quantity)||1,e.donation_price="DONATION"===o.price_type?o.strike_through_price:0,e.appointment_data=(null===o||void 0===o?void 0:o.appointment_data)||null,e.coupon_code=(null===i||void 0===i?void 0:i.coupon_code)||null,e.total_selected_physical_products=o.is_physical_product?1:0,"VOLUME"===o.tier_type&&o.tiers){var s=(0,c.Z)(o.tiers,[]);e.product.tiers=s.map((function(e){var t=e.first_unit,n=e.last_unit,r=e.per_unit;return{first_unit:parseInt(t),last_unit:n&&"\u221e"!=n?parseInt(n):null,per_unit:parseFloat(r)}}))}d.caseReducers.generatePriceLabel(e),d.caseReducers.calculateTotalAmount(e),d.caseReducers.calculateTotalSelectedPhysicalProducts(e)},loadDonationPrice:function(e,t){var n=t.payload;e.donation_price=n},updateSellerInfo:function(e,t){var n=t.payload;e.seller_info=n},generatePriceLabel:function(e){var t,n,r=e.product,o=r.price_type,i=r.interval,a=r.interval_count;if("ONE_TIME"===o)e.product.plan_label=null;else if("SUBSCRIPTION"===o)if(e.product.plan_label="","day"===(null===i||void 0===i?void 0:i.toLowerCase())&&a%7===0){var s=a/7;e.product.plan_label+="".concat(s>1?"".concat(s," weeks"):"week")}else e.product.plan_label+=a>1?"".concat(a," ").concat(l()(i),"s"):"".concat(l()(i));null===(t=e.product)||void 0===t||null===(n=t.addons)||void 0===n||n.map((function(e){if("ONE_TIME"===e.price_type)e.plan_label=null;else if("SUBSCRIPTION"===e.price_type){var t;if(e.plan_label="","day"===(null===(t=e.interval)||void 0===t?void 0:t.toLowerCase())&&e.interval_count%7===0){var n=e.interval_count/7;e.plan_label+="".concat(n>1?"".concat(n," weeks"):"week")}else e.plan_label+=a>1?"".concat(e.interval_count," ").concat(l()(e.interval),"s"):"".concat(l()(e.interval))}}))},loadCartPersistedData:function(e){var t=localStorage.getItem("cartDetails");if(t){var n,r=JSON.parse(t);if(r&&r.product_id==(null===(n=e.product)||void 0===n?void 0:n.id)&&r.product_type===e.product.product_type){var o,i,a,s=r.selected_addons,l=r.pp_quantity;e.selected_addons=[],(null===(o=e.product)||void 0===o?void 0:o.addons)&&(null===(i=e.product)||void 0===i||null===(a=i.addons)||void 0===a?void 0:a.length)>0&&(e.selected_addons=s.filter((function(t){return e.product.addons.find((function(e){return e.id===t}))}))),e.pp_quantity=l||1,"VOLUME"===e.product.tier_type&&e.product.tiers||(e.pp_quantity=1)}}d.caseReducers.calculateTotalAmount(e),d.caseReducers.calculateTotalSelectedPhysicalProducts(e)},setCoupon:function(e,t){var n,i=t.payload;(null===i||void 0===i?void 0:i.coupon)&&(e.coupon=null===i||void 0===i?void 0:i.coupon,e.coupon_code=(null===i||void 0===i||null===(n=i.coupon)||void 0===n?void 0:n.coupon_code)||null,e.product=(0,o.Z)((0,r.Z)({},e.product),{tax_amount:null===i||void 0===i?void 0:i.tax_amount,tax_rate:null===i||void 0===i?void 0:i.tax_rate,tax_country:null===i||void 0===i?void 0:i.tax_country}),d.caseReducers.calculateDiscount(e))},updatePrimaryProductQuantity:function(e,t){var n=t.payload;e.pp_quantity=n,d.caseReducers.calculateTotalAmount(e),d.caseReducers.updateLocalStorage(e)},setUpsellProducts:function(e,t){var n=t.payload;e.upsellProducts=(0,i.Z)(n||[])},setUpsellProductLength:function(e,t){var n=t.payload;e.upsellProductLength=n},setDownsellProduct:function(e,t){var n=t.payload;e.downsellProduct=n},setExistingUser:function(e,t){var n=t.payload;e.existing_user=n},updateCartAddon:function(e,t){var n=t.payload;if(e.isAddonSupported){var r,o=n.id,i=n.action,a=null===(r=e.selected_addons)||void 0===r?void 0:r.findIndex((function(e){return e==o}));"push"===i&&-1===a?e.selected_addons.push(o):"pop"===i&&a>-1&&e.selected_addons.splice(a,1),d.caseReducers.calculateTotalAmount(e),d.caseReducers.updateLocalStorage(e),d.caseReducers.calculateTotalSelectedPhysicalProducts(e)}},calculateFreeSlotsDiscount:function(e,t){var n=t.payload;e.appointment_discout=n.guaranteedFreeSlots*n.pp_unit_price,d.caseReducers.calculateDiscount(e)},updateAppointmentFreeSlotsData:function(e,t){var n=t.payload;e.appointment_free_slots_data=n},calculateDiscount:function(e){var t,n;if(e.discount=0,"percent"===(null===(t=e.coupon)||void 0===t?void 0:t.coupon_type)){var r=(e.pp_total_price-(e.appointment_discout||0))*(e.coupon.percent_off/100);r>e.pp_total_price?e.discount=e.pp_total_price-(e.appointment_discout||0):e.discount=r}if("flat"===(null===(n=e.coupon)||void 0===n?void 0:n.coupon_type)){var o=e.coupon.amount_off;o>e.pp_total_price-(e.appointment_discout||0)?e.discount=e.pp_total_price-(e.appointment_discout||0):e.discount=o}},loadMembershipPlans:function(e,t){var n=t.payload;e.membership_plans=n.map((function(e){return e.plan_label=" ".concat(e.interval_count,"  ").concat(l()(e.interval)),e.interval_count>1&&(e.plan_label+="s"),e}))},calculateTotalAmount:function(e){var t,n,r,o,i,a;if(e.subscription_interval=null,e.subscription_interval_count=1,e.total_one_time_amount=0,e.total_recurring_amount=0,e.total_addons_amount=0,e.isAddonSupported&&(e.total_addons_amount=e.selected_addons.reduce((function(t,n){var r,o,i=null===e||void 0===e||null===(r=e.product)||void 0===r||null===(o=r.addons)||void 0===o?void 0:o.findIndex((function(e){return e.id==n}));return i>-1?("ONE_TIME"===e.product.addons[i].price_type?e.total_one_time_amount+=e.product.addons[i].price:(e.total_recurring_amount+=e.product.addons[i].price,e.subscription_interval=e.product.addons[i].interval,e.subscription_interval_count=e.product.addons[i].interval_count),t+e.product.addons[i].price):t}),0)),"VOLUME"===(null===(t=e.product)||void 0===t?void 0:t.tier_type)&&(null===(n=e.product)||void 0===n?void 0:n.tiers.length)>0)if(e.product.tiered_limit>0&&e.pp_quantity>e.product.tiered_limit)e.pp_unit_price=e.product.tiers.at(-1).per_unit,e.pp_total_price=e.product.tiered_limit*e.pp_unit_price;else{var s=e.product.tiers.filter((function(t){return e.pp_quantity>=t.first_unit&&(null===t.last_unit||"\u221e"==t.last_unit||e.pp_quantity<=t.last_unit)}));e.pp_unit_price=s[0].per_unit,e.pp_total_price=e.pp_quantity*e.pp_unit_price}else e.pp_unit_price=null===(o=e.product)||void 0===o?void 0:o.price,e.pp_total_price=e.pp_quantity*e.pp_unit_price;"SUBSCRIPTION"===(null===(r=e.product)||void 0===r?void 0:r.price_type)?(e.total_recurring_amount=e.pp_total_price,e.subscription_interval=null===(i=e.product)||void 0===i?void 0:i.interval,e.subscription_interval_count=null===(a=e.product)||void 0===a?void 0:a.interval_count):e.total_one_time_amount=e.pp_total_price;e.total_amount=e.pp_total_price+(e.total_addons_amount||0),d.caseReducers.calculateDiscount(e)},updateLocalStorage:function(e){localStorage.setItem("cartDetails",JSON.stringify({product_id:e.product.id,product_type:e.product.product_type,selected_addons:e.selected_addons||[],pp_quantity:e.pp_quantity}))},setBillingAddress:function(e,t){var n=t.payload;e.billingAddress=n},calculateTotalSelectedPhysicalProducts:function(e){var t,n,r,o,i,a=null===(t=e.product)||void 0===t||null===(n=t.addons)||void 0===n?void 0:n.reduce((function(t,n){var r;return(null===(r=e.selected_addons)||void 0===r?void 0:r.includes(n.id))&&n.total_physical_products>0?t+parseInt(n.total_physical_products):t}),0),s=null===(r=e.product)||void 0===r||null===(o=r.bonus_items)||void 0===o?void 0:o.reduce((function(e,t){return t.total_physical_products>0?e+parseInt(t.total_physical_products):e}),0);e.total_selected_physical_products="physical_product"===(null===(i=e.product)||void 0===i?void 0:i.product_type)?1:0,e.total_selected_physical_products+=s,e.total_selected_physical_products+=a},setIsAddonSupported:function(e,t){var n=t.payload;e.isAddonSupported=n,e.selected_addons=n?e.selected_addons:[],d.caseReducers.calculateTotalAmount(e)},setProductTax:function(e,t){var n=t.payload;e.product.tax_amount=n.tax_amount,e.product.tax_rate=n.tax_rate,e.product.new_stripe_customer_uuid=null===n||void 0===n?void 0:n.new_stripe_customer_uuid,e.product.tax_id=n.tax_id},toggleIsOpenCheckoutModal:function(e,t){var n=t.payload;e.is_open_checkout_modal=n}}}),f=d.actions,p=f.setCoupon,h=f.updateCartAddon,m=f.setUpsellProducts,g=f.updateCheckoutStat,v=f.setDownsellProduct,y=(f.loadMembershipPlans,f.setBillingAddress),b=f.setIsAddonSupported,w=f.loadProductAndCoupon,C=f.updateStripeSetupIntentUuid,x=(f.setUpsellProductLength,f.resetCommunityStates,f.loadCartPersistedData),k=f.setProductTax,_=f.updateSellerInfo,S=f.updateSavedCardDetails,E=f.updatePaymentElementSavedCardDetails,M=f.updateProductAlreadyEnrolled,L=f.updatePrimaryProductQuantity,N=f.loadDonationPrice,O=f.calculateFreeSlotsDiscount,A=f.updateAppointmentFreeSlotsData,j=f.setExistingUser,T=f.toggleIsOpenCheckoutModal,Z=d.reducer;t.ZP=Z},65714:function(e,t,n){"use strict";n.d(t,{Ir:function(){return P},Ng:function(){return R},Wl:function(){return I},Ch:function(){return v},fR:function(){return re},B1:function(){return q},BF:function(){return Q},wh:function(){return M},ZP:function(){return se},YF:function(){return D},wu:function(){return H},do:function(){return U},PA:function(){return W},Ns:function(){return L},GG:function(){return m},oq:function(){return S},nv:function(){return Y},P_:function(){return _},Ar:function(){return V},gc:function(){return B},KT:function(){return d},E7:function(){return f},Y_:function(){return g},D2:function(){return F},Uo:function(){return b},ar:function(){return Z},RF:function(){return X},FD:function(){return G},Tf:function(){return K},vu:function(){return J},wQ:function(){return x},UT:function(){return k},wj:function(){return w},fI:function(){return ae},jj:function(){return oe},bo:function(){return ie},uA:function(){return z},uJ:function(){return A},kN:function(){return C},nI:function(){return N},Fo:function(){return ee},sK:function(){return ne},Nk:function(){return te},Gt:function(){return y},GT:function(){return O},uf:function(){return T},_n:function(){return j},$F:function(){return E},rZ:function(){return $}});var r=n(57135),o=n(72006),i=n(4405),a=n(9970),s=n(56871),l=n(768),c=n(84796),u={info:{},feeds:[],comments:{},replies:{},likes:[],communityLists:[],spaces:[],corssSpaces:[],currentSpaceID:null,currentCrossSpaceID:null,currentComID:null,status:"feed",searchText:"",is_side_bar:!1,community_unread_count:0},d=(0,l.hg)("community/loadComments",function(){var e=(0,r.Z)((function(e){var t,n,r,o,i;return(0,s.__generator)(this,(function(a){switch(a.label){case 0:return t=e.feedID,n=e.nextPage,r=void 0===n?1:n,o="/student/comment/getComment/".concat(t),r>0&&(o+="?more=".concat(r)),[4,(0,c.Z)(o)];case 1:return i=a.sent(),[2,{feedID:t,data:i.data,meta:i.meta}]}}))}));return function(t){return e.apply(this,arguments)}}()),f=(0,l.hg)("community/loadSpecificCommentAndReplay",function(){var e=(0,r.Z)((function(e){var t,n,r,o,i;return(0,s.__generator)(this,(function(a){switch(a.label){case 0:return t=e.feedID,n=e.commentID,r=e.replayID,o="/teacher/community/public/getSinglePageFeed/".concat(t,"?comment_id=").concat(n),r&&(o+="&reply_id=".concat(r)),[4,(0,c.Z)(o)];case 1:return i=a.sent(),[2,{feedID:t,data:i}]}}))}));return function(t){return e.apply(this,arguments)}}()),p=(0,l.oM)({name:"comminity",initialState:u,reducers:{resetCommunityStates:function(){return u},intialSpaces:function(e,t){e.spaces=t.payload},setLeftSideOn:function(e){e.is_side_bar=!0},community_unread_count:function(e,t){e.community_unread_count=t.payload},setSearchText:function(e,t){e.searchText=t.payload},setStatus:function(e,t){e.is_side_bar=!1,e.status=t.payload},updateCurrentSpaceID:function(e,t){e.currentSpaceID=t.payload},updateCurrentComID:function(e,t){e.currentComID=t.payload},fetchCommunity:function(e,t){var n=t.payload;e.info=n},updateCommunity:function(e,t){var n=t.payload;e.info=(0,o.Z)({},e.info,n)},meetingCount:function(e,t){var n=t.payload;e.info.meeting_count=n},updateCommunityLists:function(e,t){var n=t.payload;e.communityLists=n},fetchSpaces:function(e,t){var n=t.payload;e.spaces=n},updateCrossPostSpaces:function(e,t){var n=t.payload;e.corssSpaces=n},updateCrossPostCurrentId:function(e,t){var n=t.payload;e.currentCrossSpaceID=n},updateSpace:function(e,t){var n=t.payload,r=n.spaceID,o=n.data,i=e.spaces.findIndex((function(e){return e.id==r}));i>-1&&(e.spaces[i]=o)},createSpace:function(e,t){var n=t.payload;e.spaces.push(n)},deleteSpace:function(e,t){var n=t.payload,r=e.spaces.findIndex((function(e){return e.id==n}));r>-1&&e.spaces.splice(r,1)},updateCoinsForFeed:function(e,t){var n=t.payload,r=n.feedID,o=n.data,i=e.feeds.findIndex((function(e){return e.id==r}));if(i>-1){var a=(e.feeds[i].meta.gifted_coins||0)+o.coins;e.feeds[i].meta.gifted_coins=a}},updateCoinsForComment:function(e,t){var n,r,o=t.payload,i=o.feedID,a=o.commentID,s=o.data,l=null===(n=e.comments[i])||void 0===n||null===(r=n.data)||void 0===r?void 0:r.findIndex((function(e){return e.id==a}));if(l>-1){var c=(e.comments[i].data[l].gifted_coins||0)+s.coins;e.comments[i].data[l].gifted_coins=c}},updateCoinsForReply:function(e,t){var n,r,o=t.payload,i=o.commentID,a=o.replyID,s=o.data,l=null===(n=e.replies[i])||void 0===n||null===(r=n.data)||void 0===r?void 0:r.findIndex((function(e){return e.id==a}));if(l>-1){var c,u,d=((null===(u=null===(c=e.replies[i])||void 0===c?void 0:c.data[l])||void 0===u?void 0:u.gifted_coins)||0)+s.coins;e.replies[i].data[l].gifted_coins=d}},addCommunityFeed:function(e,t){e.feeds.unshift(t.payload),e.comments[t.payload.id]={count:0,data:[]}},saveCommunityFeed:function(e,t){var n=t.payload,r=n.feedID,o=n.data,i=e.feeds.findIndex((function(e){return e.id==r}));e.feeds[i].savedPosts=o},unsaveCommunityFeed:function(e,t){var n=t.payload.feedID,r=e.feeds.findIndex((function(e){return e.id==n}));e.feeds[r].savedPosts=null},unFollowCommunityFeed:function(e,t){var n=t.payload.feedID,r=e.feeds.findIndex((function(e){return e.id==n}));e.feeds[r].follow=null},followCommunityFeed:function(e,t){var n=t.payload,r=n.feedID,o=n.data,i=e.feeds.findIndex((function(e){return e.id==r}));e.feeds[i].follow=o},followUser:function(e,t){var n=t.payload,r=n.userID,o=n.data;e.feeds.forEach((function(t,n){t.user_id==r&&(e.feeds[n].followUser=o)}))},unFollowUser:function(e,t){var n=t.payload.userID;e.feeds.forEach((function(t,r){t.user_id==n&&(e.feeds[r].followUser=null)}))},unFollowUserFromFollowing:function(e,t){var n=t.payload.userID;e.feeds.forEach((function(t,r){t.user_id==n&&(e.feeds[r].followUser=null)}));var r=e.feeds.filter((function(e){return e.user_id!==n}));e.feeds=r},deleteFeed:function(e,t){var n=e.feeds.findIndex((function(e){return e.id==t.payload}));n>-1&&e.feeds.splice(n,1)},updateCommunityFeedWithFilter:function(e,t){e.feeds=t.payload,t.payload.forEach((function(t){e.comments[t.id]={count:t.comment_count,data:[]}}))},updateFeedLike:function(e,t){e.feeds[t.payload.index].like=t.payload.like,e.feeds[t.payload.index].like_count=t.payload.count.total_reactions,e.feeds[t.payload.index].likeType=t.payload.count.likeType},updateCommunityFeed:function(e,t){var n=t.payload,r=n.feedID,o=n.data,i=e.feeds.findIndex((function(e){return e.id==r}));e.feeds[i]=o},addOrUpdateCommunityFeed:function(e,t){var n=t.payload,r=n.feedID,o=n.data,i=e.feeds.findIndex((function(e){return e.id==r}));i>-1?e.feeds[i]=o:(e.feeds.unshift(o),e.comments[o.id]={count:0,data:[]})},addComment:function(e,t){var n=t.payload,r=n.feedId,o=n.data,i=e.feeds.findIndex((function(e){return e.id==r}));e.comments[r].data.unshift(o),e.comments[r].count++,e.feeds[i].comment_count++,e.feeds[i].total_comments++,e.replies[o.id]={count:0,data:[]}},addCommentReply:function(e,t){var n=t.payload,r=n.commentID,o=n.data;e.replies[r].data.push(o),e.replies[r].count++},addCommentReplyCount:function(e,t){var n,r=t.payload,o=r.commentID,i=r.data;(null===(n=e.replies[o])||void 0===n?void 0:n.data.length)&&e.replies[o].count>=e.replies[o].data.length&&e.replies[o].data.push(i),e.replies[o]&&e.replies[o].count++},deleteComment:function(e,t){var n,r,o=t.payload,i=o.feedID,a=o.commentID,s=e.feeds.find((function(e){return e.id==i}));s&&(null===s||void 0===s?void 0:s.comment_count)>0&&(s.comment_count--,s.total_comments>0&&s.total_comments--);var l,c=null===(n=e.comments[i])||void 0===n||null===(r=n.data)||void 0===r?void 0:r.findIndex((function(e){return e.id==a}));c>-1&&(null===(l=e.comments[i])||void 0===l||l.data.splice(c,1),e.comments[i].count--)},updateComment:function(e,t){var n,r,o=t.payload,i=o.feedID,a=o.commentID,s=o.text,l=o.file,c=null===(n=e.comments[i])||void 0===n||null===(r=n.data)||void 0===r?void 0:r.findIndex((function(e){return e.id==a}));c>-1&&(e.comments[i].data[c].comment_txt=s,e.comments[i].data[c].file=l)},updateReply:function(e,t){var n,r,o=t.payload,i=o.replyID,a=o.commentID,s=o.text,l=o.file,c=null===(n=e.replies[a])||void 0===n||null===(r=n.data)||void 0===r?void 0:r.findIndex((function(e){return e.id==i}));c>-1&&(e.replies[a].data[c].comment_txt=s,e.replies[a].data[c].file=l)},deleteCommentReply:function(e,t){var n,r,o,i=t.payload,a=i.commentID,s=i.replyID,l=null===(n=e.replies[a])||void 0===n||null===(r=n.data)||void 0===r?void 0:r.findIndex((function(e){return e.id==s}));l>-1?(null===(o=e.replies[a])||void 0===o||o.data.splice(l,1),e.replies[a].count--):e.replies[a]&&e.replies[a].count>0&&e.replies[a].count--},loadCommentReplies:function(e,t){var n=t.payload,r=n.commentID,o=n.data;e.replies[r].data=o},loadCommentMoreReplies:function(e,t){var n,r=t.payload,o=r.commentID,i=r.data,s=e.replies[o].data,l=i.filter((function(e){return!s.some((function(t){return t.id===e.id}))}));(n=s).push.apply(n,(0,a.Z)(l))},pushCommentReplt:function(e,t){var n=t.payload,r=n.commentID,o=n.data;e.replies[r].data=[o]},updateCommentReaction:function(e,t){var n,r=t.payload,o=r.feedID,i=r.likeCount,a=r.commentID,s=r.reactionType,l=r.reactionTypes,c=null===(n=e.comments[o])||void 0===n?void 0:n.data.findIndex((function(e){return e.id==a}));e.comments[o].data[c].like_count>i?e.comments[o].data[c].commentlike=null:e.comments[o].data[c].commentlike={reaction_type:s,comment_id:a},e.comments[o].data[c].like_count=i,e.comments[o].data[c].reaction_types=l},updateReplyReaction:function(e,t){var n,r=t.payload,o=r.replyID,i=r.likeCount,a=r.commentID,s=r.reactionType,l=r.reactionTypes,c=null===(n=e.replies[a])||void 0===n?void 0:n.data.findIndex((function(e){return e.id==o}));e.replies[a].data[c].like_count>i?e.replies[a].data[c].commentlike=null:e.replies[a].data[c].commentlike={reaction_type:s,comment_id:a},e.replies[a].data[c].like_count=i,e.replies[a].data[c].reaction_types=l},addPollOption:function(e,t){var n,r,o=t.payload,i=o.feedID,a=o.data,s=e.feeds.findIndex((function(e){return e.id==i}));s>-1&&(null===(n=e.feeds[s])||void 0===n||null===(r=n.poll)||void 0===r||r.pollOptions.push(a))},votePoll:function(e,t){var n=t.payload,r=n.feedID,a=n.optionID,s=n.votedData,l=n.userID,c=e.feeds.findIndex((function(e){return e.id==r})),u=e.feeds[c].poll.pollOptions,d=u.findIndex((function(e){return e.id==a})),f=u[d].voteOption.findIndex((function(e){return e.user_id==l}));e.feeds[c].poll.is_multiple_selected?f>-1&&e.feeds[c].poll.pollOptions[d].total_vote--:e.feeds[c].poll.pollOptions=u.map((function(e){return(0,i.Z)((0,o.Z)({},e),{isVoted:null,total_vote:e.voteOption.filter((function(e){return e.user_id==l})).length&&e.total_vote>0?e.total_vote--:e.total_vote,voteOption:e.voteOption.filter((function(e){return e.user_id!=l}))})})),f>-1||e.feeds[c].poll.pollOptions[d].total_vote++,e.feeds[c].poll.pollOptions[d].isVoted=s.filter((function(e){return e.user_id==l}))[0],e.feeds[c].poll.pollOptions[d].voteOption=s},deletePollOption:function(e,t){var n,r,o,i,a=t.payload,s=a.feedID,l=a.optionID,c=e.feeds.findIndex((function(e){return e.id==s})),u=null===(n=e.feeds[c])||void 0===n||null===(r=n.poll)||void 0===r?void 0:r.pollOptions.findIndex((function(e){return e.id==l}));u>-1&&(null===(o=e.feeds[c])||void 0===o||null===(i=o.poll)||void 0===i||i.pollOptions.splice(u,1))},setCommnets:function(e,t){var n,r,i;null===(n=e.comments[t.payload.feedID])||void 0===n||n.data.push((0,o.Z)({},t.payload.data)),null===(r=e.comments[t.payload.feedID])||void 0===r||null===(i=r.data)||void 0===i||i.forEach((function(t){e.replies[t.id]={count:t.reply_count,data:[]}}))}},extraReducers:function(e){e.addCase(d.fulfilled,(function(e,t){var n,r=!0,o=!1,i=void 0;try{for(var a,s=function(){var n,r,o=a.value;(null===(n=e.comments[t.payload.feedID])||void 0===n?void 0:n.data.some((function(e){return e.id===o.id})))||(null===(r=e.comments[t.payload.feedID])||void 0===r||r.data.push(o))},l=t.payload.data[Symbol.iterator]();!(r=(a=l.next()).done);r=!0)s()}catch(c){o=!0,i=c}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}e.comments[t.payload.feedID].meta=t.payload.meta,null===(n=t.payload.data)||void 0===n||n.forEach((function(t){e.replies[t.id]={count:t.reply_count,data:[]}}))})),e.addCase(f.fulfilled,(function(e,t){var n;e.comments[t.payload.feedID]||(e.comments[t.payload.feedID]={data:[],meta:{}});var r=t.payload.data.comment;e.comments[t.payload.feedID].data=[r];var o=null===(n=t.payload.data)||void 0===n?void 0:n.replay;o?e.replies[r.id]={count:r.reply_count,data:[o]}:e.replies[null===r||void 0===r?void 0:r.id]={count:null===r||void 0===r?void 0:r.reply_count,data:[]}}))}}),h=p.actions,m=(h.resetCommunityStates,h.fetchCommunity),g=(h.updateCommunity,h.meetingCount),v=h.addCommunityFeed,y=h.updateCurrentSpaceID,b=h.saveCommunityFeed,w=h.unsaveCommunityFeed,C=h.updateCommunityFeed,x=h.unFollowUser,k=h.unFollowUserFromFollowing,_=h.followUser,S=h.fetchSpaces,E=h.updateSpace,M=h.createSpace,L=h.deleteSpace,N=h.updateCommunityFeedWithFilter,O=h.updateFeedLike,A=h.updateCommentReaction,j=h.updateReplyReaction,T=h.updateReply,Z=h.setCommnets,P=h.addComment,R=h.addCommentReply,I=h.addCommentReplyCount,D=h.deleteComment,z=h.updateComment,H=h.deleteCommentReply,B=h.loadCommentReplies,F=h.pushCommentReplt,V=h.loadCommentMoreReplies,q=h.addPollOption,U=h.deleteFeed,$=h.votePoll,W=h.deletePollOption,K=(h.intialSpaces,h.setStatus),G=h.setSearchText,Y=h.followCommunityFeed,J=h.unFollowCommunityFeed,X=h.setLeftSideOn,Q=h.community_unread_count,ee=h.updateCommunityLists,te=h.updateCurrentComID,ne=h.updateCrossPostSpaces,re=(h.updateCrossPostCurrentId,h.addOrUpdateCommunityFeed),oe=h.updateCoinsForFeed,ie=h.updateCoinsForReply,ae=h.updateCoinsForComment,se=p.reducer},62921:function(e,t,n){"use strict";var r=n(72006),o=n(4405),i=n(77637),a=n(11527),s=n(50959),l=n(59426),c=n(89553),u=l.Z.Option;t.Z=function(e){var t=e.data,n=(0,i.Z)(e,["data"]),d=n.passToParent,f=n.is_teacher,p=(0,s.useState)([]),h=p[0],m=p[1];(0,s.useEffect)((function(){var e=JSON.parse(t).map((function(e){return(0,o.Z)((0,r.Z)({},e),{ans:"dropdown"===e.type?"Select":""})}));m(e),d&&d(e)}),[t]);var g=function(e,t){var n=h.map((function(n,i){return i===e?(0,o.Z)((0,r.Z)({},n),{ans:t}):n}));m(n),d(n)};return(0,a.jsx)("div",{className:"_quz_tchr_itm flex flex-wrap gap-[10px]",children:h.map((function(e,t){return(0,a.jsxs)("div",{className:"mb-[10px] flex items-center gap-[10px]",children:["sentence"===e.type&&(0,a.jsx)("span",{children:e.input}),"blank"===e.type&&(0,a.jsx)(c.Z,{className:"_inpt1 h-[38px] min-w-[200px] max-w-full",placeholder:"Enter your answer",value:e.ans,onChange:function(e){return g(t,e.target.value)},disabled:f}),"dropdown"===e.type&&(0,a.jsx)("div",{className:"_ant_select_itm",children:(0,a.jsx)(l.Z,{className:"h-[38px] min-w-[200px] max-w-full",value:e.ans,onChange:function(e){return g(t,e)},disabled:f,children:e.options.map((function(e,t){return(0,a.jsx)(u,{value:e,children:e},t)}))})})]},t)}))})}},85423:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return X}});var r=n(57135),o=n(72006),i=n(59072),a=n(9970),s=n(56871),l=n(11527),c=n(50959),u=n(21148),d=n(64379),f=n(89553),p=n(10921),h=n(28685),m=n(78681),g=n(64388),v=n(17978),y=n(24213),b=n(56009),w=n.n(b),C=n(84715),x=n(84796),k=n(85850),_=n(81438),S=function(e){var t=(0,c.useState)(""),n=t[0],o=t[1],u=(0,c.useState)(!1),f=u[0],p=u[1],h=(0,c.useState)(!1),m=h[0],g=h[1],v=(0,c.useState)(-1),y=(v[0],v[1]),b=(0,c.useState)(null),w=b[0],C=b[1],S=(0,c.useState)(!1),E=S[0],M=S[1],L=(0,c.useState)([]),N=L[0],O=L[1],A=(0,c.useState)([]),j=A[0],T=A[1],Z=(0,c.useState)(-1),P=(Z[0],Z[1]),R=(0,c.useState)(-1),I=R[0],D=R[1],z=(0,c.useState)(-1),H=z[0],B=z[1],F=(0,c.useState)(!1),V=F[0],q=F[1],U=(0,c.useState)(null),$=(U[0],U[1]),W=(0,c.useState)(null),K=(W[0],W[1]),G=(0,c.useState)([]),Y=G[0],J=G[1],X=(0,_.$G)().t,Q=(0,c.useState)("SINGLE"),ee=(Q[0],Q[1]),te=(0,c.useState)(!1),ne=te[0],re=te[1],oe=(0,c.useState)({total:0,per_page:10,current_page:1,last_page:1,first_page:0,first_page_url:"/?page=1",last_page_url:"/?page=1",next_page_url:"/?page=1",previous_page_url:null}),ie=(oe[0],oe[1],(0,c.useState)(!1)),ae=ie[0],se=ie[1];(0,c.useEffect)((function(){}),[w]);var le=function(){var e=(0,r.Z)((function(){var e,t;return(0,s.__generator)(this,(function(r){switch(r.label){case 0:return n||""!=n.trim()?(p(!0),[4,(0,x.Z)("/teacher/question-subjects","post",{name:n})]):((0,k.i)("Subject name is required"),[2]);case 1:return(e=r.sent())&&((t=(0,a.Z)(N)).unshift(e),O(t),(0,k.s)("Subject created successfully")),p(!1),M(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}(),ce=function(){var e=(0,r.Z)((function(){var e;return(0,s.__generator)(this,(function(t){switch(t.label){case 0:return n||""!=n.trim()?(p(!0),[4,(0,x.Z)("/teacher/question-subjects/".concat(N[w].id,"/update"),"post",{name:n})]):((0,k.i)("Subject name is required"),[2]);case 1:return t.sent()&&((e=(0,a.Z)(N))[w].name=n,O(e),(0,k.s)("Subject name update successfully")),p(!1),C(null),[2]}}))}));return function(){return e.apply(this,arguments)}}(),ue=function(){var e=(0,r.Z)((function(){var e;return(0,s.__generator)(this,(function(t){switch(t.label){case 0:return p(!0),[4,(0,x.Z)("/teacher/question-subjects","get")];case 1:return(e=t.sent())&&O(e),p(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}(),de=function(){var e=(0,r.Z)((function(e){return(0,s.__generator)(this,(function(t){return p(!0),d.Z.confirm({title:"Delete this subject?",content:(0,l.jsx)("p",{children:"All questions of this subject will be deleted."}),onOk:(0,r.Z)((function(){var t;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,x.Z)("/teacher/question-subjects/".concat(N[e].id,"/delete"),"post",{name:N[e].name})];case 1:return n.sent()&&((t=(0,a.Z)(N)).splice(e,1),O(t),(0,k.s)("Subject deleted successfully")),[2]}}))}))}),p(!1),[2]}))}));return function(t){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){ue()}),[]);var fe=function(){var e=(0,r.Z)((function(e){var t;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:return D(e),g(!0),[4,(0,x.Z)("/teacher/questions?question_subject_id=".concat(N[e].id,"&page=1&pageSize=10"),"get")];case 1:return(t=n.sent())&&T(t),g(!1),se(!0),[2]}}))}));return function(t){return e.apply(this,arguments)}}(),pe=function(){var e=(0,r.Z)((function(e,t){return(0,s.__generator)(this,(function(n){return d.Z.confirm({title:"Are you sure?",content:(0,l.jsxs)("p",{children:["Questions with"," ",t.length>1?"these IDs":X("ID")," ",(0,l.jsx)("strong",{children:t.join(", ")})," will be deleted"]}),okButtonProps:{danger:!0},okText:1!==t.length?"Delete ".concat(t.length," questions"):X("Delete"),onOk:(0,r.Z)((function(){var n,r,o,a;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return re(!0),[4,(0,x.Z)("/teacher/questions/delete","post",{ids:t})];case 1:return(n=s.sent())?[4,(0,x.Z)("/teacher/questions?question_subject_id=".concat(e,"&page=1&pageSize=10"),"get")]:[3,3];case 2:(r=s.sent())&&(T(r),J([])),o=(0,i.Z)(n,1),0===(a=o[0])?(0,k.s)("Action succeeded, but no question has been deleted."):(0,k.s)("".concat(a," questions deleted")),s.label=3;case 3:return re(!1),[2]}}))}))}),[2]}))}));return function(t,n){return e.apply(this,arguments)}}(),he=function(){var e=(0,r.Z)((function(e){return(0,s.__generator)(this,(function(t){return d.Z.confirm({title:"Clone question",type:"info",content:(0,l.jsx)("p",{children:"Are you sure you want to clone this question?"}),okText:"Clone",onOk:(0,r.Z)((function(){var t,n;return(0,s.__generator)(this,(function(r){switch(r.label){case 0:return[4,(0,x.Z)("/teacher/questions/".concat(e.id,"/clone"),"post",{})];case 1:return(t=r.sent())?((n=(0,a.Z)(j)).unshift(t),T(n),(0,k.s)("Question cloned successfully")):(0,k.e)("Failed to clone question"),[2]}}))}))}),[2]}))}));return function(t){return e.apply(this,arguments)}}();return{handleQuestionClone:he,setQuestions:T,onSubjectEdit:function(e,t){e.preventDefault(),e.stopPropagation(),o(N[t].name),C(t)},subject_index:I,new_question_modal:V,onCloseNewQuestionAddModal:function(){P(-1),q(!1)},opneNewQuestionModal:function(e){P(-1),$(null),K(null),ee("SINGLE"),D(e),q(!0)},setIsQuestionExpanded:B,addNewQuestion:function(e){var t=(0,a.Z)(j);t.unshift(e),T(t)},isQuestionExpanded:H,loadingQuestion:m,questions:j,featchQuestions:fe,editSubjectDrawer:w,updateSubject:ce,openEditModal:function(t){y(t),e(!0)},deleteSubject:de,subjectLists:N,storeSubject:le,loading:f,name:n,setSubjectName:o,questionDrawer:ae,onCloseQuestionDrawer:function(){se(!1)},onClose:function(){e(!1)},subjectDrawer:E,setSubjectDrawer:M,onSubjectDrawerClose:function(){M(!1)},onMultipleQuestionsDelete:pe,deleteBtnLoading:ne,setEditSubjectDrawer:C,selectedQuestions:Y,setSelectedQuestions:J,setSubjectLists:O}},E=n(4405),M=n(69158),L=n(35855),N=n(2690),O=n(87173),A=n(37266),j=n(73086),T=n(15154),Z=n(88176),P=n.n(Z),R=n(77637),I=n(59426),D=I.Z.Option,z=function(e){var t=e.passToParent,n=(0,R.Z)(e,["passToParent"]).title,r=(0,c.useState)(n||[]),o=r[0],i=r[1],s=function(e){var t=(0,a.Z)(o);t.splice(e,1),u(t)},u=function(e){i(e),t(e)};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"mb-[30px] flex gap-[12px]",children:[{label:"+Sentence",onClick:function(){u((0,a.Z)(o).concat([{type:"sentence",input:""}]))}},{label:"+Blank",onClick:function(){u((0,a.Z)(o).concat([{type:"blank",correctAnswers:[]}]))}},{label:"+Dropdown",onClick:function(){u((0,a.Z)(o).concat([{type:"dropdown",options:[],correctAnswers:[]}]))}}].map((function(e,t){return(0,l.jsx)(m.Z,{className:"_btn2",onClick:e.onClick,children:e.label},t)}))}),(0,l.jsx)("div",{className:"flex flex-wrap gap-[16px]",children:o.map((function(e,t){return(0,l.jsxs)("div",{className:"flex gap-[12px]",children:["sentence"===e.type&&(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(f.Z,{className:"_inpt1 w-60 max-w-full",placeholder:"Enter sentence text",value:e.input,onChange:function(e){return function(e,t){var n=(0,a.Z)(o);n[e].input=t,u(n)}(t,e.target.value)},required:!0}),(0,l.jsx)("span",{className:"_quz_fill_bnk absolute right-[-8px] top-[-8px] flex cursor-pointer items-center justify-center rounded-full border !border-red-500 bg-[#fff] p-[4px] hover:bg-gray-50",onClick:function(){return s(t)},children:(0,l.jsx)(C.tps,{})})]}),"blank"===e.type&&(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("div",{className:"_ant_select_itm",children:(0,l.jsx)(I.Z,{className:"_quz_blnk !w-60 !max-w-full",mode:"tags",placeholder:"Enter correct answers",value:e.correctAnswers,onChange:function(e){return function(e,t){var n=(0,a.Z)(o);n[e].correctAnswers=t,u(n)}(t,e)}})}),(0,l.jsx)("span",{className:"_quz_fill_bnk absolute right-[-8px] top-[-8px] flex cursor-pointer items-center justify-center rounded-full border !border-red-500 bg-[#fff] p-[4px] duration-150 hover:bg-gray-50",onClick:function(){return s(t)},children:(0,l.jsx)(C.tps,{})})]}),"dropdown"===e.type&&(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("div",{className:"_ant_select_itm",children:[(0,l.jsx)(I.Z,{className:"_quz_blnk !w-60 !max-w-full",mode:"tags",placeholder:"Enter dropdown options",onChange:function(e){return function(e,t){var n=(0,a.Z)(o);n[e].options=t,u(n)}(t,e)},value:e.options}),!!e.options.length&&(0,l.jsx)("div",{className:"mt-[6px] !w-60 !max-w-full",children:(0,l.jsx)(v.ZP.Group,{value:e.correctAnswers[0],onChange:function(e){return function(e,t){var n=(0,a.Z)(o);n[e].correctAnswers=[t],u(n)}(t,e.target.value)},children:e.options.map((function(t){return(0,l.jsx)(v.ZP,{value:t,checked:e.correctAnswers.includes(t),children:t},t)}))})})]}),(0,l.jsx)("span",{className:"_quz_fill_bnk absolute right-[-8px] top-[-8px] flex cursor-pointer items-center justify-center rounded-full border !border-red-500 bg-[#fff] p-[4px] hover:bg-gray-50",onClick:function(){return s(t)},children:(0,l.jsx)(C.tps,{})})]})]},t)}))}),(0,l.jsx)("h3",{className:"mb-[20px] mt-[30px] font-semibold",children:" Preview : "}),(0,l.jsx)("div",{className:"flex flex-wrap gap-[10px]",children:o.map((function(e,t){return(0,l.jsxs)("div",{className:"mb-[10px] flex items-center",children:["sentence"===e.type&&(0,l.jsx)("span",{children:e.input}),"blank"===e.type&&(0,l.jsx)(f.Z,{className:"_inpt1 h-[40px] w-[200px] max-w-full",placeholder:"Enter your answer"}),"dropdown"===e.type&&(0,l.jsx)(I.Z,{className:"flex h-[40px] w-[200px] max-w-full justify-center [&>.ant-select-selector]:!rounded-[6px]",placeholder:"Select",children:e.options.map((function(e,t){return(0,l.jsx)(D,{value:e,children:e},t)}))})]},t)}))})]})},H=n(68778),B=(n(83153),function(e){var t=e.storeMatchingQuestionData,n=(0,i.Z)(u.Z.useForm(),1)[0],r=(0,c.useState)(0),o=r[0],s=r[1],d=(0,c.useState)("Table 1"),p=d[0],h=d[1],g=(0,c.useState)("Table 2"),v=g[0],y=g[1],b=(0,c.useState)([]),w=b[0],C=b[1],x=(0,c.useState)([]),_=x[0],S=x[1],E=(0,c.useState)(!1),M=E[0],L=E[1];(0,c.useEffect)((function(){t(null)}),[]),(0,c.useEffect)((function(){t({leftTableData:w,rightTableData:_,leftTableName:p,rightTableName:v,numberOfRows:o})}),[p,v,w,_,o]);var O=[{title:p||"Table 1",dataIndex:"leftItem",key:"leftItem",render:function(e,t,n){return(0,l.jsx)(f.Z,{value:t.leftItem,onChange:function(e){return function(e,t){var n=(0,a.Z)(w);n[e].leftItem=t,C(n)}(n,e.target.value)},className:"_inpt1 min-w-[180px] bg-ezy-gray-50",required:!0})}}],A=[{title:v||"Table 2",dataIndex:"rightItem",key:"rightItem",render:function(e,t,n){return(0,l.jsx)(f.Z,{value:t.rightItem,onChange:function(e){return function(e,t){var n=(0,a.Z)(_);n[e].rightItem=t,S(n)}(n,e.target.value)},className:"_inpt1 min-w-[180px] bg-ezy-gray-50",required:!0})}}];return(0,l.jsxs)("div",{className:"flex flex-col py-6",children:[(0,l.jsx)("h3",{className:"text-lg",children:"Matching"}),(0,l.jsx)("br",{}),(0,l.jsxs)(u.Z,{form:n,layout:"inline",className:"mb-6 !gap-3 [&_.ant-form-item-label]:flex [&_.ant-form-item-label]:items-center",children:[(0,l.jsx)(u.Z.Item,{className:"!mr-0",label:"Left table",name:"left",children:(0,l.jsx)(f.Z,{placeholder:"Name",className:"_inpt1",onChange:function(e){return h(e.target.value)}})}),(0,l.jsx)(u.Z.Item,{className:"!mr-0",label:"Right table",name:"right",children:(0,l.jsx)(f.Z,{placeholder:"Name",className:"_inpt1",onChange:function(e){return y(e.target.value)}})}),!M&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.Z.Item,{className:"!mr-0",label:"Number of Rows",name:"numberOfRows",required:!0,rules:[{required:!0,message:"Please input number of columns, (1-100)"}],children:(0,l.jsx)(N.Z,{className:"_inpt1 flex items-center [&_.ant-input-number-input]:p-0",min:1,max:100,onChange:function(e){return s(e)}})}),(0,l.jsx)(u.Z.Item,{children:(0,l.jsx)(m.Z,{className:"_btn1",onClick:function(){if(o<=0)(0,k.e)("Please enter a valid column number");else{var e=Array.from({length:o},(function(e,t){return{key:t,leftItem:""}})),t=Array.from({length:o},(function(e,t){return{key:t,rightItem:""}}));C(e),S(t),L(!0)}},children:"Create Tables"})})]})]}),(0,l.jsx)("p",{children:"# Please provide pairs of matched questions and answers for your matching quiz. The table will be shuffled randomly for students during the quiz exam. Please avoid duplicate values in each table."}),(0,l.jsx)("br",{}),M&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"mb-6 flex max-w-full items-center gap-8 overflow-x-auto",children:[(0,l.jsx)("div",{className:"grow",children:(0,l.jsx)(H.Z,{dataSource:w,columns:O,pagination:!1,bordered:!0,style:{borderColor:"#00796b"}})}),(0,l.jsx)("div",{className:"grow",children:(0,l.jsx)(H.Z,{dataSource:_,columns:A,pagination:!1,bordered:!0,style:{borderColor:"#00796b"}})})]}),(0,l.jsxs)("div",{className:"flex flex-wrap justify-start gap-3",children:[o<100&&(0,l.jsx)(m.Z,{className:"_btn1",onClick:function(){var e=(0,a.Z)(w);e.push({key:o,leftItem:""}),C(e);var t=(0,a.Z)(_);t.push({key:o,rightItem:""}),S(t),n.setFieldsValue({numberOfRows:o+1}),s(o+1)},children:"Add new row"}),o>=2&&(0,l.jsx)(m.Z,{className:"_btn2 !border-red-500 text-red-500 hover:!border-red-600 hover:text-red-600 focus:text-red-600",onClick:function(){var e=(0,a.Z)(w);e.pop(),C(e);var t=(0,a.Z)(_);t.pop(),S(t),n.setFieldsValue({numberOfRows:o-1}),s(o-1)},children:"Remove last row"})]})]})]})}),F=P()((function(){return Promise.all([n.e(77799),n.e(30626),n.e(47280),n.e(78084)]).then(n.bind(n,47280))}),{loadableGenerated:{webpack:function(){return[47280]}}}),V=function(e){var t=e.onChange,n=(0,c.useState)([]),r=n[0],o=n[1],i=(0,c.useState)(!1),s=i[0],u=i[1],d=(0,c.useState)(""),p=d[0],h=d[1],m=(0,c.useState)(-1),g=m[0],v=m[1],y=(0,c.useState)(""),b=y[0],w=y[1],C=(0,c.useRef)(null),x=(0,c.useRef)(null);(0,c.useEffect)((function(){var e;s&&(null===(e=C.current)||void 0===e||e.focus())}),[s]),(0,c.useEffect)((function(){var e;null===(e=x.current)||void 0===e||e.focus()}),[p]);var k=function(){if(p){var e=(0,a.Z)(r).concat([p]);t(e),o(e)}u(!1),h("")},_=function(e){w(e.target.value)},S=function(){var e=(0,a.Z)(r);e[g]=b,o(e),v(-1),h("")};return(0,l.jsxs)(l.Fragment,{children:[r.map((function(e,n){if(g===n)return(0,l.jsx)(f.Z,{ref:x,size:"small",className:"tag-input",value:b,onChange:_,onBlur:S,onPressEnter:S},e+n);var i=(null===e||void 0===e?void 0:e.length)>20,s=(0,l.jsx)(j.Z,{className:"edit-tag",closable:!0,onClose:function(){return function(e){var n=(0,a.Z)(r);n.splice(r.indexOf(e),1),t(n),o(r)}(e)},children:(0,l.jsx)("span",{onDoubleClick:function(t){v(n),w(e),t.preventDefault()},children:i?"".concat(e.slice(0,20),"..."):e})},e+n);return i?(0,l.jsx)(M.Z,{title:e,children:s},e+n):s})),s&&(0,l.jsx)(f.Z,{ref:C,type:"text",size:"small",className:"tag-input _inpt1 _mar_t10",value:p,onChange:function(e){h(e.target.value)},onBlur:k,onPressEnter:k}),!s&&(0,l.jsx)(j.Z,{className:"site-tag-plus _btn2 _cursor_pointer",onClick:function(){u(!0)},style:{height:"2.5rem",padding:"0rem .625rem"},children:"+New Answer"})]})},q=function(e){var t=e.subjectId,n=e.closeDrawer,a=e.onCreate,p=((0,T.useRouter)(),(0,_.$G)().t),h=(0,i.Z)(u.Z.useForm(),1)[0],y=(0,c.useState)(!1),b=y[0],w=y[1],S=(0,c.useState)([]),M=S[0],j=S[1],Z=(0,c.useState)(!1),P=Z[0],R=Z[1],I=(0,c.useState)(""),D=(I[0],I[1],{SINGLE:{title:"One correct answer",icon:(0,l.jsx)(C.J7_,{width:25,height:25}),description:"User can select only one correct answer"},MULTIPLE:{title:"One or more correct answers",icon:(0,l.jsx)(C.$Nx,{width:25,height:25}),description:"User can select more than one answers and point will be binary. 1 or 0"},TEXT:{title:"Free text",icon:(0,l.jsx)(C.FDG,{width:25,height:25}),description:"User can write and submit anything"},ADVANCED_FILL_BLANKS:{title:"Fill in the blanks",icon:(0,l.jsx)(C.BN9,{width:25,height:25}),description:"User will need to write or select answer in boxes"},TRUE_FALSE:{title:"True or false",icon:(0,l.jsx)(C.dTM,{width:25,height:25}),description:"User will select either true or false"},MATCHING:{title:"Matching",icon:(0,l.jsx)(C.M_L,{width:25,height:25}),description:"User will select matching answer from diffrent table"}}),H=(0,c.useState)(h.getFieldValue("title")),q=H[0],U=H[1],$=(0,c.useState)(null),W=$[0],K=$[1],G=(0,c.useState)(h.getFieldValue("explanation")),Y=G[0],J=G[1],X=function(e,t){h.setFieldValue(["options",e,"title"],t)};(0,c.useEffect)((function(){h.setFields([{name:"title",value:q},{name:"title",errors:[]},{name:"explanation",value:Y}])}),[q]),(0,c.useEffect)((function(){h.setFields([{name:"explanation",value:Y},{name:"explanation",errors:[]}])}),[Y]);var Q=(0,O.qo)("quiz_type",h),ee=(0,O.qo)("options",h),te=(0,O.qo)("has_explanation",h),ne=function(){var e=(0,r.Z)((function(){var e,r,i,l,c,u,d,f,p,m,g,v,y,b,C,_,S,L,N;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:if("MATCHING"!=Q)return[3,2];if((null===W||void 0===W?void 0:W.numberOfRows)<1)return(0,k.e)("Your matching table is empty"),[2];if(e=h.getFieldsValue(),r=W.leftTableData.map((function(e){return e.leftItem.trim()})),i=W.rightTableData.map((function(e){return e.rightItem.trim()})),l={},W&&(null===r||void 0===r?void 0:r.length)==W.numberOfRows&&(null===i||void 0===i?void 0:i.length)==W.numberOfRows)for(c=0;c<r.length;c++){if(u=r[c],d=i[c],r.indexOf(u)!=c||i.indexOf(d)!=c)return(0,k.e)("Duplicate value is not allowed"),[2];if(!u.length||!d.length)return(0,k.e)("Fill all input field properly"),[2];l[u]=d}return 0==W.leftTableName.length&&(W.leftTableName="Table 1"),0==W.rightTableName.length&&(W.rightTableName="Table 2"),0==W.leftTableName.length&&(W.leftTableName="Table 1"),0==W.rightTableName.length&&(W.rightTableName="Table 2"),f=JSON.stringify({leftTableName:W.leftTableName,rightTableName:W.rightTableName,matchingObjectLeft:l}),te&&(p=e.explanation?e.explanation.slice(3,-4):"").length==(p.match(/ /g)||[]).length?((0,k.e)("Explanation is required"),[2]):(w(!0),[4,(0,x.Z)("/teacher/questions/createNewQuestions","post",(0,E.Z)((0,o.Z)({},e),{title:f,is_plain_text:!P,question_subject_id:t}))]);case 1:return(m=s.sent())&&(a(m),(0,k.s)("Question created successfully"),n(),K(null),h.resetFields()),w(!1),[2];case 2:return h.validateFields(),"ADVANCED_FILL_BLANKS"!=(g=h.getFieldsValue()).quiz_type?[3,4]:0===M.length?((0,k.e)("Question is required"),[2]):(v=function(){var e=[];return M.map((function(t,n){"sentence"!==t.type||t.input.trim()?"blank"!==t.type||t.correctAnswers.length?("dropdown"!==t.type||t.options.length)&&("dropdown"!==t.type||t.correctAnswers.length)||e.push("Dropdown at position ".concat(n+1," has no options.")):e.push("Blank at position ".concat(n+1," has no correct answers.")):e.push("Sentence at position ".concat(n+1," is empty."))})),e}()).length>0?((0,k.e)(v.join(" ")),[2]):(w(!0),[4,(0,x.Z)("/teacher/questions/createNewQuestions","post",(0,E.Z)((0,o.Z)({},g),{title:JSON.stringify(M),question_subject_id:t,is_plain_text:!P}))]);case 3:return(y=s.sent())&&(a(y),(0,k.s)("Question created successfully"),n(),h.resetFields()),w(!1),[2];case 4:if((b=g.title?P?g.title.slice(3,-4):g.title:"").length==(b.match(/ /g)||[]).length)return(0,k.e)("Question is required"),[2];if(["SINGLE","MULTIPLE"].includes(g.quiz_type)){if(C=0,_=0,g.options.forEach((function(e,t){var n=e.title?P?e.title.slice(3,-4):e.title:"";if(n.length==(n.match(/ /g)||[]).length)return(0,k.e)("Option ".concat(String.fromCharCode(65+t)," is required")),void(_=1);1==e.is_right&&C++})),_)return[2];if(0==C)return(0,k.e)("At least one option should be right"),[2]}return te&&(S=g.explanation?P?g.explanation.slice(3,-4):g.explanation:"").length==(S.match(/ /g)||[]).length?((0,k.e)("Explanation is required"),[2]):"FILL_BLANKS"==g.quiz_type&&(!Array.isArray(null===g||void 0===g?void 0:g.blank_answers)||Array.isArray(null===g||void 0===g?void 0:g.blank_answers)&&0==(null===g||void 0===g?void 0:g.blank_answers.length))?((0,k.e)("At least one answer should be given"),[2]):"SINGLE"===g.quiz_type&&(null===g||void 0===g||null===(L=g.options)||void 0===L?void 0:L.filter((function(e){return e.is_right})).length)>1?((0,k.e)("You may select only one correct option."),[2]):(w(!0),[4,(0,x.Z)("/teacher/questions/createNewQuestions","post",(0,E.Z)((0,o.Z)({},g),{question_subject_id:t,is_plain_text:!P}))]);case 5:return(N=s.sent())&&(a(N),(0,k.s)("Question created successfully"),n(),h.resetFields()),w(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)(u.Z,{form:h,children:[(0,l.jsxs)("div",{className:"_drwer1_qtnLst_new_sbjct",children:[(0,l.jsx)("div",{className:"_drwer1_quzType",children:(0,l.jsx)(u.Z.Item,{name:"quiz_type",initialValue:"SINGLE",rules:[{required:!0,message:"Please select question type"}],children:(0,l.jsx)(v.ZP.Group,{className:"_drwer1_quzType_ul _dis_flex flex-wrap",children:Object.keys(D).map((function(e,t){return(0,l.jsx)(v.ZP.Button,{value:e,className:"_drwer1_quzType_li",children:(0,l.jsxs)("div",{className:"_drwer1_quzType_crd _box_1 _pad_16 _dis_flex _box1 _cursor_pointer",children:[(0,l.jsx)("span",{className:"_drwer1_quzType_crd_spn",children:D[e].icon}),(0,l.jsxs)("div",{className:"_drwer1_quzType_cntnt _flex_1",children:[(0,l.jsx)("h4",{className:"_titl4 _mar_b3",children:D[e].title}),(0,l.jsx)("p",{className:"_drwer1_quzType_cntnt_txt _2text_overflow",children:D[e].description})]})]})},e)}))})})}),(0,l.jsxs)("div",{className:"_quz_Qnitm_txtArea _mar_t20",children:[(0,l.jsxs)("div",{className:"my-[20px] flex gap-[10px]",children:[(0,l.jsx)("p",{className:"text-lg font-medium",children:"Use rich text editor"}),(0,l.jsx)("div",{className:"_connected_btn",children:(0,l.jsx)(L.Z,{onChange:function(e){d.Z.confirm({title:"Warning",content:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("p",{children:"This will reset question and all the options and the explaination. Are you sure you want to continue?"})}),okButtonProps:{danger:!0},okText:"Continue",onOk:function(){U(""),J("");var t=(h.getFieldValue("options")||[]).map((function(e){return(0,E.Z)((0,o.Z)({},e),{title:""})}));h.setFieldsValue({options:t}),R(e)}})},checked:P})})]}),(0,l.jsxs)("div",{className:"mb-[16px]",children:[(0,l.jsxs)("h3",{className:"_quz_Qnitm_txtArea_titl _titl3 _mar_b10",children:[" ",p("Question")]}),"ADVANCED_FILL_BLANKS"!==Q&&"MATCHING"!==Q&&(0,l.jsx)(u.Z.Item,{name:"title",rules:[{required:!0,message:"Question is required"}],children:P?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.Z,{type:"hidden",className:"_inpt1"}),(0,l.jsx)(F,{initialHtml:q,content:q,setContent:U})]}):(0,l.jsx)(f.Z.TextArea,{className:"_inpt1",value:q,placeholder:"Question Title",rows:4,maxLength:1e3,onChange:function(e){return U(e.target.value)}})})]})]}),!!["SINGLE","MULTIPLE"].includes(Q)&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{className:"_drwer1_qtnDtls_titl1 _titl4 _mar_b10",children:"Options"}),(0,l.jsx)("ul",{className:"_drwer1_qtnDtls_optn_ul _mar_t15",children:(0,l.jsx)(u.Z.List,{name:"options",initialValue:[{title:"",is_right:!1}],children:function(e,t){var n=t.add,r=t.remove;return(0,l.jsxs)("ul",{className:"_drwer1_qtnDtls_optn_ul _mar_t15",children:[e.map((function(t,n){var i;return(0,l.jsxs)("li",{className:"_drwer1_qtnDtls_optn_li _mar_b10 ".concat((null===ee||void 0===ee||null===(i=ee[n])||void 0===i?void 0:i.is_right)?"_right_option":""),children:[(0,l.jsxs)("div",{className:"_drwer1_qtnDtls_optn d-flex align-items-center qtnDtls_optn2",children:[(0,l.jsx)("div",{className:"_drwer1_qtnDtls_optn_num",children:(0,l.jsx)("p",{className:"_drwer1_qtnDtls_optn_num_txt _dis_flex_all",children:String.fromCharCode(65+n)})}),(0,l.jsxs)("div",{className:"_drwer1_qtnDtls_optn_dtls d-flex align-items-center justify-content-between _flex_1",children:[(0,l.jsx)("div",{className:"_quz_Qnitm_txtArea",children:(0,l.jsx)(u.Z.Item,(0,E.Z)((0,o.Z)({},t),{name:[t.name,"title"],rules:[{required:!0,message:"Option title is required"}],children:P?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.Z,{type:"hidden"}),(0,l.jsx)(F,{initialHtml:h.getFieldValue(["options",n,"title"]),form:{index:n,createOptions:X}})]}):(0,l.jsx)(f.Z.TextArea,{className:"_inpt1 rounded-none",value:h.getFieldValue(["options",n,"title"]),placeholder:"Option Title",rows:4,maxLength:1e3,onChange:function(e){X(n,e.target.value)}})}))}),(0,l.jsx)("div",{className:"_drwer1_qtnDtls_optn_actn",children:(0,l.jsx)("ul",{className:"_drwer1_qtnDtls_optn_actn_ul d-flex align-items-center",children:e.length>1&&(0,l.jsx)("li",{className:"_drwer1_qtnDtls_optn_actn_li _mar_l7",onClick:function(){return r(t.name)},children:(0,l.jsx)("span",{className:"_drwer1_qtnDtls_optn_dlt _cursor_pointer",children:(0,l.jsx)(C.Fzz,{})})})})})]})]}),(0,l.jsx)("div",{className:"mt-[2x]",children:(0,l.jsx)(u.Z.Item,(0,E.Z)((0,o.Z)({valuePropName:"checked"},t),{name:[t.name,"is_right"],rules:[{validator:function(e,t){var r=h.getFieldValue("options");if(!r.some((function(e){return e.is_right})))return Promise.reject("At least one option should be right");if(t&&("SINGLE"===Q&&r.some((function(e,t){return t!=n&&e.is_right}))))return Promise.reject("Only one option can be correct");return Promise.resolve()}}],children:(0,l.jsx)(g.Z,{children:"Mark as correct."})}))})]},t.name+n)})),(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{className:"_btn1 mt-[16px]",type:"primary",icon:(0,l.jsx)(A.Z,{}),onClick:function(){n({title:"",is_right:!1})},children:"Add Option"})})})]})}})})]}),"TRUE_FALSE"===Q&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{className:"_drwer1_qtnDtls_titl1 _titl4 _mar_b10",children:"Answer"}),(0,l.jsx)(u.Z.Item,{name:"is_true",rules:[{required:!0,message:"Please select answer"}],initialValue:1,children:(0,l.jsxs)(v.ZP.Group,{children:[(0,l.jsx)(v.ZP.Button,{value:1,children:"True"}),(0,l.jsx)(v.ZP.Button,{value:0,children:"False"})]})})]}),"FILL_BLANKS"===Q&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{className:"_drwer1_qtnDtls_titl1 _titl4 _mar_b10",children:"Answer"}),(0,l.jsx)(u.Z.Item,{name:"blank_answers",initialValue:!0,rules:[{validator:function(e,t){return t&&0!=t.length?Promise.resolve():Promise.reject("Please add at least one answer")}}],children:(0,l.jsx)(V,{onChange:function(e){h.setFieldValue("blank_answers",e)}})})]}),"ADVANCED_FILL_BLANKS"===Q&&(0,l.jsx)(z,{passToParent:function(e){j(e)}}),"MATCHING"===Q&&(0,l.jsx)(B,{storeMatchingQuestionData:function(e){K(e)}}),(0,l.jsxs)("div",{className:"_quz_Qnitm_txtArea _mar_t20 d-flex",children:[(0,l.jsxs)("h3",{className:"_quz_Qnitm_txtArea_titl _titl3 _mar_r10 _dis_flex align-items-center",children:[p("Points"),":"]}),(0,l.jsx)(u.Z.Item,{name:"mark",initialValue:1,rules:[{required:!0,message:"Point is required"},{type:"number",min:1,message:"Point should be greater than 0"},{type:"number",max:100,message:"Point should be less than 100"}],children:(0,l.jsx)(N.Z,{style:{width:"6.25rem"},className:"_inpt1 _crseSbcrptn_curncyInpt inline-flex items-center",min:1,max:100})})]}),(0,l.jsx)("div",{className:"_quz_Qnitm_txtArea _mar_t20 d-flex",children:(0,l.jsx)(u.Z.Item,{name:"has_explanation",valuePropName:"checked",children:(0,l.jsx)(g.Z,{className:"select-none",children:"Explanation"})})}),te&&(0,l.jsx)("div",{className:"_quz_Qnitm_txtArea _mar_t20",children:(0,l.jsx)(u.Z.Item,{name:"explanation",rules:[{required:!0,message:"Explanation is required"}],children:P?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.Z,{type:"hidden",className:"_inpt1"}),(0,l.jsx)(F,{initialHtml:Y,content:Y,setContent:J})]}):(0,l.jsx)(f.Z.TextArea,{className:"_inpt1",value:Y,placeholder:"Explanation",rows:4,maxLength:1e3,onChange:function(e){return J(e.target.value)}})})})]}),(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{className:"_btn1 _mar_t15",htmlType:"submit",loading:b,disabled:b,onClick:ne,children:p("Create")})})]})})},U=function(e){var t=e.matchingData,n=e.storeMatchingQuestionData,r=JSON.parse(t.title),o=(0,i.Z)(u.Z.useForm(),1)[0],s=(0,c.useState)(Object.keys(null===r||void 0===r?void 0:r.matchingObjectLeft).length),d=s[0],p=s[1],h=(0,c.useState)(r.leftTableName),g=h[0],v=h[1],y=(0,c.useState)(r.rightTableName),b=y[0],w=y[1],C=(0,c.useState)([]),x=C[0],_=C[1],S=(0,c.useState)([]),E=S[0],M=S[1],L=(0,c.useState)(!1),O=L[0],A=L[1];(0,c.useEffect)((function(){for(var e=Object.keys(r.matchingObjectLeft),t=0;t<e.length;t++)x[t]={key:t,leftItem:e[t]},E[t]={key:t,rightItem:r.matchingObjectLeft[e[t]]};_((0,a.Z)(x)),M((0,a.Z)(E))}),[]),(0,c.useEffect)((function(){n({leftTableData:x,rightTableData:E,leftTableName:g,rightTableName:b,numberOfRows:d})}),[g,b,x,E,d]);var j=[{title:g||"Table 1",dataIndex:"leftItem",key:"leftItem",render:function(e,t,n){return(0,l.jsx)(f.Z,{value:t.leftItem,onChange:function(e){return function(e,t){var n=(0,a.Z)(x);n[e].leftItem=t,_(n)}(n,e.target.value)},className:"_inpt1 min-w-[180px] bg-ezy-gray-50",required:!0})}}],T=[{title:b||"Table 2",dataIndex:"rightItem",key:"rightItem",render:function(e,t,n){return(0,l.jsx)(f.Z,{value:t.rightItem,onChange:function(e){return function(e,t){var n=(0,a.Z)(E);n[e].rightItem=t,M(n)}(n,e.target.value)},className:"_inpt1 min-w-[180px] bg-ezy-gray-50",required:!0})}}];return(0,l.jsxs)("div",{className:"flex flex-col py-6",children:[(0,l.jsx)("h3",{className:"text-lg",children:"Matching"}),(0,l.jsx)("br",{}),(0,l.jsxs)(u.Z,{form:o,layout:"inline",className:"mb-6 !gap-3 [&_.ant-form-item-label]:flex [&_.ant-form-item-label]:items-center",children:[(0,l.jsx)(u.Z.Item,{className:"!mr-0",label:"Left table",name:"left",children:(0,l.jsx)(f.Z,{placeholder:"Name",className:"_inpt1",onChange:function(e){return v(e.target.value)}})}),(0,l.jsx)(u.Z.Item,{className:"!mr-0",label:"Right table",name:"right",children:(0,l.jsx)(f.Z,{placeholder:"Name",className:"_inpt1",onChange:function(e){return w(e.target.value)}})}),!O&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.Z.Item,{className:"!mr-0",label:"Number of Rows",initialValue:d,name:"numberOfRows",required:!0,rules:[{required:!0,message:"Please input number of columns, (1-100)"}],children:(0,l.jsx)(N.Z,{className:"_inpt1 flex items-center [&_.ant-input-number-input]:p-0",min:1,max:100,onChange:function(e){return p(e)}})}),(0,l.jsx)(u.Z.Item,{children:(0,l.jsx)(m.Z,{className:"_btn1",onClick:function(){if(d<=0)(0,k.e)("Please enter a valid column number");else{var e=Array.from({length:d},(function(e,t){return{key:t,leftItem:""}})),t=Array.from({length:d},(function(e,t){return{key:t,rightItem:""}}));_(e),M(t),A(!0)}},children:"Create Tables"})})]})]}),(0,l.jsx)("p",{children:"# Please provide pairs of matched questions and answers for your matching quiz. The table will be shuffled randomly for students during the quiz exam. Please avoid duplicate values in each table."}),(0,l.jsx)("br",{}),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"mb-6 flex max-w-full items-center gap-8 overflow-x-auto",children:[(0,l.jsx)("div",{className:"grow",children:(0,l.jsx)(H.Z,{dataSource:x,columns:j,pagination:!1,bordered:!0,style:{borderColor:"#00796b"}})}),(0,l.jsx)("div",{className:"grow",children:(0,l.jsx)(H.Z,{dataSource:E,columns:T,pagination:!1,bordered:!0,style:{borderColor:"#00796b"}})})]}),(0,l.jsxs)("div",{className:"flex flex-wrap justify-start gap-3",children:[d<100&&(0,l.jsx)(m.Z,{className:"_btn1",onClick:function(){var e=(0,a.Z)(x);e.push({key:d,leftItem:""}),_(e);var t=(0,a.Z)(E);t.push({key:d,rightItem:""}),M(t),o.setFieldsValue({numberOfRows:d+1}),p(d+1)},children:"Add new row"}),d>=2&&(0,l.jsx)(m.Z,{className:"_btn2 !border-red-500 text-red-500 hover:!border-red-600 hover:text-red-600 focus:text-red-600",onClick:function(){var e=(0,a.Z)(x);e.pop(),_(e);var t=(0,a.Z)(E);t.pop(),M(t),o.setFieldsValue({numberOfRows:d-1}),p(d-1)},children:"Remove last row"})]})]})]})},$=P()((function(){return Promise.all([n.e(77799),n.e(30626),n.e(47280),n.e(78084)]).then(n.bind(n,47280))}),{loadableGenerated:{webpack:function(){return[47280]}}}),W=function(e){var t=e.tags,n=e.setTags,r=e.onChange,o=(0,c.useState)(!1),i=o[0],s=o[1],u=(0,c.useState)(""),d=u[0],p=u[1],h=(0,c.useState)(-1),m=h[0],g=h[1],v=(0,c.useState)(""),y=v[0],b=v[1],w=(0,c.useRef)(null),C=(0,c.useRef)(null);(0,c.useEffect)((function(){var e;i&&(null===(e=w.current)||void 0===e||e.focus())}),[i]),(0,c.useEffect)((function(){var e;null===(e=C.current)||void 0===e||e.focus()}),[d]);var x=function(){if(d){var e=(0,a.Z)(t).concat([d]);r(e),n(e)}s(!1),p("")},k=function(e){b(e.target.value)},_=function(){var e=(0,a.Z)(t);e[m]=y,n(e),g(-1),p("")};return(0,l.jsxs)(l.Fragment,{children:[t.map((function(e,o){if(m===o)return(0,l.jsx)(f.Z,{ref:C,size:"small",className:"tag-input",value:y,onChange:k,onBlur:_,onPressEnter:_},e+o);var i=(null===e||void 0===e?void 0:e.length)>20,s=(0,l.jsx)(j.Z,{className:"edit-tag",closable:!0,onClose:function(){return function(e){var o=(0,a.Z)(t);o.splice(t.indexOf(e),1),r(o),n(t)}(e)},children:(0,l.jsx)("span",{onDoubleClick:function(t){g(o),b(e),t.preventDefault()},children:i?"".concat(e.slice(0,20),"..."):e})},e+o);return i?(0,l.jsx)(M.Z,{title:e,children:s},e+o):s})),i&&(0,l.jsx)(f.Z,{ref:w,type:"text",size:"small",className:"tag-input _inpt1",value:d,onChange:function(e){p(e.target.value)},onBlur:x,onPressEnter:x}),!i&&(0,l.jsx)(j.Z,{className:"site-tag-plus _btn2 _cursor_pointer _mar_t10",onClick:function(){s(!0)},style:{height:"36px",padding:"0px 10px"},children:"+ New Answer"})]})},K=function(e){var t=e.onUpdate,n=e.question,a=((0,T.useRouter)(),(0,_.$G)().t),d=(0,c.useState)(!(null===n||void 0===n?void 0:n.is_plain_text)),p=(d[0],d[1],(0,i.Z)(u.Z.useForm(),1)[0]),h=(0,c.useState)(!1),y=h[0],b=h[1],w=(0,c.useState)([]),S=w[0],M=w[1],L=(0,c.useState)(null),j=L[0],Z=L[1];(0,c.useEffect)((function(){"MATCHING"===n.quiz_type&&Z(JSON.parse(n.title))}),[]);var P={SINGLE:{title:"One correct answer",icon:(0,l.jsx)(C.J7_,{width:25,height:25}),description:"User can select only one correct answer"},MULTIPLE:{title:"One or more correct answers",icon:(0,l.jsx)(C.$Nx,{width:25,height:25}),description:"User can select more than one answers and point will be binary. 1 or 0"},TEXT:{title:"Free text",icon:(0,l.jsx)(C.FDG,{width:25,height:25}),description:"User can write and submit anything"},ADVANCED_FILL_BLANKS:{title:"Fill in the blanks",icon:(0,l.jsx)(C.BN9,{width:25,height:25}),description:"User will need to write or select answer in boxes"},TRUE_FALSE:{title:"True or false",icon:(0,l.jsx)(C.dTM,{width:25,height:25}),description:"User will select either true or false"},MATCHING:{title:"Matching",icon:(0,l.jsx)(C.M_L,{width:25,height:25}),description:"User will select matching answer from diffrent table"}};(0,c.useEffect)((function(){var e=(0,E.Z)((0,o.Z)({},n),{has_explanation:!!n.explanation});"FILL_BLANKS"==n.quiz_type&&(e=(0,E.Z)((0,o.Z)({},e),{blank_answers:n.options.map((function(e){return e.title})),options:[{text:"",is_correct:0}]}),M(e.blank_answers)),p.setFieldsValue(e)}),[n]);var R=(0,O.qo)("quiz_type",p),I=(0,O.qo)("options",p),D=(0,O.qo)("has_explanation",p),H=function(){var e=(0,r.Z)((function(){var e,r,i,a,l,c,u,d,f,h,m,g,v,y,w,C,_,S,M;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:if("MATCHING"!=R)return[3,2];if((null===j||void 0===j?void 0:j.numberOfRows)<1)return(0,k.e)("Your matching table is empty"),[2];if(e=p.getFieldsValue(),r=j.leftTableData.map((function(e){return e.leftItem.trim()})),i=j.rightTableData.map((function(e){return e.rightItem.trim()})),a={},j&&(null===r||void 0===r?void 0:r.length)==j.numberOfRows&&(null===i||void 0===i?void 0:i.length)==j.numberOfRows)for(l=0;l<r.length;l++){if(c=r[l],u=i[l],r.indexOf(c)!=l||i.indexOf(u)!=l)return(0,k.e)("Duplicate value is not allowed"),[2];if(!c.length||!u.length)return(0,k.e)("Fill all input field properly"),[2];a[c]=u}return d=JSON.stringify({leftTableName:j.leftTableName,rightTableName:j.rightTableName,matchingObjectLeft:a}),D&&(f=e.explanation?e.explanation.slice(3,-4):"").length==(f.match(/ /g)||[]).length?((0,k.e)("Explanation is required"),[2]):(b(!0),[4,(0,x.Z)("/teacher/questions/updateQuestion","post",(0,E.Z)((0,o.Z)({},e),{title:d,question_id:n.id}))]);case 1:return(h=s.sent())&&(t(h),(0,k.s)("Question updated successfully"),p.resetFields()),b(!1),[2];case 2:return p.validateFields(),"ADVANCED_FILL_BLANKS"!=(m=p.getFieldsValue()).quiz_type?[3,4]:0===X.length?((0,k.e)("Question is required"),[2]):(g=function(){var e=[];return X.map((function(t,n){"sentence"!==t.type||t.input.trim()?"blank"!==t.type||t.correctAnswers.length?("dropdown"!==t.type||t.options.length)&&("dropdown"!==t.type||t.correctAnswers.length)||e.push("Dropdown at position ".concat(n+1," has no options.")):e.push("Blank at position ".concat(n+1," has no correct answers.")):e.push("Sentence at position ".concat(n+1," is empty."))})),e}(),g.length>0?((0,k.e)(g.join(" ")),[2]):(b(!0),[4,(0,x.Z)("/teacher/questions/updateQuestion","post",(0,E.Z)((0,o.Z)({},m),{title:JSON.stringify(X),question_id:n.id}))]));case 3:return(v=s.sent())&&(t(v),(0,k.s)("Question updated successfully"),p.resetFields()),b(!1),[2];case 4:if((y=m.title?(null===n||void 0===n?void 0:n.is_plain_text)?m.title:m.title.slice(3,-4):"").length==(y.match(/ /g)||[]).length)return(0,k.e)("Question is required"),[2];if(["SINGLE","MULTIPLE"].includes(m.quiz_type)){if(w=0,C=0,m.options.forEach((function(e,t){if(!((null===n||void 0===n?void 0:n.is_plain_text)?e.title:e.title.replace(/<p>(.*?)<\/p>/,"$1")).trim().length)return(0,k.e)("Option ".concat(String.fromCharCode(65+t)," is required")),void(C=1);1==e.is_right&&w++})),C)return[2];if(0==w)return(0,k.e)("At least one option should be right"),[2]}return"FILL_BLANKS"==m.quiz_type&&(!Array.isArray(null===m||void 0===m?void 0:m.blank_answers)||Array.isArray(null===m||void 0===m?void 0:m.blank_answers)&&0==(null===m||void 0===m?void 0:m.blank_answers.length))?((0,k.e)("At least one answer should be given"),[2]):D&&(_=m.explanation?m.explanation.slice(3,-4):"").length==(_.match(/ /g)||[]).length?((0,k.e)("Explanation is required"),[2]):"SINGLE"===m.quiz_type&&(null===m||void 0===m||null===(S=m.options)||void 0===S?void 0:S.filter((function(e){return e.is_right})).length)>1?((0,k.e)("You may select only one correct option."),[2]):(b(!0),[4,(0,x.Z)("/teacher/questions/updateQuestion","post",(0,E.Z)((0,o.Z)({},m),{question_id:n.id}))]);case 5:return(M=s.sent())&&(t(M),(0,k.s)("Question updated successfully"),p.resetFields()),b(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}(),B=(0,c.useState)(n.title),F=B[0],V=B[1],q=(0,c.useState)(n.explanation),K=q[0],G=q[1],Y=function(e,t){p.setFieldValue(["options",e,"title"],t)};(0,c.useEffect)((function(){p.setFields([{name:"title",value:F},{name:"title",errors:[]}])}),[F]),(0,c.useEffect)((function(){p.setFields([{name:"explanation",value:K},{name:"explanation",errors:[]}])}),[K]);var J=(0,c.useState)("ADVANCED_FILL_BLANKS"==n.quiz_type?JSON.parse(F):[]),X=J[0],Q=J[1];return(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)(u.Z,{form:p,children:[(0,l.jsxs)("div",{className:"_drwer1_qtnLst_new_sbjct",children:[(0,l.jsx)("div",{className:"_drwer1_quzType",children:(0,l.jsx)(u.Z.Item,{name:"quiz_type",initialValue:"SINGLE",rules:[{required:!0,message:"Please select question type"}],children:(0,l.jsx)(v.ZP.Group,{className:"_drwer1_quzType_ul _dis_flex flex-wrap",children:Object.keys(P).map((function(e,t){return(0,l.jsx)(v.ZP.Button,{value:e,disabled:R!==e,className:"_drwer1_quzType_li",children:(0,l.jsxs)("div",{className:"_drwer1_quzType_crd _box_1 _pad_16 _dis_flex _box1 `${questionTypeWatcher !== key ? _cursor_disable ? _cursor_pointer}`",children:[(0,l.jsx)("span",{className:"_drwer1_quzType_crd_spn",children:P[e].icon}),(0,l.jsxs)("div",{className:"_drwer1_quzType_cntnt _flex_1",children:[(0,l.jsx)("h4",{className:"_titl4 _mar_b3",children:P[e].title}),(0,l.jsx)("p",{className:"_drwer1_quzType_cntnt_txt _2text_overflow",children:P[e].description})]})]})},e)}))})})}),(0,l.jsx)("div",{className:"_quz_Qnitm_txtArea _mar_t20",children:(0,l.jsxs)("div",{className:"mb-[16px]",children:[(0,l.jsx)("h3",{className:"_quz_Qnitm_txtArea_titl _titl3 _mar_b10",children:a("Question")}),"ADVANCED_FILL_BLANKS"===R&&(0,l.jsx)(z,{title:JSON.parse(n.title),passToParent:function(e){Q(e)}}),"ADVANCED_FILL_BLANKS"!==R&&"MATCHING"!=R&&(0,l.jsx)(u.Z.Item,{name:"title",rules:[{required:!0,message:"Question is required"},{max:100,message:"Must be less than 100 characters"}],children:(null===n||void 0===n?void 0:n.is_plain_text)?(0,l.jsx)(f.Z.TextArea,{className:"_inpt1",value:F,rows:4,maxLength:1e3,placeholder:"Question Title",onChange:function(e){return V(e.target.value)}}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.Z,{type:"hidden"}),(0,l.jsx)("div",{children:(0,l.jsx)($,{initialHtml:F,content:F,setContent:V})})]})})]})}),!!["SINGLE","MULTIPLE"].includes(R)&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{className:"_drwer1_qtnDtls_titl1 _titl4 _mar_b10",children:"Options"}),(0,l.jsx)("ul",{className:"_drwer1_qtnDtls_optn_ul _mar_t15",children:(0,l.jsx)(u.Z.List,{name:"options",initialValue:[{title:"",is_right:!1}],children:function(e,t){var r=t.add,i=t.remove;return(0,l.jsxs)("ul",{className:"_drwer1_qtnDtls_optn_ul _mar_t15",children:[e.map((function(t,r){var a;return(0,l.jsxs)("li",{className:"_drwer1_qtnDtls_optn_li _mar_b10 ".concat((null===I||void 0===I||null===(a=I[r])||void 0===a?void 0:a.is_right)?"_right_option":""),children:[(0,l.jsxs)("div",{className:"_drwer1_qtnDtls_optn d-flex align-items-center qtnDtls_optn2",children:[(0,l.jsx)("div",{className:"_drwer1_qtnDtls_optn_num",children:(0,l.jsx)("p",{className:"_drwer1_qtnDtls_optn_num_txt _dis_flex_all",children:String.fromCharCode(65+r)})}),(0,l.jsxs)("div",{className:"_drwer1_qtnDtls_optn_dtls d-flex align-items-center justify-content-between _flex_1",children:[(0,l.jsx)("div",{className:"_quz_Qnitm_txtArea",children:(0,l.jsx)(u.Z.Item,(0,E.Z)((0,o.Z)({},t),{name:[t.name,"title"],rules:[{required:!0,message:"Option title is required"}],children:(null===n||void 0===n?void 0:n.is_plain_text)?(0,l.jsx)(f.Z.TextArea,{className:"_inpt1 rounded-none",value:p.getFieldValue(["options",r,"title"]),rows:4,maxLength:1e3,placeholder:"Option Title",onChange:function(e){Y(r,e.target.value)}}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.Z,{type:"hidden"}),(0,l.jsx)("div",{children:(0,l.jsx)($,{initialHtml:p.getFieldValue(["options",r,"title"]),form:{index:r,createOptions:Y}})})]})}))}),(0,l.jsx)("div",{className:"_drwer1_qtnDtls_optn_actn",children:(0,l.jsx)("ul",{className:"_drwer1_qtnDtls_optn_actn_ul d-flex align-items-center",children:e.length>1&&(0,l.jsx)("li",{className:"_drwer1_qtnDtls_optn_actn_li _mar_l7",onClick:function(){return i(t.name)},children:(0,l.jsx)("span",{className:"_drwer1_qtnDtls_optn_dlt _cursor_pointer",children:(0,l.jsx)(C.Fzz,{})})})})})]})]}),(0,l.jsx)("div",{className:"mt-[2px]",children:(0,l.jsx)(u.Z.Item,(0,E.Z)((0,o.Z)({valuePropName:"checked"},t),{name:[t.name,"is_right"],rules:[{validator:function(e,t){var n=p.getFieldValue("options");if(!n.some((function(e){return e.is_right})))return Promise.reject("At least one option should be right");if(t&&("SINGLE"==R&&n.some((function(e,t){return t!=r&&e.is_right}))))return Promise.reject("Only one option can be correct");return Promise.resolve()}}],children:(0,l.jsx)(g.Z,{children:"Mark as correct."})}))})]},t.name+r)})),(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{className:"_btn1 mt-[16px]",type:"primary",icon:(0,l.jsx)(A.Z,{}),onClick:function(){r({title:"",is_right:!1})},children:"Add Option"})})})]})}})})]}),!("MATCHING"!=R)&&(0,l.jsx)("div",{children:(0,l.jsx)(U,{matchingData:n,storeMatchingQuestionData:function(e){Z(e)}})}),!("TRUE_FALSE"!=R)&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{className:"_drwer1_qtnDtls_titl1 _titl4 _mar_b10",children:"Answer"}),(0,l.jsx)(u.Z.Item,{name:"is_true",rules:[{required:!0,message:"Please select answer"}],children:(0,l.jsxs)(v.ZP.Group,{children:[(0,l.jsx)(v.ZP.Button,{value:1,children:"True"}),(0,l.jsx)(v.ZP.Button,{value:0,children:"False"})]})})]}),!("FILL_BLANKS"!=R)&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{className:"_drwer1_qtnDtls_titl1 _titl4 _mar_b10",children:"Answer"}),(0,l.jsx)(u.Z.Item,{name:"blank_answers",initialValue:!0,rules:[{validator:function(e,t){return t&&0!=t.length?Promise.resolve():Promise.reject("Please add at least one answer")}}],children:(0,l.jsx)(W,{tags:S,setTags:M,onChange:function(e){p.setFieldValue("blank_answers",e)}})})]}),(0,l.jsxs)("div",{className:"_quz_Qnitm_txtArea align-items-center _mar_t30 d-flex",children:[(0,l.jsx)("h3",{className:"_quz_Qnitm_txtArea_titl _titl3 _mar_r10 _dis_flex align-items-center",children:a("Points")}),(0,l.jsx)(u.Z.Item,{name:"mark",rules:[{required:!0,message:"Point is required"},{type:"number",min:1,message:"Point should be greater than 0"},{type:"number",max:100,message:"Point should be less than 100"}],children:(0,l.jsx)(N.Z,{style:{width:"100px"},className:"_inpt1 _crseSbcrptn_curncyInpt",min:1,max:100})})]}),(0,l.jsxs)("div",{className:"_quz_Qnitm_txtArea _mar_t20 d-flex",children:[(0,l.jsx)(u.Z.Item,{name:"has_explanation",valuePropName:"checked",children:(0,l.jsx)(g.Z,{})}),(0,l.jsx)("h3",{className:"_quz_Qnitm_txtArea_titl _titl3 _mar_l10 _dis_flex align-items-center",children:"Explanation"})]}),D&&(0,l.jsx)("div",{className:"_quz_Qnitm_txtArea _mar_t20",children:(0,l.jsx)(u.Z.Item,{name:"explanation",rules:[{required:!0,message:"Explanation is required"}],children:(null===n||void 0===n?void 0:n.is_plain_text)?(0,l.jsx)(f.Z.TextArea,{className:"_inpt1",value:K,placeholder:"Explanation",rows:4,maxLength:1e3,onChange:function(e){return G(e.target.value)}}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.Z,{type:"hidden"}),(0,l.jsx)("div",{children:(0,l.jsx)($,{initialHtml:K,content:K,setContent:G})})]})})})]}),(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{className:"_btn1 _mar_t15",htmlType:"submit",loading:y,disabled:y,onClick:H,children:"Update"})})]})})},G=n(55675),Y=n(62921),J=n(53825),X=function(e){var t=e.is_open,n=e.setIsOpen,b=e.setSelections,E=e.enableSelection,M=void 0!==E&&E,L=(e.defaultSelection,S(n)),N=L.subject_index,O=L.new_question_modal,A=L.onCloseNewQuestionAddModal,j=L.opneNewQuestionModal,Z=L.setIsQuestionExpanded,P=L.addNewQuestion,R=L.isQuestionExpanded,I=L.loadingQuestion,D=L.questions,z=L.featchQuestions,H=L.editSubjectDrawer,B=L.updateSubject,F=(L.openEditModal,L.deleteSubject),V=L.subjectLists,U=L.setSubjectLists,$=L.storeSubject,W=L.loading,X=L.name,Q=L.setSubjectName,ee=L.questionDrawer,te=L.onCloseQuestionDrawer,ne=L.onClose,re=L.subjectDrawer,oe=L.setSubjectDrawer,ie=L.onSubjectDrawerClose,ae=L.onMultipleQuestionsDelete,se=L.deleteBtnLoading,le=L.setEditSubjectDrawer,ce=L.onSubjectEdit,ue=L.setQuestions,de=L.handleQuestionClone,fe=L.selectedQuestions,pe=L.setSelectedQuestions,he=(0,c.useState)(null),me=he[0],ge=he[1],ve={SINGLE:"Single Choice",MULTIPLE:"Multiple Choice",TRUE_FALSE:"True/False",FILL_BLANKS:"Fill in the Blanks",ADVANCED_FILL_BLANKS:"Fill in the Blanks",TEXT:"Free Text",MATCHING:"Matching"},ye=((0,T.useRouter)(),(0,_.$G)().t),be=(0,i.Z)(u.Z.useForm(),1)[0],we=(0,c.useState)(null),Ce=we[0],xe=we[1],ke=(0,c.useState)(!1),_e=ke[0],Se=ke[1],Ee=(0,c.useState)(!1),Me=Ee[0],Le=Ee[1],Ne=function(){var e=(0,r.Z)((function(e){var t,n,r;return(0,s.__generator)(this,(function(o){switch(o.label){case 0:return Se(!0),t={original_subject_id:Ce.id,new_subject_name:e.new_subject_name},[4,(0,x.Z)("/teacher/question-subjects/clone-subjects","post",t)];case 1:return(n=o.sent())&&(Le(!1),xe(null),be.resetFields(),(r=(0,a.Z)(V)).unshift(n),U(r)),Se(!1),[2]}}))}));return function(t){return e.apply(this,arguments)}}();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w(),{children:(0,l.jsx)("title",{children:"Question Bank | Admin"})}),(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"_main_content",children:[(0,l.jsx)(d.Z,{open:Me,title:"Clone ".concat(null===Ce||void 0===Ce?void 0:Ce.name," subject to new subject"),onCancel:function(){Le(!1),xe(null)},okText:"Clone",onOk:function(){return be.submit()},confirmLoading:_e,children:(0,l.jsx)(u.Z,{form:be,onFinish:Ne,children:(0,l.jsx)(u.Z.Item,{name:"new_subject_name",rules:[{required:!0,message:"Please enter new subject name"}],children:(0,l.jsx)(f.Z,{placeholder:"Enter new subject name",className:"_inpt1"})})})}),(0,l.jsxs)(p.Z,{title:"Question bank",className:"_drwer1_modal",closable:!1,onClose:ne,open:t,children:[(0,l.jsxs)("div",{className:"_drwer1_qtnLst",children:[(0,l.jsxs)("div",{className:"_1popUp_upld_icon_box _dis_flex_all _mar_b20 _pad_t20",onClick:function(){oe(!0)},children:[(0,l.jsx)("span",{className:"_mar_r10",children:(0,l.jsx)(C.SC9,{})}),(0,l.jsx)("p",{className:"_1popUp_upld_icon_txt1 _dis_flex_all flex-column",children:"Create new subject"})]}),(0,l.jsx)("div",{className:"row",children:!W&&V&&V.map((function(e,t){return(0,l.jsx)("div",{className:"col-12 col-md-12 col-lg-6 col-xl-4",children:(0,l.jsx)("div",{className:"_drwer1_qtnLst_crd1 _h_100",children:(0,l.jsxs)("div",{className:"_drwer1_qtnLst_crd1_inr _position_relative _transition3 _b_radious3 d-flex _h_100",children:[(0,l.jsxs)("p",{onClick:function(){z(t)},className:"_drwer1_qtnLst_crd1_txt _mar_r6 _dis_flex align-items-center",children:[(0,l.jsx)("span",{className:"_drwer1_qtnLst_crd1_spn _dis_flex_all _bg_gray_100 _mar_r6 _pad_l4 _pad_r4 _font_size14 _fw_500",children:e.id}),(0,l.jsx)(C.PUC,{width:30,height:30})]}),(0,l.jsx)("p",{onClick:function(){z(t)},className:"_drwer1_qtnLst_crd1_txt _mar_r10 _flex_1 _pad_t4 _word_break_word",children:e.name}),W&&(0,l.jsx)("span",{className:"_drwer1_qtnLst_crd1_spn _mar_r5",children:(0,l.jsx)(h.Z,{tip:"Loading",size:"small",children:(0,l.jsx)("div",{className:"content"})})}),(0,l.jsxs)("div",{className:"_dis_flex align-items-center",children:[(0,l.jsx)("span",{onClick:function(){var t;(t=e).questions_count<1?(0,k.i)("Subject must have at least one question to clone"):(xe(t),Le(!0))},className:"_mar_r10",children:(0,l.jsx)(C.vUr,{width:18,height:18})}),(0,l.jsx)("span",{className:"_drwer1_qtnLst_crd1_edit _mar_r10",onClick:function(e){return ce(e,t)},children:(0,l.jsx)(C.yl5,{width:15,height:15})}),(0,l.jsx)("span",{className:"_add_qtn_dlt",onClick:function(){F(t)},children:(0,l.jsx)(C.Fzz,{})})]})]})})},t)}))})]}),(0,l.jsx)(p.Z,{title:"Add new subject",closable:!1,onClose:ie,open:re,className:"_drwer2_modal",children:(0,l.jsxs)("div",{className:"_drwer1_qtnLst_new_sbjct",style:{maxWidth:"350px"},children:[(0,l.jsx)("input",{onChange:function(e){Q(e.target.value)},type:"text",placeholder:"Subject name",className:"_inpt1"}),(0,l.jsx)(m.Z,{onClick:function(){$()},className:"_btn1 _mar_t15",disabled:W,children:"Add"})]})}),null!=H&&(0,l.jsx)(p.Z,{title:"Update subject",closable:!1,onClose:function(){return le(null)},open:null!=H,className:"_drwer2_modal",children:(0,l.jsxs)("div",{className:"_drwer1_qtnLst_new_sbjct",style:{maxWidth:"350px"},children:[(0,l.jsx)("input",{value:X,onChange:function(e){Q(e.target.value)},type:"text",placeholder:"Subject name",className:"_inpt1"}),(0,l.jsx)(m.Z,{onClick:function(){B()},className:"_btn1 _mar_t15",disabled:W,children:"Update"})]})}),!!ee&&(0,l.jsx)(p.Z,{title:(0,l.jsxs)("div",{className:"_dis_flex justify-content-between align-items-center",children:[(0,l.jsxs)("div",{className:"_dis_flex align-items-center",children:[(0,l.jsx)("span",{className:"_mar_r7",children:(0,l.jsx)(C.PUC,{width:30,height:30})}),(0,l.jsx)("p",{className:"ant-drawer-title",children:V[N].name})]}),(0,l.jsx)(m.Z,{className:"_btn2",onClick:function(){j(N)},children:"Add new question +"})]}),closable:!1,onClose:te,open:ee,className:"_drwer3_modal",destroyOnClose:!0,footer:(0,l.jsxs)("div",{className:"d-flex",children:[(0,l.jsx)(m.Z,{className:"_btn2 _mar_r10",onClick:te,children:ye("Cancel")}),M?(0,l.jsxs)(m.Z,{className:"_btn1",disabled:!fe.length,onClick:function(){b&&(b(fe),n(!1))},type:"primary",children:["Select"," ",!!(fe.length>0)&&(0,l.jsxs)(l.Fragment,{children:["(",fe.length,")"]})]}):(0,l.jsxs)(m.Z,{className:"_btn1 _quzQtn_dlt_btn",loading:se,disabled:se||!fe.length,onClick:function(){return ae(V[N].id,fe)},children:[ye("Delete")," ",!!(fe.length>0)&&(0,l.jsxs)(l.Fragment,{children:["(",fe.length,")"]})]})]}),children:(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)("div",{className:"_drwer1_qtnLst_all",children:[(0,l.jsx)(p.Z,{title:"Add New Quest",closable:!1,onClose:A,open:O,className:"_drwer2_modal",destroyOnClose:!0,children:(0,l.jsx)(q,{subjectId:V[N].id,closeDrawer:A,onCreate:P})}),me&&(0,l.jsx)(p.Z,{title:"Update Question",closable:!1,onClose:function(){return ge(null)},open:me,className:"_drwer2_modal",children:(0,l.jsx)(K,{onUpdate:function(e){ue((function(t){return t.map((function(t){return t.id==me.id?e:t}))})),ge(null)},question:me})}),(0,l.jsxs)("div",{className:"row",children:[!I&&(0,l.jsx)(g.Z.Group,{style:{width:"100%"},value:fe,onChange:pe,children:D.map((function(e,t){var n,r;return(0,l.jsx)("div",{className:"col-12 col-lg-12 col-md-12 col-xl-12",children:(0,l.jsx)("div",{className:"_drwer1_qtnLst_itm _mar_b20",children:(0,l.jsxs)("div",{className:"_drwer1_qtnLst_itm_inr _box1 _pad_16 _flex_1 _position_relative",children:[(0,l.jsx)("div",{className:"_drwer1_qtnLst_itm_inr_top",children:(0,l.jsxs)("ul",{className:"_drwer1_qtnLst_sub _dis_flex align-items-center _mar_b10 _overflow_auto",children:[(0,l.jsx)("li",{className:"_mar_r10",children:(0,l.jsx)("p",{className:"_qzSub_titl _box1",children:ve[e.quiz_type]})}),(0,l.jsx)("li",{className:"_mar_r10",children:(0,l.jsxs)("p",{className:"_qzPoint_titl _box1",children:[ye("Points"),":"," ",(0,l.jsx)("strong",{children:e.mark})]})})]})}),(0,l.jsxs)("div",{className:"_drwer1_qtnLst_itm_top d-flex justify-content-between _cursor_pointer",children:[(0,l.jsx)("div",{className:"_drwer1_qtnLst_itm_top_lft _flex_1",children:(0,l.jsx)("div",{className:"_drwer1_qtnBnk_edit",children:(0,l.jsxs)(g.Z,{value:e.id,children:["ADVANCED_FILL_BLANKS"===e.quiz_type&&(0,l.jsx)(Y.Z,{data:e.title,is_teacher:!0}),"MATCHING"===e.quiz_type&&(0,l.jsx)(J.Z,{data:e.title}),"MATCHING"!==e.quiz_type&&"ADVANCED_FILL_BLANKS"!==e.quiz_type&&((null===e||void 0===e?void 0:e.title.startsWith("<p>"))?(0,l.jsx)(G.Z,{initialHtml:null===e||void 0===e?void 0:e.title}):(0,l.jsx)(y.Z,{data:e.title}))]},e.id)})}),(0,l.jsx)("div",{className:"_drwer1_qtnLst_itm_top_r8",children:(0,l.jsxs)("ul",{className:"_drwer1_qtnLst_itm_top_r8_ul_icon d-flex align-items-center",children:[(0,l.jsx)("li",{className:"_drwer1_qtnLst_itm_top_r8_icon_li",onClick:function(){return de(e)},children:(0,l.jsx)("span",{className:"_drwer1_qtnLst_itm_edit _w_30 _h_30 _dis_flex_all _b_radious100",children:(0,l.jsx)(C.oxT,{width:18,height:18})})}),(0,l.jsx)("li",{className:"_drwer1_qtnLst_itm_top_r8_icon_li",onClick:function(){return function(e){var t=(0,o.Z)({},e);ge(t)}(e)},children:(0,l.jsx)("span",{className:"_drwer1_qtnLst_itm_edit _w_30 _h_30 _dis_flex_all _b_radious100",children:(0,l.jsx)(C.yl5,{width:14,height:14})})}),(0,l.jsx)("li",{onClick:function(){Z(R==t?-1:t)},className:"_drwer1_qtnLst_itm_top_r8_icon_li",children:(0,l.jsx)("span",{className:"_dis_flex_all _quz_itm_opn",children:R==t?(0,l.jsx)(C.HuT,{}):(0,l.jsx)(C.siy,{})})})]})})]}),R==t&&(0,l.jsxs)("div",{children:[["SINGLE","MULTIPLE","FILL_BLANKS","ADVANCED_FILL_BLANKS"].includes(e.quiz_type)&&(0,l.jsxs)("div",{className:"_drwer1_qtnDtls _pad_t10",children:[(0,l.jsx)("h4",{className:"_drwer1_qtnDtls_titl1 _titl4 _mar_b10",children:"FILL_BLANKS"==e.quiz_type||"ADVANCED_FILL_BLANKS"==e.quiz_type?"Answers":"Options"}),"ADVANCED_FILL_BLANKS"===e.quiz_type&&(0,l.jsx)("div",{className:"_add_qzOptn _mar_t10",children:(0,l.jsx)("p",{className:"_titl4",dangerouslySetInnerHTML:{__html:(r=JSON.parse(e.title),r.map((function(e){if("sentence"===e.type)return"<span>".concat(e.input," </span>");if("blank"===e.type){var t="".concat(e.correctAnswers.join("/"));return'<span style="color: #3cb733">'.concat(t," </span>")}if("dropdown"===e.type){var n="".concat(e.correctAnswers);return'<span style="color: #3cb733">'.concat(n," </span>")}return""})).join(""))}})}),"ADVANCED_FILL_BLANKS"!==e.quiz_type&&(0,l.jsx)("ul",{className:"_drwer1_qtnDtls_optn_ul _mar_t15",children:null===(n=e.options)||void 0===n?void 0:n.map((function(e,t){return(0,l.jsx)("li",{className:"_drwer1_qtnDtls_optn_li _mar_b10 ".concat((null===e||void 0===e?void 0:e.is_right)?"_right_option":""),children:(0,l.jsxs)("div",{className:"_drwer1_qtnDtls_optn d-flex align-items-center",children:[(0,l.jsx)("div",{className:"_drwer1_qtnDtls_optn_num",children:(0,l.jsx)("p",{className:"_drwer1_qtnDtls_optn_num_txt _dis_flex_all",children:String.fromCharCode(65+t)})}),(0,l.jsx)("div",{className:"_drwer1_qtnDtls_optn_dtls d-flex align-items-center justify-content-between _flex_1 _pad_l10 _pad_r10",children:(0,l.jsx)(G.Z,{initialHtml:e.title})})]})},e.id)}))})]}),"TRUE_FALSE"==e.quiz_type&&(0,l.jsxs)("div",{className:"_drwer1_qtnRight_radio _pad_t10",children:[(0,l.jsx)(v.ZP.Button,{value:!0,checked:!!e.is_true,children:"True"}),(0,l.jsx)(v.ZP.Button,{value:!1,checked:!e.is_true,children:"False"})]}),!!e.explanation&&(0,l.jsxs)("div",{className:"_drwer1_qtnDtls _pad_t10",children:[(0,l.jsx)("h4",{className:"_drwer1_qtnDtls_titl1 _titl4 _mar_b10",children:"Explanation"}),(0,l.jsx)("p",{className:"ProseMirror tiptap-html"})]})]})]})})},t)}))}),I&&(0,l.jsx)(h.Z,{tip:"Loading",size:"small",children:(0,l.jsx)("div",{className:"content"})})]})]})})})]})]})})]})}},75790:function(e,t,n){"use strict";n.d(t,{C5:function(){return K},CD:function(){return J},Db:function(){return L},Dv:function(){return z},EL:function(){return A},Eu:function(){return H},Hn:function(){return X},IS:function(){return q},MX:function(){return F},Mf:function(){return Y},N$:function(){return k},T6:function(){return $},Wu:function(){return O},X2:function(){return M},aA:function(){return I},eM:function(){return B},fe:function(){return V},gH:function(){return U},hZ:function(){return E},iG:function(){return j},ix:function(){return x},lv:function(){return R},ly:function(){return W},n8:function(){return C},nc:function(){return g},nu:function(){return v},p9:function(){return _},q_:function(){return Z},rf:function(){return N},sI:function(){return D},sr:function(){return m},xd:function(){return S},y3:function(){return G},zI:function(){return T},zb:function(){return P}});var r=n(57135),o=n(57389),i=n(72006),a=n(4405),s=n(9970),l=n(56871),c=n(768),u=n(18846),d=n(84796),f=n(15154),p=n.n(f),h={richEditor:"",status:"idle",chapterStatus:"idle",info:{bundle_courses:[]},chapters:[],lessons:{},childLessons:[],isChildUpdate:!1,currentTab:"",currentChapter:"",currentPricing:"",currentLesson:"",avtive_setting_tab:1,lessonType:"",isMultipleLesson:null,lessonParentId:null,subSetting:"",lesson_meta:{info:{},progress:{encodeProgress:-1,title:"",status:0},loaded:!1},currentCoursePricing:null,question_len:0,question_option_len:0,allquestions:[],active_index:-1,active_option:-1,setting_type:"basic",negative_marking_show:!1,formList:[],prices:[]},m=(0,c.hg)("course/loadCourse",function(){var e=(0,r.Z)((function(e){var t;return(0,l.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,d.Z)("/teacher/course/getSingleCourse/".concat(e))];case 1:return 0==(null===(t=n.sent())||void 0===t?void 0:t.access)&&p().push("/404"),[2,t]}}))}));return function(t){return e.apply(this,arguments)}}()),g=(0,c.hg)("course/loadChapters",function(){var e=(0,r.Z)((function(e){return(0,l.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,d.Z)("/teacher/chapter/getChaptersByCourseId/".concat(e))];case 1:return[2,t.sent()]}}))}));return function(t){return e.apply(this,arguments)}}()),v=(0,c.hg)("course/loadLessons",function(){var e=(0,r.Z)((function(e){var t;return(0,l.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,d.Z)("/teacher/lesson/getLessonByChapterId/".concat(e))];case 1:return t=n.sent(),[2,{chapterID:e,lessons:t}]}}))}));return function(t){return e.apply(this,arguments)}}()),y=(0,c.hg)("course/loadCoursePricing",function(){var e=(0,r.Z)((function(e){return(0,l.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,d.Z)("/teacher/product-prices/get-price?course_id=".concat(e,"&status=ACTIVE"))];case 1:return[2,t.sent()]}}))}));return function(t){return e.apply(this,arguments)}}()),b=(0,c.oM)({name:"course",initialState:h,reducers:{resetCourseStates:function(){return h},updateLessonQuestions:function(e,t){var n=t.payload;e.lesson_meta.info.questions=n},updateChapterStatus:function(e,t){var n=t.payload;e.chapterStatus=n},updateCourseInfo:function(e,t){e.info=(0,i.Z)({},e.info,t.payload)},updateQuizSettingTab:function(e,t){e.avtive_setting_tab=t.payload},updateQuestionsLen:function(e,t){e.question_len=t.payload},updateQuestionsOptionLen:function(e,t){e.question_option_len=t.payload},setAllQuestions:function(e,t){e.allquestions=t.payload},setIsMultipleLesson:function(e,t){e.isMultipleLesson=t.payload},setIsChildUpdate:function(e,t){e.isChildUpdate=t.payload},setMultipleLessonParentId:function(e,t){e.lessonParentId=t.payload},addToLesson:function(e,t){var n=(0,s.Z)(e.lessons[e.currentChapter].data).concat([t.payload]),r=e.currentChapter;return(0,a.Z)((0,i.Z)({},e),{lessons:(0,a.Z)((0,i.Z)({},e.lessons),(0,o.Z)({},r,(0,a.Z)((0,i.Z)({},e.lessons[r]),{data:n})))})},addToChildLesson:function(e,t){e.childLessons=t.payload},setActiveIndex:function(e,t){e.active_index=t.payload},setActiveOptioinIndex:function(e,t){e.active_option=t.payload},updateSettingsType:function(e,t){e.setting_type=t.payload},addCourseToBundle:function(e,t){var n=t.payload;e.info.bundle_courses.push(n)},removeFromBundleList:function(e,t){var n=t.payload,r=e.info.bundle_courses.findIndex((function(e){return e.id==n.id}));r>-1&&e.info.bundle_courses.splice(r,1)},sortChapters:function(e,t){e.chapters=t.payload},sortLessons:function(e,t){var n=t.payload,r=n.chapterID,o=n.lessons;e.lessons[r].data=o},sortChildLessons:function(e,t){e.childLessons=t.payload},toggleChapterMenu:function(e,t){e.lessons[t.payload].open=!e.lessons[t.payload].open},changeCourseTab:function(e,t){e.currentTab=t.payload},changeCurrentChapter:function(e,t){var n;e.currentChapter=t.payload,!1===(null===(n=e.lessons[t.payload])||void 0===n?void 0:n.open)&&(e.lessons[t.payload].open=!0)},changeCurrentPricing:function(e,t){e.currentPricing=t.payload},changeCurrentLesson:function(e,t){e.currentLesson=t.payload},setRichTextEditorString:function(e,t){e.richEditor=t.payload},createChapter:function(e,t){e.chapters.push(t.payload),e.lessons[t.payload.id]={open:!0,data:[]}},updateChapter:function(e,t){var n=t.payload,r=n.id,o=n.data,a=e.chapters.findIndex((function(e){return e.id==r})),s=(0,u.Vk)(e.chapters[a]);e.chapters[a]=(0,i.Z)({},s,o)},deleteChapter:function(e,t){var n=e.chapters.findIndex((function(e){return e.id==t.payload}));n>-1&&e.chapters.splice(n,1)},setLessonType:function(e,t){e.lessonType=t.payload},updateQuizNegativeMrkingShow:function(e,t){e.negative_marking_show=t.payload},createLesson:function(e,t){var n=t.payload,r=n.chapterID,o=n.data;e.lessons[r].data.push(o)},updateLesson:function(e,t){var n=t.payload,r=n.chapterID,o=n.lessonID,a=n.data;if(e.isChildUpdate){var s=e.childLessons.findIndex((function(e){return e.id==o})),l=(0,u.Vk)(e.childLessons[s]);e.childLessons[s]=(0,i.Z)({},l,a)}else{var c=e.lessons[r].data.findIndex((function(e){return e.id==o})),d=(0,u.Vk)(e.lessons[r].data[c]);e.lessons[r].data[c]=(0,i.Z)({},d,a)}},deleteLesson:function(e,t){var n=t.payload,r=n.chapterID,o=n.lessonID;if(n.isMultiple){var i=e.childLessons.findIndex((function(e){return e.id==o}));i>-1&&e.childLessons.splice(i,1)}else{var a=e.lessons[r].data.findIndex((function(e){return e.id==o}));a>-1&&e.lessons[r].data.splice(a,1)}},setLessonMetaInfo:function(e,t){e.lesson_meta.info=t.payload},setLessonMetaProgress:function(e,t){e.lesson_meta.progress=t.payload},setLessonMetaLoading:function(e,t){e.lesson_meta.loaded=t.payload},resetLessonMeta:function(e){e.lesson_meta=h.lesson_meta},updateCurrentCoursePricing:function(e,t){e.currentCoursePricing=(0,i.Z)({},t.payload)},resetChatpters:function(e,t){e.chapterStatus="loaded",e.chapters=t.payload,t.payload.forEach((function(t){e.lessons[t.id]={open:!1}}))},setFormList:function(e,t){e.formList=t.payload},setCoursePrices:function(e,t){e.prices=t.payload},deleteCoursePrice:function(e,t){var n=e.prices.findIndex((function(e){return e.id==t.payload}));n>-1&&e.prices.splice(n,1)},insertCoursePrice:function(e,t){var n=t.payload;e.prices.push(n)},updateCoursePrice:function(e,t){var n=t.payload,r=e.prices.findIndex((function(e){return e.id==n.id}));r>-1&&(e.prices[r]=(0,i.Z)({},e.prices[r],n.data))}},extraReducers:function(e){e.addCase(m.pending,(function(e){e.status="loading"})).addCase(m.fulfilled,(function(e,t){e.status="loaded",e.info=t.payload})).addCase(g.pending,(function(e){e.chapterStatus="loading"})).addCase(g.fulfilled,(function(e,t){var n;e.chapterStatus="loaded",e.chapters=t.payload,null===(n=t.payload)||void 0===n||n.forEach((function(t){e.lessons[t.id]={open:!1}}))})).addCase(g.rejected,(function(e){e.chapterStatus="failed",p().push("/404")})).addCase(v.fulfilled,(function(e,t){e.lessons[t.payload.chapterID].data=t.payload.lessons})).addCase(v.rejected,(function(e){e.status="failed"})).addCase(y.pending,(function(e){e.status="loading"})).addCase(y.fulfilled,(function(e,t){e.status="loaded",e.currentCoursePricing=t.payload}))}}),w=b.actions,C=w.resetCourseStates,x=(w.addToLesson,w.updateCourseInfo),k=w.addToChildLesson,_=w.setIsChildUpdate,S=w.changeCourseTab,E=w.changeCurrentChapter,M=w.changeCurrentPricing,L=w.changeCurrentLesson,N=w.addCourseToBundle,O=w.removeFromBundleList,A=w.toggleChapterMenu,j=w.sortLessons,T=w.sortChildLessons,Z=w.setIsMultipleLesson,P=w.setMultipleLessonParentId,R=w.setLessonType,I=w.createLesson,D=w.updateLesson,z=w.deleteLesson,H=w.setLessonMetaInfo,B=(w.setLessonMetaProgress,w.setLessonMetaLoading),F=w.resetLessonMeta,V=w.sortChapters,q=w.updateChapter,U=w.createChapter,$=w.deleteChapter,W=(w.updateCurrentCoursePricing,w.setRichTextEditorString),K=(w.updateQuestionsLen,w.updateQuestionsOptionLen,w.setAllQuestions,w.setActiveIndex,w.setActiveOptioinIndex,w.updateQuizSettingTab,w.updateSettingsType),G=w.updateChapterStatus,Y=(w.resetChatpters,w.updateLessonQuestions),J=w.updateQuizNegativeMrkingShow,X=w.setFormList;w.setCoursePrices,w.insertCoursePrice,w.deleteCoursePrice,w.updateCoursePrice;t.ZP=b.reducer},36723:function(e,t,n){"use strict";n.d(t,{BS:function(){return s},DD:function(){return d},EL:function(){return c},IX:function(){return g},J:function(){return m},XQ:function(){return p},ZR:function(){return u},aJ:function(){return f},j2:function(){return l},rY:function(){return h},sO:function(){return v}});var r=n(72006),o=n(4405),i=(0,n(768).oM)({name:"teacherCourseWatch",initialState:{enrollment:{},course:{},author:{},chapters:[],prerequisite_lesson:{},lessons:{},currentLesson:{},popup:{visible:!1,status:null,message:null},quiz:{current_question:null,active_index:-1,all_results:[],all_submission:[],isSubmitable:!1,timer:null,timeLeft:0,status:"INITIAL",endTime:0,currentSubmission:null}},reducers:{loadCourseWatchInitialData:function(e,t){var n=t.payload,r=n.course,o=n.author,i=n.chapters;e.course=r,e.author=o,e.chapters=i,e.chapters.forEach((function(t){var n=t.id,r=t.lessons;e.lessons[n]={data:r,open:!1}}))},setCurrentLesson:function(e,t){var n,i=t.payload;e.currentLesson=i,e.chapters.forEach((function(t){e.lessons[t.id].open=!1})),(null===(n=e.lessons[i.chapter_id])||void 0===n?void 0:n.open)||(e.lessons[i.chapter_id]=(0,o.Z)((0,r.Z)({},e.lessons[i.chapter_id]),{open:!0})),i.isQueryParam||history.pushState({},"",i.isSeller?"/seller/courses/".concat(i.course_id||0,"/watch/").concat(i.id||0):"/dashboard/courses/".concat(i.course_id||0,"/watch/").concat(i.id||0))},toggleChapterMenu:function(e,t){var n=t.payload.chapterID;e.lessons[n].open=!e.lessons[n].open},setCurrentSubmission:function(e,t){var n=t.payload;e.quiz.currentSubmission=n},setTimer:function(e,t){var n=t.payload;e.quiz.timer&&(clearInterval(e.quiz.timer),e.quiz.timer=null),e.quiz.timer=n},quizCountdown:function(e){var t=Date.now(),n=Math.round((e.quiz.endTime-t)/1e3);e.quiz.timeLeft=n},setEndTime:function(e,t){var n=t.payload;e.quiz.endTime=n;var r=Date.now(),o=Math.round((e.quiz.endTime-r)/1e3);e.quiz.timeLeft=o},changeQuizStatus:function(e,t){var n=t.payload;e.quiz.status=n},stopTimer:function(e){e.quiz.timer&&(clearInterval(e.quiz.timer),e.quiz.timer=null)},setCurrentQuestion:function(e,t){e.quiz.current_question=t.payload},updateCetificateStatus:function(e,t){if(e.course.certificate_id&&e.chapters.length){var n=e.chapters.length-1;if(e.chapters[n].lessons&&e.chapters[n].lessons.length){var r=e.chapters[n].lessons.length-1;e.chapters[n].lessons[r].is_locked=t.payload}}},setActiveIndex:function(e,t){e.quiz.active_index=t.payload},setSubmitable:function(e,t){e.quiz.isSubmitable=t.payload},setAllResults:function(e,t){e.quiz.all_results=t.payload},setAllSubmissions:function(e,t){e.quiz.all_submission=t.payload},updateQuestionsSelect:function(e,t){e.quiz.current_question.options[t.payload.index].is_selected||(e.quiz.current_question.options[t.payload.index].is_selected=!1);var n=e.quiz.current_question.options[t.payload.index].is_selected;if("SINGLE"==t.payload.type){var r=!0,o=!1,i=void 0;try{for(var a,s=e.quiz.current_question.options[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){a.value.is_selected=!1}}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}}e.quiz.current_question.options[t.payload.index].is_selected=!n},updateLessonProgressV2:function(e,t){var n=t.payload,r=n.chapterID,o=n.lessonID,i=n.isCompleted,a=e.lessons[r].data.findIndex((function(e){return e.id==o}));if(a>-1){e.lessons[r].data[a].is_completed=i;var s=e.chapters.findIndex((function(e){return e.id==r}));i?(e.course.completed_lessons++,e.chapters[s].completed_lessons++):(e.course.completed_lessons--,e.chapters[s].completed_lessons--),e.currentLesson.id==o&&(e.currentLesson.is_completed=i),e.course.progress_percentage=e.course.completed_lessons/e.course.total_lessons*100,e.chapters[s].progress_percentage=e.chapters[s].completed_lessons/e.chapters[s].total_lessons*100}},updatePopup:function(e,t){var n=t.payload;e.popup=n}}}),a=i.actions,s=a.setCurrentLesson,l=a.updateLessonProgressV2,c=a.toggleChapterMenu,u=(a.changeQuizStatus,a.setCurrentQuestion),d=(a.setEndTime,a.updateQuestionsSelect,a.setAllResults),f=a.setAllSubmissions,p=(a.setActiveIndex,a.quizCountdown),h=(a.stopTimer,a.setTimer),m=(a.setSubmitable,a.updatePopup),g=(a.setCurrentSubmission,a.loadCourseWatchInitialData),v=a.updateCetificateStatus,y=i.reducer;t.ZP=y},63773:function(e,t,n){"use strict";n.d(t,{AY:function(){return c},K5:function(){return u},kf:function(){return l},yM:function(){return s}});var r=n(768),o={notifications:[],notification_count:0,chat_count:0},i=(0,r.oM)({name:"Notifications",initialState:o,reducers:{resetNotificationStates:function(){return o},reloadNotifications:function(e,t){e.notifications=t.payload},increaseNotificationCounter:function(e){e.notification_count++},increaseChatNotificationCounter:function(e){e.chat_count++},setNotificationCount:function(e,t){e.notification_count=t.payload},setChatNotificationCount:function(e,t){e.chat_count=t.payload},updateNotifiactions:function(e,t){t.payload}}}),a=i.actions,s=a.increaseChatNotificationCounter,l=a.setChatNotificationCount,c=(a.reloadNotifications,a.setNotificationCount),u=a.increaseNotificationCounter,d=i.reducer;t.ZP=d},54420:function(e,t,n){"use strict";n.d(t,{DN:function(){return d},G_:function(){return l},W9:function(){return u},mg:function(){return c},wd:function(){return s}});var r=n(72006),o={id:-1,school_id:-1,siteMenuVisibility:!1,settings_data:{title:"initial in storw Courseporioum",address:"akhter shopping city, modinamarket",support_email:"supportt@courseporium.com",reply_email:"replyyoyoy@courseporium.com",site_url:"teacher",favicon:"https://letcheck.b-cdn.net/ezycourseAssets/ezycourse_logo.svg",logo:"https://letcheck.b-cdn.net/ezycourseAssets/ezycourse_logo.svg",featured_logo:"https://letcheck.b-cdn.net/ezycourseAssets/ezycourse_logo.svg",site_mood:"LIVE",complete_and_continue_text:"Thank you",dashboard_text:"Welcome to courseporium",is_subscribed:!0,welcome_email_notification:!0,enrollment_expire_date_reminder_email:!0,weekly_progress_report_email:!0,order_receipt_email:!0,all_message_email:!0,send_comment_and_reply_email:!0,post_comment_and_reply_email:!0,lesson_comment_and_reply_email:!0,single_course_enrollment_email:!0,bundle_course_enrollment_email:!0,course_completion_email:!0,chapter_completion_email:!0,site_membership_email:!0,subscription_ending_reminder_email:!0,payment_failed_retry_email:!0,enrollment_expired_reminder_email:!0,new_signup_email:!0,new_enrollment_email:!0,subscription_cancelled_email:!0,payment_failed_email:!0,renew_subscription_email:!0,new_lead_signups_email:!0,new_post_creation_email:!0,new_message_from_new_student:!0,new_review_email:!0,assignment_and_quiz_submission_email:!0},color:{primary_color:"#9599cb",secondary_color:"#d11f1f",text_color:"#a3ab36",button_color:"#ab5336",button_hover_color:"#ab3680",link_color:"#3693ab",link_hover_color:"#36ab68"},currency:"USD",stripe_public_key:null,stripe_secret_key:null,paypal_public_key:null,paypal_secret_key:null,stripe_status:!1,paypal_status:!1,created_at:void 0,updated_at:void 0,current_plan:null,sidebar_hidden_list:null,addons:[]},i=(0,n(768).oM)({name:"settings",initialState:o,reducers:{setSchoolSettingsData:function(e,t){return t.payload},setCurrentPlan:function(e,t){var n=t.payload;e.current_plan=n},setSidebarHiddenList:function(e,t){var n=t.payload;e.sidebar_hidden_list=n},updateMobileMenuVisibility:function(e,t){var n=t.payload;e.siteMenuVisibility=n},setPaymentGatewaySettings:function(e,t){var n=t.payload;return(0,r.Z)({},e,n)},setSettingsData:function(e,t){var n=(0,r.Z)({},e.settings_data);return Object.assign(n,t.payload),e.settings_data=n,e},setSingleNotification:function(e,t){var n=(0,r.Z)({},e.settings_data),o=t.payload.current_switch;return"welcome_email_notification"==o&&(n.welcome_email_notification=t.payload.checked),"enrollment_expire_date_reminder_email"==o&&(n.enrollment_expire_date_reminder_email=t.payload.checked),"weekly_progress_report_email"==o&&(n.weekly_progress_report_email=t.payload.checked),"order_receipt_email"==o&&(n.order_receipt_email=t.payload.checked),"all_message_email"==o&&(n.all_message_email=t.payload.checked),"send_comment_and_reply_email"==o&&(n.send_comment_and_reply_email=t.payload.checked),"post_comment_and_reply_email"==o&&(n.post_comment_and_reply_email=t.payload.checked),"lesson_comment_and_reply_email"==o&&(n.lesson_comment_and_reply_email=t.payload.checked),"single_course_enrollment_email"==o&&(n.single_course_enrollment_email=t.payload.checked),"bundle_course_enrollment_email"==o&&(n.bundle_course_enrollment_email=t.payload.checked),"course_completion_email"==o&&(n.course_completion_email=t.payload.checked),"chapter_completion_email"==o&&(n.chapter_completion_email=t.payload.checked),"site_membership_email"==o&&(n.site_membership_email=t.payload.checked),"subscription_ending_reminder_email"==o&&(n.subscription_ending_reminder_email=t.payload.checked),"payment_failed_retry_email"==o&&(n.payment_failed_retry_email=t.payload.checked),"enrollment_expired_reminder_email"==o&&(n.enrollment_expired_reminder_email=t.payload.checked),"new_signup_email"==o&&(n.new_signup_email=t.payload.checked),"new_enrollment_email"==o&&(n.new_enrollment_email=t.payload.checked),"subscription_cancelled_email"==o&&(n.subscription_cancelled_email=t.payload.checked),"payment_failed_email"==o&&(n.payment_failed_email=t.payload.checked),"renew_subscription_email"==o&&(n.renew_subscription_email=t.payload.checked),"new_lead_signups_email"==o&&(n.new_lead_signups_email=t.payload.checked),"new_post_creation_email"==o&&(n.new_post_creation_email=t.payload.checked),"new_message_from_new_student"==o&&(n.new_message_from_new_student=t.payload.checked),"new_review_email"==o&&(n.new_review_email=t.payload.checked),"assignment_and_quiz_submission_email"==o&&(n.assignment_and_quiz_submission_email=t.payload.checked),e.settings_data=n,e},setAddonSettings:function(e,t){var n=t.payload,o=n.slug,i=n.settings,a=e.addons.findIndex((function(e){return e.slug===o}));if(-1!==a){var s=e.addons[a],l={};try{l=JSON.parse(s.setting)}catch(u){l={}}var c=(0,r.Z)({},l,i);s.setting=JSON.stringify(c),e.addons[a]=s}}}}),a=i.actions,s=a.setCurrentPlan,l=a.setSchoolSettingsData,c=a.setSingleNotification,u=(a.setPaymentGatewaySettings,a.setSettingsData,a.updateMobileMenuVisibility),d=(a.setSidebarHiddenList,a.setAddonSettings),f=i.reducer;t.ZP=f},42467:function(e,t,n){"use strict";n.d(t,{S0:function(){return f},Yp:function(){return h},aU:function(){return p}});var r=n(57135),o=n(72006),i=n(56871),a=n(84796),s=n(768),l={status:"idle",list:[]},c=(0,s.hg)("course/loadProductCoupons",(0,r.Z)((function(){return(0,i.__generator)(this,(function(e){return[2,(0,a.Z)("/teacher/product-coupons/get-coupons-list")]}))}))),u=(0,s.oM)({name:"productCoupon",initialState:l,reducers:{resetProductCouponStates:function(){return l},reloadProductCoupons:function(e,t){e.list=t.payload},updateProductCoupon:function(e,t){var n=t.payload,r=e.list.data.findIndex((function(e){return e.id===n.coupon_id}));r>-1&&(e.list.data[r]=(0,o.Z)({},e.list.data[r],n))},deleteProductCoupon:function(e,t){var n=e.list.data.findIndex((function(e){return e.id===t.payload}));n>-1&&e.list.data.splice(n,1)}},extraReducers:function(e){e.addCase(c.pending,(function(e){e.status="loading"})).addCase(c.fulfilled,(function(e,t){e.status="loaded",e.list=t.payload}))}}),d=u.actions,f=(d.resetProductCouponStates,d.reloadProductCoupons),p=d.updateProductCoupon,h=d.deleteProductCoupon,m=u.reducer;t.ZP=m},5326:function(e,t,n){"use strict";n.d(t,{RO:function(){return d},WN:function(){return u},mn:function(){return a},qA:function(){return s},rI:function(){return l},vn:function(){return c}});var r=n(72006),o=(0,n(768).oM)({name:"productPricing",initialState:{product:null,prices:[],paymentGatewayStatus:null},reducers:{setProductPrices:function(e,t){var n=t.payload;e.prices=n},deleteProductPrice:function(e,t){var n=t.payload,r=e.prices.findIndex((function(e){return e.id==n}));r>-1&&e.prices.splice(r,1)},insertProductPrice:function(e,t){var n=t.payload;e.prices.push(n)},updateProductPrice:function(e,t){var n=t.payload,o=e.prices.findIndex((function(e){return e.id==n.id}));o>-1&&(e.prices[o]=(0,r.Z)({},e.prices[o],n.data))},setPaymentGatewayStatus:function(e,t){var n=t.payload;e.paymentGatewayStatus=n},setProductIdAndType:function(e,t){var n=t.payload;e.product={id:n.productId,type:n.productType}}}}),i=o.actions,a=i.setProductPrices,s=i.insertProductPrice,l=i.deleteProductPrice,c=i.updateProductPrice,u=i.setProductIdAndType,d=i.setPaymentGatewayStatus;t.ZP=o.reducer},58199:function(e,t,n){"use strict";n.d(t,{YT:function(){return v},ap:function(){return m},g:function(){return g},hE:function(){return f},vH:function(){return u}});var r=n(57135),o=n(72006),i=n(56871),a=n(768),s=n(84796),l=n(36947),c={status:"idle",subSetting:"",currentTab:"payment",paymentGateways:null,siteSettings:{},language:{list:[],current:null},cookies:"abcdefg"},u=(0,a.hg)("setting/languageList",(0,r.Z)((function(){return(0,i.__generator)(this,(function(e){return[2,(0,s.Z)("/teacher/setting/get-language-list","get")]}))}))),d=(0,a.hg)("setting/paymentGateways",(0,r.Z)((function(){return(0,i.__generator)(this,(function(e){switch(e.label){case 0:return[4,(0,s.Z)("/teacher/payment-gateways/get-gateways-list","get")];case 1:return[2,e.sent()]}}))}))),f=(0,a.hg)("setting/availableIsoCurrencyCodes",(0,r.Z)((function(){return(0,i.__generator)(this,(function(e){switch(e.label){case 0:return[4,(0,s.Z)("/teacher/payment-gateways/get-available-iso-currency-codes","get")];case 1:return[2,e.sent()]}}))}))),p=(0,a.oM)({name:"setting",initialState:c,reducers:{resetSettingStates:function(){return c},changeSettingTab:function(e,t){e.currentTab=t.payload},loadSiteSetting:function(e,t){var n=t.payload;e.siteSettings=n},updateSiteSetting:function(e,t){var n=t.payload,r=n.key,o=n.value;e.siteSettings[r]=o},updateOrCreatPaymentGateway:function(e,t){e.paymentGateways[0]=(0,o.Z)({},e.paymentGateways[0],t.payload)},setCurrentLanguage:function(e,t){e.language.current=t.payload,document&&(document.cookie="".concat(l.YS,"=").concat(window.btoa(JSON.stringify({message:t.payload})),"; max-age=31536000; path=/"))},setLanguageList:function(e,t){e.language.list=t.payload},loadCookies:function(e,t){e.cookies=t.payload}},extraReducers:function(e){e.addCase(d.pending,(function(e){e.status="loading"})).addCase(d.fulfilled,(function(e,t){e.status="loaded",e.paymentGateways=t.payload})).addCase(d.rejected,(function(e){e.status="failed"})).addCase(f.pending,(function(e){e.status="loading"})).addCase(f.fulfilled,(function(e,t){e.status="loaded",e.availableIsoCurrencyCodes=t.payload})).addCase(f.rejected,(function(e){e.status="failed"})).addCase(u.fulfilled,(function(e,t){e.language.list=t.payload}))}}),h=p.actions,m=(h.resetSettingStates,h.changeSettingTab,h.updateOrCreatPaymentGateway,h.loadSiteSetting,h.updateSiteSetting),g=h.setCurrentLanguage,v=h.setLanguageList,y=(h.loadCookies,p.reducer);t.ZP=y},72563:function(e,t,n){"use strict";var r=n(57135),o=n(59072),i=n(56871),a=n(11527),s=n(50959),l=n(21148),c=n(28685),u=n(78681),d=n(64379),f=n(89553),p=n(37786),h=n(84796),m=n(42760),g=n(85850),v=n(84715),y=n(5432),b=n(58199),w=n(39016);t.Z=function(){var e=(0,m.T)(),t=(0,s.useState)(!1),n=t[0],C=t[1],x=(0,s.useState)({}),k=x[0],_=x[1],S=(0,s.useState)("Please wait..."),E=S[0],M=S[1],L=(0,m.C)((function(e){return e.settingsData})),N=(0,o.Z)(l.Z.useForm(),1)[0],O=(0,m.C)((function(e){var t;return null===(t=e.settingsData)||void 0===t?void 0:t.current_plan})),A=((0,m.C)((function(e){return e.settingsData}))||{}).agency_id,j=(0,m.C)((function(e){return e.settingsData.is_trial}));function T(){return(T=(0,r.Z)((function(){return(0,i.__generator)(this,(function(t){switch(t.label){case 0:return(null===L||void 0===L?void 0:L.custom_domain_url)?(C(!0),[4,(0,h.Z)("/teacher/setting/clear-custom-domain","post",{custom_domain_url:L.custom_domain_url})]):[3,2];case 1:return t.sent()&&(e((0,b.ap)({key:"custom_domain_url",value:null})),e((0,b.ap)({key:"site_url",value:L.sub_domain_name+".ezycourse.com"})),e((0,b.ap)({key:"cloudflare_domain_id",value:null})),N.setFieldValue("custom_domain_url",null),(0,g.s)("Custom Domain is removed successfully."),(0,g.w)("You will be redirected to your ezycourse subdomain in 5 seconds..."),setTimeout((function(){window.location.href="https://".concat(L.sub_domain_name+".ezycourse.com","/dashboard/settings")}),5e3)),C(!1),[3,3];case 2:(0,g.e)("No custom domain to remove."),t.label=3;case 3:return[2]}}))}))).apply(this,arguments)}function Z(){return Z=(0,r.Z)((function(t){var n,o;return(0,i.__generator)(this,(function(s){switch(s.label){case 0:return C(!0),"free"===O?((0,g.e)("Please upgrade your plan."),[2]):(M((0,a.jsx)("p",{children:"Checking CNAME record..."})),[4,(0,h.Z)("/teacher/setting/update-custom-domain-v2","post",t,!1,!1).catch((function(e){var t,n,r;(0,g.e)(null!==(r=null===e||void 0===e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.message)&&void 0!==r?r:e.message),M("Please wait..."),C(!1)}))]);case 1:return(null===(n=s.sent())||void 0===n?void 0:n.cloudflare_domain_id)&&(M("CNAME record verified! Creating SSL certificate..."),o=setInterval((0,r.Z)((function(){var r;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:return[4,(0,h.Z)("/teacher/setting/get-custom-domain-status","post",n)];case 1:return r=i.sent(),_(r),"active"===(null===r||void 0===r?void 0:r.ssl_status)?((0,g.s)("Domain has been updated successfully!"),M((0,a.jsx)("p",{className:"text-success",children:"Domain has been updated successfully!"})),e((0,b.ap)({key:"custom_domain_url",value:t.custom_domain_url})),e((0,b.ap)({key:"site_url",value:t.custom_domain_url})),e((0,b.ap)({key:"cloudflare_domain_id",value:n.cloudflare_domain_id})),clearInterval(o),setTimeout((function(){C(!1)}),3e3)):"active"!==(null===r||void 0===r?void 0:r.ssl_status)?M((0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{children:"Please wait for a moment... "}),(0,a.jsxs)("p",{children:["Host status: ",(0,a.jsx)("strong",{children:r.host_status})]}),(0,a.jsxs)("p",{children:["SSL status: ",(0,a.jsx)("strong",{children:r.ssl_status})," "]}),"If this takes too long, please check back after few minutes."]})):((0,g.e)("Something went wrong. Please try again."),clearInterval(o),C(!1)),[2]}}))})),1e3)),[2]}}))})),Z.apply(this,arguments)}var P,R=(0,s.useState)(!1),I=R[0],D=R[1],z=function(){var e=(0,r.Z)((function(){return(0,i.__generator)(this,(function(e){switch(e.label){case 0:return D(!0),[4,(0,h.Z)("/ezycourse/subscriptions/activate","post")];case 1:return e.sent()&&(0,g.s)("Subscription activated successfully"),setTimeout((function(){window.location.reload(),D(!1)}),5e3),[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,a.jsx)("div",{className:"_settings_inner_details",children:(0,a.jsx)(l.Z,{form:N,onFinish:function(e){return Z.apply(this,arguments)},initialValues:{custom_domain_url:null!==(P=L.custom_domain_url)&&void 0!==P?P:null},children:(0,a.jsx)(c.Z,{spinning:n,tip:(0,a.jsxs)("div",{className:"_box1 _w_fit_content _margin_auto _pad_24 _text_black _dis_flex flex-column gap-1",children:[(0,a.jsx)(w.Z,{className:"mb-2",style:{fontSize:"40px",color:"var(--primary)"}}),E]}),indicator:null,children:(0,a.jsxs)("div",{className:"_settings_inner_details_area _mar_b20",children:[(0,a.jsxs)("div",{className:"_settings_inner_top",children:[(0,a.jsx)("div",{className:"_settings_inner_top_title",children:(0,a.jsx)("h4",{id:"custom-domain",children:"Custom domain"})}),(0,a.jsxs)("div",{className:"_settings_inner_top_btn _dis_flex _items_center _gap_12 sm:justify-content-center flex-wrap",children:[!A&&(0,a.jsxs)("a",{href:"https://youtu.be/K1Wa2_nY83g",className:"_btn2 _h_40",target:"_blank",rel:"noreferrer",children:[(0,a.jsx)("span",{className:"_mar_r10",children:(0,a.jsx)(v.zA_,{fill:"#F70000"})}),"Watch tutorial"]}),(0,a.jsx)(u.Z,{loading:n,disabled:1===j||n,htmlType:"submit",className:"_save_link",children:"Save"}),(0,a.jsx)(u.Z,{loading:n,disabled:1===j||n||!L.custom_domain_url,title:L.custom_domain_url?"Clear Custom Domain":"You do not have a custom domain to clear","aria-label":"Clear Custom Domain",onClick:function(){d.Z.confirm({type:"error",title:"Removal of Custom Domain",content:"Are you certain you wish to proceed with removing your current custom domain? This action will result in the removal of your custom domain, preventing users from accessing your site using this domain.",okText:"Clear",okButtonProps:{danger:!0,loading:n},cancelText:"No",onOk:function(){!function(){T.apply(this,arguments)}()}})},className:"_save_link _save_link_outline",children:"Clear"})]})]}),1===j?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-xl-12 col-lg-12 col-md-12 col-sm-12",children:(0,a.jsx)("div",{className:"_settings_form_group",children:(0,a.jsxs)("div",{className:"_lock_area",children:[(0,a.jsxs)("h4",{className:"_lock_area_txt",children:[(0,a.jsx)("span",{className:"_lock_area_txt_ic",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",fill:"rgba(24,144,255,1)",children:(0,a.jsx)("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z"})})}),"Your subscription is in trial mode. Please activate your subscription to use this feature."]}),(0,a.jsx)("div",{className:"d-flex justify-content-center",children:(0,a.jsx)(u.Z,{className:"_btn1 _mar_t20",onClick:z,loading:I,children:"Activate now"})})]})})})})}):(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-xl-12 col-lg-12 col-md-12 col-sm-12",children:(0,a.jsx)("div",{className:"_settings_form_group",children:(0,a.jsx)("div",{className:"_subdomian_area",children:"free"===O?(0,a.jsx)("div",{className:"_form_row _form_row_area",children:(0,a.jsxs)("div",{className:"_form_group_settings",children:[(0,a.jsxs)("p",{className:"_settings_inner_top_para",children:[(0,a.jsx)("span",{className:"_layer_area_icon _mar_r10",children:(0,a.jsx)(v._V1,{})}),"Custom site URLs are available on any premium plan."]}),(0,a.jsx)(u.Z,{className:"_btn1 _mar_t20",children:"Upgrade now"}),(0,a.jsx)("div",{className:"_form_group_settings_area _mar_b10"})]})}):(0,a.jsx)("div",{className:"_form_row _form_row_area",children:(0,a.jsxs)("div",{className:"_form_group_settings",children:[(0,a.jsx)("h4",{children:"Please add this DNS record to your Domain's DNS control panel"}),(0,a.jsx)("div",{className:"_emlSqnce_stng_tble _mar_t20",children:(0,a.jsxs)("table",{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Record type"}),(0,a.jsx)("th",{children:"Host*"}),(0,a.jsx)("th",{children:"Value"})]})}),(0,a.jsx)("tbody",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:"CNAME"}),(0,a.jsx)("td",{children:"www or other sub domain"}),(0,a.jsxs)("td",{children:[L.sub_domain_name,".ezycourse.com"]})]})})]})}),(0,a.jsxs)("div",{className:"_mar_b10 mt-3",children:[(0,a.jsx)("label",{className:"_settings_form_label",htmlFor:"custom_domain_url",children:"Custom domain"}),(0,a.jsx)(l.Z.Item,{rules:[{required:!0,message:"Custom domain name is missing"},{max:65,message:"Domain name cannot be longer than 65 characters"},{pattern:new RegExp(/^(?=.{4,254}$)((xn--(?=59)([a-z]+-)?[a-z0-9]+|[a-z0-9]([a-z0-9-]{0,61}[a-z0-9]|))\.)+(xn--(?=59)([a-z]+-)?[a-z0-9]+|[a-z][a-z0-9-]{0,61}[a-z0-9])$/),message:"Invalid domain name"}],name:"custom_domain_url",normalize:function(e){return e.toLowerCase()},children:(0,a.jsx)(f.Z,{id:"custom_domain_url",prefix:(0,a.jsx)(y.Z,{iconType:"link"}),className:"_settings_form_input _inpt1",placeholder:"Custom domain"})})]}),(0,a.jsx)(p.Z,{type:"info",message:" *Host",description:"If you are using your root domain, you can only serve content under the 'www' subdomain. To support the non-www version of your root domain, please create a forwarding or redirecting rule from yourdomain.com to www.yourdomain.com. You can accomplish this by setting up a 301 redirect in your domain's hosting control panel, which will point mysite.com to www.yourdomain.com. This way, when someone types yourdomain.com into their browser, they will be automatically redirected to www.yourdomain.com."}),"active"==k.ssl_status&&(0,a.jsx)("p",{className:"text-danger mt-2",children:"You might encounter an SSL error for the first time. It can take few hours for the SSL certificate to propagate. Don't worry, it will be fixed automatically."}),k.site_url&&(0,a.jsx)("div",{className:"_site_domain_msg _mar_t16",children:(0,a.jsxs)("p",{className:"text-success",children:["Your domain is now ready to use! You can visit your site at this URL:"," ",(0,a.jsx)("a",{className:"text-bold",href:"https://".concat(k.site_url),children:k.site_url})]})})]})})})})})})]})})})})}},39148:function(e,t,n){"use strict";n.d(t,{qi:function(){return o}});var r=(0,n(768).oM)({name:"paymentSettings",initialState:{paymentSettings:{currency:"USD",currency_symbol:"$"}},reducers:{setPaymentSettings:function(e,t){e.paymentSettings=t.payload}}}),o=r.actions.setPaymentSettings;t.ZP=r.reducer},54006:function(e,t,n){"use strict";n.d(t,{HE:function(){return d},eg:function(){return l}});var r=n(57135),o=n(56871),i=n(768),a=n(84796),s={courses:[],courseDetail:null},l=(0,i.hg)("siteCourseDetails/loadCourseDetails",function(){var e=(0,r.Z)((function(e){return(0,o.__generator)(this,(function(t){return[2,(0,a.Z)("/student/course/getCourseDetails/".concat(e))]}))}));return function(t){return e.apply(this,arguments)}}()),c=(0,i.oM)({name:"siteCourseDetails",initialState:s,reducers:{resetSiteCourseDetails:function(){return s},setCourseDetail:function(e,t){e.courseDetail=t.payload}},extraReducers:function(e){e.addCase(l.fulfilled,(function(e,t){return t.payload}))}}),u=c.actions,d=(u.resetSiteCourseDetails,u.setCourseDetail);t.ZP=c.reducer},61883:function(e,t,n){"use strict";n.d(t,{HB:function(){return c},In:function(){return l},RD:function(){return u},ZT:function(){return s}});var r=n(72006),o=n(4405),i=(0,n(768).oM)({name:"siteMenu",initialState:{allMenu:[],currentMenu:{isPrimary:!1,menuItems:[]}},reducers:{loadAllMenu:function(e,t){var n=t.payload;e.allMenu=n;var i=n.filter((function(e){return!!e.is_primary}))[0],a=JSON.parse((null===i||void 0===i?void 0:i.json)||"[]");e.currentMenu=(0,o.Z)((0,r.Z)({},i),{isPrimary:!!(null===i||void 0===i?void 0:i.is_primary),menuItems:a})},updateCurrentMenu:function(e,t){var n=t.payload;n?(e.currentMenu=(0,r.Z)({},n),e.currentMenu.menuItems=JSON.parse(n.json||"[]")):e.currentMenu={isPrimary:!1,menuItems:[]}},updateCurrentStudentDashboardMenu:function(e,t){var n=t.payload;n?(e.studentMenu=(0,r.Z)({},n),e.studentMenu.menuItems=JSON.parse(n.json||"[]")):e.studentMenu={isPrimary:!1,menuItems:[]}},updateMenuItem:function(e,t){var n=t.payload;e.currentMenu.menuItems[n.id]=n},createMenu:function(e,t){var n=t.payload;e.allMenu.push(n)},deleteMenu:function(e,t){var n=t.payload,r=e.allMenu.findIndex((function(e){return e.id==n}));r>-1&&e.allMenu.splice(r,1)}}}),a=i.actions,s=a.createMenu,l=a.loadAllMenu,c=a.updateCurrentMenu,u=(a.updateCurrentStudentDashboardMenu,a.updateMenuItem,a.deleteMenu);t.ZP=i.reducer},25955:function(e,t,n){"use strict";n.d(t,{fe:function(){return d}});var r=n(57135),o=n(56871),i=n(768),a=n(84796),s={sellerDetail:null},l=(0,i.hg)("siteSellerDetails/loadSellerDetails",function(){var e=(0,r.Z)((function(e){return(0,o.__generator)(this,(function(t){return[2,(0,a.Z)("/public/seller/seller-info/".concat(e))]}))}));return function(t){return e.apply(this,arguments)}}()),c=(0,i.oM)({name:"siteSellerDetails",initialState:s,reducers:{resetSiteSellerDetails:function(){return s},setSellerDetail:function(e,t){e.sellerDetail=t.payload}},extraReducers:function(e){e.addCase(l.fulfilled,(function(e,t){return t.payload}))}}),u=c.actions,d=(u.resetSiteSellerDetails,u.setSellerDetail);t.ZP=c.reducer},75856:function(e,t,n){"use strict";n.d(t,{BS:function(){return h},DD:function(){return w},EL:function(){return g},F:function(){return T},GR:function(){return Z},Gf:function(){return _},I6:function(){return b},IN:function(){return j},IX:function(){return S},J:function(){return k},KF:function(){return p},XQ:function(){return x},XW:function(){return L},Xr:function(){return v},YM:function(){return N},Yg:function(){return M},ZR:function(){return y},aJ:function(){return C},az:function(){return P},gq:function(){return O},i6:function(){return m},jU:function(){return A},rI:function(){return E}});var r=n(57135),o=n(72006),i=n(4405),a=n(56871),s=n(768),l=n(84796),c={enrollment:{},course:{},author:{},chapters:[],prerequisite_lesson:{},lessons:{},currentLesson:{},currentVideLessonProgress:0,multiLessons:[],popup:{visible:!1,status:null,message:null},quiz:{current_question:null,active_index:-1,all_results:[],all_submission:[],isSubmitable:!1,timeLeft:0,status:"INITIAL",endTime:0,currentSubmission:null,questions_lists:[]},message:"",currVideo:{textTrack:null,textTracks:[],currentTime:0,currentCue:{}},reviewSetting:{enableReview:!1,reviewTrigger:"COMPLETED",percentageValue:0,reviewDefault:0,autoApprove:!1}},u=(0,s.hg)("courseWatch/fetchChapters",function(){var e=(0,r.Z)((function(e){return(0,a.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,l.Z)("/student/chapter/getChaptersByCourseId/".concat(e))];case 1:return[2,t.sent()]}}))}));return function(t){return e.apply(this,arguments)}}()),d=(0,s.oM)({name:"courseWatch",initialState:c,reducers:{loadCourseWatchInitialData:function(e,t){var n,r=t.payload,a=r.enrollment,s=r.course,l=r.author,c=r.chapters,u=r.prerequisite_lesson,f=r.current_lesson,p=r.message;if(e.enrollment=a,e.course=s,e.author=l,e.chapters=c,e.prerequisite_lesson=u,null===(n=e.chapters)||void 0===n||n.forEach((function(t){var n=t.id,r=t.lessons;e.lessons[n]={data:r,open:!1}})),e.popup=null,r.is_error&&(e.popup={visible:!0,status:"error",message:r.message}),e.currentLesson={},e.message=p,f)if("unavailable"===(null===f||void 0===f?void 0:f.status))e.popup=(0,i.Z)((0,o.Z)({},f),{visible:!0});else{var h=f.data,m=f.current_question,g=f.all_submissions,v=f.all_result,y=f.questions_lists;d.caseReducers.setAllResults(e,{payload:v,type:"courseWatch/setAllResults"}),d.caseReducers.setCurrentLesson(e,{payload:(0,i.Z)((0,o.Z)({},h),{index:null===h||void 0===h?void 0:h.position}),type:"courseWatch/setCurrentLesson"}),d.caseReducers.setAllSubmissions(e,{payload:[],type:"courseWatch/setAllSubmissions"}),g&&(d.caseReducers.setAllSubmissions(e,{payload:g,type:"courseWatch/setAllSubmissions"}),g.length>0&&d.caseReducers.setCurrentSubmission(e,{payload:g[0],type:"courseWatch/setCurrentSubmission"})),y&&d.caseReducers.setQuestionLists(e,{payload:y,type:"courseWatch/setQuestionLists"}),m&&d.caseReducers.setCurrentQuestion(e,{payload:m,type:"courseWatch/setCurrentQuestion"})}},updateLessonAccessibility:function(e){e.chapters.map((function(t){return t.lessons.map((function(n){var r,o,i,a;(n.is_locked=!1,e.prerequisite_lesson&&(null===(r=e.prerequisite_lesson)||void 0===r?void 0:r.chapter_position)&&(null===(o=e.prerequisite_lesson)||void 0===o?void 0:o.chapter_position))&&(t.position>=(null===(i=e.prerequisite_lesson)||void 0===i?void 0:i.chapter_position)&&n.position>(null===(a=e.prerequisite_lesson)||void 0===a?void 0:a.lesson_position)&&(n.is_locked=!0))}))}))},loadLessons:function(e,t){var n=t.payload,r=n.chapterID,o=n.data;e.lessons[r].data=o},setCurrentLesson:function(e,t){var n,r=t.payload;e.popup=null,e.currentLesson=r,e.chapters.forEach((function(t){e.lessons[t.id].open=!1})),(null===(n=e.lessons[r.chapter_id])||void 0===n?void 0:n.open)||(e.lessons[r.chapter_id]=(0,i.Z)((0,o.Z)({},e.lessons[r.chapter_id]),{open:!0})),r.is_lesson_multiple&&(e.multiLessons=r.multi_lessons)},toggleChapterMenu:function(e,t){var n=t.payload.chapterID;e.lessons[n].open=!e.lessons[n].open},setVideLessonProgress:function(e,t){var n=t.payload;e.currentVideLessonProgress=n},setCurrentSubmission:function(e,t){var n=t.payload;e.quiz.currentSubmission=n},setQuestionLists:function(e,t){var n=t.payload;e.quiz.questions_lists=n},setQuestionListsUpdate:function(e,t){var n=t.payload;e.quiz.questions_lists[n].is_selected=!1},resetQuiz:function(e){e.quiz=c.quiz},resetQuizTimeLeft:function(e){e.quiz.timeLeft=0},quizCountdown:function(e){var t=Date.now(),n=Math.round((e.quiz.endTime-t)/1e3);e.quiz.timeLeft=n<0?0:n},setEndTime:function(e,t){var n=t.payload;e.quiz.endTime=n;var r=Date.now(),o=Math.round((e.quiz.endTime-r)/1e3);e.quiz.timeLeft=o},changeQuizStatus:function(e,t){var n=t.payload;e.quiz.status=n},setCurrentQuestion:function(e,t){e.quiz.current_question=t.payload},updateAssimentLesson:function(e){e.currentLesson.assignment_submission={id:"ok"}},setActiveIndex:function(e,t){e.quiz.active_index=t.payload},setSubmitable:function(e,t){e.quiz.isSubmitable=t.payload},setAllResults:function(e,t){e.quiz.all_results=t.payload},setAllSubmissions:function(e,t){e.quiz.all_submission=t.payload},updateCertificateStatus:function(e){if(e.chapters.length){var t=e.chapters.length-1,n=e.chapters[t];if(n.lessons&&n.lessons.length){var r=n.lessons.length-1;"certificate"==n.lessons[r].lesson_type&&(e.chapters[t].lessons[r].is_locked=!0)}}},updateQuestionsSelect:function(e,t){e.quiz.current_question.options[t.payload.index].is_selected||(e.quiz.current_question.options[t.payload.index].is_selected=!1);var n=e.quiz.current_question.options[t.payload.index].is_selected;if("SINGLE"==t.payload.type){var r=!0,o=!1,i=void 0;try{for(var a,s=e.quiz.current_question.options[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){a.value.is_selected=!1}}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}}e.quiz.current_question.options[t.payload.index].is_selected=!n},updateLessonProgress:function(e,t){var n=t.payload,r=n.chapterID,o=n.lessonID,i=n.data,a=i.lesson,s=i.prerequisite_lesson,l=e.lessons[r].data.findIndex((function(e){return e.id==o}));if(l>-1){e.lessons[r].data[l].is_completed=a.is_completed;var c=e.chapters.findIndex((function(e){return e.id==r}));1==a.is_completed?(e.course.completed_lessons++,e.chapters[c].completed_lessons++):(e.course.completed_lessons--,e.chapters[c].completed_lessons--),e.currentLesson.id==o&&(e.currentLesson.is_completed=a.is_completed),e.course.progress_percentage=e.course.completed_lessons/e.course.total_lessons*100,e.chapters[c].progress_percentage=e.chapters[c].completed_lessons/e.chapters[c].total_lessons*100}e.prerequisite_lesson=s||null,e.chapters.map((function(t){return e.lessons[t.id].data.map((function(n,r){if("pending_drip"!==n.lock_reason&&e.prerequisite_lesson){var o=e.prerequisite_lesson,i=o.chapter_position,a=o.lesson_position;if(t.position>i||t.position==i&&n.position>a)return e.lessons[t.id].data[r].is_locked=!0,void(e.lessons[t.id].data[r].lock_reason="pending_prerequisite")}"pending_drip"!==n.lock_reason&&(e.lessons[t.id].data[r].is_locked=!1,e.lessons[t.id].data[r].lock_reason=null)}))}))},updatePopup:function(e,t){var n=t.payload;e.popup=n},setCurrentSubtitle:function(e,t){e.currVideo.textTrack=t.payload},setVideoSubtitles:function(e,t){e.currVideo.textTracks=t.payload},setCurrentCue:function(e,t){e.currVideo.currentCue=t.payload},setCurrentVideoTime:function(e,t){e.currVideo.currentTime=t.payload},loadReviewSetting:function(e,t){var n=t.payload;e.reviewSetting=n}},extraReducers:function(e){e.addCase(u.fulfilled,(function(e,t){var n=t.payload;e.chapters=n,n.forEach((function(t){e.lessons[t.id]={data:t.lessons,open:!1}}))}))}}),f=d.actions,p=(f.loadLessons,f.updateCertificateStatus),h=f.setCurrentLesson,m=f.updateLessonProgress,g=f.toggleChapterMenu,v=f.changeQuizStatus,y=f.setCurrentQuestion,b=f.setEndTime,w=(f.updateQuestionsSelect,f.setAllResults),C=f.setAllSubmissions,x=(f.setActiveIndex,f.quizCountdown),k=(f.setSubmitable,f.updatePopup),_=f.setCurrentSubmission,S=f.loadCourseWatchInitialData,E=(f.resetQuiz,f.resetQuizTimeLeft),M=f.setQuestionLists,L=f.setQuestionListsUpdate,N=f.updateAssimentLesson,O=f.setVideLessonProgress,A=f.setCurrentSubtitle,j=f.setVideoSubtitles,T=f.setCurrentCue,Z=f.setCurrentVideoTime,P=f.loadReviewSetting,R=d.reducer;t.ZP=R},45980:function(e,t,n){"use strict";n.d(t,{FX:function(){return i},nz:function(){return s},tE:function(){return a}});var r=(0,n(768).oM)({name:"liveProductChat",initialState:{product_id:null,comment_text:"",comments:[]},reducers:{sendLiveProductComment:function(e,t){e.comments.push(t.payload)},updateLiveProductComment:function(e,t){var n=t.payload,r=n.commentId,o=n.updatedText,i=e.comments.find((function(e){return e.id===r}));i&&(i.comment_text=o)},deleteLiveProductComment:function(e,t){var n=t.payload;e.comments=e.comments.filter((function(e){return e.id!==n}))},loadLiveProductComments:function(e,t){e.comments=t.payload}}}),o=r.actions,i=o.sendLiveProductComment,a=(o.updateLiveProductComment,o.deleteLiveProductComment),s=o.loadLiveProductComments,l=r.reducer;t.ZP=l},35058:function(e,t,n){"use strict";n.d(t,{N:function(){return a},R_:function(){return l},cf:function(){return i},mt:function(){return s},xV:function(){return c}});var r=(0,n(768).oM)({name:"user",initialState:{assign_modal:!1,instructor_modal:!1,partner_modal:!1,user_modal:!1,enroll_modal:!1},reducers:{setModal:function(e){e.instructor_modal=!e.instructor_modal,e.assign_modal=!1,e.partner_modal=!1},setAssingModal:function(e){e.assign_modal=!e.assign_modal,e.instructor_modal=!1,e.partner_modal=!1},setPartnerModal:function(e){e.partner_modal=!e.partner_modal,e.instructor_modal=!1,e.assign_modal=!1},setUserModal:function(e){e.user_modal=!e.user_modal,e.instructor_modal=!1,e.assign_modal=!1,e.partner_modal=!1},setEnrollmentModal:function(e){e.enroll_modal=!e.enroll_modal,e.user_modal=!1,e.instructor_modal=!1,e.assign_modal=!1,e.partner_modal=!1}}}),o=r.actions,i=o.setModal,a=o.setAssingModal,s=o.setPartnerModal,l=o.setEnrollmentModal,c=o.setUserModal,u=r.reducer;t.ZP=u},42760:function(e,t,n){"use strict";n.d(t,{C:function(){return i},T:function(){return o}});var r=n(60255),o=function(){return(0,r.I0)()},i=r.v9},40697:function(e,t,n){"use strict";n.d(t,{YS:function(){return ce}});var r,o=n(72006),i=n(43453),a=n(768),s=n(50959),l=n(60255),c=function(){var e=function(t,n){return e=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,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},d=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},f=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},h="__NEXT_REDUX_WRAPPER_HYDRATE__",m=function(){return"undefined"===typeof window},g=function(e,t){var n=(void 0===t?{}:t).deserializeState;return n?n(e):e},v=function(e,t){var n=(void 0===t?{}:t).serializeState;return n?n(e):e},y=function(e){var t=e.makeStore,n=e.context,o=function(){return t(n)};if(m()){var i=n,a=void 0;return i.req&&(a=i.req),i.ctx&&i.ctx.req&&(a=i.ctx.req),a?(a.__nextReduxWrapperStore||(a.__nextReduxWrapperStore=o()),a.__nextReduxWrapperStore):o()}return r||(r=o()),r},b=function(e,t){void 0===t&&(t={});var n=function(n){var r=n.callback,o=n.context;return d(void 0,void 0,void 0,(function(){var n,i,a,s,l;return f(this,(function(c){switch(c.label){case 0:return n=y({context:o,makeStore:e}),t.debug&&console.log("1. getProps created store with state",n.getState()),i=r&&r(n),(s=i)?[4,i(o)]:[3,2];case 1:s=c.sent(),c.label=2;case 2:return a=s||{},t.debug&&console.log("3. getProps after dispatches has store state",n.getState()),l=n.getState(),[2,{initialProps:a,initialState:m()?v(l,t):l}]}}))}))},r=function(e){return function(t){return d(void 0,void 0,void 0,(function(){var r,o,i;return f(this,(function(a){switch(a.label){case 0:return[4,n({callback:e,context:t})];case 1:return r=a.sent(),o=r.initialProps,i=r.initialState,[2,u(u({},o),{props:u(u({},o.props),{initialState:i})})]}}))}))}};return{getServerSideProps:function(e){return function(t){return d(void 0,void 0,void 0,(function(){return f(this,(function(n){switch(n.label){case 0:return[4,r(e)(t)];case 1:return[2,n.sent()]}}))}))}},getStaticProps:r,getInitialAppProps:function(e){return function(t){return d(void 0,void 0,void 0,(function(){var r,o,i;return f(this,(function(a){switch(a.label){case 0:return[4,n({callback:e,context:t})];case 1:return r=a.sent(),o=r.initialProps,i=r.initialState,[2,u(u({},o),{initialState:i})]}}))}))}},getInitialPageProps:function(e){return function(t){return d(void 0,void 0,void 0,(function(){return f(this,(function(r){return"getState"in t?[2,e&&e(t)]:[2,n({callback:e,context:t})]}))}))}},withRedux:function(n){var r,o="withRedux("+(n.displayName||n.name||"Component")+")",i="getInitialProps"in n;return r=function(r){function i(e,t){var n=r.call(this,e,t)||this;return n.store=null,n.hydrate(e,t),n}return c(i,r),i.prototype.hydrate=function(n,r){var i,a=n.initialState,s=(n.initialProps,p(n,["initialState","initialProps"])),l=null===(i=null===s||void 0===s?void 0:s.pageProps)||void 0===i?void 0:i.initialState;this.store||(this.store=y({makeStore:e,context:r}),t.debug&&console.log("4. WrappedApp created new store with",o,{initialState:a,initialStateFromGSPorGSSR:l})),a&&this.store.dispatch({type:h,payload:g(a,t)}),l&&this.store.dispatch({type:h,payload:g(l,t)})},i.prototype.shouldComponentUpdate=function(e,t,n){var r,o,i,a;return(null===(r=null===e||void 0===e?void 0:e.pageProps)||void 0===r?void 0:r.initialState)===(null===(i=null===(o=this.props)||void 0===o?void 0:o.pageProps)||void 0===i?void 0:i.initialState)&&(null===e||void 0===e?void 0:e.initialState)===(null===(a=this.props)||void 0===a?void 0:a.initialState)||this.hydrate(e,n),!0},i.prototype.render=function(){var e,t,r=this.props,o=(r.initialState,r.initialProps),i=p(r,["initialState","initialProps"]),a=i;return o&&o.pageProps&&(a.pageProps=u(u({},o.pageProps),i.pageProps)),(null===(e=null===i||void 0===i?void 0:i.pageProps)||void 0===e?void 0:e.initialState)&&delete(a=u(u({},i),{pageProps:u({},i.pageProps)})).pageProps.initialState,(null===(t=null===a||void 0===a?void 0:a.pageProps)||void 0===t?void 0:t.initialProps)&&(a.pageProps=u(u({},a.pageProps),a.pageProps.initialProps),delete a.pageProps.initialProps),s.createElement(l.zt,{store:this.store},s.createElement(n,u({},o,a)))},i}(s.Component),r.displayName=o,r.getInitialProps=i?n.getInitialProps:void 0,r}}},w=n(81316),C=n(75790),x=n(65714),k=n(45980),_=n(61981),S=n(35058),E=n(34790),M=n(75856),L=n(36723),N=n(58199),O=n(42467),A=n(54420),j=n(63773),T=n(69320),Z=n(61883),P=n(25229),R=n(57135),I=n(56871),D=n(84796),z={communityList:[]},H=(0,a.hg)("siteCommunitySlice/loadCommunityList",(0,R.Z)((function(){var e;return(0,I.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,D.Z)("/teacher/community/getAllCommunities")];case 1:return(e=t.sent())?[2,e.data]:[2]}}))}))),B=(0,a.oM)({name:"siteCommunitySlice",initialState:z,reducers:{resetSiteCommunity:function(){return z}},extraReducers:function(e){e.addCase(H.fulfilled,(function(e,t){var n=t.payload;e.communityList=n}))}}),F=(B.actions.resetSiteCommunity,B.reducer),V=n(54006),q=n(25955),U={list:[]},$=(0,a.oM)({name:"siteChat",initialState:U,reducers:{resetSiteChat:function(){return U}}}),W=($.actions.resetSiteChat,$.reducer),K=n(21828),G=n(82546),Y=n(5326),J=n(39148),X=n(57659),Q=n(5185),ee=(0,a.e)();ee.startListening({matcher:(0,a.Q)(T.Ym,T.RD,T.w,T.Fs,T.cl,T.uo,T.Oi,T.ek,T.Wf,T.hv,T.sP,T.bE,T.kf,T.XN,T.P9,T.kt,T.uq,T.dm,T.tM,T.Lq,T.nQ,T.iv,T.El,T.oo,T.gK,T.QM,T.Ji,T.Di,T.LG),effect:function(){var e=(0,R.Z)((function(e,t){var n,r,o;return(0,I.__generator)(this,(function(i){return n=t.dispatch,r=new CustomEvent("onBuilderChange",{detail:{middleware:"builderListenerMiddleware",action:e}}),window.dispatchEvent(r),"builder/addNodeItem"===e.type&&"Tab"===e.payload.nodeItem.type&&(o=e.payload.nodeItem,n((0,T.RD)({nodeItem:{id:(0,Q.Z)(),parent:o.id,rootId:o.rootId,nodes:[],settings:{className:""},componentName:"Div",isDroppzone:!0,type:"Box"},rootNodeId:o.rootId,parentID:o.id})),n((0,T.fk)(o))),[2]}))}));return function(t,n){return e.apply(this,arguments)}}()});var te=ee.middleware,ne=(0,a.e)();ne.startListening({matcher:(0,a.Q)(T.RD,T.OY,T.ek,T.w,T.XJ),effect:function(){var e=(0,R.Z)((function(e,t){var n,r,o,i,a,s;return(0,I.__generator)(this,(function(e){return r=t.dispatch,o=t.getState(),null===(i=o.builder.present.selectedNode)?[2]:(a=i.parent,null===(s=(null===(n=o.builder.present.nodes[i.rootId])||void 0===n?void 0:n.data[a])||null)||"Tab"===s.type&&r((0,T.ZK)({tabNode:s})),[2])}))}));return function(t,n){return e.apply(this,arguments)}}()});var re=ne.middleware,oe=(0,a.oM)({name:"billingAddress",initialState:{billingAddress:{address_line_1:"",address_line_2:"",city:"",country:"",postal_code:""}},reducers:{setBillingAddress:function(e,t){e.billingAddress=t.payload}}}),ie=(oe.actions.setBillingAddress,oe.reducer),ae=(0,i.combineReducers)({user:w.ZP,course:C.ZP,community:x.ZP,chat:_.ZP,setting:N.ZP,productCoupon:O.ZP,user_lists:S.ZP,gallery_store:E.ZP,courseWatch:M.ZP,teacherCourseWatch:L.ZP,settingsData:A.ZP,builder:(0,X.ZP)(T.ZP,{filter:(0,X.an)(["builder/loadPageData","builder/addNodeItem","builder/sortSections","builder/sortItem","builder/updateContentSettings","builder/updateStyleSettings","builder/removeNodeWithChildren","builder/removeSectionWithDB/pending","builder/removeSectionWithDB/fullfilled","builder/addSectionWithData","builder/addNewBlankSection","builder/pasteNode","builder/clearAllSections","builder/pasteNode2"])}),notifications:j.ZP,siteMenu:Z.ZP,siteCourse:P.ZP,siteCommunity:F,siteCourseDetails:V.ZP,siteSellerDetails:q.ZP,siteGroupChat:W,checkout:K.ZP,galleryV2:G.ZP,payment:J.ZP,productPricing:Y.ZP,liveProductChat:k.ZP,billing:ie});function se(e,t){return t.type===h?(0,o.Z)({},e,t.payload):ae(e,t)}function le(){return(0,a.xC)({reducer:se,middleware:function(e){return e().prepend(te,re)}})}le();var ce=b(le)},5432:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(11527),o=n(63191),i=n(36149),a=n(98037),s=n(50959),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 00-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 00-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z"}}]},name:"undo",theme:"outlined"},c=n(86383),u=function(e,t){return s.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:l}))};var d=s.forwardRef(u),f=n(44575),p=n(84715),h=function(e){var t=e.iconType,n=e.color,a=void 0===n?null:n;switch(t){case"tab":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:24,height:24,children:(0,r.jsx)("path",{d:"M 14 6 L 14 6.0039062 L 6.0058594 6.0039062 C 4.3608895 6.0039062 3.0058594 7.3589365 3.0058594 9.0039062 L 3.0117188 42 C 3.0117188 43.093063 3.9186558 44 5.0117188 44 L 45 44 C 46.093063 44 47 43.093063 47 42 L 47 15 L 47 13 L 47 9 C 47 7.3550302 45.64497 6 44 6 L 14 6 z M 18.8125 8 L 44 8 C 44.56503 8 45 8.4349698 45 9 L 45 13 L 19 13 L 19 9.0039062 C 19 8.6507617 18.926863 8.3158807 18.8125 8 z M 6.0058594 8.0039062 L 16 8.0039062 C 16.56503 8.0039062 17 8.4388762 17 9.0039062 L 17 15 L 45 15 L 45 42 L 5.0117188 42 L 5.0058594 9.0039062 C 5.0058594 8.4388762 5.4408292 8.0039062 6.0058594 8.0039062 z"})});case"group":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:24,height:24,viewBox:"0 0 50 50",children:(0,r.jsx)("path",{d:"M 17 2 C 13.699219 2 11 4.699219 11 8 C 11 9.984375 11.976563 11.75 13.46875 12.84375 C 12.667969 13.246094 11.9375 13.765625 11.3125 14.40625 C 10.585938 14.148438 9.8125 14 9 14 C 5.144531 14 2 17.144531 2 21 C 2 23.449219 3.269531 25.625 5.1875 26.875 C 2.132813 28.320313 0 31.414063 0 35 L 0 39.5 C -0.00390625 39.820313 0.148438 40.121094 0.40625 40.3125 C 0.40625 40.3125 1.113281 40.8125 2.46875 41.21875 C 3.824219 41.625 5.917969 42 9 42 C 12.082031 42 14.175781 41.625 15.53125 41.21875 C 15.707031 41.167969 15.847656 41.117188 16 41.0625 L 16 45.5 C 15.996094 45.820313 16.148438 46.121094 16.40625 46.3125 C 16.40625 46.3125 17.113281 46.8125 18.46875 47.21875 C 19.824219 47.625 21.917969 48 25 48 C 28.082031 48 30.175781 47.625 31.53125 47.21875 C 32.886719 46.8125 33.59375 46.3125 33.59375 46.3125 C 33.851563 46.121094 34.003906 45.820313 34 45.5 L 34 41.0625 C 34.152344 41.117188 34.292969 41.167969 34.46875 41.21875 C 35.824219 41.625 37.917969 42 41 42 C 44.082031 42 46.175781 41.625 47.53125 41.21875 C 48.886719 40.8125 49.59375 40.3125 49.59375 40.3125 C 49.851563 40.121094 50.003906 39.820313 50 39.5 L 50 35 C 50 31.414063 47.867188 28.320313 44.8125 26.875 C 46.730469 25.625 48 23.449219 48 21 C 48 17.144531 44.855469 14 41 14 C 40.128906 14 39.300781 14.175781 38.53125 14.46875 C 37.902344 13.808594 37.160156 13.257813 36.34375 12.84375 C 37.835938 11.75 38.8125 9.984375 38.8125 8 C 38.8125 4.699219 36.113281 2 32.8125 2 C 29.511719 2 26.8125 4.699219 26.8125 8 C 26.8125 9.984375 27.789063 11.75 29.28125 12.84375 C 26.984375 13.976563 25.304688 16.15625 24.90625 18.78125 C 24.507813 16.152344 22.832031 13.972656 20.53125 12.84375 C 22.023438 11.75 23 9.984375 23 8 C 23 4.699219 20.300781 2 17 2 Z M 17 4 C 19.222656 4 21 5.777344 21 8 C 21 10.222656 19.222656 12 17 12 C 14.777344 12 13 10.222656 13 8 C 13 5.777344 14.777344 4 17 4 Z M 32.8125 4 C 35.035156 4 36.8125 5.777344 36.8125 8 C 36.8125 10.222656 35.035156 12 32.8125 12 C 30.589844 12 28.8125 10.222656 28.8125 8 C 28.8125 5.777344 30.589844 4 32.8125 4 Z M 17 14 C 20.371094 14 23 16.628906 23 20 L 23 20.3125 C 20.125 21.183594 18 23.847656 18 27 C 18 29.449219 19.269531 31.625 21.1875 32.875 C 19.933594 33.46875 18.859375 34.339844 18 35.40625 L 18 35 C 18 31.414063 15.867188 28.320313 12.8125 26.875 C 14.730469 25.625 16 23.449219 16 21 C 16 18.71875 14.886719 16.6875 13.1875 15.40625 C 14.226563 14.519531 15.515625 14 17 14 Z M 32.8125 14 C 34.339844 14 35.667969 14.535156 36.71875 15.46875 C 35.070313 16.75 34 18.761719 34 21 C 34 23.449219 35.269531 25.625 37.1875 26.875 C 34.132813 28.320313 32 31.414063 32 35 L 32 35.40625 C 31.140625 34.339844 30.066406 33.46875 28.8125 32.875 C 30.730469 31.625 32 29.449219 32 27 C 32 23.777344 29.789063 21.054688 26.8125 20.25 L 26.8125 20 C 26.8125 16.628906 29.441406 14 32.8125 14 Z M 9 16 C 9.777344 16 10.5 16.1875 11.15625 16.5 C 12.835938 17.304688 14 19.003906 14 21 C 14 23.773438 11.773438 26 9 26 C 6.226563 26 4 23.773438 4 21 C 4 18.226563 6.226563 16 9 16 Z M 41 16 C 43.773438 16 46 18.226563 46 21 C 46 23.773438 43.773438 26 41 26 C 38.226563 26 36 23.773438 36 21 C 36 19.152344 36.988281 17.554688 38.46875 16.6875 C 38.476563 16.683594 38.492188 16.691406 38.5 16.6875 C 38.648438 16.65625 38.785156 16.59375 38.90625 16.5 C 38.941406 16.484375 38.964844 16.453125 39 16.4375 C 39.019531 16.429688 39.042969 16.417969 39.0625 16.40625 C 39.660156 16.152344 40.308594 16 41 16 Z M 25 22 C 27.773438 22 30 24.226563 30 27 C 30 29.773438 27.773438 32 25 32 C 22.226563 32 20 29.773438 20 27 C 20 24.226563 22.226563 22 25 22 Z M 9 28 C 12.855469 28 16 31.144531 16 35 L 16 38.84375 C 15.851563 38.933594 15.792969 39.035156 14.96875 39.28125 C 13.824219 39.625 11.917969 40 9 40 C 6.082031 40 4.175781 39.625 3.03125 39.28125 C 2.207031 39.035156 2.148438 38.933594 2 38.84375 L 2 35 C 2 31.144531 5.144531 28 9 28 Z M 41 28 C 44.855469 28 48 31.144531 48 35 L 48 38.84375 C 47.851563 38.933594 47.792969 39.035156 46.96875 39.28125 C 45.824219 39.625 43.917969 40 41 40 C 38.082031 40 36.175781 39.625 35.03125 39.28125 C 34.207031 39.035156 34.148438 38.933594 34 38.84375 L 34 35 C 34 31.144531 37.144531 28 41 28 Z M 25 34 C 28.855469 34 32 37.144531 32 41 L 32 44.84375 C 31.851563 44.933594 31.792969 45.035156 30.96875 45.28125 C 29.824219 45.625 27.917969 46 25 46 C 22.082031 46 20.175781 45.625 19.03125 45.28125 C 18.207031 45.035156 18.148438 44.933594 18 44.84375 L 18 41 C 18 37.144531 21.144531 34 25 34 Z"})});case"countdown":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24px",height:"24px",children:[" ",(0,r.jsx)("path",{d:"M 12 2 C 8.9883724 2 6.3037203 3.3556682 4.4707031 5.4707031 L 2 3 L 2 9 L 8 9 L 5.8769531 6.8769531 C 7.3450482 5.1245479 9.5396099 4 12 4 C 16.411 4 20 7.589 20 12 L 22 12 C 22 6.486 17.514 2 12 2 z M 2 12 C 2 17.176 5.954 21.446219 11 21.949219 L 11 19.931641 C 7.06 19.436641 4 16.072 4 12 L 2 12 z M 14.75 14 L 11 15.455078 L 11 17.068359 L 13 16.365234 L 13 22 L 15 22 L 15 14 L 14.75 14 z M 19.5 14 C 18.130937 14 17 15.130937 17 16.5 L 17 17 L 19 17 L 19 16.5 C 19 16.213063 19.213063 16 19.5 16 C 19.786937 16 20 16.213063 20 16.5 C 20 16.757858 19.652593 17.557212 19.082031 18.298828 C 18.511469 19.040445 17.791372 19.762633 17.314453 20.210938 L 17 20.507812 L 17 22 L 22 22 L 22 20 L 20.222656 20 C 20.381275 19.814548 20.515452 19.715819 20.667969 19.517578 C 21.347407 18.634445 22 17.683142 22 16.5 C 22 15.130937 20.869063 14 19.5 14 z"})]});case"audio":return(0,r.jsx)("svg",{x:"0px",y:"0px",width:24,height:24,viewBox:"0 0 385 512",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M371.91 0H364.54C363.16 0.51 361.78 1.18 360.34 1.59L301.07 18.48L185.71 51.75C171.43 55.84 157.15 59.75 142.87 63.93C140.408 64.2549 138.047 65.1154 135.953 66.4509C133.859 67.7864 132.083 69.5644 130.75 71.66C129.008 75.4496 128.071 79.5597 128 83.73V368.52C126.761 367.442 125.398 366.515 123.94 365.76C116.573 361.492 108.839 357.891 100.83 355C85.2309 350.587 68.6482 351.112 53.3591 356.501C38.0699 361.891 24.8239 371.881 15.44 385.1C5.82186 398.207 0.450891 413.946 0.0503944 430.198C-0.350102 446.451 4.23911 462.435 13.2 476C33.11 504.15 60.4 516.38 94.74 510.6C114.188 507.308 131.605 496.614 143.34 480.76C154.59 466.11 160 448 160 429.58V160.51C160 157.72 161.48 155.11 164.28 154.68C188.58 147.92 212.79 141 237 134.2L340.05 104.62C343.89 103.55 348 102.62 352 101.5V304.13C350.669 303.509 349.394 302.773 348.19 301.93C338.137 294.74 326.467 290.138 314.213 288.532C301.958 286.926 289.496 288.364 277.93 292.72C264.928 296.914 253.279 304.5 244.185 314.695C235.09 324.89 228.879 337.325 226.19 350.72C223.213 362.559 223.155 374.943 226.022 386.809C228.89 398.675 234.596 409.667 242.65 418.84C250.749 428.549 261.034 436.2 272.661 441.166C284.288 446.132 296.927 448.272 309.541 447.409C322.155 446.547 334.385 442.707 345.228 436.204C356.071 429.701 365.218 420.721 371.92 410C380.4 396 385 379.77 384 363.4V21.09C384 11.46 381.38 4 371.91 0ZM351.79 65.82C351.482 66.4834 351.035 67.073 350.479 67.5491C349.924 68.0252 349.273 68.3767 348.57 68.58C334.85 72.58 321.14 76.51 307.62 80.45L248.92 97.25L164.1 121.51L160 122.43V93.72C160 92.66 161.28 91.85 162.36 91.52C185 85 207.61 78.57 230.23 72.07L286.53 55.85L348 38.23C349.175 38.0689 350.338 37.8283 351.48 37.51C351.95 47.34 352 56.61 351.79 65.82Z",fill:"#757779"})});case"community":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:24,height:24,viewBox:"0 0 50 50",children:[" ",(0,r.jsx)("path",{d:"M 2.8125 0 C 2.335938 0.0898438 1.992188 0.511719 2 1 L 2 37 C 2 37.550781 2.449219 38 3 38 L 32.625 38 L 46.34375 49.75 C 46.640625 50.007813 47.054688 50.066406 47.414063 49.90625 C 47.769531 49.746094 48 49.390625 48 49 L 48 1 C 48 0.449219 47.550781 0 47 0 L 3 0 C 2.96875 0 2.9375 0 2.90625 0 C 2.875 0 2.84375 0 2.8125 0 Z M 4 2 L 46 2 L 46 46.84375 L 33.65625 36.25 C 33.476563 36.089844 33.242188 36 33 36 L 4 36 Z M 25 8 C 22.25 8 20 10.25 20 13 C 20 15.75 22.25 18 25 18 C 27.75 18 30 15.75 30 13 C 30 10.25 27.75 8 25 8 Z M 25 10 C 26.667969 10 28 11.332031 28 13 C 28 14.667969 26.667969 16 25 16 C 23.332031 16 22 14.667969 22 13 C 22 11.332031 23.332031 10 25 10 Z M 14 14 C 11.800781 14 10 15.800781 10 18 C 10 20.199219 11.800781 22 14 22 C 16.199219 22 18 20.199219 18 18 C 18 15.800781 16.199219 14 14 14 Z M 14 22 C 11.898438 22 10.371094 22.660156 9.40625 23.5 C 8.441406 24.339844 8 25.195313 8 26.09375 L 8 27 C 8 27.550781 8.449219 28 9 28 L 41 28 C 41.550781 28 42 27.550781 42 27 L 42 26.09375 C 42 25.195313 41.558594 24.339844 40.59375 23.5 C 39.628906 22.660156 38.101563 22 36 22 C 34.554688 22 33.410156 22.335938 32.53125 22.75 C 32.304688 22.515625 32.066406 22.289063 31.78125 22.0625 C 30.324219 20.917969 28.09375 20 25 20 C 21.90625 20 19.675781 20.917969 18.21875 22.0625 C 17.933594 22.289063 17.695313 22.515625 17.46875 22.75 C 16.589844 22.335938 15.445313 22 14 22 Z M 36 22 C 38.199219 22 40 20.199219 40 18 C 40 15.800781 38.199219 14 36 14 C 33.800781 14 32 15.800781 32 18 C 32 20.199219 33.800781 22 36 22 Z M 14 16 C 15.117188 16 16 16.882813 16 18 C 16 19.117188 15.117188 20 14 20 C 12.882813 20 12 19.117188 12 18 C 12 16.882813 12.882813 16 14 16 Z M 36 16 C 37.117188 16 38 16.882813 38 18 C 38 19.117188 37.117188 20 36 20 C 34.882813 20 34 19.117188 34 18 C 34 16.882813 34.882813 16 36 16 Z M 25 22 C 27.703125 22 29.46875 22.769531 30.5625 23.625 C 31.109375 24.054688 31.488281 24.527344 31.71875 24.90625 C 31.949219 25.285156 32 25.597656 32 25.59375 L 32 26 L 18 26 L 18 25.59375 C 18 25.597656 18.050781 25.285156 18.28125 24.90625 C 18.511719 24.527344 18.890625 24.054688 19.4375 23.625 C 20.53125 22.769531 22.296875 22 25 22 Z M 14 24 C 14.964844 24 15.691406 24.171875 16.28125 24.40625 C 16.101563 24.796875 16 25.183594 16 25.59375 L 16 26 L 10.0625 26 C 10.085938 25.972656 10.183594 25.464844 10.71875 25 C 11.304688 24.488281 12.300781 24 14 24 Z M 36 24 C 37.699219 24 38.695313 24.488281 39.28125 25 C 39.816406 25.464844 39.914063 25.972656 39.9375 26 L 34 26 L 34 25.59375 C 34 25.183594 33.898438 24.796875 33.71875 24.40625 C 34.308594 24.171875 35.035156 24 36 24 Z"})]});case"blogList":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:24,height:24,viewBox:"0 0 50 50",children:(0,r.jsx)("path",{d:"M 9 4 C 6.2504839 4 4 6.2504839 4 9 L 4 41 C 4 43.749516 6.2504839 46 9 46 L 41 46 C 43.749516 46 46 43.749516 46 41 L 46 9 C 46 6.2504839 43.749516 4 41 4 L 9 4 z M 9 6 L 41 6 C 42.668484 6 44 7.3315161 44 9 L 44 41 C 44 42.668484 42.668484 44 41 44 L 9 44 C 7.3315161 44 6 42.668484 6 41 L 6 9 C 6 7.3315161 7.3315161 6 9 6 z M 20 11 C 15.054545 11 11 15.054545 11 20 L 11 25 L 11 30 C 11 34.945455 15.054545 39 20 39 L 30 39 C 34.945455 39 39 34.945455 39 30 L 39 24 C 39 22.35503 37.64497 21 36 21 L 35 21 C 34.43497 21 34 20.56503 34 20 C 34 15.054545 29.945455 11 25 11 L 20 11 z M 20 13 L 25 13 C 28.854545 13 32 16.145455 32 20 C 32 21.64497 33.35503 23 35 23 L 36 23 C 36.56503 23 37 23.43497 37 24 L 37 30 C 37 33.854545 33.854545 37 30 37 L 20 37 C 16.145455 37 13 33.854545 13 30 L 13 25 L 13 20 C 13 16.145455 16.145455 13 20 13 z M 20 17 C 18.354545 17 17 18.354545 17 20 C 17 21.645455 18.354545 23 20 23 L 25 23 C 26.645455 23 28 21.645455 28 20 C 28 18.354545 26.645455 17 25 17 L 20 17 z M 20 19 L 25 19 C 25.554545 19 26 19.445455 26 20 C 26 20.554545 25.554545 21 25 21 L 20 21 C 19.445455 21 19 20.554545 19 20 C 19 19.445455 19.445455 19 20 19 z M 20 27 C 18.354545 27 17 28.354545 17 30 C 17 31.645455 18.354545 33 20 33 L 30 33 C 31.645455 33 33 31.645455 33 30 C 33 28.354545 31.645455 27 30 27 L 20 27 z M 20 29 L 30 29 C 30.554545 29 31 29.445455 31 30 C 31 30.554545 30.554545 31 30 31 L 20 31 C 19.445455 31 19 30.554545 19 30 C 19 29.445455 19.445455 29 20 29 z"})});case"newsletter":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:24,height:24,viewBox:"0 0 64 64",children:(0,r.jsx)("path",{d:"M 32 2 C 31.79225 2 31.584203 2.0643594 31.408203 2.1933594 L 16.408203 13.193359 L 16.412109 13.201172 C 16.159109 13.387172 16 13.679 16 14 L 16 17 L 9 17 C 6.243 17 4 19.243 4 22 L 4 53 L 3 53 C 2.448 53 2 53.447 2 54 L 2 57 C 2 59.757 4.243 62 7 62 L 57 62 C 59.757 62 62 59.757 62 57 L 62 54 C 62 53.447 61.552 53 61 53 L 60 53 L 60 22 C 60 19.243 57.757 17 55 17 L 48 17 L 48 14 C 48 13.679 47.839938 13.387172 47.585938 13.201172 L 47.591797 13.193359 L 32.591797 2.1933594 C 32.415797 2.0643594 32.20775 2 32 2 z M 32 4.2402344 L 45.255859 13.960938 L 42 16.130859 L 42 14 C 42 13.447 41.552 13 41 13 L 23 13 C 22.448 13 22 13.447 22 14 L 22 16.130859 L 18.744141 13.960938 L 32 4.2402344 z M 24 15 L 40 15 L 40 17.464844 L 32 22.798828 L 24 17.464844 L 24 15 z M 18 15.867188 L 31.445312 24.832031 C 31.781312 25.057031 32.218688 25.057031 32.554688 24.832031 L 46 15.867188 L 46 31 L 18 31 L 18 15.867188 z M 9 19 L 16 19 L 16 21 L 9 21 C 8.448 21 8 21.447 8 22 L 8 50 C 8 50.553 8.448 51 9 51 L 55 51 C 55.552 51 56 50.553 56 50 L 56 22 C 56 21.447 55.552 21 55 21 L 48 21 L 48 19 L 55 19 C 56.654 19 58 20.346 58 22 L 58 53 L 38 53 C 37.448 53 37 53.447 37 54 C 37 54.552 36.551 55 36 55 L 28 55 C 27.449 55 27 54.552 27 54 C 27 53.447 26.552 53 26 53 L 6 53 L 6 22 C 6 20.346 7.346 19 9 19 z M 10 23 L 16 23 L 16 25 C 13.794 25 12 26.794 12 29 C 12 31.206 13.794 33 16 33 L 17 33 L 47 33 L 48 33 C 50.206 33 52 31.206 52 29 C 52 26.794 50.206 25 48 25 L 48 23 L 54 23 L 54 49 L 10 49 L 10 23 z M 16 27 L 16 31 C 14.897 31 14 30.103 14 29 C 14 27.897 14.897 27 16 27 z M 48 27 C 49.103 27 50 27.897 50 29 C 50 30.103 49.103 31 48 31 L 48 27 z M 31 35 L 31 37 L 33 37 L 33 35 L 31 35 z M 27 39 L 27 41 L 29 41 L 29 39 L 27 39 z M 31 39 L 31 41 L 33 41 L 33 39 L 31 39 z M 35 39 L 35 41 L 37 41 L 37 39 L 35 39 z M 23 43 L 23 45 L 25 45 L 25 43 L 23 43 z M 27 43 L 27 45 L 29 45 L 29 43 L 27 43 z M 31 43 L 31 45 L 33 45 L 33 43 L 31 43 z M 35 43 L 35 45 L 37 45 L 37 43 L 35 43 z M 39 43 L 39 45 L 41 45 L 41 43 L 39 43 z M 4 55 L 25.171875 55 C 25.584875 56.164 26.696 57 28 57 L 36 57 C 37.304 57 38.415125 56.164 38.828125 55 L 60 55 L 60 57 C 60 58.654 58.654 60 57 60 L 7 60 C 5.346 60 4 58.654 4 57 L 4 55 z"})});case"horizonList":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:24,height:24,viewBox:"0 0 50 50",children:(0,r.jsx)("path",{d:"M 2.8125 3 C 1.277344 3 0 4.277344 0 5.8125 L 0 10.8125 C -0.00390625 10.855469 -0.00390625 10.894531 0 10.9375 L 0 46 C 0 46.550781 0.449219 47 1 47 L 49 47 C 49.550781 47 50 46.550781 50 46 L 50 11 C 50 10.96875 50 10.9375 50 10.90625 L 50 5.8125 C 50 4.277344 48.722656 3 47.1875 3 Z M 2.8125 5 L 47.1875 5 C 47.652344 5 48 5.347656 48 5.8125 L 48 10 L 2 10 L 2 5.8125 C 2 5.347656 2.347656 5 2.8125 5 Z M 2 12 L 48 12 L 48 45 L 2 45 Z M 10 17 L 10 19 L 40 19 L 40 17 Z M 10 25 L 10 27 L 13 27 L 13 25 Z M 17 25 L 17 27 L 40 27 L 40 25 Z M 10 31 L 10 33 L 13 33 L 13 31 Z M 17 31 L 17 33 L 40 33 L 40 31 Z M 10 37 L 10 39 L 13 39 L 13 37 Z M 17 37 L 17 39 L 40 39 L 40 37 Z"})});case"product":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:24,height:24,viewBox:"0 0 80 80",style:{fill:"#000000"},children:(0,r.jsx)("path",{d:"M 40 4.5878906 L 30.792969 13.777344 L 32.207031 15.193359 L 39 8.4101562 L 39 25.484375 C 38.999988 25.486385 39 25.488221 39 25.490234 C 39 26.040234 39.45 26.490234 40 26.490234 C 40.55 26.490234 41 26.040234 41 25.490234 C 41 25.488221 41.000012 25.486385 41 25.484375 L 41 8.4101562 L 47.792969 15.193359 L 49.207031 13.777344 L 40 4.5878906 z M 25.707031 28.351562 C 21.755694 29.566599 17.8028 30.783989 13.851562 32 A 1.0001 1.0001 0 0 0 13.011719 32.46875 L 6.1523438 43.425781 A 1.0001 1.0001 0 0 0 6.6132812 44.878906 L 12.859375 47.503906 L 12.859375 63.261719 A 1.0001 1.0001 0 0 0 13.509766 64.197266 L 39.580078 73.9375 A 1.0001 1.0001 0 0 0 39.990234 73.998047 C 39.993681 73.998082 39.996546 74 40 74 C 40.009034 74 40.016412 73.994382 40.025391 73.994141 A 1.0001 1.0001 0 0 0 40.216797 73.957031 C 40.307786 73.936084 40.39287 73.909271 40.472656 73.865234 L 66.349609 64.197266 A 1.0001 1.0001 0 0 0 67 63.261719 L 67 47.556641 L 73.386719 44.878906 A 1.0001 1.0001 0 0 0 73.847656 43.425781 L 66.972656 32.46875 A 1.0001 1.0001 0 0 0 66.150391 32 C 62.198203 30.784634 58.247291 29.567905 54.294922 28.351562 L 53.705078 30.263672 C 56.78267 31.210801 59.861302 32.156996 62.939453 33.103516 L 39.966797 41.535156 L 17.050781 33.107422 C 20.131535 32.159359 23.211828 31.211122 26.292969 30.263672 L 25.707031 28.351562 z M 40 28.478516 C 39.45 28.478516 39 28.928516 39 29.478516 C 39 30.039516 39.45 30.478516 40 30.478516 C 40.55 30.478516 41 30.039516 41 29.478516 C 41 28.928516 40.55 28.478516 40 28.478516 z M 40 32.478516 C 39.45 32.478516 39 32.928516 39 33.478516 C 39 34.039516 39.45 34.478516 40 34.478516 C 40.55 34.478516 41 34.039516 41 33.478516 C 41 32.928516 40.55 32.478516 40 32.478516 z M 14.277344 34.21875 L 38.488281 43.123047 L 32.630859 53.642578 L 8.4726562 43.490234 L 14.277344 34.21875 z M 65.708984 34.21875 L 71.527344 43.490234 L 47.3125 53.644531 L 41.443359 43.121094 L 65.708984 34.21875 z M 40 36.490234 C 39.45 36.490234 39 36.928516 39 37.478516 C 39 38.039516 39.45 38.478516 40 38.478516 C 40.55 38.478516 41 38.039516 41 37.478516 C 41 36.928516 40.55 36.490234 40 36.490234 z M 39.326172 45.730469 C 39.504607 45.895126 39.739547 46 40 46 C 40.239705 46 40.452258 45.903695 40.625 45.761719 L 46.001953 55.400391 A 1.0001 1.0001 0 0 0 47.261719 55.835938 L 65 48.396484 L 65 62.566406 L 39.929688 71.931641 L 14.859375 62.566406 L 14.859375 48.34375 L 32.681641 55.833984 A 1.0001 1.0001 0 0 0 33.943359 55.398438 L 39.326172 45.730469 z M 40 48 C 39.45 48 39 48.45 39 49 C 39 49.55 39.45 50 40 50 C 40.55 50 41 49.55 41 49 C 41 48.45 40.55 48 40 48 z M 40 52 C 39.45 52 39 52.45 39 53 C 39 53.55 39.45 54 40 54 C 40.55 54 41 53.55 41 53 C 41 52.45 40.55 52 40 52 z M 40 56 C 39.45 56 39 56.45 39 57 C 39 57.55 39.45 58 40 58 C 40.55 58 41 57.55 41 57 C 41 56.45 40.55 56 40 56 z M 40 60 C 39.45 60 39 60.45 39 61 C 39 61.55 39.45 62 40 62 C 40.55 62 41 61.55 41 61 C 41 60.45 40.55 60 40 60 z M 40 64 C 39.45 64 39 64.45 39 65 C 39 65.55 39.45 66 40 66 C 40.55 66 41 65.55 41 65 C 41 64.45 40.55 64 40 64 z M 40 68 C 39.45 68 39 68.45 39 69 C 39 69.55 39.45 70 40 70 C 40.55 70 41 69.55 41 69 C 41 68.45 40.55 68 40 68 z"})});case"marketplace":return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M2.96875 10.4961V15.4979C2.96875 18.3273 2.96875 19.742 3.84743 20.621C4.72611 21.5001 6.14032 21.5001 8.96875 21.5001H14.9688C17.7971 21.5001 19.2113 21.5001 20.09 20.621C20.9687 19.742 20.9688 18.3273 20.9688 15.4979V10.4961",stroke:"#141B34","stroke-width":"1.5","stroke-linecap":"round"}),(0,r.jsx)("path",{d:"M14.9688 16.9941C14.2847 17.6013 13.1955 17.9941 11.9688 17.9941C10.742 17.9941 9.65284 17.6013 8.96875 16.9941",stroke:"#141B34","stroke-width":"1.5","stroke-linecap":"round"}),(0,r.jsx)("path",{d:"M10.1038 8.41799C9.82182 9.43639 8.79628 11.1931 6.84777 11.4477C5.12733 11.6725 3.82246 10.9215 3.48916 10.6075C3.12168 10.3529 2.28416 9.53823 2.07906 9.02903C1.87395 8.51983 2.11324 7.41657 2.28416 6.96677L2.96743 4.98839C3.13423 4.49147 3.5247 3.31617 3.92501 2.91864C4.32533 2.52111 5.13581 2.50381 5.4694 2.50381H12.4749C14.2781 2.52929 18.2209 2.48773 19.0003 2.50382C19.7797 2.5199 20.2481 3.17324 20.3848 3.4533C21.5477 6.27012 22 7.88333 22 8.57075C21.8482 9.30407 21.22 10.6868 19.0003 11.295C16.6933 11.927 15.3854 10.6976 14.9751 10.2256M9.15522 10.2256C9.47997 10.6245 10.4987 11.4274 11.9754 11.4477C13.4522 11.4681 14.7273 10.4378 15.1802 9.92013C15.3084 9.76737 15.5853 9.31418 15.8725 8.41799",stroke:"#141B34","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})]});case"menu":case"upgrade":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{fill:"#fff",d:"M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2zm0 18c4.42 0 8-3.58 8-8s-3.58-8-8-8-8 3.58-8 8 3.58 8 8 8zm1-8v4h-2v-4H8l4-4 4 4h-3z"})]});case"share":return(0,r.jsxs)("svg",{width:18,height:18,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.5 4C30.9101 4 28 6.91015 28 10.5C28 14.0899 30.9101 17 34.5 17C38.0899 17 41 14.0899 41 10.5C41 6.91015 38.0899 4 34.5 4ZM26 10.5C26 5.80558 29.8056 2 34.5 2C39.1944 2 43 5.80558 43 10.5C43 15.1944 39.1944 19 34.5 19C29.8056 19 26 15.1944 26 10.5Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.6939 18.285L27.3181 12.9729L28.2125 14.7618L17.5883 20.0739L16.6939 18.285Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.4856 25.2369L31.4856 33.0147L30.5143 34.763L16.5143 26.9853L17.4856 25.2369Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 16C6.91015 16 4 18.9101 4 22.5C4 26.0899 6.91015 29 10.5 29C14.0899 29 17 26.0899 17 22.5C17 18.9101 14.0899 16 10.5 16ZM2 22.5C2 17.8056 5.80558 14 10.5 14C15.1944 14 19 17.8056 19 22.5C19 27.1944 15.1944 31 10.5 31C5.80558 31 2 27.1944 2 22.5Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.5 31C33.9101 31 31 33.9101 31 37.5C31 41.0899 33.9101 44 37.5 44C41.0899 44 44 41.0899 44 37.5C44 33.9101 41.0899 31 37.5 31ZM29 37.5C29 32.8056 32.8056 29 37.5 29C42.1944 29 46 32.8056 46 37.5C46 42.1944 42.1944 46 37.5 46C32.8056 46 29 42.1944 29 37.5Z",fill:"black"})]});case"paypal":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{d:"M20.067 8.478c.492.88.556 2.014.3 3.327-.74 3.806-3.276 5.12-6.514 5.12h-.5a.805.805 0 0 0-.794.68l-.04.22-.63 3.993-.032.17a.804.804 0 0 1-.794.679H7.72a.483.483 0 0 1-.477-.558L7.418 21h1.518l.95-6.02h1.385c4.678 0 7.75-2.203 8.796-6.502zm-2.96-5.09c.762.868.983 1.81.752 3.285-.019.123-.04.24-.062.36-.735 3.773-3.089 5.446-6.956 5.446H8.957c-.63 0-1.174.414-1.354 1.002l-.014-.002-.93 5.894H3.121a.051.051 0 0 1-.05-.06l2.598-16.51A.95.95 0 0 1 6.607 2h5.976c2.183 0 3.716.469 4.523 1.388z"})]});case"paystack":case"paddle":case"razorpay":case"stripe":case"sslcommerz":case"fastspring":case"flutterwave":case"shurjapay":case"card":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{d:"M22 10v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V10h20zm0-2H2V4a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v4zm-7 8v2h4v-2h-4z"})]});case"xendit":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",width:256,height:256,viewBox:"0 0 256 256",xmlSpace:"preserve",children:[(0,r.jsx)("defs",{}),(0,r.jsxs)("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"none",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:[(0,r.jsx)("path",{d:"M 0 35.924 h 56.29 c 0.011 0.291 0.035 0.58 0.059 0.87 c 0.005 0.066 0.007 0.133 0.013 0.199 c 0.045 0.483 0.113 0.964 0.194 1.441 c 0.03 0.179 0.064 0.357 0.098 0.535 c 0.065 0.328 0.139 0.654 0.221 0.978 c 0.091 0.366 0.195 0.728 0.307 1.088 c 0.053 0.168 0.104 0.337 0.161 0.504 c 0.348 1.027 0.78 2.024 1.288 2.991 H 0 V 35.924 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"rgb(0,0,0)",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M 5.246 21.813 h 51.03 v 9.722 H 0 v -4.476 C 0 24.166 2.353 21.813 5.246 21.813 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"rgb(0,0,0)",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M 80.198 55.348 c -0.282 0.131 -0.566 0.258 -0.853 0.381 c -0.217 0.092 -0.433 0.185 -0.654 0.272 c -0.55 0.22 -1.106 0.43 -1.675 0.619 c -0.131 0.043 -0.267 0.065 -0.401 0.098 c -0.421 0.104 -0.85 0.173 -1.283 0.173 c -0.571 0 -1.142 -0.09 -1.685 -0.27 c -4.905 -1.63 -8.988 -4.329 -11.97 -7.699 H 0 v 23.147 c 0 2.893 2.353 5.246 5.246 5.246 h 76.397 c 2.893 0 5.246 -2.353 5.246 -5.246 V 51.026 C 84.966 52.727 82.717 54.186 80.198 55.348 z M 47.863 67.48 H 7.908 c -1.212 0 -2.195 -0.983 -2.195 -2.195 c 0 -1.212 0.983 -2.195 2.195 -2.195 h 39.955 c 1.212 0 2.195 0.983 2.195 2.195 C 50.058 66.497 49.075 67.48 47.863 67.48 z M 78.98 67.48 h -8.837 c -1.212 0 -2.195 -0.983 -2.195 -2.195 c 0 -1.212 0.983 -2.195 2.195 -2.195 h 8.837 c 1.212 0 2.195 0.983 2.195 2.195 C 81.176 66.497 80.193 67.48 78.98 67.48 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"rgb(0,0,0)",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M 75.333 12.771 c -4.124 3.145 -9.056 5.274 -14.667 6.335 v 0.512 v 14.112 v 1.442 c 0 0.461 0.023 0.918 0.063 1.372 c 0.03 0.325 0.081 0.648 0.131 0.97 c 0.019 0.121 0.029 0.243 0.051 0.363 c 0.483 2.652 1.673 5.195 3.514 7.469 c 0.037 0.046 0.056 0.1 0.088 0.148 c 2.503 3.045 6.117 5.498 10.52 6.96 c 0.192 0.063 0.405 0.065 0.599 0 c 0.596 -0.198 1.18 -0.418 1.751 -0.655 c 0.095 -0.039 0.185 -0.084 0.279 -0.124 c 0.497 -0.213 0.988 -0.437 1.464 -0.678 c 0.045 -0.023 0.089 -0.047 0.135 -0.07 c 3.329 -1.718 6.1 -4.115 7.995 -6.968 c 0.018 -0.027 0.046 -0.044 0.065 -0.07 c 1.719 -2.629 2.68 -5.601 2.68 -8.716 V 19.106 C 84.388 18.045 79.456 15.915 75.333 12.771 z M 84.09 27.999 l -9.379 11.899 c -0.416 0.528 -1.051 0.836 -1.724 0.836 s -1.308 -0.308 -1.724 -0.837 l -4.689 -5.95 c -0.751 -0.952 -0.587 -2.332 0.364 -3.083 c 0.953 -0.749 2.332 -0.587 3.083 0.365 l 2.966 3.762 l 7.655 -9.712 c 0.751 -0.953 2.131 -1.115 3.083 -0.365 S 84.841 27.047 84.09 27.999 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"rgb(0,0,0)",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"})]})]});case"wallet":return(0,r.jsx)("svg",{fill:"#000000",version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 353.942 353.942",children:(0,r.jsx)("g",{children:(0,r.jsx)("g",{id:"Layer_8_34_",children:(0,r.jsx)("path",{d:"M249.501,230.306c0,6.437-5.221,11.673-11.667,11.673c-6.44,0-11.677-5.236-11.677-11.673 c0-6.445,5.236-11.67,11.677-11.67C244.281,218.636,249.501,223.861,249.501,230.306z M316.182,86.47 c4.646,0,8.408-3.765,8.408-8.405c0-4.638-3.762-8.405-8.408-8.405h-45.034l5.429,16.81H316.182z M353.942,221.01v21.527 c0,11.146-7.335,20.508-17.379,23.818v73.594c0,6.188-5.021,11.206-11.207,11.206H11.217c-6.185,0-11.206-5.018-11.206-11.206 V116.476c0-0.682,0.084-1.344,0.203-1.994C0.086,113.283,0,112.068,0,110.84c0-18.648,14.866-41.171,33.323-41.171h13.718 c-0.577,0.574-1.149,1.141-1.721,1.718c-4.086,4.085-4.258,10.725-0.611,15.092H33.323c-6.578,0-13.533,9.732-15.763,18.792 h307.796c6.187,0,11.207,5.022,11.207,11.206v80.715C346.607,200.501,353.942,209.864,353.942,221.01z M348.338,221.01 c0-10.802-8.779-19.579-19.581-19.579h-98.512c-16.531,0-29.938,13.406-29.938,29.943c0,16.53,13.406,29.942,29.938,29.942 h103.768c8.238-2.31,14.329-9.806,14.329-18.779V221.01H348.338z M275.039,97.387l-15.157-39.116L158.927,97.387H275.039z M55.065,97.387h28.666l166.34-64.449l-9.5-24.55c-1.757-4.515-6.846-6.755-11.36-5.007L54.307,71.141 c-4.522,1.753-6.763,6.837-5.015,11.352L55.065,97.387z"})})})});case"lock":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{d:"M19 10h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1V9a7 7 0 1 1 14 0v1zm-2 0V9A5 5 0 0 0 7 9v1h10zm-6 4v4h2v-4h-2z"})]});case"check":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24,children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{fill:"#fff",d:"M10 15.172l9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z"})]});case"course":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:18,height:18,viewBox:"0 0 50 50",style:{fill:"#000000"},children:(0,r.jsx)("path",{d:"M 5.101563 3 C 3.945313 3 3 3.945313 3 5.101563 L 3 44.902344 C 3 46.054688 3.945313 47 5.101563 47 L 16.902344 47 C 17.300781 47 17.675781 46.894531 17.996094 46.714844 C 18.292969 46.890625 18.632813 47 19 47 L 31 47 C 31.378906 47 31.730469 46.886719 32.035156 46.699219 C 32.347656 46.886719 32.710938 47 33.097656 47 L 44.902344 47 C 46.054688 47 47 46.167969 47 45 L 47 5.101563 C 47 3.945313 46.054688 3 44.902344 3 L 33.097656 3 C 31.945313 3 31 3.945313 31 5.101563 L 31 12 L 19 12 L 19 5.101563 C 19 3.945313 18.054688 3 16.902344 3 Z M 5.101563 5 L 16.902344 5 C 16.945313 5 17 5.054688 17 5.101563 L 17 45 C 17 44.832031 16.945313 45 16.902344 45 L 5.101563 45 C 5.054688 45 5 44.945313 5 44.902344 L 5 5.101563 C 5 5.054688 5.054688 5 5.101563 5 Z M 33.097656 5 L 44.902344 5 C 44.945313 5 45 5.054688 45 5.101563 L 45 45 C 45 44.832031 44.945313 45 44.902344 45 L 33.097656 45 C 33.054688 45 33 44.945313 33 44.902344 L 33 5.101563 C 33 5.054688 33.054688 5 33.097656 5 Z M 8 11 C 7.640625 10.996094 7.304688 11.183594 7.121094 11.496094 C 6.941406 11.808594 6.941406 12.191406 7.121094 12.503906 C 7.304688 12.816406 7.640625 13.003906 8 13 L 14 13 C 14.359375 13.003906 14.695313 12.816406 14.878906 12.503906 C 15.058594 12.191406 15.058594 11.808594 14.878906 11.496094 C 14.695313 11.183594 14.359375 10.996094 14 11 Z M 36 11 C 35.640625 10.996094 35.304688 11.183594 35.121094 11.496094 C 34.941406 11.808594 34.941406 12.191406 35.121094 12.503906 C 35.304688 12.816406 35.640625 13.003906 36 13 L 42 13 C 42.359375 13.003906 42.695313 12.816406 42.878906 12.503906 C 43.058594 12.191406 43.058594 11.808594 42.878906 11.496094 C 42.695313 11.183594 42.359375 10.996094 42 11 Z M 19 14 L 31 14 L 31 45 L 19 45 Z M 22 20 C 21.640625 19.996094 21.304688 20.183594 21.121094 20.496094 C 20.941406 20.808594 20.941406 21.191406 21.121094 21.503906 C 21.304688 21.816406 21.640625 22.003906 22 22 L 28 22 C 28.359375 22.003906 28.695313 21.816406 28.878906 21.503906 C 29.058594 21.191406 29.058594 20.808594 28.878906 20.496094 C 28.695313 20.183594 28.359375 19.996094 28 20 Z M 8 34 C 7.640625 33.996094 7.304688 34.183594 7.121094 34.496094 C 6.941406 34.808594 6.941406 35.191406 7.121094 35.503906 C 7.304688 35.816406 7.640625 36.003906 8 36 L 14 36 C 14.359375 36.003906 14.695313 35.816406 14.878906 35.503906 C 15.058594 35.191406 15.058594 34.808594 14.878906 34.496094 C 14.695313 34.183594 14.359375 33.996094 14 34 Z M 36 34 C 35.640625 33.996094 35.304688 34.183594 35.121094 34.496094 C 34.941406 34.808594 34.941406 35.191406 35.121094 35.503906 C 35.304688 35.816406 35.640625 36.003906 36 36 L 42 36 C 42.359375 36.003906 42.695313 35.816406 42.878906 35.503906 C 43.058594 35.191406 43.058594 34.808594 42.878906 34.496094 C 42.695313 34.183594 42.359375 33.996094 42 34 Z M 8 38 C 7.640625 37.996094 7.304688 38.183594 7.121094 38.496094 C 6.941406 38.808594 6.941406 39.191406 7.121094 39.503906 C 7.304688 39.816406 7.640625 40.003906 8 40 L 14 40 C 14.359375 40.003906 14.695313 39.816406 14.878906 39.503906 C 15.058594 39.191406 15.058594 38.808594 14.878906 38.496094 C 14.695313 38.183594 14.359375 37.996094 14 38 Z M 36 38 C 35.640625 37.996094 35.304688 38.183594 35.121094 38.496094 C 34.941406 38.808594 34.941406 39.191406 35.121094 39.503906 C 35.304688 39.816406 35.640625 40.003906 36 40 L 42 40 C 42.359375 40.003906 42.695313 39.816406 42.878906 39.503906 C 43.058594 39.191406 43.058594 38.808594 42.878906 38.496094 C 42.695313 38.183594 42.359375 37.996094 42 38 Z M 22 39 C 21.449219 39 21 39.449219 21 40 C 21 40.550781 21.449219 41 22 41 L 28.050781 41 C 28.023438 40.667969 28 40.339844 28 40 C 28 39.660156 28.023438 39.332031 28.050781 39 Z"})});case"div":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:24,height:24,viewBox:"0 0 64 64",style:{fill:"#000000"},children:(0,r.jsx)("path",{d:"M 14.419922 3 A 3.42 3.42 0 0 0 11 6.4199219 L 11 34 L 8 34 A 1 1 0 0 0 7 35 L 7 49 L 7 49.070312 A 1.08 1.08 0 0 0 7.3398438 49.75 L 7.3398438 49.800781 L 11 52.5 L 11 57.580078 A 3.42 3.42 0 0 0 14.419922 61 L 49.580078 61 A 3.42 3.42 0 0 0 53 57.580078 L 53 52.5 L 56.599609 49.800781 L 56.599609 49.75 A 1.08 1.08 0 0 0 56.939453 49.070312 L 56.939453 49 L 57 35 A 1 1 0 0 0 56 34 L 53 34 L 53 16 L 53 15.939453 A 1 1 0 0 0 53 15.730469 L 53 15.660156 A 1 1 0 0 0 52.820312 15.369141 L 41.820312 3.3691406 A 1 1 0 0 0 41.529297 3.1601562 L 41.470703 3.1601562 A 1 1 0 0 0 41.109375 3 L 14.419922 3 z M 14.419922 5 L 19 5 L 19 34 L 13 34 L 13 6.4199219 A 1.42 1.42 0 0 1 14.419922 5 z M 21 5 L 40 5 L 40 16 A 1 1 0 0 0 41 17 L 51 17 L 51 34 L 21 34 L 21 5 z M 42 6.5703125 L 49.730469 15 L 42 15 L 42 6.5703125 z M 9 36 L 55 36 L 55 48 L 9 48 L 9 36 z M 43.123047 37.179688 A 0.74 0.74 0 0 0 42.710938 37.320312 A 0.85 0.85 0 0 0 42.460938 37.640625 C 42.407604 37.760625 42.330469 37.97263 42.230469 38.279297 L 40.230469 44.080078 L 38.279297 38.320312 A 3.63 3.63 0 0 0 38.070312 37.480469 A 0.7 0.7 0 0 0 37.439453 37.210938 A 0.81 0.81 0 0 0 36.839844 37.460938 A 0.76 0.76 0 0 0 36.599609 38 A 1.35 1.35 0 0 0 36.599609 38.289062 A 2.32 2.32 0 0 0 36.689453 38.609375 L 36.800781 38.910156 L 38.800781 44.480469 C 38.874115 44.693802 38.946198 44.89651 39.019531 45.089844 A 2.68 2.68 0 0 0 39.279297 45.599609 A 1.13 1.13 0 0 0 39.669922 45.960938 A 1.19 1.19 0 0 0 40.259766 46.099609 A 1.17 1.17 0 0 0 40.849609 45.960938 A 1.15 1.15 0 0 0 41.240234 45.599609 A 2.59 2.59 0 0 0 41.5 45.089844 C 41.573333 44.89651 41.64737 44.693802 41.720703 44.480469 L 43.800781 38.869141 L 43.910156 38.570312 A 2.53 2.53 0 0 0 44 38.279297 A 1.22 1.22 0 0 0 44 38 A 0.73 0.73 0 0 0 43.900391 37.589844 A 0.82 0.82 0 0 0 43.599609 37.289062 A 0.8 0.8 0 0 0 43.189453 37.179688 A 0.74 0.74 0 0 0 43.123047 37.179688 z M 34.126953 37.189453 A 0.8 0.8 0 0 0 33.560547 37.449219 A 1.14 1.14 0 0 0 33.320312 38.240234 L 33.320312 45 A 1.14 1.14 0 0 0 33.560547 45.789062 A 0.8 0.8 0 0 0 34.179688 46.060547 A 0.82 0.82 0 0 0 34.820312 45.800781 A 1.14 1.14 0 0 0 35.060547 45 L 35.060547 38.240234 A 1.13 1.13 0 0 0 34.820312 37.449219 A 0.83 0.83 0 0 0 34.179688 37.189453 A 0.8 0.8 0 0 0 34.126953 37.189453 z M 25.3125 37.3125 A 0.91 0.91 0 0 0 24.390625 38.400391 L 24.390625 44.689453 A 2.57 2.57 0 0 0 24.460938 45.369141 A 0.67 0.67 0 0 0 24.769531 45.769531 A 1.42 1.42 0 0 0 25.480469 45.910156 L 27.75 45.910156 A 6.71 6.71 0 0 0 28.810547 45.830078 A 3.42 3.42 0 0 0 29.689453 45.570312 A 3 3 0 0 0 30.449219 45.070312 A 3.58 3.58 0 0 0 31.169922 44.150391 A 4.17 4.17 0 0 0 31.589844 43 A 6.85 6.85 0 0 0 31.730469 41.599609 A 4.35 4.35 0 0 0 30.390625 38.109375 A 2.79 2.79 0 0 0 29.240234 37.490234 A 6.11 6.11 0 0 0 27.720703 37.330078 L 25.460938 37.330078 A 0.91 0.91 0 0 0 25.3125 37.3125 z M 26.119141 38.710938 L 27.310547 38.710938 A 4.67 4.67 0 0 1 28.669922 38.880859 A 1.71 1.71 0 0 1 29.619141 39.689453 A 3.75 3.75 0 0 1 30 41.589844 A 3.18 3.18 0 0 1 29.089844 44.160156 A 1.39 1.39 0 0 1 28.630859 44.419922 A 2.12 2.12 0 0 1 28.119141 44.539062 L 27.439453 44.539062 L 26.119141 44.539062 L 26.119141 38.710938 z M 21.511719 44.289062 A 0.83 0.83 0 0 0 20.919922 44.550781 A 0.85 0.85 0 0 0 20.669922 45.169922 A 0.83 0.83 0 0 0 20.929688 45.830078 A 0.91 0.91 0 0 0 21.560547 46.060547 A 0.88 0.88 0 0 0 22.169922 45.810547 A 0.9 0.9 0 0 0 22.169922 44.539062 A 0.87 0.87 0 0 0 21.539062 44.289062 A 0.83 0.83 0 0 0 21.511719 44.289062 z M 13 50 L 19 50 L 19 59 L 14.419922 59 A 1.42 1.42 0 0 1 13 57.580078 L 13 50 z M 21 50 L 51 50 L 51 57.580078 A 1.42 1.42 0 0 1 49.580078 59 L 21 59 L 21 50 z"})});case"input":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:24,height:24,viewBox:"0 0 80 80",style:{fill:"#000000"},children:(0,r.jsx)("path",{d:"M 6 20 C 3.8026661 20 2 21.802666 2 24 L 2 56 C 2 58.197334 3.8026661 60 6 60 L 74 60 C 76.197334 60 78 58.197334 78 56 L 78 24 C 78 21.802666 76.197334 20 74 20 L 6 20 z M 6 22 L 74 22 C 75.116666 22 76 22.883334 76 24 L 76 56 C 76 57.116666 75.116666 58 74 58 L 6 58 C 4.8833339 58 4 57.116666 4 56 L 4 24 C 4 22.883334 4.8833339 22 6 22 z M 16 43 A 2 2 0 0 0 14 45 A 2 2 0 0 0 16 47 A 2 2 0 0 0 18 45 A 2 2 0 0 0 16 43 z M 24 43 A 2 2 0 0 0 22 45 A 2 2 0 0 0 24 47 A 2 2 0 0 0 26 45 A 2 2 0 0 0 24 43 z M 32 43 A 2 2 0 0 0 30 45 A 2 2 0 0 0 32 47 A 2 2 0 0 0 34 45 A 2 2 0 0 0 32 43 z M 8 53 A 1 1 0 0 0 7 54 A 1 1 0 0 0 8 55 A 1 1 0 0 0 9 54 A 1 1 0 0 0 8 53 z M 12 53 A 1 1 0 0 0 11 54 A 1 1 0 0 0 12 55 A 1 1 0 0 0 13 54 A 1 1 0 0 0 12 53 z M 16 53 A 1 1 0 0 0 15 54 A 1 1 0 0 0 16 55 A 1 1 0 0 0 17 54 A 1 1 0 0 0 16 53 z M 20 53 A 1 1 0 0 0 19 54 A 1 1 0 0 0 20 55 A 1 1 0 0 0 21 54 A 1 1 0 0 0 20 53 z M 24 53 A 1 1 0 0 0 23 54 A 1 1 0 0 0 24 55 A 1 1 0 0 0 25 54 A 1 1 0 0 0 24 53 z M 28 53 A 1 1 0 0 0 27 54 A 1 1 0 0 0 28 55 A 1 1 0 0 0 29 54 A 1 1 0 0 0 28 53 z M 32 53 A 1 1 0 0 0 31 54 A 1 1 0 0 0 32 55 A 1 1 0 0 0 33 54 A 1 1 0 0 0 32 53 z M 36 53 A 1 1 0 0 0 35 54 A 1 1 0 0 0 36 55 A 1 1 0 0 0 37 54 A 1 1 0 0 0 36 53 z M 40 53 A 1 1 0 0 0 39 54 A 1 1 0 0 0 40 55 A 1 1 0 0 0 41 54 A 1 1 0 0 0 40 53 z M 44 53 A 1 1 0 0 0 43 54 A 1 1 0 0 0 44 55 A 1 1 0 0 0 45 54 A 1 1 0 0 0 44 53 z M 48 53 A 1 1 0 0 0 47 54 A 1 1 0 0 0 48 55 A 1 1 0 0 0 49 54 A 1 1 0 0 0 48 53 z M 52 53 A 1 1 0 0 0 51 54 A 1 1 0 0 0 52 55 A 1 1 0 0 0 53 54 A 1 1 0 0 0 52 53 z M 56 53 A 1 1 0 0 0 55 54 A 1 1 0 0 0 56 55 A 1 1 0 0 0 57 54 A 1 1 0 0 0 56 53 z M 60 53 A 1 1 0 0 0 59 54 A 1 1 0 0 0 60 55 A 1 1 0 0 0 61 54 A 1 1 0 0 0 60 53 z M 64 53 A 1 1 0 0 0 63 54 A 1 1 0 0 0 64 55 A 1 1 0 0 0 65 54 A 1 1 0 0 0 64 53 z M 68 53 A 1 1 0 0 0 67 54 A 1 1 0 0 0 68 55 A 1 1 0 0 0 69 54 A 1 1 0 0 0 68 53 z M 72 53 A 1 1 0 0 0 71 54 A 1 1 0 0 0 72 55 A 1 1 0 0 0 73 54 A 1 1 0 0 0 72 53 z"})});case"singleCourse":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 80 80",style:{fill:"#000000"},children:(0,r.jsx)("path",{d:"M 15 9 L 15 71 L 65 71 L 65 24 L 65 9 L 50 9 L 15 9 z M 17 11 L 50 11 L 63 11 L 63 24 L 63 69 L 17 69 L 17 11 z M 28 25 C 27.45 25 27 25.45 27 26 C 27 26.55 27.45 27 28 27 C 28.55 27 29 26.55 29 26 C 29 25.45 28.55 25 28 25 z M 32 25 C 31.45 25 31 25.45 31 26 C 31 26.55 31.45 27 32 27 C 32.55 27 33 26.55 33 26 C 33 25.45 32.55 25 32 25 z M 36 25 C 35.45 25 35 25.45 35 26 C 35 26.55 35.45 27 36 27 C 36.55 27 37 26.55 37 26 C 37 25.45 36.55 25 36 25 z M 40 25 C 39.45 25 39 25.45 39 26 C 39 26.55 39.45 27 40 27 C 40.55 27 41 26.55 41 26 C 41 25.45 40.55 25 40 25 z M 44 25 C 43.45 25 43 25.45 43 26 C 43 26.55 43.45 27 44 27 C 44.55 27 45 26.55 45 26 C 45 25.45 44.55 25 44 25 z M 48 25 C 47.45 25 47 25.45 47 26 C 47 26.55 47.45 27 48 27 C 48.55 27 49 26.55 49 26 C 49 25.45 48.55 25 48 25 z M 52 25 C 51.45 25 51 25.45 51 26 C 51 26.55 51.45 27 52 27 C 52.55 27 53 26.55 53 26 C 53 25.45 52.55 25 52 25 z M 28 34 C 27.45 34 27 34.45 27 35 C 27 35.55 27.45 36 28 36 C 28.55 36 29 35.55 29 35 C 29 34.45 28.55 34 28 34 z M 32 34 C 31.45 34 31 34.45 31 35 C 31 35.55 31.45 36 32 36 C 32.55 36 33 35.55 33 35 C 33 34.45 32.55 34 32 34 z M 36 34 C 35.45 34 35 34.45 35 35 C 35 35.55 35.45 36 36 36 C 36.55 36 37 35.55 37 35 C 37 34.45 36.55 34 36 34 z M 40 34 C 39.45 34 39 34.45 39 35 C 39 35.55 39.45 36 40 36 C 40.55 36 41 35.55 41 35 C 41 34.45 40.55 34 40 34 z M 44 34 C 43.45 34 43 34.45 43 35 C 43 35.55 43.45 36 44 36 C 44.55 36 45 35.55 45 35 C 45 34.45 44.55 34 44 34 z M 48 34 C 47.45 34 47 34.45 47 35 C 47 35.55 47.45 36 48 36 C 48.55 36 49 35.55 49 35 C 49 34.45 48.55 34 48 34 z M 52 34 C 51.45 34 51 34.45 51 35 C 51 35.55 51.45 36 52 36 C 52.55 36 53 35.55 53 35 C 53 34.45 52.55 34 52 34 z M 28 43 C 27.45 43 27 43.45 27 44 C 27 44.55 27.45 45 28 45 C 28.55 45 29 44.55 29 44 C 29 43.45 28.55 43 28 43 z M 32 43 C 31.45 43 31 43.45 31 44 C 31 44.55 31.45 45 32 45 C 32.55 45 33 44.55 33 44 C 33 43.45 32.55 43 32 43 z M 36 43 C 35.45 43 35 43.45 35 44 C 35 44.55 35.45 45 36 45 C 36.55 45 37 44.55 37 44 C 37 43.45 36.55 43 36 43 z M 40 43 C 39.45 43 39 43.45 39 44 C 39 44.55 39.45 45 40 45 C 40.55 45 41 44.55 41 44 C 41 43.45 40.55 43 40 43 z M 44 43 C 43.45 43 43 43.45 43 44 C 43 44.55 43.45 45 44 45 C 44.55 45 45 44.55 45 44 C 45 43.45 44.55 43 44 43 z M 48 43 C 47.45 43 47 43.45 47 44 C 47 44.55 47.45 45 48 45 C 48.55 45 49 44.55 49 44 C 49 43.45 48.55 43 48 43 z M 52 43 C 51.45 43 51 43.45 51 44 C 51 44.55 51.45 45 52 45 C 52.55 45 53 44.55 53 44 C 53 43.45 52.55 43 52 43 z M 28 52 C 27.45 52 27 52.45 27 53 C 27 53.55 27.45 54 28 54 C 28.55 54 29 53.55 29 53 C 29 52.45 28.55 52 28 52 z M 32 52 C 31.45 52 31 52.45 31 53 C 31 53.55 31.45 54 32 54 C 32.55 54 33 53.55 33 53 C 33 52.45 32.55 52 32 52 z M 36 52 C 35.45 52 35 52.45 35 53 C 35 53.55 35.45 54 36 54 C 36.55 54 37 53.55 37 53 C 37 52.45 36.55 52 36 52 z M 40 52 C 39.45 52 39 52.45 39 53 C 39 53.55 39.45 54 40 54 C 40.55 54 41 53.55 41 53 C 41 52.45 40.55 52 40 52 z M 44 52 C 43.45 52 43 52.45 43 53 C 43 53.55 43.45 54 44 54 C 44.55 54 45 53.55 45 53 C 45 52.45 44.55 52 44 52 z M 48 52 C 47.45 52 47 52.45 47 53 C 47 53.55 47.45 54 48 54 C 48.55 54 49 53.55 49 53 C 49 52.45 48.55 52 48 52 z M 52 52 C 51.45 52 51 52.45 51 53 C 51 53.55 51.45 54 52 54 C 52.55 54 53 53.55 53 53 C 53 52.45 52.55 52 52 52 z"})});case"bundle":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24",style:{fill:"#000000"},children:[(0,r.jsx)("path",{d:"M3.615,6.256l8,3.333a.989.989,0,0,0,.77,0l8-3.333a1,1,0,0,0,0-1.845l-8-3.334a1.007,1.007,0,0,0-.77,0l-8,3.334a1,1,0,0,0,0,1.845ZM12,3.083l5.4,2.25L12,7.583,6.6,5.333Z"}),(0,r.jsx)("path",{d:"M20.923,9.393a1,1,0,0,0-1.308-.538L12,12.028,4.385,8.855a1,1,0,1,0-.77,1.846l8,3.333a1,1,0,0,0,.77,0l8-3.333A1,1,0,0,0,20.923,9.393Z"}),(0,r.jsx)("path",{d:"M19.615,13.3,12,16.472,4.385,13.3a1,1,0,1,0-.77,1.846l8,3.334a1,1,0,0,0,.77,0l8-3.334a1,1,0,1,0-.77-1.846Z"}),(0,r.jsx)("path",{d:"M3.615,19.589l8,3.334a1,1,0,0,0,.77,0l8-3.334a1,1,0,1,0-.77-1.845L12,20.917,4.385,17.744a1,1,0,1,0-.77,1.845Z"})]});case"download":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:18,height:18,viewBox:"0 0 64 64",style:{fill:"#000000"},children:(0,r.jsx)("path",{d:"M 23.521484 11 C 22.050484 11 20.634156 11.537625 19.535156 12.515625 L 13.015625 18.3125 C 11.734625 19.4485 11 21.083875 11 22.796875 L 11 47 C 11 50.309 13.691 53 17 53 L 47 53 C 50.309 53 53 50.309 53 47 L 53 22.796875 C 53 21.083875 52.265328 19.4485 50.986328 18.3125 L 44.466797 12.517578 C 43.367797 11.538578 41.951469 11 40.480469 11 L 23.521484 11 z M 23.521484 15 L 40.478516 15 C 40.969516 15 41.441594 15.179859 41.808594 15.505859 L 46.863281 20 L 17.136719 20 L 22.193359 15.505859 C 22.559359 15.180859 23.031484 15 23.521484 15 z M 15 24 L 49 24 L 49 47 C 49 48.103 48.103 49 47 49 L 17 49 C 15.897 49 15 48.103 15 47 L 15 24 z M 32 27.949219 C 30.896 27.949219 30 28.845219 30 29.949219 L 30 39.171875 L 27.414062 36.585938 C 26.633062 35.804938 25.366937 35.804937 24.585938 36.585938 C 23.804938 37.366938 23.804938 38.633063 24.585938 39.414062 L 30.585938 45.414062 C 30.976938 45.805062 31.488 46 32 46 C 32.512 46 33.023063 45.805062 33.414062 45.414062 L 39.414062 39.414062 C 40.195062 38.633062 40.195063 37.366937 39.414062 36.585938 C 38.633062 35.804938 37.366937 35.804938 36.585938 36.585938 L 34 39.171875 L 34 29.949219 C 34 28.845219 33.104 27.949219 32 27.949219 z"})});case"code":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:24,height:24,viewBox:"0 0 91 91",style:{fill:"#000000"},children:(0,r.jsx)("path",{d:"M 3.3222656 7.3574219 C 1.9342656 7.3574219 0.81054688 8.4821406 0.81054688 9.8691406 L 0.81054688 29.320312 L 0.81054688 29.324219 L 0.81054688 82.685547 C 0.81054688 84.072547 1.9342656 85.197266 3.3222656 85.197266 L 79.988281 85.197266 C 85.613281 85.197266 90.189453 80.621141 90.189453 74.994141 L 90.189453 29.324219 L 90.189453 29.320312 L 90.189453 9.8691406 C 90.188453 8.4821406 89.063781 7.3574219 87.675781 7.3574219 L 3.3222656 7.3574219 z M 5.8359375 12.382812 L 85.164062 12.382812 L 85.164062 26.808594 L 5.8359375 26.808594 L 5.8359375 12.382812 z M 15.568359 17.080078 C 14.179359 17.080078 13.054688 18.20675 13.054688 19.59375 C 13.054688 20.98075 14.179359 22.107422 15.568359 22.107422 L 15.839844 22.107422 C 17.227844 22.107422 18.351563 20.98075 18.351562 19.59375 C 18.351562 18.20675 17.227844 17.080078 15.839844 17.080078 L 15.568359 17.080078 z M 26.691406 17.080078 C 25.303406 17.080078 24.179687 18.20675 24.179688 19.59375 C 24.179688 20.98075 25.303406 22.107422 26.691406 22.107422 L 26.962891 22.107422 C 28.350891 22.107422 29.476563 20.98075 29.476562 19.59375 C 29.476562 18.20675 28.350891 17.080078 26.962891 17.080078 L 26.691406 17.080078 z M 37.816406 17.080078 C 36.428406 17.080078 35.304688 18.20675 35.304688 19.59375 C 35.304688 20.98075 36.428406 22.107422 37.816406 22.107422 L 38.087891 22.107422 C 39.476891 22.107422 40.601562 20.98075 40.601562 19.59375 C 40.601562 18.20675 39.476891 17.080078 38.087891 17.080078 L 37.816406 17.080078 z M 5.8359375 31.835938 L 85.164062 31.835938 L 85.164062 74.994141 C 85.164062 77.849141 82.842281 80.171875 79.988281 80.171875 L 5.8359375 80.171875 L 5.8359375 31.835938 z M 55.152344 34.738281 C 54.175891 34.675047 53.209437 35.189141 52.742188 36.119141 L 34.748047 71.994141 C 34.125047 73.234141 34.626188 74.744188 35.867188 75.367188 C 36.228187 75.549188 36.613188 75.632812 36.992188 75.632812 C 37.912188 75.632812 38.798281 75.127047 39.238281 74.248047 L 57.234375 38.373047 C 57.855375 37.131047 57.355281 35.621 56.113281 35 C 55.803281 34.84475 55.477828 34.759359 55.152344 34.738281 z M 32.986328 45.492188 C 32.345203 45.444563 31.686156 45.64175 31.160156 46.09375 L 22.523438 53.529297 C 21.968438 54.008297 21.650391 54.703594 21.650391 55.433594 C 21.650391 56.163594 21.967484 56.859891 22.521484 57.337891 L 31.158203 64.775391 C 31.633203 65.183391 32.217828 65.382812 32.798828 65.382812 C 33.503828 65.382812 34.206125 65.087766 34.703125 64.509766 C 35.608125 63.460766 35.490453 61.872797 34.439453 60.966797 L 28.013672 55.433594 L 34.4375 49.900391 C 35.4905 48.996391 35.608125 47.410422 34.703125 46.357422 C 34.250625 45.831922 33.627453 45.539812 32.986328 45.492188 z M 60.341797 45.492188 C 59.700672 45.539812 59.077047 45.831922 58.623047 46.357422 C 57.717047 47.408422 57.835719 48.996391 58.886719 49.900391 L 65.310547 55.433594 L 58.886719 60.966797 C 57.835719 61.872797 57.717047 63.460719 58.623047 64.511719 C 59.119047 65.087719 59.822344 65.382812 60.527344 65.382812 C 61.107344 65.382812 61.691016 65.183391 62.166016 64.775391 L 70.800781 57.337891 C 71.353781 56.858891 71.671875 56.163594 71.671875 55.433594 C 71.671875 54.703594 71.353781 54.007297 70.800781 53.529297 L 62.166016 46.09375 C 61.641516 45.64175 60.982922 45.444563 60.341797 45.492188 z"})});case"html":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:24,height:24,viewBox:"0 0 64 64",style:{fill:"#000000"},children:(0,r.jsx)("path",{d:"M 9 0 A 1 1 0 0 0 8 1 L 8 3 L 1 3 A 1 1 0 0 0 0 4 L 0 20 A 1 1 0 0 0 1 21 L 37 21 A 1 1 0 0 0 38 20 L 38 4 A 1 1 0 0 0 37 3 L 10 3 L 10 2 L 42 2 L 42 13 A 1 1 0 0 0 43 14 L 54 14 L 54 16 L 56 16 L 56 13 A 1 1 0 0 0 55.707031 12.292969 L 43.707031 0.29296875 A 1 1 0 0 0 43 0 L 9 0 z M 44 3.4140625 L 52.585938 12 L 44 12 L 44 3.4140625 z M 2 5 L 36 5 L 36 19 L 2 19 L 2 5 z M 4 7 L 4 17 L 6 17 L 6 13 L 9 13 L 9 17 L 11 17 L 11 7 L 9 7 L 9 11 L 6 11 L 6 7 L 4 7 z M 12 7 L 12 9 L 14 9 L 14 17 L 16 17 L 16 9 L 18 9 L 18 7 L 12 7 z M 20.029297 7 A 1 1 0 0 0 19 8 L 19 17 L 21 17 L 21 12.871094 L 22.080078 15.394531 A 1 1 0 0 0 23.919922 15.394531 L 25 12.871094 L 25 17 L 27 17 L 27 8 A 1 1 0 0 0 25.080078 7.6054688 L 23 12.460938 L 20.919922 7.6054688 A 1 1 0 0 0 20.029297 7 z M 29 7 L 29 16 A 1 1 0 0 0 30 17 L 34 17 L 34 15 L 31 15 L 31 7 L 29 7 z M 54 18 L 54 20 L 56 20 L 56 18 L 54 18 z M 54 22 L 54 62 L 10 62 L 10 58 L 8 58 L 8 63 A 1 1 0 0 0 9 64 L 55 64 A 1 1 0 0 0 56 63 L 56 22 L 54 22 z M 8 23 L 8 25 L 10 25 L 10 23 L 8 23 z M 8 27 L 8 56 L 10 56 L 10 27 L 8 27 z M 21 31 A 1 1 0 0 0 20.253906 31.335938 L 12.253906 40.335938 A 1 1 0 0 0 12.253906 41.664062 L 20.253906 50.664062 A 1 1 0 0 0 21 51 L 25 51 A 1 1 0 0 0 25.746094 49.335938 L 18.337891 41 L 25.746094 32.664062 A 1 1 0 0 0 25 31 L 21 31 z M 33 31 A 1 1 0 0 0 32.035156 31.732422 L 27.035156 49.732422 A 1 1 0 0 0 28 51 L 31 51 A 1 1 0 0 0 31.964844 50.267578 L 36.964844 32.267578 A 1 1 0 0 0 36 31 L 33 31 z M 39 31 A 1 1 0 0 0 38.253906 32.664062 L 45.662109 41 L 38.253906 49.335938 A 1 1 0 0 0 39 51 L 43 51 A 1 1 0 0 0 43.746094 50.662109 L 51.746094 41.662109 A 1 1 0 0 0 51.746094 40.335938 L 43.746094 31.335938 A 1 1 0 0 0 43 31 L 39 31 z M 21.449219 33 L 22.773438 33 L 16.253906 40.335938 A 1 1 0 0 0 16.253906 41.664062 L 22.773438 49 L 21.449219 49 L 14.337891 41 L 21.449219 33 z M 33.759766 33 L 34.685547 33 L 30.240234 49 L 29.314453 49 L 33.759766 33 z M 41.226562 33 L 42.550781 33 L 49.662109 41 L 42.550781 49 L 41.226562 49 L 47.746094 41.664062 A 1 1 0 0 0 47.746094 40.335938 L 41.226562 33 z"})});case"more-horizontal":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"18",height:"18",children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{d:"M12 3c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 14c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})]});case"reply":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"18",height:"18",children:[(0,r.jsx)("path",{fill:"none",d:"M0 0H24V24H0z"}),(0,r.jsx)("path",{d:"M11 20L1 12l10-8v5c5.523 0 10 4.477 10 10 0 .273-.01.543-.032.81C19.46 16.95 16.458 15 13 15h-2v5z"})]});case"send":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-send",children:[(0,r.jsx)("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),(0,r.jsx)("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})]});case"emoji":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-smile",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,r.jsx)("path",{d:"M8 14s1.5 2 4 2 4-2 4-2"}),(0,r.jsx)("line",{x1:"9",y1:"9",x2:"9.01",y2:"9"}),(0,r.jsx)("line",{x1:"15",y1:"9",x2:"15.01",y2:"9"})]});case"minus":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-minus-circle",children:[(0,r.jsx)("circle",{cx:12,cy:12,r:10}),(0,r.jsx)("line",{x1:8,y1:12,x2:16,y2:12})]});case"attachment":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-paperclip",children:(0,r.jsx)("path",{d:"M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"})});case"message":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"18",height:"18",children:(0,r.jsx)("path",{"data-name":"layer1",d:"M32 4.6c-16.6 0-30 10.7-30 24 0 6.7 3.5 12.8 9.1 17.2L4.7 59.4l19.1-7.6a37 37 0 0 0 8.2.9c16.6 0 30-10.7 30-24S48.6 4.6 32 4.6zm-9.9 26.2a3 3 0 1 1-4.2-4.2 3.1 3.1 0 0 1 4.2 0 3 3 0 0 1 0 4.2zm12 0a3 3 0 1 1-4.2-4.2 3.1 3.1 0 0 1 4.2 0 3 3 0 0 1 0 4.2zm12 0a3 3 0 0 1-2.1.9 3 3 0 0 1-2.1-5.1 3.1 3.1 0 0 1 4.2 0 3 3 0 0 1 0 4.2z",fill:"currentColor"})});case"minimize":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-minimize-2",children:[(0,r.jsx)("polyline",{points:"4 14 10 14 10 20"}),(0,r.jsx)("polyline",{points:"20 10 14 10 14 4"}),(0,r.jsx)("line",{x1:"14",y1:"10",x2:"21",y2:"3"}),(0,r.jsx)("line",{x1:"3",y1:"21",x2:"10",y2:"14"})]});case"phone":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-phone",children:(0,r.jsx)("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"})});case"vid":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-video",children:[(0,r.jsx)("polygon",{points:"23 7 16 12 23 17 23 7"}),(0,r.jsx)("rect",{x:"1",y:"5",width:"15",height:"14",rx:"2",ry:"2"})]});case"more":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-more-horizontal",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"1"}),(0,r.jsx)("circle",{cx:"19",cy:"12",r:"1"}),(0,r.jsx)("circle",{cx:"5",cy:"12",r:"1"})]});case"reverse":return(0,r.jsx)("svg",{"data-icon":"ArrowReverse","aria-hidden":"true",focusable:"false",width:"16",height:"16",viewBox:"0 0 16 16",className:"bem-Svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.99 4L11 1 7 5l4 4-.01-3V4zM15 4h-4v2h4V4zm-9.99 6L5 7l4 4-4 4 .01-3v-2zM1 12h4v-2H1v2z",fill:"currentColor"})});case"justify-space-around":return(0,r.jsxs)("svg",{"data-icon":"JustifyContentSpaceAroundRow","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{fill:"currentColor",d:"M15 0h1v16h-1zM0 0h1v16H0z"}),(0,r.jsx)("path",{fill:"currentColor",stroke:"currentColor",d:"M9.5 4.5h3v7h-3zm-6 0h3v7h-3z"})]});case"justify-space-between":return(0,r.jsxs)("svg",{"data-icon":"JustifyContentSpaceBetweenRow","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{fill:"currentColor",d:"M15 0h1v16h-1zM0 0h1v16H0z"}),(0,r.jsx)("path",{fill:"currentColor",stroke:"currentColor",d:"M10.5 4.5h3v7h-3zm-8 0h3v7h-3z"})]});case"justify-flex-end":case"align-content-flex-end":return(0,r.jsxs)("svg",{"data-icon":"JustifyContentEndRow","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{fill:"currentColor",d:"M15 0h1v16h-1z"}),(0,r.jsx)("path",{fill:"currentColor",stroke:"currentColor",d:"M5.5 4.5h3v7h-3zm5 0h3v7h-3z"})]});case"justify-center":case"align-content-center":return(0,r.jsxs)("svg",{"data-icon":"JustifyContentCenterRow","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{fill:"currentColor",stroke:"currentColor",d:"M2.5 4.5h3v7h-3zm7 0h3v7h-3z"}),(0,r.jsx)("path",{fill:"currentColor",d:"M7 0h1v16H7z"})]});case"justify-flex-start":case"align-content-flex-start":return(0,r.jsxs)("svg",{"data-icon":"JustifyContentStartRow","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{fill:"currentColor",stroke:"currentColor",d:"M2.5 4.5h3v7h-3zm5 0h3v7h-3z"}),(0,r.jsx)("path",{fill:"currentColor",d:"M0 0h1v16H0z"})]});case"align-items-baseline":case"align-content-baseline":return(0,r.jsxs)("svg",{"data-icon":"AlignItemsBaselineRow","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{fill:"currentColor",d:"M0 7h16v1H0z"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3H8v7h4V3zm-1 1H9v3h2V4zM7 3H3v9h4V3zM6 4H4v3h2V4z",fill:"currentColor"})]});case"align-items-stretch":case"align-content-stretch":return(0,r.jsxs)("svg",{"data-icon":"AlignItemsStretchRow","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{fill:"currentColor",d:"M0 0h16v1H0zm0 15h16v1H0z"}),(0,r.jsx)("path",{fill:"currentColor",stroke:"currentColor",d:"M3.5 2.5h3v11h-3zm5 0h3v11h-3z"})]});case"align-items-flex-end":return(0,r.jsxs)("svg",{"data-icon":"AlignItemsEndRow","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{fill:"currentColor",d:"M0 15h16v1H0z"}),(0,r.jsx)("path",{fill:"currentColor",stroke:"currentColor",d:"M3.5 6.5h3v7h-3zm5 2h3v5h-3z"})]});case"align-items-center":return(0,r.jsxs)("svg",{"data-icon":"AlignItemsCenterRow","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{fill:"currentColor",stroke:"currentColor",d:"M3.5 3.5h3v8h-3zm5 1h3v6h-3z"}),(0,r.jsx)("path",{fill:"currentColor",d:"M0 7h16v1H0z"})]});case"align-items-flex-start":return(0,r.jsxs)("svg",{"data-icon":"AlignItemsStartRow","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{fill:"currentColor",d:"M0 0h16v1H0z"}),(0,r.jsx)("path",{fill:"currentColor",stroke:"currentColor",d:"M3.5 2.5h3v7h-3zm5 0h3v5h-3z"})]});case"display-none":return(0,r.jsxs)("svg",{"data-icon":"EyeInvisible","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M9.842 3.33A5.537 5.537 0 008 3C4.134 3 1 7.5 1 8c0 .23.666 1.311 1.763 2.409l2.242-2.242a3 3 0 013.162-3.162l1.675-1.676zm-2.009 7.665a3 3 0 003.162-3.162l2.242-2.242C14.334 6.69 15 7.77 15 8c0 .5-3.134 5-7 5a5.538 5.538 0 01-1.842-.33l1.675-1.675z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M2 14L14 2",stroke:"currentColor",strokeWidth:"1.5"})]});case"inline":return(0,r.jsxs)("svg",{"data-icon":"DisplayInline","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M1 2h1v12H1V2zm14 0h-1v12h1V2z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.25 3L3.5 13h2l1-3h3l1 3h2L8.75 3h-1.5zm1.917 6L8 5.5 6.833 9h2.334z",fill:"currentColor"})]});case"inline-block":return(0,r.jsxs)("svg",{"data-icon":"DisplayInlineBlock","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 4h8v8H4V4zm6 2H6v4h4V6z",fill:"currentColor"}),(0,r.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M1 2h1v12H1V2zm14 0h-1v12h1V2z",fill:"currentColor"})]});case"flex":return(0,r.jsxs)("svg",{"data-icon":"DisplayFlex","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M2 2h12v12H2V2zM1 1h14v14H1V1z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4H4v8h3V4zm2 0h3v8H9V4z",fill:"currentColor"})]});case"block":return(0,r.jsxs)("svg",{"data-icon":"DisplayBlock","aria-hidden":"true",focusable:"false",width:"18",height:"18",viewBox:"0 0 16 16",className:"bem-Svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4h12v8H2V4zm10 2H4v4h8V6z",fill:"currentColor"}),(0,r.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M2 1h12v1H2V1zm0 13h12v1H2v-1z",fill:"currentColor"})]});case"drag":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-move",children:[(0,r.jsx)("polyline",{points:"5 9 2 12 5 15"}),(0,r.jsx)("polyline",{points:"9 5 12 2 15 5"}),(0,r.jsx)("polyline",{points:"15 19 12 22 9 19"}),(0,r.jsx)("polyline",{points:"19 9 22 12 19 15"}),(0,r.jsx)("line",{x1:"2",y1:"12",x2:"22",y2:"12"}),(0,r.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"22"})]});case"textJustify":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-align-justify",children:[(0,r.jsx)("line",{x1:"21",y1:"10",x2:"3",y2:"10"}),(0,r.jsx)("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),(0,r.jsx)("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),(0,r.jsx)("line",{x1:"21",y1:"18",x2:"3",y2:"18"})]});case"textRight":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-align-right",children:[(0,r.jsx)("line",{x1:"21",y1:"10",x2:"7",y2:"10"}),(0,r.jsx)("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),(0,r.jsx)("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),(0,r.jsx)("line",{x1:"21",y1:"18",x2:"7",y2:"18"})]});case"textCenter":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-align-center",children:[(0,r.jsx)("line",{x1:"18",y1:"10",x2:"6",y2:"10"}),(0,r.jsx)("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),(0,r.jsx)("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),(0,r.jsx)("line",{x1:"18",y1:"18",x2:"6",y2:"18"})]});case"textLeft":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-align-left",children:[(0,r.jsx)("line",{x1:"17",y1:"10",x2:"3",y2:"10"}),(0,r.jsx)("line",{x1:"21",y1:"6",x2:"3",y2:"6"}),(0,r.jsx)("line",{x1:"21",y1:"14",x2:"3",y2:"14"}),(0,r.jsx)("line",{x1:"17",y1:"18",x2:"3",y2:"18"})]});case"up":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-chevron-up",children:(0,r.jsx)("polyline",{points:"18 15 12 9 6 15"})});case"iconButton":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"22",fill:"none",viewBox:"0 0 48 22",children:[(0,r.jsx)("rect",{width:"46",height:"20",x:"1",y:"1",stroke:"#000",strokeWidth:"2",rx:"3"}),(0,r.jsx)("circle",{cx:"39",cy:"11",r:"2.875",stroke:"#000",strokeWidth:".25"}),(0,r.jsx)("path",{fill:"#000",d:"M38.68 12.759a13.462 13.462 0 0 1-.042-1.134c0-.282.006-.536.018-.76.011-.226.023-.42.035-.584-.201.012-.396.027-.585.045a6.09 6.09 0 0 0-.525.074l.007-.585a10.622 10.622 0 0 1 2.289-.126c.19.01.37.024.543.043l-.004.605a4.995 4.995 0 0 0-.532-.053 9.406 9.406 0 0 0-.58-.017c-.013.159-.023.336-.032.532a12.897 12.897 0 0 0 0 1.25c.011.219.025.45.042.693l-.634.017ZM6.586 8.273h2.289c.453 0 .79.02 1.012.059a1.452 1.452 0 0 1 1.039.714c.117.199.176.421.176.669 0 .268-.073.514-.22.738a1.33 1.33 0 0 1-.585.504c.349.102.617.275.805.52.187.244.28.532.28.863a1.7 1.7 0 0 1-.183.762c-.12.244-.285.441-.496.59a1.638 1.638 0 0 1-.773.269c-.193.02-.658.034-1.395.039h-1.95V8.273Zm1.156.954v1.324H8.5c.45 0 .73-.007.84-.02a.76.76 0 0 0 .465-.203.608.608 0 0 0 .172-.45c0-.176-.05-.32-.149-.429-.096-.112-.24-.18-.433-.203-.115-.013-.444-.02-.989-.02h-.664Zm0 2.277v1.531h1.07c.417 0 .681-.012.793-.035a.712.712 0 0 0 .418-.227.705.705 0 0 0 .165-.488.747.747 0 0 0-.126-.437.706.706 0 0 0-.363-.262c-.156-.055-.497-.082-1.023-.082h-.934ZM15.086 14v-.621c-.151.221-.35.396-.598.523a1.659 1.659 0 0 1-.777.192c-.279 0-.529-.061-.75-.184a1.084 1.084 0 0 1-.48-.515c-.1-.222-.149-.528-.149-.918V9.852h1.098v1.906c0 .583.02.941.058 1.074.042.13.116.234.223.313a.686.686 0 0 0 .406.113.874.874 0 0 0 .504-.152.797.797 0 0 0 .305-.383c.054-.154.082-.528.082-1.121v-1.75h1.098V14h-1.02Zm4.062-4.148v.875h-.75v1.671c0 .339.007.537.02.594.016.055.048.1.098.137a.318.318 0 0 0 .187.055c.102 0 .249-.036.442-.106l.093.852a2.17 2.17 0 0 1-.867.164 1.4 1.4 0 0 1-.535-.098.816.816 0 0 1-.352-.258 1.054 1.054 0 0 1-.152-.43c-.023-.127-.035-.385-.035-.773v-1.808h-.504v-.875h.504v-.825l1.101-.64v1.465h.75Zm2.665 0v.875h-.75v1.671c0 .339.006.537.019.594.016.055.048.1.098.137a.318.318 0 0 0 .187.055c.102 0 .249-.036.442-.106l.093.852a2.17 2.17 0 0 1-.867.164 1.4 1.4 0 0 1-.535-.098.816.816 0 0 1-.352-.258 1.052 1.052 0 0 1-.152-.43c-.023-.127-.035-.385-.035-.773v-1.808h-.504v-.875h.504v-.825l1.102-.64v1.465h.75Zm.507 2.015c0-.364.09-.717.27-1.058a1.85 1.85 0 0 1 .762-.782c.33-.18.699-.27 1.105-.27.628 0 1.142.205 1.543.614.401.406.602.92.602 1.543 0 .628-.204 1.149-.61 1.563-.404.411-.913.617-1.527.617a2.42 2.42 0 0 1-1.09-.258 1.772 1.772 0 0 1-.785-.754c-.18-.333-.27-.738-.27-1.215Zm1.125.059c0 .411.098.726.293.945a.93.93 0 0 0 .723.328.92.92 0 0 0 .719-.328c.195-.219.293-.536.293-.953 0-.406-.098-.719-.293-.938a.92.92 0 0 0-.72-.328.93.93 0 0 0-.722.329c-.195.218-.293.533-.293.945ZM31.238 14h-1.097v-2.117c0-.448-.024-.737-.07-.867a.605.605 0 0 0-.231-.309.644.644 0 0 0-.38-.11.88.88 0 0 0-.51.157.798.798 0 0 0-.313.414c-.055.172-.082.49-.082.953V14h-1.098V9.852h1.02v.609c.361-.469.817-.703 1.367-.703.242 0 .463.044.664.133.2.086.351.196.453.332.104.135.176.289.215.46.041.172.062.419.062.739V14Z"})]});case"linkIcon":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:[(0,r.jsx)("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}),(0,r.jsx)("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"})]});case"list":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"})});case"iframe":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 512 512",children:[(0,r.jsx)("path",{fill:"#000",d:"M11 11v490h490V11H11Zm469.1 469.1H31.9V126.7h448.3v353.4h-.1ZM31.9 105.9v-74h448.3v74H31.9Z"}),(0,r.jsx)("path",{fill:"#000",d:"M433.2 57.9h-22.9v20.9h22.9V57.9Zm-57.3 0H353v20.9h22.9V57.9Zm-57.4 0h-22.9v20.9h22.9V57.9Zm-94.8 273.2L161.1 305l62.6-26.1v-14.6l-79.3 33.4v13.6l79.3 34.4v-14.6Zm55.2-89.7h-11.4l-34.4 124.1h11.4l34.4-124.1Zm88.7 55.3-79.3-33.4v14.6l62.6 26.1-62.6 26v14.6l79.3-33.3v-14.6Z"})]});case"iconText":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"11.5",stroke:"#000"}),(0,r.jsx)("path",{fill:"#000",d:"M10.72 19.036c-.065-.812-.112-1.6-.14-2.366a89.052 89.052 0 0 1-.028-2.17c0-1.13.024-2.142.07-3.038.047-.905.094-1.685.14-2.338-.802.047-1.582.107-2.338.182s-1.456.173-2.1.294l.028-2.338a32.387 32.387 0 0 1 3.36-.42 42.485 42.485 0 0 1 3.444-.14c.822 0 1.606.019 2.352.056.756.037 1.48.093 2.17.168l-.014 2.422a20.036 20.036 0 0 0-2.128-.21c-.756-.047-1.53-.07-2.324-.07a82.959 82.959 0 0 0-.126 2.128 51.977 51.977 0 0 0-.056 2.492c0 .793.019 1.629.056 2.506.047.877.103 1.801.168 2.772l-2.534.07Z"})]});case"carousel":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"38",height:"24",fill:"none",viewBox:"0 0 38 24",children:[(0,r.jsx)("rect",{width:"23",height:"23",x:"7.5",y:".5",stroke:"#000",rx:".5"}),(0,r.jsx)("path",{stroke:"#000",strokeLinejoin:"round",d:"m3 10-2 2 2 2m32-4 2 2-2 2"}),(0,r.jsx)("rect",{width:"16",height:"2",x:"11",y:"10",fill:"#000",rx:"1"}),(0,r.jsx)("rect",{width:"16",height:"2",x:"11",y:"5",fill:"#000",rx:"1"}),(0,r.jsx)("rect",{width:"3",height:"3",x:"13",y:"18",fill:"#000",rx:"1.5"}),(0,r.jsx)("rect",{width:"3",height:"3",x:"17.508",y:"18",fill:"#000",rx:"1.5"}),(0,r.jsx)("rect",{width:"3",height:"3",x:"22",y:"18",fill:"#000",rx:"1.5"})]});case"dotted":return(0,r.jsx)("svg",{"data-icon":"BorderStyleDotted","aria-hidden":"true",focusable:"false",width:"16",height:"16",viewBox:"0 0 16 16",className:"bem-Svg",children:(0,r.jsx)("path",{fill:"currentColor",d:"M1 7h2v2H1zm4 0h2v2H5zm4 0h2v2H9zm4 0h2v2h-2z"})});case"dashed":return(0,r.jsx)("svg",{"data-icon":"BorderStyleDashed","aria-hidden":"true",focusable:"false",width:"16",height:"16",viewBox:"0 0 16 16",className:"bem-Svg",children:(0,r.jsx)("path",{fill:"currentColor",d:"M0 7h4v2H0zm6 0h4v2H6zm6 0h4v2h-4z"})});case"solid":return(0,r.jsx)("svg",{"data-icon":"BorderStyleSolid","aria-hidden":"true",focusable:"false",width:"16",height:"16",viewBox:"0 0 16 16",className:"bem-Svg",children:(0,r.jsx)("path",{fill:"currentColor",d:"M1 7h14v2H1z"})});case"none":return(0,r.jsx)("svg",{"data-icon":"Cross","aria-hidden":"true",focusable:"false",width:"16",height:"16",viewBox:"0 0 16 16",className:"bem-Svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.414 8l3.293-3.293-1.414-1.414L8 6.586 4.707 3.293 3.293 4.707 6.586 8l-3.293 3.293 1.414 1.414L8 9.414l3.293 3.293 1.414-1.414L9.414 8z",fill:"currentColor"})});case"link":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 12 6",children:[(0,r.jsx)("rect",{width:"11",height:"5",x:".5",y:".5",stroke:"#DCE4F2",rx:"2.5"}),(0,r.jsx)("path",{fill:"#fff",d:"M5 0h2v1H5zm0 5h2v1H5z"}),(0,r.jsx)("path",{className:"mid",fill:"#DCE4F2",d:"M3 2h6v2H3z"})]});case"down":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"#032453",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-chevron-down",children:(0,r.jsx)("polyline",{points:"6 9 12 15 18 9"})});case"advance":return(0,r.jsx)("svg",{width:"14",height:"14","aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"laptop-code",className:"svg-inline--fa fa-laptop-code fa-w-20 fa-fw",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",children:(0,r.jsx)("path",{fill:"currentColor",d:"M624 352h-48V64c0-35.2-28.8-64-64-64H128C92.8 0 64 28.8 64 64v288H16c-8.8 0-16 7.2-16 16v48c0 52.8 43.2 96 96 96h448c52.8 0 96-43.2 96-96v-48c0-8.8-7.2-16-16-16zM112 64c0-8.67 7.33-16 16-16h384c8.67 0 16 7.33 16 16v288H112V64zm480 352c0 26.47-21.53 48-48 48H96c-26.47 0-48-21.53-48-48v-16h180.9c5.57 9.39 15.38 16 27.1 16h128c11.72 0 21.52-6.61 27.1-16H592v16zM277.66 261.65l11.31-11.31c6.25-6.25 6.25-16.38 0-22.63L253.25 192l35.71-35.72c6.25-6.25 6.25-16.38 0-22.63l-11.31-11.31c-6.25-6.25-16.38-6.25-22.63 0l-58.34 58.34c-6.25 6.25-6.25 16.38 0 22.63l58.34 58.34c6.25 6.25 16.39 6.25 22.64 0zm73.38-11.3l11.31 11.31c6.25 6.25 16.38 6.25 22.63 0l58.34-58.34c6.25-6.25 6.25-16.38 0-22.63l-58.34-58.34c-6.25-6.25-16.38-6.25-22.63 0l-11.31 11.31c-6.25 6.25-6.25 16.38 0 22.63L386.75 192l-35.71 35.72c-6.25 6.25-6.25 16.38 0 22.63z"})});case"style":return(0,r.jsx)("svg",{width:"14",height:"14","aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"pencil-paintbrush",className:"svg-inline--fa fa-pencil-paintbrush fa-w-16 fa-fw",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,r.jsx)("path",{fill:"currentColor",d:"M433.43 365.35c-20.56-54.19-55.01-73.83-93.93-79.66l153.76-153.76c24.99-24.99 24.99-65.52-.01-90.51l-22.68-22.68C458.07 6.25 441.69 0 425.32 0c-16.38 0-32.76 6.25-45.25 18.74L240.21 158.57 158.15 35.86C140.34 10.45 116.87.01 93.48.01 28.72.01-35.44 80.03 22.84 144.06l110.42 121.45L19.08 379.66.33 487.1C-1.98 500.33 8.34 512 21.18 512c1.23 0 2.47-.11 3.74-.33l107.45-18.84 93.72-93.72C232.09 444.02 260.26 512 368 512c101.33 0 144-81.42 144-174.07-11.01 7.52-49.66 38.65-62.15 38.65-7.42 0-13.77-4.24-16.42-11.23zM414 52.68c5.82-5.82 15.98-6.64 22.63 0l22.68 22.68c5.81 5.8 6.66 15.97 0 22.63l-51.69 51.69-45.31-45.31L414 52.68zM58.33 111.75c-10.61-11.65-12.94-22.26-7.58-34.39 7.15-16.18 26.32-29.35 42.72-29.35 6.26 0 15.7 1.6 24.78 14.53l87.35 130.63-38.37 38.36-108.9-119.78zm50.81 336.42l-54.97 9.64 9.59-54.94 264.62-264.56 45.31 45.31-264.55 264.55zM368 464c-34.54 0-59.8-8.58-75.06-25.51-19.93-22.11-21.29-55.88-20.13-67.03l2.21-21.3 19.93-19.93 26.06 1.68c31.41 2.02 52.54 10.93 67.53 50.44 9.03 23.84 30.45 39.83 55.52 41.98C430.03 447.13 406.6 464 368 464z"})});case"content":return(0,r.jsx)("svg",{width:"14",height:"14","aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"bars",className:"svg-inline--fa fa-bars fa-w-14 fa-fw",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:(0,r.jsx)("path",{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"})});case"paste":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-save",children:[(0,r.jsx)("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),(0,r.jsx)("polyline",{points:"17 21 17 13 7 13 7 21"}),(0,r.jsx)("polyline",{points:"7 3 7 8 15 8"})]});case"copy":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-copy",children:[(0,r.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,r.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]});case"buy":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-shopping-cart",children:[(0,r.jsx)("circle",{cx:"9",cy:"21",r:"1"}),(0,r.jsx)("circle",{cx:"20",cy:"21",r:"1"}),(0,r.jsx)("path",{d:"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"})]});case"insert":return(0,r.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 3.5C24.8284 3.5 25.5 4.17157 25.5 5L25.5 24.712L29.9393 20.2727C30.5251 19.6869 31.4749 19.6869 32.0607 20.2727C32.6464 20.8585 32.6464 21.8082 32.0607 22.394L25.0607 29.394C24.4749 29.9798 23.5251 29.9798 22.9393 29.394L15.9393 22.394C15.3536 21.8082 15.3536 20.8585 15.9393 20.2727C16.5251 19.6869 17.4749 19.6869 18.0607 20.2727L22.5 24.712L22.5 5C22.5 4.17157 23.1716 3.5 24 3.5ZM1.5 16.6667C1.5 13.2609 4.26091 10.5 7.66667 10.5H14.6667C15.4951 10.5 16.1667 11.1716 16.1667 12C16.1667 12.8284 15.4951 13.5 14.6667 13.5H7.66667C5.91776 13.5 4.5 14.9178 4.5 16.6667V37.6667C4.5 39.4156 5.91777 40.8333 7.66667 40.8333H40.3333C42.0822 40.8333 43.5 39.4156 43.5 37.6667V16.6667C43.5 14.9178 42.0822 13.5 40.3333 13.5H33.3333C32.5049 13.5 31.8333 12.8284 31.8333 12C31.8333 11.1716 32.5049 10.5 33.3333 10.5H40.3333C43.7391 10.5 46.5 13.2609 46.5 16.6667V37.6667C46.5 41.0724 43.7391 43.8333 40.3333 43.8333H7.66667C4.26091 43.8333 1.5 41.0724 1.5 37.6667V16.6667Z",fill:"#111827"})});case"fav":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-heart",children:(0,r.jsx)("path",{d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"})});case"blocks":return(0,r.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6C3.5 5.72386 3.72386 5.5 4 5.5H44C44.2761 5.5 44.5 5.72386 44.5 6V10C44.5 10.2761 44.2761 10.5 44 10.5H4C3.72386 10.5 3.5 10.2761 3.5 10V6ZM4.5 6.5V9.5H43.5V6.5H4.5ZM3.5 14C3.5 13.7239 3.72386 13.5 4 13.5H14C14.2761 13.5 14.5 13.7239 14.5 14V42C14.5 42.2761 14.2761 42.5 14 42.5H4C3.72386 42.5 3.5 42.2761 3.5 42V14ZM4.5 14.5V41.5H13.5V14.5H4.5ZM17.5 14C17.5 13.7239 17.7239 13.5 18 13.5H44C44.2761 13.5 44.5 13.7239 44.5 14V26C44.5 26.2761 44.2761 26.5 44 26.5H18C17.7239 26.5 17.5 26.2761 17.5 26V14ZM18.5 14.5V25.5H43.5V14.5H18.5ZM17.5 30C17.5 29.7239 17.7239 29.5 18 29.5H44C44.2761 29.5 44.5 29.7239 44.5 30V42C44.5 42.2761 44.2761 42.5 44 42.5H18C17.7239 42.5 17.5 42.2761 17.5 42V30ZM18.5 30.5V41.5H43.5V30.5H18.5Z",fill:"black"})});case"user-add":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16",children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{fill:"rgba(0,0,0,.45)",d:"M14 14.252V22H4a8 8 0 0 1 10-7.748zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm6 4v-3h2v3h3v2h-3v3h-2v-3h-3v-2h3z"})]});case"plus-circle":return(0,r.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46 24C46 36.1503 36.1503 46 24 46C11.8497 46 2 36.1503 2 24C2 11.8497 11.8497 2 24 2C36.1503 2 46 11.8497 46 24ZM24 13C24.8284 13 25.5 13.6716 25.5 14.5V22.5H33.5C34.3284 22.5 35 23.1716 35 24C35 24.8284 34.3284 25.5 33.5 25.5H25.5V33.5C25.5 34.3284 24.8284 35 24 35C23.1716 35 22.5 34.3284 22.5 33.5V25.5H14.5C13.6716 25.5 13 24.8284 13 24C13 23.1716 13.6716 22.5 14.5 22.5H22.5V14.5C22.5 13.6716 23.1716 13 24 13Z",fill:"black"})});case"plus":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-plus",children:[(0,r.jsx)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,r.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]});case"trash":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-trash-2",children:[(0,r.jsx)("polyline",{points:"3 6 5 6 21 6"}),(0,r.jsx)("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),(0,r.jsx)("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),(0,r.jsx)("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]});case"spacer":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"18",fill:"none",viewBox:"0 0 28 18",children:[(0,r.jsx)("rect",{width:"28",height:"1",fill:"#000",rx:".5"}),(0,r.jsx)("rect",{width:"28",height:"1",y:"17",fill:"#000",rx:".5"}),(0,r.jsx)("path",{fill:"#000",d:"m14 2 3.464 5.25h-6.928L14 2Zm0 14-3.464-5.25h6.928L14 16Z"})]});case"divider":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"19",fill:"none",viewBox:"0 0 28 19",children:[(0,r.jsx)("rect",{width:"28",height:"1",y:"7",fill:"#000",rx:".5"}),(0,r.jsx)("rect",{width:"28",height:"1",y:"11",fill:"#000",rx:".5"}),(0,r.jsx)("path",{fill:"#000",d:"m14 0 3.464 5.25h-6.928L14 0Zm0 19-3.464-5.25h6.928L14 19Z"})]});case"icon":return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M25.954 25.9545L31.1401 23.4543L25.954 20.9542L23.4538 15.7681L20.9537 20.9542L15.7676 23.4543L20.9537 25.9545L23.4538 31.1406L25.954 25.9545Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 46C36.1503 46 46 36.1503 46 24C46 11.8497 36.1503 2 24 2C11.8497 2 2 11.8497 2 24C2 36.1503 11.8497 46 24 46ZM34.9091 23.4545L27.1804 19.7287L23.4545 12L19.7287 19.7287L12 23.4545L19.7287 27.1804L23.4545 34.9091L27.1804 27.1804L34.9091 23.4545ZM32.1815 28.3636L33.4234 30.9399L35.9996 32.1818L33.4234 33.4238L32.1815 36L30.9395 33.4238L28.3633 32.1818L30.9395 30.9399L32.1815 28.3636Z",fill:"black"})]});case"button":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"24",fill:"none",viewBox:"0 0 48 30",children:[(0,r.jsx)("rect",{width:"47",height:"18.333",x:".5",y:".5",fill:"#EFEFEF",fillOpacity:"1",stroke:"#000",rx:"1.5"}),(0,r.jsx)("path",{fill:"#000",stroke:"#000",strokeWidth:".5",d:"M34.924 29 31.2 16.916l12 6.042c-6.59-1.84-8.413-.52-8.276 6.042Z"})]});case"texteditor":return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.4909 32.0625C19.2358 32.0625 19.8972 31.5858 20.1327 30.8791L20.9102 28.5469H27.0742L27.8612 30.8843C28.0982 31.5883 28.7581 32.0625 29.501 32.0625C30.7086 32.0625 31.5447 30.8567 31.1214 29.7257L26.1799 16.5241C25.8367 15.6074 24.9608 15 23.982 15C23.0017 15 22.1247 15.6093 21.7827 16.528L16.869 29.7281C16.4481 30.8589 17.2843 32.0625 18.4909 32.0625ZM23.9805 19.3125L26.125 25.6992H21.8594L23.9805 19.3125Z",fill:"black"}),(0,r.jsx)("path",{d:"M6 12.5V34.5M12.5 6L35 6M13.5 42H35M42 35V13",stroke:"black",strokeWidth:"3"}),(0,r.jsx)("mask",{id:"path-3-inside-1",fill:"white",children:(0,r.jsx)("rect",{x:"1",y:"2",width:"12",height:"12",rx:"1"})}),(0,r.jsx)("rect",{x:"1",y:"2",width:"12",height:"12",rx:"1",stroke:"black",strokeWidth:"6",mask:"url(#path-3-inside-1)"}),(0,r.jsx)("mask",{id:"path-4-inside-2",fill:"white",children:(0,r.jsx)("rect",{x:"34",y:"2",width:"12",height:"12",rx:"1"})}),(0,r.jsx)("rect",{x:"34",y:"2",width:"12",height:"12",rx:"1",stroke:"black",strokeWidth:"6",mask:"url(#path-4-inside-2)"}),(0,r.jsx)("mask",{id:"path-5-inside-3",fill:"white",children:(0,r.jsx)("rect",{x:"34",y:"34",width:"12",height:"12",rx:"1"})}),(0,r.jsx)("rect",{x:"34",y:"34",width:"12",height:"12",rx:"1",stroke:"black",strokeWidth:"6",mask:"url(#path-5-inside-3)"}),(0,r.jsx)("mask",{id:"path-6-inside-4",fill:"white",children:(0,r.jsx)("rect",{x:"2",y:"34",width:"12",height:"12",rx:"1"})}),(0,r.jsx)("rect",{x:"2",y:"34",width:"12",height:"12",rx:"1",stroke:"black",strokeWidth:"6",mask:"url(#path-6-inside-4)"})]});case"live":return(0,r.jsx)("svg",{width:15,height:15,viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M0 240v1440h1500.536v-551.83L1920 1574.06V346.051l-419.464 445.78V240z",fillRule:"evenodd"})});case"video":case"scorm/html":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:15,height:15,children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{d:"M2 3.993A1 1 0 0 1 2.992 3h18.016c.548 0 .992.445.992.993v16.014a1 1 0 0 1-.992.993H2.992A.993.993 0 0 1 2 20.007V3.993zm8.622 4.422a.4.4 0 0 0-.622.332v6.506a.4.4 0 0 0 .622.332l4.879-3.252a.4.4 0 0 0 0-.666l-4.88-3.252z"})]});case"image":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-image",children:[(0,r.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),(0,r.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),(0,r.jsx)("polyline",{points:"21 15 16 10 5 21"})]});case"heading":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-type",children:[(0,r.jsx)("polyline",{points:"4 7 4 4 20 4 20 7"}),(0,r.jsx)("line",{x1:"9",y1:"20",x2:"15",y2:"20"}),(0,r.jsx)("line",{x1:"12",y1:"4",x2:"12",y2:"20"})]});case"column":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-columns",children:(0,r.jsx)("path",{d:"M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18"})});case"widget":return(0,r.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M18 2H16C14.8954 2 14 2.89543 14 4V15C14 16.1046 14.8954 17 16 17H18C19.1046 17 20 16.1046 20 15V4C20 2.89543 19.1046 2 18 2Z",fill:"black"}),(0,r.jsx)("path",{d:"M32 2H30C28.8954 2 28 2.89543 28 4V15C28 16.1046 28.8954 17 30 17H32C33.1046 17 34 16.1046 34 15V4C34 2.89543 33.1046 2 32 2Z",fill:"black"}),(0,r.jsx)("path",{d:"M25 34H23C21.8954 34 21 34.8954 21 36V44C21 45.1046 21.8954 46 23 46H25C26.1046 46 27 45.1046 27 44V36C27 34.8954 26.1046 34 25 34Z",fill:"black"}),(0,r.jsx)("path",{d:"M42 15H6C4.89543 15 4 15.8954 4 17V19C4 20.1046 4.89543 21 6 21H42C43.1046 21 44 20.1046 44 19V17C44 15.8954 43.1046 15 42 15Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41 15H7L7.96141 26.1976C8.58312 33.4387 14.6423 39 21.9101 39H26.0899C33.3577 39 39.4169 33.4387 40.0386 26.1976L41 15ZM17 21C16.4477 21 16 21.4477 16 22V23C16 23.5523 16.4477 24 17 24H31C31.5523 24 32 23.5523 32 23V22C32 21.4477 31.5523 21 31 21H17Z",fill:"black"})]});case"section":return(0,r.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44 4H4V15.5H44V4ZM44 18.5H19.5V44H44V18.5ZM16.5 18.5H4V44H16.5V18.5Z",fill:"black"})});case"page":return(0,r.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.5 2V11C29.5 12.933 31.067 14.5 33 14.5H43V42C43 44.2091 41.2091 46 39 46H9C6.79086 46 5 44.2091 5 42V6C5 3.79086 6.79086 2 9 2H29.5ZM32.5 2V11C32.5 11.2761 32.7239 11.5 33 11.5H42.9969C42.9576 10.4961 42.5415 9.54152 41.8284 8.82843L36.1716 3.17157C35.4214 2.42143 34.404 2 33.3431 2H32.5ZM11 15.5C11 14.6716 11.6716 14 12.5 14H24.5C25.3284 14 26 14.6716 26 15.5C26 16.3284 25.3284 17 24.5 17H12.5C11.6716 17 11 16.3284 11 15.5ZM11 24.5C11 23.6716 11.6716 23 12.5 23H35.5C36.3284 23 37 23.6716 37 24.5C37 25.3284 36.3284 26 35.5 26H12.5C11.6716 26 11 25.3284 11 24.5ZM12.5 32C11.6716 32 11 32.6716 11 33.5C11 34.3284 11.6716 35 12.5 35H28.5C29.3284 35 30 34.3284 30 33.5C30 32.6716 29.3284 32 28.5 32H12.5Z",fill:"black"})});case"editor":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-edit",children:[(0,r.jsx)("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),(0,r.jsx)("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]});case"close":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:a||"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-x",children:[(0,r.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,r.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]});case"move":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-move",children:[(0,r.jsx)("polyline",{points:"5 9 2 12 5 15"}),(0,r.jsx)("polyline",{points:"9 5 12 2 15 5"}),(0,r.jsx)("polyline",{points:"15 19 12 22 9 19"}),(0,r.jsx)("polyline",{points:"19 9 22 12 19 15"}),(0,r.jsx)("line",{x1:"2",y1:"12",x2:"22",y2:"12"}),(0,r.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"22"})]});case"alignCenter":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:(0,r.jsx)("path",{fill:"#fff",d:"M9 14H7V2h2zm3.857-3H10V5h2.857zm-7 0H3V5h2.857z"})});case"alignRight":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:(0,r.jsx)("path",{fill:"#fff",d:"M13 14h-1.429V2H13zm-2.857-3H7.286V5h2.857zm-4.286 0H3V5h2.857z"})});case"alignLeft":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:(0,r.jsx)("path",{fill:"#fff",d:"M3 2h1.429v12H3zm2.857 3h2.857v6H5.857zm4.286 0H13v6h-2.857z"})});case"edit":return(0,r.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M16.4954 40.4851L17.037 42.4104L17.5223 42.2739L17.8849 41.9237L16.4954 40.4851ZM7.70062 31.1937L6.31113 29.7551L5.92735 30.1258L5.77923 30.6384L7.70062 31.1937ZM3.99999 44.0001L2.0786 43.4449C1.87707 44.1423 2.06927 44.8942 2.58077 45.4093C3.09227 45.9244 3.84275 46.122 4.54157 45.9254L3.99999 44.0001ZM32.9269 21.833L15.1059 39.0466L17.8849 41.9237L35.7059 24.71L32.9269 21.833ZM9.09011 32.6322L26.9111 15.4185L24.1321 12.5415L6.31113 29.7551L9.09011 32.6322ZM15.9538 38.5599L3.45841 42.0748L4.54157 45.9254L17.037 42.4104L15.9538 38.5599ZM5.92138 44.5553L9.622 31.7489L5.77923 30.6384L2.0786 43.4449L5.92138 44.5553Z",fill:"black"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.1354 23.0893L25.6282 10.9595L28.5302 8.20654L40.0374 20.3363L37.1354 23.0893Z",fill:"black"}),(0,r.jsx)("path",{d:"M30.1055 6.88806L31.9418 5.11801C33.5411 3.57647 36.0747 3.63649 37.6007 5.25207L42.8932 10.8553C44.4192 12.4709 44.3598 15.0303 42.7605 16.5718L40.9242 18.3419L30.1055 6.88806Z",fill:"black"})]});case"left-arrow-chevron-thin":return(0,r.jsx)("svg",{width:"22",height:"22",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.0607 1.93934C36.6464 2.52513 36.6464 3.47487 36.0607 4.06066L16.1213 24L36.0607 43.9393C36.6464 44.5251 36.6464 45.4749 36.0607 46.0607C35.4749 46.6464 34.5251 46.6464 33.9393 46.0607L12.9393 25.0607C12.3536 24.4749 12.3536 23.5251 12.9393 22.9393L33.9393 1.93934C34.5251 1.35355 35.4749 1.35355 36.0607 1.93934Z",fill:"#111827"})});case"left-arrow-chevron":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-chevron-left",children:(0,r.jsx)("polyline",{points:"15 18 9 12 15 6"})});case"right-arrow-chevron-new":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-chevron-right",children:(0,r.jsx)("polyline",{points:"9 18 15 12 9 6"})});case"right-arrow-chevron":return(0,r.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2887 44.7113C10.5704 42.993 10.5704 40.207 12.2887 38.4887L26.7775 24L12.2887 9.51127C10.5704 7.79296 10.5704 5.00704 12.2887 3.28873C14.007 1.57042 16.793 1.57042 18.5113 3.28873L36.1113 20.8887C37.8296 22.607 37.8296 25.393 36.1113 27.1113L18.5113 44.7113C16.793 46.4296 14.007 46.4296 12.2887 44.7113Z",fill:"#111827"})});case"preview":return(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M24.0001 28.7499C26.5468 28.7499 28.6112 26.6855 28.6112 24.1388C28.6112 21.5922 26.5468 19.5277 24.0001 19.5277C21.4535 19.5277 19.389 21.5922 19.389 24.1388C19.389 26.6855 21.4535 28.7499 24.0001 28.7499Z",fill:"#111827"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 24.1389C4.93785 14.785 13.6766 8 24 8C34.3234 8 43.0621 14.7849 46 24.1388C43.0622 33.4927 34.3234 40.2777 24 40.2777C13.6766 40.2777 4.9379 33.4927 2 24.1389ZM33.2223 24.1388C33.2223 29.2321 29.0934 33.361 24.0001 33.361C18.9068 33.361 14.7779 29.2321 14.7779 24.1388C14.7779 19.0456 18.9068 14.9166 24.0001 14.9166C29.0934 14.9166 33.2223 19.0456 33.2223 24.1388Z",fill:"#111827"})]});case"save":return(0,r.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5681 45.4038H8C6.34315 45.4038 5 44.0607 5 42.4038V7.40381C5 5.74695 6.34315 4.40381 8 4.40381H33.7204C34.5378 4.40381 35.3199 4.7374 35.8857 5.32743L43.1653 12.9189C43.7009 13.4775 44 14.2214 44 14.9953V42.4038C44 44.0607 42.6569 45.4038 41 45.4038H35.5355V42.4038V29.4038C35.5355 27.747 34.1924 26.4038 32.5355 26.4038H16.5681C14.9113 26.4038 13.5681 27.747 13.5681 29.4038V42.4038V45.4038ZM16.5681 29.4038H32.5355V42.4038H16.5681V29.4038ZM19 33.9038C19 33.0754 19.6716 32.4038 20.5 32.4038H28.5C29.3284 32.4038 30 33.0754 30 33.9038C30 34.7322 29.3284 35.4038 28.5 35.4038H20.5C19.6716 35.4038 19 34.7322 19 33.9038ZM20.5 37.4038C19.6716 37.4038 19 38.0754 19 38.9038C19 39.7322 19.6716 40.4038 20.5 40.4038H28.5C29.3284 40.4038 30 39.7322 30 38.9038C30 38.0754 29.3284 37.4038 28.5 37.4038H20.5Z",fill:"black"})});case"delete":return(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.3455 15.0681C10.5744 15.0681 9.18885 16.5943 9.35944 18.3571L11.7788 43.3571C11.9276 44.8948 13.2199 46.0681 14.7648 46.0681H34.3175C35.8624 46.0681 37.1547 44.8948 37.3035 43.3571L39.7229 18.3571C39.8935 16.5943 38.5079 15.0681 36.7368 15.0681H12.3455ZM16.5825 19.61C15.7573 19.6822 15.1468 20.4097 15.219 21.235L16.8749 40.1627C16.9471 40.988 17.6747 41.5985 18.5 41.5262C19.3252 41.454 19.9357 40.7265 19.8635 39.9012L18.2076 20.9735C18.1354 20.1482 17.4078 19.5378 16.5825 19.61ZM23.0412 21.0681C23.0412 20.2397 23.7127 19.5681 24.5412 19.5681C25.3696 19.5681 26.0412 20.2397 26.0412 21.0681V40.0681C26.0412 40.8965 25.3696 41.5681 24.5412 41.5681C23.7127 41.5681 23.0412 40.8965 23.0412 40.0681V21.0681ZM32.4999 19.61C31.6746 19.5378 30.947 20.1483 30.8748 20.9735L29.2189 39.9012C29.1467 40.7265 29.7572 41.4541 30.5824 41.5263C31.4077 41.5985 32.1353 40.988 32.2075 40.1627L33.8634 21.235C33.9356 20.4097 33.3251 19.6822 32.4999 19.61Z",fill:"black"}),(0,r.jsx)("path",{d:"M26.5672 6.88352C25.1178 5.69847 22.9822 5.91274 21.7971 7.36212C21.4058 7.84079 21.167 8.39432 21.075 8.96373L27.7673 10.0561C27.9556 8.90016 27.5391 7.67814 26.5672 6.88352Z",fill:"black"}),(0,r.jsx)("path",{d:"M11.6713 8.08529L37.4106 12.2866",stroke:"black",strokeWidth:"3",strokeLinecap:"round"})]});case"drag-stroke":return(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M8 44C10.2091 44 12 42.2091 12 40C12 37.7909 10.2091 36 8 36C5.79086 36 4 37.7909 4 40C4 42.2091 5.79086 44 8 44Z",stroke:"black",strokeWidth:"3"}),(0,r.jsx)("path",{d:"M24 44C26.2091 44 28 42.2091 28 40C28 37.7909 26.2091 36 24 36C21.7909 36 20 37.7909 20 40C20 42.2091 21.7909 44 24 44Z",stroke:"black",strokeWidth:"3"}),(0,r.jsx)("path",{d:"M40 44C42.2091 44 44 42.2091 44 40C44 37.7909 42.2091 36 40 36C37.7909 36 36 37.7909 36 40C36 42.2091 37.7909 44 40 44Z",stroke:"black",strokeWidth:"3"}),(0,r.jsx)("path",{d:"M8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12Z",stroke:"black",strokeWidth:"3"}),(0,r.jsx)("path",{d:"M8 28C10.2091 28 12 26.2091 12 24C12 21.7909 10.2091 20 8 20C5.79086 20 4 21.7909 4 24C4 26.2091 5.79086 28 8 28Z",stroke:"black",strokeWidth:"3"}),(0,r.jsx)("path",{d:"M24 12C26.2091 12 28 10.2091 28 8C28 5.79086 26.2091 4 24 4C21.7909 4 20 5.79086 20 8C20 10.2091 21.7909 12 24 12Z",stroke:"black",strokeWidth:"3"}),(0,r.jsx)("path",{d:"M24 28C26.2091 28 28 26.2091 28 24C28 21.7909 26.2091 20 24 20C21.7909 20 20 21.7909 20 24C20 26.2091 21.7909 28 24 28Z",stroke:"black",strokeWidth:"3"}),(0,r.jsx)("path",{d:"M40 12C42.2091 12 44 10.2091 44 8C44 5.79086 42.2091 4 40 4C37.7909 4 36 5.79086 36 8C36 10.2091 37.7909 12 40 12Z",stroke:"black",strokeWidth:"3"}),(0,r.jsx)("path",{d:"M40 28C42.2091 28 44 26.2091 44 24C44 21.7909 42.2091 20 40 20C37.7909 20 36 21.7909 36 24C36 26.2091 37.7909 28 40 28Z",stroke:"black",strokeWidth:"3"})]});case"drag-fill":return(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M12 40C12 42.2091 10.2091 44 8 44C5.79086 44 4 42.2091 4 40C4 37.7909 5.79086 36 8 36C10.2091 36 12 37.7909 12 40Z",fill:"black"}),(0,r.jsx)("path",{d:"M28 40C28 42.2091 26.2091 44 24 44C21.7909 44 20 42.2091 20 40C20 37.7909 21.7909 36 24 36C26.2091 36 28 37.7909 28 40Z",fill:"black"}),(0,r.jsx)("path",{d:"M44 40C44 42.2091 42.2091 44 40 44C37.7909 44 36 42.2091 36 40C36 37.7909 37.7909 36 40 36C42.2091 36 44 37.7909 44 40Z",fill:"black"}),(0,r.jsx)("path",{d:"M12 8C12 10.2091 10.2091 12 8 12C5.79086 12 4 10.2091 4 8C4 5.79086 5.79086 4 8 4C10.2091 4 12 5.79086 12 8Z",fill:"black"}),(0,r.jsx)("path",{d:"M12 24C12 26.2091 10.2091 28 8 28C5.79086 28 4 26.2091 4 24C4 21.7909 5.79086 20 8 20C10.2091 20 12 21.7909 12 24Z",fill:"black"}),(0,r.jsx)("path",{d:"M28 8C28 10.2091 26.2091 12 24 12C21.7909 12 20 10.2091 20 8C20 5.79086 21.7909 4 24 4C26.2091 4 28 5.79086 28 8Z",fill:"black"}),(0,r.jsx)("path",{d:"M28 24C28 26.2091 26.2091 28 24 28C21.7909 28 20 26.2091 20 24C20 21.7909 21.7909 20 24 20C26.2091 20 28 21.7909 28 24Z",fill:"black"}),(0,r.jsx)("path",{d:"M44 8C44 10.2091 42.2091 12 40 12C37.7909 12 36 10.2091 36 8C36 5.79086 37.7909 4 40 4C42.2091 4 44 5.79086 44 8Z",fill:"black"}),(0,r.jsx)("path",{d:"M44 24C44 26.2091 42.2091 28 40 28C37.7909 28 36 26.2091 36 24C36 21.7909 37.7909 20 40 20C42.2091 20 44 21.7909 44 24Z",fill:"black"})]});case"drag-icon":return(0,r.jsx)("svg",{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M8.5,17c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S9.6,17,8.5,17z M15.5,7c1.1,0,2-0.9,2-2s-0.9-2-2-2s-2,0.9-2,2S14.4,7,15.5,7z M8.5,10c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S9.6,10,8.5,10z M15.5,10c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S16.6,10,15.5,10z M15.5,17c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S16.6,17,15.5,17z M8.5,3c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S9.6,3,8.5,3z"})});case"right-arrow-long":return(0,r.jsx)("svg",{width:"22",height:"22",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.606 13.9393C35.1918 13.3536 36.1415 13.3536 36.7273 13.9393L46.0607 23.2727C46.6464 23.8585 46.6464 24.8082 46.0607 25.394L36.7273 34.7273C36.1415 35.3131 35.1918 35.3131 34.606 34.7273C34.0202 34.1415 34.0202 33.1918 34.606 32.606L41.3787 25.8333L3 25.8333C2.17157 25.8333 1.5 25.1618 1.5 24.3333C1.5 23.5049 2.17157 22.8333 3 22.8333L41.3787 22.8333L34.606 16.0607C34.0202 15.4749 34.0202 14.5251 34.606 13.9393Z",fill:"#111827"})});case"certificate-page":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"36",fill:"none",viewBox:"0 0 24 36",children:[(0,r.jsx)("path",{fill:"#FEBB00",fillRule:"evenodd",d:"M23.815 7.042a.89.89 0 0 0-.012-.113.732.732 0 0 0-.024-.088l-.008-.022a.765.765 0 0 0-.035-.08l-.002-.003a.7.7 0 0 0-.049-.078l-.013-.018a.723.723 0 0 0-.061-.071L17.248.206a.718.718 0 0 0-.071-.061l-.019-.014a.653.653 0 0 0-.077-.048L17.076.08a.733.733 0 0 0-.188-.067.745.745 0 0 0-.09-.01L16.775 0H.82a.703.703 0 0 0-.704.703V30.8c0 .388.315.703.703.703h10.586v3.795a.703.703 0 0 0 1.077.596l2.678-1.68 2.678 1.68a.704.704 0 0 0 1.077-.596v-3.795h4.197a.703.703 0 0 0 .703-.703V7.041Zm-6.361-4.641 3.962 3.962h-3.962V2.4Zm-6.395 19.317c-.05-.135-.13-.354-.132-.444.055-.068.246-.189.363-.262.25-.159.534-.338.74-.619.208-.284.293-.611.367-.9.033-.127.086-.33.13-.408a.881.881 0 0 1 .175-.012c.078 0 .166.004.259.009.106.005.216.01.331.01.253 0 .457-.028.643-.09.324-.108.583-.316.811-.5.127-.102.338-.272.412-.283.08.01.291.181.418.283.228.184.488.392.811.5.186.062.39.09.643.09.115 0 .225-.005.331-.01.093-.005.18-.01.26-.01a.86.86 0 0 1 .173.013c.046.077.098.281.13.408.075.289.16.616.368.9.206.28.49.46.74.619.117.073.308.194.363.262-.002.09-.083.31-.132.444-.105.284-.223.607-.223.965s.118.681.223.966c.05.134.13.354.132.444-.055.068-.246.188-.362.262-.251.158-.535.338-.74.619-.209.283-.294.61-.368.9-.033.126-.086.33-.13.407a.872.872 0 0 1-.175.013c-.078 0-.166-.004-.259-.009a6.933 6.933 0 0 0-.33-.01c-.254 0-.458.028-.644.09-.323.107-.583.316-.811.5-.125.1-.332.267-.415.282-.083-.015-.29-.182-.414-.282-.23-.184-.488-.393-.812-.5a1.993 1.993 0 0 0-.643-.09c-.115 0-.225.005-.331.01a5.3 5.3 0 0 1-.259.01.872.872 0 0 1-.174-.014c-.045-.077-.098-.28-.13-.407-.075-.29-.16-.617-.368-.9-.205-.281-.49-.46-.74-.619-.117-.074-.307-.194-.362-.262.002-.09.082-.31.131-.444.105-.285.223-.608.223-.966s-.118-.68-.223-.965Zm6.45 12.308-1.974-1.24a.705.705 0 0 0-.748 0l-1.975 1.24v-6.328l.22-.008c.093-.005.18-.01.26-.01.125 0 .178.012.199.019.083.028.244.157.374.261.328.265.736.593 1.296.593s.968-.328 1.296-.593c.13-.104.29-.233.374-.261a.697.697 0 0 1 .2-.019c.078 0 .166.005.26.01l.218.008v6.328Zm1.407-3.93V27.13c.209-.284.296-.62.37-.905.039-.15.092-.355.14-.421.048-.066.227-.179.358-.261.346-.219.776-.491.947-1.006.17-.508-.007-.988-.148-1.373-.064-.175-.137-.374-.137-.482 0-.108.073-.306.137-.481.142-.386.318-.866.148-1.374-.17-.514-.601-.787-.948-1.005-.13-.082-.309-.196-.357-.261-.048-.066-.101-.271-.14-.421-.101-.391-.227-.879-.657-1.195-.343-.25-.74-.28-1.009-.28-.114 0-.224.006-.33.011-.093.005-.18.01-.26.01a.69.69 0 0 1-.199-.02c-.083-.027-.244-.157-.373-.26-.329-.265-.737-.594-1.297-.594-.56 0-.968.33-1.296.593-.13.104-.29.234-.374.262a.69.69 0 0 1-.199.018 5.14 5.14 0 0 1-.26-.009 6.523 6.523 0 0 0-.33-.01c-.269 0-.665.028-1.008.28-.43.315-.557.803-.658 1.194-.039.15-.092.355-.14.42-.048.066-.227.18-.357.262-.346.218-.777.49-.948 1.005-.17.508.007.988.148 1.374.064.175.137.373.137.481 0 .108-.073.307-.137.482-.141.386-.318.865-.148 1.373.171.515.602.787.948 1.006.13.082.309.195.357.26.048.067.101.272.14.422.074.285.161.622.37.905v2.964H1.523V1.406h14.525v5.66c0 .388.314.703.703.703h5.659v22.326h-3.494Z",clipRule:"evenodd"}),(0,r.jsx)("path",{fill:"#FEBB00",fillRule:"evenodd",d:"M4.258 7.769h9.059a.703.703 0 0 0 0-1.407h-9.06a.703.703 0 1 0 0 1.407Zm15.5 2.143h-15.5a.703.703 0 1 0 0 1.406h15.5a.703.703 0 0 0 0-1.406Zm-2.813 3.548H4.258a.703.703 0 0 0 0 1.407h12.687a.703.703 0 0 0 0-1.406Zm2.813 0a.704.704 0 0 0-.703.704.704.704 0 1 0 .703-.703Z",clipRule:"evenodd"})]});case"skill":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"29",height:"29",fill:"none",viewBox:"0 0 29 29",children:[(0,r.jsx)("path",{fill:"#F76B1C",d:"M27.266 18.987a5.879 5.879 0 0 0-5.876-1.458l-2.07-2.07 9.046-9.047c.409-.409.634-.953.634-1.531 0-.579-.225-1.123-.634-1.532L25.65.634A2.152 2.152 0 0 0 24.119 0c-.578 0-1.122.225-1.532.634L13.542 9.68l-2.07-2.07a5.879 5.879 0 0 0-1.459-5.876A5.83 5.83 0 0 0 6.901.108 5.855 5.855 0 0 0 3.5.513a.566.566 0 0 0-.172.919L6.03 4.134l-1.91 1.91-2.702-2.702a.567.567 0 0 0-.919.172 5.856 5.856 0 0 0-.406 3.402 5.83 5.83 0 0 0 1.627 3.112 5.879 5.879 0 0 0 5.876 1.458l2.07 2.07-6.928 6.929a.565.565 0 0 0-.137.223L.133 28.151a.566.566 0 0 0 .716.716l7.435-2.464c.117-.034.23-.14.23-.14l6.93-6.928 2.07 2.07a5.88 5.88 0 0 0 1.458 5.876 5.83 5.83 0 0 0 3.111 1.627 5.847 5.847 0 0 0 3.402-.405.566.566 0 0 0 .173-.92l-2.703-2.702 1.91-1.91 2.703 2.702a.566.566 0 0 0 .919-.172 5.857 5.857 0 0 0 .405-3.402 5.83 5.83 0 0 0-1.626-3.112ZM23.39 1.435c.195-.195.454-.302.73-.302.276 0 .536.107.73.302l2.715 2.715c.196.195.303.455.303.73 0 .277-.107.536-.303.731L25.727 7.45 21.55 3.273l1.838-1.838Zm-15.243 9a.567.567 0 0 0-.6-.129A4.743 4.743 0 0 1 2.52 9.227a4.7 4.7 0 0 1-1.261-4.44l2.46 2.459c.22.221.58.221.8 0l2.712-2.712a.566.566 0 0 0 0-.8l-2.46-2.46a4.7 4.7 0 0 1 4.441 1.26 4.743 4.743 0 0 1 1.08 5.026.566.566 0 0 0 .129.601l2.32 2.32-2.275 2.275-2.32-2.32ZM1.563 27.438l.82-2.472 1.652 1.653-2.472.819Zm3.675-1.218-2.457-2.457.605-1.827 3.679 3.679-1.827.605Zm2.876-1.158-1.687-1.687 5.544-5.544a.567.567 0 0 0-.8-.801l-5.545 5.544-1.687-1.688 16.81-16.81.046.045 1.642 1.642-7.646 7.646a.566.566 0 1 0 .801.8l7.646-7.645 1.688 1.687-16.813 16.81Zm19.612-.832-2.46-2.46a.566.566 0 0 0-.8 0l-2.712 2.712a.566.566 0 0 0 0 .8l2.46 2.46a4.7 4.7 0 0 1-4.441-1.26 4.743 4.743 0 0 1-1.08-5.026.566.566 0 0 0-.129-.601l-2.32-2.32 2.274-2.275 2.32 2.32a.566.566 0 0 0 .602.13 4.743 4.743 0 0 1 5.025 1.079 4.7 4.7 0 0 1 1.261 4.44Z"}),(0,r.jsx)("path",{fill:"#F76B1C",d:"M13.39 16.178a.572.572 0 0 1-.533-.376.571.571 0 0 1 .166-.622.573.573 0 0 1 .665-.05.571.571 0 0 1 .256.592.572.572 0 0 1-.555.456Z"})]});case"trained":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"24",fill:"none",viewBox:"0 0 36 24",children:[(0,r.jsx)("path",{fill:"#28C76F",d:"M18.002.26a5.484 5.484 0 0 0-5.479 5.479 5.484 5.484 0 0 0 5.479 5.478A5.484 5.484 0 0 0 23.48 5.74 5.484 5.484 0 0 0 18.002.261Zm0 9.392a3.918 3.918 0 0 1-3.913-3.913 3.918 3.918 0 0 1 3.913-3.913 3.918 3.918 0 0 1 3.913 3.913 3.918 3.918 0 0 1-3.913 3.913Zm10.954-3.131a3.918 3.918 0 0 0-3.913 3.913 3.918 3.918 0 0 0 3.913 3.914 3.918 3.918 0 0 0 3.913-3.914 3.918 3.918 0 0 0-3.913-3.913Zm0 6.261a2.35 2.35 0 0 1-2.348-2.348 2.35 2.35 0 0 1 2.348-2.347 2.35 2.35 0 0 1 2.348 2.348 2.35 2.35 0 0 1-2.348 2.347ZM7.155 6.521a3.917 3.917 0 0 0-3.913 3.913 3.918 3.918 0 0 0 3.913 3.914 3.918 3.918 0 0 0 3.913-3.914 3.917 3.917 0 0 0-3.913-3.913Zm0 6.261a2.35 2.35 0 0 1-2.348-2.348 2.35 2.35 0 0 1 2.348-2.347 2.35 2.35 0 0 1 2.348 2.348 2.35 2.35 0 0 1-2.348 2.347Zm10.843 0c-5.61 0-10.174 4.564-10.174 10.174a.783.783 0 0 0 1.565 0c0-4.747 3.862-8.608 8.61-8.608 4.747 0 8.608 3.86 8.608 8.608a.783.783 0 0 0 1.565 0c0-5.61-4.564-10.174-10.174-10.174Z"}),(0,r.jsx)("path",{fill:"#28C76F",d:"M28.958 15.913c-1.288 0-2.55.352-3.648 1.017a.785.785 0 0 0-.263 1.076.784.784 0 0 0 1.075.263 5.457 5.457 0 0 1 2.836-.79 5.484 5.484 0 0 1 5.479 5.478.783.783 0 0 0 1.565 0 7.052 7.052 0 0 0-7.044-7.044ZM10.69 16.929a7.048 7.048 0 0 0-3.647-1.016C3.16 15.913 0 19.073 0 22.957a.783.783 0 0 0 1.565 0 5.484 5.484 0 0 1 5.478-5.479c1.004 0 1.984.273 2.835.79a.784.784 0 0 0 .813-1.34Z"})]});case"green-tick":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",fill:"none",viewBox:"0 0 15 15",children:[(0,r.jsx)("circle",{cx:"7",cy:"8",r:"7",fill:"#3CB733",opacity:".1"}),(0,r.jsx)("path",{stroke:"#3CB733",strokeLinecap:"round",strokeWidth:"1.2",d:"m3 7 3.214 2.41a1 1 0 0 0 1.39-.186L14 1"})]});case"search-social":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",fill:"none",viewBox:"0 0 15 15",children:[(0,r.jsx)("circle",{cx:"6",cy:"6",r:"5",stroke:"currentColor",strokeWidth:"1.2"}),(0,r.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.2",d:"M13.5 13.5 11 11"})]});case"search":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",fill:"none",viewBox:"0 0 15 15",children:[(0,r.jsx)("circle",{cx:"6",cy:"6",r:"5",stroke:"#fff",strokeWidth:"1.2"}),(0,r.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:"1.2",d:"M13.5 13.5 11 11"})]});case"bookmark":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",children:(0,r.jsx)("path",{stroke:"#586ED1",strokeWidth:"2",d:"M1 7c0-2.828 0-4.243.879-5.121C2.757 1 4.172 1 7 1h4c2.828 0 4.243 0 5.121.879C17 2.757 17 4.172 17 7v6.828c0 2.683 0 4.024-.844 4.435-.845.41-1.9-.419-4.01-2.076l-.675-.531c-1.186-.932-1.78-1.398-2.471-1.398-.692 0-1.285.466-2.471 1.398l-.676.53c-2.11 1.658-3.164 2.487-4.009 2.077C1 17.853 1 16.51 1 13.828V7Z"})});case"learn-btn":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"6",fill:"none",viewBox:"0 0 14 6",children:(0,r.jsx)("path",{fill:"#707584",d:"m11 6 3-3-3-3-.707.707L12.086 2.5H0v1h12.086l-1.793 1.793L11 6Z"})});case"get-started-arrow":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"6",fill:"none",viewBox:"0 0 14 6",children:(0,r.jsx)("path",{fill:"#586ED1",d:"m11 6 3-3-3-3-.707.707L12.086 2.5H0v1h12.086l-1.793 1.793L11 6Z"})});case"enroll-arrow":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"6",fill:"none",viewBox:"0 0 14 6",children:(0,r.jsx)("path",{fill:"#fff",d:"m11 6 3-3-3-3-.707.707L12.086 2.5H0v1h12.086l-1.793 1.793L11 6Z"})});case"phone-icon":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",fill:"none",viewBox:"0 0 16 17",children:(0,r.jsx)("path",{fill:"#586ED1",d:"M3.237 10.658a17.011 17.011 0 0 0 5.658 4.433c.827.392 1.934.857 3.166.936.077.004.15.007.226.007.827 0 1.492-.286 2.034-.874.003-.003.01-.01.013-.016.193-.233.412-.442.641-.665.156-.15.316-.305.469-.465.707-.738.707-1.675-.007-2.389L13.44 9.628c-.339-.352-.744-.538-1.17-.538-.425 0-.833.186-1.182.535l-1.19 1.19a5.829 5.829 0 0 0-.328-.173 4.089 4.089 0 0 1-.366-.2c-1.083-.687-2.067-1.584-3.007-2.737-.475-.602-.794-1.107-1.016-1.622.312-.282.604-.578.887-.867.1-.103.202-.206.305-.309.36-.359.552-.774.552-1.196 0-.422-.19-.837-.552-1.196l-.99-.99c-.116-.116-.226-.23-.339-.346A18.23 18.23 0 0 0 4.37.512C4.028.176 3.626 0 3.2 0c-.422 0-.827.176-1.182.515L.775 1.758c-.452.451-.708 1-.76 1.634-.064.794.082 1.638.461 2.658.581 1.578 1.459 3.043 2.761 4.608ZM.825 3.462c.04-.442.21-.81.528-1.13L2.59 1.096c.192-.186.404-.282.61-.282.203 0 .41.096.598.29.223.205.432.421.658.65.113.117.23.233.346.352l.99.99c.206.207.312.416.312.622 0 .206-.106.415-.312.621-.103.103-.206.21-.31.312-.308.313-.597.608-.916.89l-.017.017c-.275.276-.232.539-.166.738l.01.027c.256.614.611 1.199 1.166 1.897.997 1.229 2.047 2.182 3.203 2.917.143.093.296.166.439.239.133.066.256.13.365.2l.037.02a.7.7 0 0 0 .322.082c.266 0 .439-.17.495-.226l1.243-1.242c.192-.193.402-.296.608-.296.252 0 .458.156.588.296l2.003 2c.399.399.396.83-.01 1.252-.14.15-.286.293-.442.442-.232.226-.475.459-.694.721-.382.412-.837.605-1.425.605-.057 0-.117-.003-.173-.007-1.09-.07-2.103-.495-2.864-.857a16.16 16.16 0 0 1-5.386-4.22C2.63 8.656 1.795 7.267 1.244 5.779.9 4.864.772 4.13.824 3.462Z"})});case"location-icon":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"17",fill:"none",viewBox:"0 0 12 17",children:[(0,r.jsx)("path",{fill:"#586ED1",d:"M6 0C2.692 0 0 2.692 0 6c0 1.09.488 2.26.509 2.31.158.374.469.956.693 1.297l4.114 6.233c.169.256.418.402.684.402.266 0 .515-.146.684-.401l4.114-6.234c.225-.34.536-.923.693-1.297.02-.05.509-1.22.509-2.31 0-3.308-2.692-6-6-6Zm4.84 8.036a8.76 8.76 0 0 1-.631 1.182l-4.115 6.234c-.08.123-.107.123-.188 0L1.792 9.218a8.87 8.87 0 0 1-.632-1.182C1.154 8.02.706 6.943.706 6A5.3 5.3 0 0 1 6 .706 5.3 5.3 0 0 1 11.294 6c0 .944-.449 2.026-.453 2.036Z"}),(0,r.jsx)("path",{fill:"#586ED1",d:"M6 2.824a3.18 3.18 0 0 0-3.176 3.177 3.18 3.18 0 0 0 3.177 3.176 3.18 3.18 0 0 0 3.176-3.176 3.18 3.18 0 0 0-3.176-3.177Zm0 5.647a2.474 2.474 0 0 1-2.47-2.47A2.474 2.474 0 0 1 6 3.53 2.474 2.474 0 0 1 8.472 6a2.474 2.474 0 0 1-2.47 2.47Z"})]});case"send-icon":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",fill:"none",viewBox:"0 0 14 14",children:(0,r.jsx)("path",{fill:"#fff",d:"M9.88.607 3.39 2.77C1.756 3.315.94 3.587.614 3.9a2 2 0 0 0 0 2.884c.326.312 1.142.585 2.776 1.13.329.109.493.164.64.24a2 2 0 0 1 .832.834c.077.146.132.31.242.64.545 1.633.817 2.45 1.13 2.775a2 2 0 0 0 2.884 0c.312-.325.584-1.142 1.129-2.776l2.164-6.49c.552-1.656.827-2.484.39-2.921-.437-.437-1.264-.161-2.92.39Z"})});case"student-icon":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"29",height:"37",fill:"none",viewBox:"0 0 29 37",children:(0,r.jsx)("path",{fill:"#586ED1",d:"m24.888 23.758-2.134-.627-4.643-3.032v-.695a6.18 6.18 0 0 0 2.439-4.341 1.419 1.419 0 0 0 1.19-1.399V9.311a1.05 1.05 0 0 0 .439-.858V6.238l3.204-.546a1.12 1.12 0 0 0 .943-1.04c.037-.534-.28-1-.79-1.162L14.735.054a1.13 1.13 0 0 0-.689 0L3.242 3.49a1.12 1.12 0 0 0-.789 1.161c.024.339.186.63.435.822V8.37h-.026c-.608 0-1.103.495-1.103 1.103v1.438l-.712 4.18a1.186 1.186 0 0 0 1.169 1.385h2.41c.734 0 1.293-.66 1.17-1.385l-.713-4.18V9.473c0-.608-.494-1.103-1.103-1.103h-.026V5.787l2.649.451v2.215c0 .35.17.663.437.856v4.355c0 .704.517 1.29 1.192 1.399a6.18 6.18 0 0 0 2.436 4.339v.698l-4.642 3.032-2.133.626A5.417 5.417 0 0 0 0 28.958v1.588a.533.533 0 1 0 1.066 0v-1.587a4.378 4.378 0 0 1 3.127-4.178l1.987-.584 7.939 4.717a.54.54 0 0 0 .544 0l7.939-4.717 1.986.583a4.378 4.378 0 0 1 3.128 4.178v5.145c0 .66-.537 1.197-1.197 1.197h-2.347v-2.296a.533.533 0 0 0-1.066 0V35.3H5.673v-2.296a.533.533 0 1 0-1.065 0V35.3H2.262c-.66 0-1.197-.537-1.197-1.197v-1.067a.533.533 0 1 0-1.065 0v1.067a2.265 2.265 0 0 0 2.262 2.262H26.52a2.265 2.265 0 0 0 2.262-2.262v-5.145a5.417 5.417 0 0 0-3.893-5.2ZM4.627 15.411H2.216a.12.12 0 0 1-.12-.141l.645-3.781h1.36l.644 3.78a.12.12 0 0 1-.118.142Zm-.609-5.938v.95H2.824v-.95c0-.02.017-.038.038-.038H3.98c.021 0 .038.017.038.038Zm8.468 17.032.212.326-5.439-3.232 3.452-2.255a11.19 11.19 0 0 0 1.775 5.16Zm-.004-2.3a13.67 13.67 0 0 0 3.817 0 10.168 10.168 0 0 1-.896 1.719L14.39 27.48l-1.012-1.556a10.168 10.168 0 0 1-.897-1.719Zm3.814 2.3a11.189 11.189 0 0 0 1.774-5.16l3.452 2.254-5.438 3.232.212-.326Zm3.116-16.996h1.262v1.711h-.626a.637.637 0 0 1-.636-.636V9.51ZM3.565 4.505 14.368 1.07a.07.07 0 0 1 .043 0l10.803 3.436c.022.007.053.017.05.072-.005.056-.037.061-.06.065l-3.571.608-1.341-.165a.533.533 0 0 0-.131 1.057l.952.118v2.184L7.668 8.443V6.26l5.512-.682c.803-.1 1.617-.1 2.42 0l2.085.258a.533.533 0 0 0 .131-1.058L15.73 4.52c-.889-.11-1.791-.11-2.68 0l-5.902.73-3.573-.608c-.023-.004-.055-.01-.059-.065-.004-.055.027-.065.05-.072Zm4.54 6.715V9.51H9.37v1.076c0 .35-.286.635-.636.635h-.628Zm1.173 3.569a.825.825 0 0 0-.82-.774.352.352 0 0 1-.352-.351v-1.378h.628c.938 0 1.7-.763 1.7-1.701V9.509h7.912v1.076c0 .938.764 1.7 1.702 1.7h.627v1.379a.352.352 0 0 1-.351.351.825.825 0 0 0-.82.774 5.13 5.13 0 0 1-5.113 4.797 5.13 5.13 0 0 1-5.113-4.797Zm5.113 5.862c.947 0 1.848-.217 2.655-.602v.338c0 .91-.123 1.809-.36 2.675a12.58 12.58 0 0 1-4.59 0 10.152 10.152 0 0 1-.36-2.675l-.002-.034v-.305a6.149 6.149 0 0 0 2.657.603Z"})});case"course-icon":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",fill:"none",viewBox:"0 0 32 32",children:(0,r.jsx)("path",{fill:"#586ED1",d:"M31.467 5.867h-2.134V3.201a.533.533 0 0 0-.578-.534l-1.391.118a32.357 32.357 0 0 0-9.808 2.391L16 5.823l-1.554-.645a32.364 32.364 0 0 0-9.81-2.392l-1.391-.119a.533.533 0 0 0-.578.534v2.666H.533A.533.533 0 0 0 0 6.401v22.4c0 .294.239.533.533.533h30.934a.533.533 0 0 0 .533-.533V6.4a.533.533 0 0 0-.533-.534ZM1.067 28.27V6.934h1.6v18.667a.533.533 0 0 0 .488.533l1.435.123c.391.032.782.073 1.173.12.13.016.26.037.391.054.259.035.517.07.775.11.154.025.307.054.46.081.233.041.467.082.7.128.16.032.32.067.48.102a28.767 28.767 0 0 1 1.815.446 30.331 30.331 0 0 1 2.257.723c.154.053.308.111.46.17l.198.078H1.067Zm14.4-.268-.984-.41a32.345 32.345 0 0 0-9.803-2.4l-.947-.08V3.781l.814.068c3.265.27 6.466 1.05 9.489 2.313l1.43.595V28Zm1.066 0V6.757l1.433-.595a31.292 31.292 0 0 1 9.487-2.313l.814-.068V25.11l-.877.071a32.563 32.563 0 0 0-9.813 2.386l-1.044.434Zm14.4.266H18.71c.073-.028.146-.058.219-.085a29.507 29.507 0 0 1 1.114-.398l.494-.16a33.283 33.283 0 0 1 2.277-.632c.222-.054.446-.102.67-.15.16-.034.32-.07.482-.101.235-.047.47-.088.706-.129l.457-.08c.264-.042.527-.077.79-.113.127-.016.254-.036.38-.053.392-.047.785-.088 1.18-.121l1.366-.11a.533.533 0 0 0 .49-.534V6.934h1.6v21.333Z"})});case"category-icon":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"31",height:"31",fill:"none",viewBox:"0 0 31 31",children:[(0,r.jsx)("g",{clipPath:"url(#a)",children:(0,r.jsx)("path",{fill:"#586ED1",d:"M6.79 11.36a4.135 4.135 0 0 0-4.138 4.137 4.135 4.135 0 0 0 4.138 4.137 4.135 4.135 0 0 0 4.137-4.137 4.154 4.154 0 0 0-4.137-4.138Zm0 6.822a2.684 2.684 0 0 1-2.686-2.685A2.684 2.684 0 0 1 6.79 12.81a2.684 2.684 0 0 1 2.685 2.686 2.698 2.698 0 0 1-2.685 2.685Zm20.831-5.662h-14.77c-.4 0-.726.327-.726.726 0 .4.327.726.726.726h14.77a.727.727 0 0 0 0-1.452Zm-6.815 4.5H12.85c-.4 0-.726.327-.726.726 0 .4.32.726.726.726h7.955c.4 0 .726-.327.726-.726a.729.729 0 0 0-.726-.726ZM6.79 0a4.135 4.135 0 0 0-4.138 4.137A4.135 4.135 0 0 0 6.79 8.274a4.135 4.135 0 0 0 4.137-4.137A4.145 4.145 0 0 0 6.79 0Zm0 6.816A2.684 2.684 0 0 1 4.104 4.13 2.68 2.68 0 0 1 6.79 1.444 2.684 2.684 0 0 1 9.475 4.13 2.689 2.689 0 0 1 6.79 6.816Zm20.831-5.691h-14.77c-.4 0-.726.327-.726.726 0 .399.327.726.726.726h14.77a.727.727 0 0 0 0-1.452Zm-6.815 4.573H12.85c-.4 0-.726.326-.726.726 0 .399.32.725.726.725h7.955c.4 0 .726-.326.726-.725 0-.4-.327-.726-.726-.726ZM6.79 22.726a4.135 4.135 0 0 0-4.138 4.137A4.135 4.135 0 0 0 6.79 31a4.135 4.135 0 0 0 4.137-4.137 4.145 4.145 0 0 0-4.137-4.137Zm0 6.815a2.684 2.684 0 0 1-2.686-2.686A2.684 2.684 0 0 1 6.79 24.17a2.684 2.684 0 0 1 2.685 2.685 2.689 2.689 0 0 1-2.685 2.686Zm20.831-5.698h-14.77c-.4 0-.726.327-.726.726 0 .4.327.726.726.726h14.77a.727.727 0 0 0 0-1.452Zm-6.815 4.573H12.85c-.4 0-.726.327-.726.726 0 .399.327.726.726.726h7.955c.4 0 .726-.327.726-.726 0-.4-.327-.726-.726-.726Z"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"a",children:(0,r.jsx)("path",{fill:"#fff",d:"M0 0h31v31H0z"})})})]});case"tick-icon":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"18",fill:"none",viewBox:"0 0 21 18",children:(0,r.jsx)("path",{stroke:"#586ED1",strokeLinecap:"round",strokeWidth:"2",d:"m1 12.636 5.081 3.793a1 1 0 0 0 1.371-.166L20 1"})});case"rating-star":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:(0,r.jsx)("path",{fill:"#586ED1",fillOpacity:".2",d:"M15.958 5.793a.85.85 0 0 0-.731-.584l-4.619-.419L8.783.517a.85.85 0 0 0-1.565 0L5.393 4.79l-4.62.42A.852.852 0 0 0 .29 6.696L3.78 9.76l-1.03 4.534a.85.85 0 0 0 1.266.92L8 12.83l3.982 2.381a.85.85 0 0 0 1.266-.92l-1.03-4.533 3.492-3.062a.852.852 0 0 0 .248-.904Z"})});case"pdf":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:15,height:15,children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{d:"M16 2l5 5v14.008a.993.993 0 0 1-.993.992H3.993A1 1 0 0 1 3 21.008V2.992C3 2.444 3.445 2 3.993 2H16zm-4 14a4 4 0 1 0 0-8H8v8h4zm-2-6h2a2 2 0 1 1 0 4h-2v-4z"})]});case"survey":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:15,height:15,viewBox:"0 0 30 30",fill:"currentColor",children:(0,r.jsx)("path",{d:"M 15 0 C 14.083334 0 13.268559 0.37975559 12.751953 0.9609375 C 12.235347 1.5421194 12 2.2777779 12 3 L 10 3 L 8 3 C 6.3550302 3 5 4.3550302 5 6 L 5 24 C 5 25.64497 6.3550302 27 8 27 L 22 27 C 23.64497 27 25 25.64497 25 24 L 25 6 C 25 4.3550302 23.64497 3 22 3 L 20 3 L 18 3 C 18 2.2777779 17.764653 1.5421194 17.248047 0.9609375 C 16.731441 0.37975559 15.916666 0 15 0 z M 15 2 C 15.416666 2 15.601893 2.1202444 15.751953 2.2890625 C 15.902014 2.4578806 16 2.7222221 16 3 C 16 3.2777779 15.902014 3.5421194 15.751953 3.7109375 C 15.601893 3.8797556 15.416666 4 15 4 C 14.583334 4 14.398107 3.8797556 14.248047 3.7109375 C 14.097986 3.5421194 14 3.2777779 14 3 C 14 2.7222221 14.097986 2.4578806 14.248047 2.2890625 C 14.398107 2.1202444 14.583334 2 15 2 z M 8 5 L 10 5 C 10 6.105 10.895 7 12 7 L 18 7 C 19.105 7 20 6.105 20 5 L 22 5 C 22.56503 5 23 5.4349698 23 6 L 23 24 C 23 24.56503 22.56503 25 22 25 L 8 25 C 7.4349698 25 7 24.56503 7 24 L 7 6 C 7 5.4349698 7.4349698 5 8 5 z M 11 11.5 A 1.5 1.5 0 0 0 11 14.5 A 1.5 1.5 0 0 0 11 11.5 z M 15 12 A 1.0001 1.0001 0 1 0 15 14 L 19 14 A 1.0001 1.0001 0 1 0 19 12 L 15 12 z M 11 18 A 1 1 0 0 0 11 20 A 1 1 0 0 0 11 18 z M 15 18 A 1.0001 1.0001 0 1 0 15 20 L 19 20 A 1.0001 1.0001 0 1 0 19 18 L 15 18 z"})});case"quiz":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:15,height:15,children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{d:"M16 2l5 5v14.008a.993.993 0 0 1-.993.992H3.993A1 1 0 0 1 3 21.008V2.992C3 2.444 3.445 2 3.993 2H16zm-5 13v2h2v-2h-2zm2-1.645A3.502 3.502 0 0 0 12 6.5a3.501 3.501 0 0 0-3.433 2.813l1.962.393A1.5 1.5 0 1 1 12 11.5a1 1 0 0 0-1 1V14h2v-.645z"})]});case"ppt":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:15,height:15,children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{d:"M17 3h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-4V3zM2.859 2.877l12.57-1.795a.5.5 0 0 1 .571.495v20.846a.5.5 0 0 1-.57.495L2.858 21.123a1 1 0 0 1-.859-.99V3.867a1 1 0 0 1 .859-.99zM5 8v8h2v-2h6V8H5zm2 2h4v2H7v-2z"})]});case"bold-text":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",width:16,height:16,children:[" ",(0,r.jsx)("path",{d:"M 7 4 C 6.447 4 6 4.448 6 5 C 6 5.552 6.447 6 7 6 L 8 6 L 8 24 L 7 24 C 6.447 24 6 24.448 6 25 C 6 25.552 6.447 26 7 26 L 18.5 26 C 22.084 26 25 23.084 25 19.5 C 25 16.869 23.426828 14.604031 21.173828 13.582031 C 22.292828 12.574031 23 11.12 23 9.5 C 23 6.467 20.532 4 17.5 4 L 7 4 z M 13 6 L 15.5 6 C 17.43 6 19 7.57 19 9.5 C 19 11.43 17.43 13 15.5 13 L 13 13 L 13 6 z M 13 15 L 14.5 15 L 15.5 15 C 17.981 15 20 17.019 20 19.5 C 20 21.981 17.981 24 15.5 24 L 13 24 L 13 15 z"})]});case"italic":return(0,r.jsxs)("svg",{width:16,height:16,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{x:5,y:36,width:28,height:8,rx:2,fill:"black"}),(0,r.jsx)("rect",{x:16,y:4,width:28,height:8,rx:2,fill:"black"}),(0,r.jsx)("rect",{x:"13.7671",y:"36.5776",width:31,height:8,transform:"rotate(-65 13.7671 36.5776)",fill:"black"})]});case"subscript":return(0,r.jsx)("svg",{"aria-hidden":"true",focusable:"false",width:16,height:16,viewBox:"0 0 16 16",className:"bem-Svg",style:{display:"block"},children:(0,r.jsx)("path",{d:"M3.397 3l1.561 3.16h.067L6.603 3h2.313l-2.58 5L9 13H6.628L5.025 9.807h-.067L3.355 13H1l2.651-5-2.584-5h2.33zm6.688 10.898v-1.012l2.122-1.858c.16-.144.295-.275.407-.395a1.52 1.52 0 00.255-.363.919.919 0 00.088-.4.77.77 0 00-.105-.413.705.705 0 00-.29-.267.922.922 0 00-.423-.093.868.868 0 00-.423.099.69.69 0 00-.284.281.936.936 0 00-.1.45H10c0-.397.089-.739.267-1.026.178-.288.428-.51.75-.665.324-.157.7-.236 1.128-.236.441 0 .825.074 1.15.222.326.147.578.354.756.619.18.263.27.569.27.918 0 .221-.044.44-.133.659-.09.217-.25.458-.48.721-.23.264-.556.579-.978.946l-.696.642v.037h2.358v1.134h-4.307z",fill:"currentColor"})});case"superscript":return(0,r.jsx)("svg",{"aria-hidden":"true",focusable:"false",width:16,height:16,viewBox:"0 0 16 16",className:"bem-Svg",style:{display:"block"},children:(0,r.jsx)("path",{fill:"currentColor",d:"M3.397 3l1.561 3.16h.067L6.603 3h2.313l-2.58 5L9 13H6.628L5.025 9.807h-.067L3.355 13H1l2.651-5-2.584-5zm6.688 4.898V6.886l2.122-1.858c.16-.144.295-.275.407-.394a1.52 1.52 0 00.255-.364.919.919 0 00.088-.4.77.77 0 00-.105-.413c-.07-.115-.166-.204-.29-.267s-.264-.093-.423-.093a.868.868 0 00-.423.099.69.69 0 00-.284.281.936.936 0 00-.1.45H10c0-.397.089-.739.267-1.026.178-.288.428-.51.75-.665.324-.157.7-.236 1.128-.236.441 0 .825.074 1.15.222.326.147.578.354.756.619.18.263.27.569.27.918 0 .221-.044.44-.133.659-.09.217-.25.458-.48.721-.23.263-.555.579-.978.946l-.696.642v.037h2.358v1.134z"})});case"underline":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:16,height:16,children:(0,r.jsx)("path",{d:"M 10 6 C 9.449219 6 9 6.449219 9 7 L 9 28 C 9 36.820313 16.179688 44 25 44 C 33.820313 44 41 36.820313 41 28 L 41 7 C 41 6.449219 40.554688 6 40 6 L 36 6 C 35.445313 6 35 6.449219 35 7 L 35 28 C 35 33.515625 30.515625 38 25 38 C 19.484375 38 15 33.515625 15 28 L 15 7 C 15 6.449219 14.550781 6 14 6 Z M 11 47 C 10.449219 47 10 47.445313 10 48 C 10 48.554688 10.449219 49 11 49 L 39 49 C 39.554688 49 40 48.554688 40 48 C 40 47.445313 39.554688 47 39 47 Z"})});case"strikethrough":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 30 30",width:"16px",height:"16px",children:[(0,r.jsx)("line",{style:{fill:"none",stroke:"#fff",strokeWidth:4,strokeMiterlimit:10},x1:15,y1:6,x2:15,y2:16}),(0,r.jsx)("line",{style:{fill:"none",stroke:"#fff",strokeWidth:4,strokeMiterlimit:10},x1:15,y1:19,x2:15,y2:25}),(0,r.jsx)("line",{style:{fill:"none",stroke:"#fff",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:7,y1:16,x2:23,y2:16}),(0,r.jsx)("polyline",{style:{fill:"none",stroke:"#fff",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},points:"6,7 6,5 24,5 24,7 "}),(0,r.jsx)("line",{style:{fill:"none",stroke:"#fff",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:12,y1:25,x2:18,y2:25})]});case"asgmt":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:18,height:18,viewBox:"0 0 128 128",fill:"currentColor",children:(0,r.jsx)("path",{d:"M 17 1 C 15.3 1 14 2.3 14 4 L 14 124 C 14 125.7 15.3 127 17 127 L 111 127 C 112.7 127 114 125.7 114 124 L 114 4 C 114 2.3 112.7 1 111 1 L 17 1 z M 20 7 L 37.5 7 L 37.5 16 C 37.5 17.7 38.8 19 40.5 19 L 87.5 19 C 89.2 19 90.5 17.7 90.5 16 L 90.5 7 L 108 7 L 108 121 L 20 121 L 20 7 z M 43.5 7 L 84.5 7 L 84.5 13 L 43.5 13 L 43.5 7 z M 50.5 38 C 48.8 38 47.5 39.3 47.5 41 C 47.5 42.7 48.8 44 50.5 44 L 77.5 44 C 79.2 44 80.5 42.7 80.5 41 C 80.5 39.3 79.2 38 77.5 38 L 50.5 38 z M 35.5 63 C 33.8 63 32.5 64.3 32.5 66 C 32.5 67.7 33.8 69 35.5 69 L 92.5 69 C 94.2 69 95.5 67.7 95.5 66 C 95.5 64.3 94.2 63 92.5 63 L 35.5 63 z M 35.5 78 C 33.8 78 32.5 79.3 32.5 81 C 32.5 82.7 33.8 84 35.5 84 L 92.5 84 C 94.2 84 95.5 82.7 95.5 81 C 95.5 79.3 94.2 78 92.5 78 L 35.5 78 z M 35.5 93 C 33.8 93 32.5 94.3 32.5 96 C 32.5 97.7 33.8 99 35.5 99 L 92.5 99 C 94.2 99 95.5 97.7 95.5 96 C 95.5 94.3 94.2 93 92.5 93 L 35.5 93 z"})});case"text":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:15,height:15,children:[(0,r.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r.jsx)("path",{d:"M21 9v11.993A1 1 0 0 1 20.007 22H3.993A.993.993 0 0 1 3 21.008V2.992C3 2.455 3.447 2 3.998 2H14v6a1 1 0 0 0 1 1h6zm0-2h-5V2.003L21 7zM8 7v2h3V7H8zm0 4v2h8v-2H8zm0 4v2h8v-2H8z"})]});case"gear":return(0,r.jsxs)("svg",{width:16,height:16,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M18.5193 6.78371C18.5193 5.24631 19.7656 4 21.303 4H26.4806C28.1375 4 29.4806 5.34314 29.4806 7V7.14361C29.4806 8.36448 30.2346 9.44067 31.2981 10.0401C31.6132 10.2177 31.9217 10.4058 32.2231 10.6038C33.2941 11.3074 34.6741 11.4647 35.783 10.8223L35.9156 10.7454C37.3523 9.91302 39.1919 10.4059 40.0199 11.8452L42.5085 16.1707C43.3329 17.6038 42.8426 19.4337 41.4121 20.2625L41.0298 20.484C39.9592 21.1043 39.4058 22.3186 39.4394 23.5554C39.4435 23.7031 39.4455 23.8513 39.4455 24C39.4455 24.1487 39.4435 24.2969 39.4394 24.4446C39.4058 25.6814 39.9592 26.8957 41.0298 27.516L41.4121 27.7375C42.8426 28.5663 43.333 30.3963 42.5085 31.8293L40.0199 36.1549C39.1919 37.5941 37.3523 38.087 35.9156 37.2546L35.7829 37.1777C34.6741 36.5353 33.2941 36.6926 32.2231 37.3962C31.9217 37.5942 31.6132 37.7823 31.2981 37.9599C30.2346 38.5593 29.4806 39.6355 29.4806 40.8564V41C29.4806 42.6569 28.1375 44 26.4806 44H21.303C19.7656 44 18.5193 42.7537 18.5193 41.2163V41.2163C18.5193 40.0149 17.7367 38.9709 16.6528 38.4527C16.0856 38.1816 15.5369 37.8778 15.0091 37.5438C14.0511 36.9375 12.8325 36.8212 11.8515 37.3895V37.3895C10.5433 38.1475 8.86824 37.6987 8.11427 36.3881L5.29347 31.4851C4.57847 30.2423 5.0037 28.6553 6.2443 27.9366V27.9366C7.20021 27.3827 7.68128 26.2863 7.60094 25.1844C7.57242 24.7934 7.55792 24.3984 7.55792 24C7.55792 23.6016 7.57242 23.2066 7.60094 22.8156C7.68128 21.7137 7.20021 20.6173 6.24431 20.0635V20.0635C5.00372 19.3447 4.57849 17.7577 5.29349 16.5149L8.11431 11.6119C8.86827 10.3014 10.5433 9.85255 11.8515 10.6105V10.6105C12.8325 11.1789 14.0511 11.0625 15.0091 10.4562C15.5369 10.1222 16.0856 9.81845 16.6528 9.54729C17.7367 9.02909 18.5193 7.98513 18.5193 6.78371V6.78371Z",stroke:"black",strokeWidth:"3"}),(0,r.jsx)("circle",{cx:"23.5703",cy:"24",r:"7",stroke:"black",strokeWidth:"3"})]});case"left-arrow":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",width:20,height:20,children:(0,r.jsx)("path",{d:"M 10.8125 9.28125 L 4.09375 16 L 10.8125 22.71875 L 12.21875 21.28125 L 7.9375 17 L 28 17 L 28 15 L 7.9375 15 L 12.21875 10.71875 Z"})});case"align-left":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:16,height:16,children:(0,r.jsx)("path",{d:"M 5.5 10 A 1.50015 1.50015 0 1 0 5.5 13 L 34.5 13 A 1.50015 1.50015 0 1 0 34.5 10 L 5.5 10 z M 5.5 23 A 1.50015 1.50015 0 1 0 5.5 26 L 42.5 26 A 1.50015 1.50015 0 1 0 42.5 23 L 5.5 23 z M 6.5 36 A 1.50015 1.50015 0 1 0 6.5 39 L 27.5 39 A 1.50015 1.50015 0 1 0 27.5 36 L 6.5 36 z"})});case"align-right":return(0,r.jsxs)("svg",{width:16,height:16,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M45 9H4",stroke:"black",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M45 19H18",stroke:"black",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M45 29H4",stroke:"black",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M45 39H18",stroke:"black",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]});case"align-center":return(0,r.jsxs)("svg",{width:16,height:16,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M4 7.5C3.17157 7.5 2.5 8.17157 2.5 9C2.5 9.82843 3.17157 10.5 4 10.5H45C45.8284 10.5 46.5 9.82843 46.5 9C46.5 8.17157 45.8284 7.5 45 7.5H4Z",fill:"black"}),(0,r.jsx)("path",{d:"M11 17.5C10.1716 17.5 9.5 18.1716 9.5 19C9.5 19.8284 10.1716 20.5 11 20.5H38C38.8284 20.5 39.5 19.8284 39.5 19C39.5 18.1716 38.8284 17.5 38 17.5H11Z",fill:"black"}),(0,r.jsx)("path",{d:"M2.5 29C2.5 28.1716 3.17157 27.5 4 27.5H45C45.8284 27.5 46.5 28.1716 46.5 29C46.5 29.8284 45.8284 30.5 45 30.5H4C3.17157 30.5 2.5 29.8284 2.5 29Z",fill:"black"}),(0,r.jsx)("path",{d:"M11 37.5C10.1716 37.5 9.5 38.1716 9.5 39C9.5 39.8284 10.1716 40.5 11 40.5H38C38.8284 40.5 39.5 39.8284 39.5 39C39.5 38.1716 38.8284 37.5 38 37.5H11Z",fill:"black"})]});case"align-indent":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:16,height:16,children:(0,r.jsx)("path",{d:"M 2 4 L 2 6 L 48 6 L 48 4 Z M 2 14 L 2 16 L 31 16 L 31 14 Z M 36.875 14 C 36.371094 14.0625 35.996094 14.492188 36 15 L 36 35 C 35.992188 35.410156 36.234375 35.789063 36.613281 35.945313 C 36.992188 36.105469 37.433594 36.015625 37.71875 35.71875 L 47.71875 25.71875 C 47.914063 25.53125 48.023438 25.269531 48.023438 25 C 48.023438 24.730469 47.914063 24.46875 47.71875 24.28125 L 37.71875 14.28125 C 37.496094 14.0625 37.183594 13.957031 36.875 14 Z M 38 17.4375 L 45.5625 25 L 38 32.5625 Z M 2 24 L 2 26 L 31 26 L 31 24 Z M 2 34 L 2 36 L 31 36 L 31 34 Z M 2 44 L 2 46 L 48 46 L 48 44 Z"})});case"align-outdend":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:16,height:16,children:(0,r.jsx)("path",{d:"M 2 3 L 2 7 L 48 7 L 48 3 Z M 2 13 L 2 17 L 31 17 L 31 13 Z M 47.09375 14 C 46.800781 13.972656 46.496094 14.066406 46.28125 14.28125 L 36.28125 24.28125 C 35.890625 24.671875 35.890625 25.328125 36.28125 25.71875 L 46.28125 35.71875 C 46.472656 35.910156 46.738281 36 47 36 C 47.128906 36 47.25 35.988281 47.375 35.9375 C 47.75 35.785156 48 35.402344 48 35 L 48 15 C 48 14.597656 47.75 14.21875 47.375 14.0625 C 47.28125 14.023438 47.191406 14.007813 47.09375 14 Z M 2 23 L 2 27 L 31 27 L 31 23 Z M 2 33 L 2 37 L 31 37 L 31 33 Z M 2 43 L 2 47 L 48 47 L 48 43 Z"})});case"justify-full":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:16,height:16,children:[(0,r.jsxs)("linearGradient",{id:"4Va6twJ8nQ~dxaGu9R6Ana",x1:"24",x2:"24",y1:"17",y2:"21",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:"0","stop-color":"#889097"}),(0,r.jsx)("stop",{offset:"1","stop-color":"#4c5963"})]}),(0,r.jsx)("path",{fill:"url(#4Va6twJ8nQ~dxaGu9R6Ana)",d:"M7,17h34c0.552,0,1,0.448,1,1v2c0,0.552-0.448,1-1,1H7c-0.552,0-1-0.448-1-1v-2 C6,17.448,6.448,17,7,17z"}),(0,r.jsxs)("linearGradient",{id:"4Va6twJ8nQ~dxaGu9R6Anb",x1:"24",x2:"24",y1:"27",y2:"31",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:"0","stop-color":"#889097"}),(0,r.jsx)("stop",{offset:"1","stop-color":"#4c5963"})]}),(0,r.jsx)("path",{fill:"url(#4Va6twJ8nQ~dxaGu9R6Anb)",d:"M7,27h34c0.552,0,1,0.448,1,1v2c0,0.552-0.448,1-1,1H7c-0.552,0-1-0.448-1-1v-2 C6,27.448,6.448,27,7,27z"}),(0,r.jsxs)("linearGradient",{id:"4Va6twJ8nQ~dxaGu9R6Anc",x1:"24",x2:"24",y1:"37",y2:"41",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:"0","stop-color":"#889097"}),(0,r.jsx)("stop",{offset:"1","stop-color":"#4c5963"})]}),(0,r.jsx)("path",{fill:"url(#4Va6twJ8nQ~dxaGu9R6Anc)",d:"M7,37h34c0.552,0,1,0.448,1,1v2c0,0.552-0.448,1-1,1H7c-0.552,0-1-0.448-1-1v-2 C6,37.448,6.448,37,7,37z"}),(0,r.jsxs)("linearGradient",{id:"4Va6twJ8nQ~dxaGu9R6And",x1:"24",x2:"24",y1:"7",y2:"11",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{offset:"0","stop-color":"#889097"}),(0,r.jsx)("stop",{offset:"1","stop-color":"#4c5963"})]}),(0,r.jsx)("path",{fill:"url(#4Va6twJ8nQ~dxaGu9R6And)",d:"M7,7h34c0.552,0,1,0.448,1,1v2c0,0.552-0.448,1-1,1H7c-0.552,0-1-0.448-1-1V8 C6,7.448,6.448,7,7,7z"})]});case"align-arrow":return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:16,height:16,children:(0,r.jsx)("path",{d:"M 5.5 10 A 1.50015 1.50015 0 1 0 5.5 13 L 34.5 13 A 1.50015 1.50015 0 1 0 34.5 10 L 5.5 10 z M 5.5 23 A 1.50015 1.50015 0 1 0 5.5 26 L 42.5 26 A 1.50015 1.50015 0 1 0 42.5 23 L 5.5 23 z M 6.5 36 A 1.50015 1.50015 0 1 0 6.5 39 L 27.5 39 A 1.50015 1.50015 0 1 0 27.5 36 L 6.5 36 z"})}),(0,r.jsx)("span",{className:"_builder_toolber_icon_arrow _mar_l2",children:(0,r.jsx)("svg",{width:9,height:9,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M5.41422 16.4142C4.15429 15.1543 5.04662 13 6.82843 13H41.1716C42.9534 13 43.8457 15.1543 42.5858 16.4142L25.4142 33.5858C24.6332 34.3668 23.3668 34.3668 22.5858 33.5858L5.41422 16.4142Z",fill:"black"})})})]});case"font-color":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:16,height:16,children:(0,r.jsx)("path",{d:"M 22 5 C 21.585938 5 21.242188 5.269531 21.09375 5.65625 L 8.875 37.65625 C 8.757813 37.964844 8.78125 38.292969 8.96875 38.5625 C 9.15625 38.832031 9.484375 39 9.8125 39 L 15.5625 39 C 15.988281 39 16.359375 38.742188 16.5 38.34375 L 19.25 30.53125 L 30.53125 30.53125 L 33.28125 38.34375 C 33.421875 38.742188 33.792969 39 34.21875 39 L 40.1875 39 C 40.515625 39 40.84375 38.835938 41.03125 38.5625 C 41.21875 38.292969 41.242188 37.964844 41.125 37.65625 L 28.875 5.65625 C 28.726563 5.269531 28.351563 5 27.9375 5 Z M 24.9375 14.375 L 28.375 24.28125 L 21.46875 24.28125 Z M 10.15625 42 C 9.605469 42 9.15625 42.445313 9.15625 43 L 9.15625 49 C 9.15625 49.554688 9.605469 50 10.15625 50 L 40.15625 50 C 40.710938 50 41.15625 49.554688 41.15625 49 L 41.15625 43 C 41.15625 42.445313 40.710938 42 40.15625 42 Z"})});case"bg-color":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:16,height:16,children:(0,r.jsx)("path",{d:"M 8.2070312 1.9921875 L 6.7929688 3.40625 L 9.5761719 6.1894531 L 3.7988281 11.787109 L 3.7929688 11.792969 C 2.6394154 12.946522 2.6394154 14.854259 3.7929688 16.007812 L 8.8925781 21.107422 C 10.046132 22.260975 11.903752 22.311091 13.007812 21.207031 L 18.107422 16.107422 C 19.260975 14.953868 19.260975 13.046132 18.107422 11.892578 L 16.107422 9.8925781 L 8.2070312 1.9921875 z M 10.988281 7.6035156 L 14.693359 11.306641 L 16.693359 13.306641 C 16.916583 13.529864 17.027344 13.764932 17.027344 14 L 4.8964844 14 C 4.8603635 13.731888 4.9521709 13.461892 5.2070312 13.207031 L 10.988281 7.6035156 z M 20 16 C 20 16 18 18.9 18 20 C 18 21.1 18.9 22 20 22 C 21.1 22 22 21.1 22 20 C 22 18.9 20 16 20 16 z"})});case"font-size":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:16,height:16,children:(0,r.jsx)("path",{d:"M 11.300781 5 C 10.800781 5 10.402344 5.300781 10.300781 5.800781 L 1 42.800781 C 0.898438 43.101563 1 43.398438 1.199219 43.699219 C 1.398438 44 1.699219 44 2 44 L 7.199219 44 C 7.699219 44 8.097656 43.699219 8.199219 43.199219 L 10.097656 34 L 19.902344 34 L 21.800781 43.199219 C 21.902344 43.699219 22.300781 44 22.800781 44 L 28 44 C 28.300781 44 28.601563 43.898438 28.800781 43.597656 C 29 43.300781 29.101563 43 29 42.699219 L 19.597656 5.699219 C 19.5 5.300781 19.097656 5 18.597656 5 Z M 15 11.5 L 18.699219 28 L 11.300781 28 Z M 40.902344 20 C 37.699219 20 34.101563 21.199219 31.402344 23.199219 C 31.199219 23.398438 31 23.601563 31 23.902344 C 31 24.199219 31.101563 24.5 31.300781 24.699219 L 33.300781 26.699219 C 33.5 26.898438 33.699219 27 34 27 C 34.199219 27 34.300781 27 34.402344 26.902344 C 35.5 26.402344 38.5 25 40 25 C 41.398438 25 42.398438 25.300781 43 25.902344 C 43.601563 26.5 43.898438 27.5 44 29.097656 L 43 29.097656 C 38.101563 29.097656 32.800781 29.5 31.097656 32.597656 C 29.800781 34.898438 29.800781 37.699219 31.199219 40.097656 C 32.699219 42.597656 35.398438 44.097656 38.699219 44.097656 C 40.398438 44.097656 42.199219 43.699219 44 43 C 44 43.300781 44.101563 43.5 44.300781 43.699219 C 44.5 43.898438 44.699219 44 45 44 L 48 44 C 48.5 44 49 43.5 49 43 L 49 30.902344 C 49 27.902344 49 23.398438 45.597656 21.199219 C 44.398438 20.398438 42.800781 20 40.902344 20 Z M 34.152344 22.671875 C 34.109375 22.695313 34.066406 22.71875 34.023438 22.738281 C 34.066406 22.71875 34.109375 22.695313 34.152344 22.671875 Z M 33.410156 23.074219 C 32.964844 23.335938 32.53125 23.613281 32.117188 23.917969 C 32.113281 23.914063 32.101563 23.902344 32.097656 23.902344 C 32.511719 23.601563 32.957031 23.332031 33.410156 23.074219 Z M 43.097656 29.902344 L 44.996094 29.902344 C 44.996094 29.933594 45 29.964844 45 30 C 44.296875 30.03125 42.996094 29.949219 41.5 29.921875 C 42.066406 29.90625 42.609375 29.902344 43.097656 29.902344 Z M 41 34 L 44 34 C 44 39 35 40.902344 35 36.800781 C 35 34.800781 36.898438 34 41 34 Z"})});case"font-family":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",width:16,height:16,children:(0,r.jsx)("path",{d:"M 15.529297 3.9785156 A 1.50015 1.50015 0 0 0 15.259766 4 L 12 4 C 9.6666667 4 8.0772187 5.229724 7.1992188 6.4003906 C 6.3212187 7.5710573 6.0292969 8.7578125 6.0292969 8.7578125 A 1.0004595 1.0004595 0 0 0 7.9707031 9.2421875 C 7.9707031 9.2421875 8.1787814 8.4289427 8.8007812 7.5996094 C 9.4227812 6.770276 10.333333 6 12 6 L 13.833984 6 C 13.179241 8.7555904 12.600708 11.027355 12.068359 13 L 11 13 A 1.0001 1.0001 0 1 0 11 15 L 11.529297 15 C 10.768676 17.643284 10.114342 19.505472 9.5195312 20.710938 C 8.9399105 21.885618 8.4532978 22.411041 8.0644531 22.662109 C 7.6756085 22.913178 7.2720618 23 6.5 23 C 5.7812349 23 5.7988281 22.75 5.7988281 22.75 A 1.50015 1.50015 0 1 0 3.2011719 24.25 C 3.2011719 24.25 4.3747651 26 6.5 26 C 7.5469382 26 8.6766885 25.836822 9.6914062 25.181641 C 10.706124 24.526459 11.493355 23.489383 12.208984 22.039062 C 13.008367 20.419007 13.782949 18.114834 14.650391 15 L 20 15 A 1.0001 1.0001 0 1 0 20 13 L 15.1875 13 C 15.716881 10.979191 16.278508 8.7389756 16.923828 6 L 26 6 A 1.0001 1.0001 0 1 0 26 4 L 15.75 4 A 1.50015 1.50015 0 0 0 15.529297 3.9785156 z"})});case"key":return(0,r.jsx)("svg",{enableBackground:"new 0 0 500 500",width:"20px",height:"20px",id:"Layer_1",version:"1.1",viewBox:"0 0 500 500",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,r.jsx)("path",{clipRule:"evenodd",d:"M56.629,379.2c-14.09,14.071-14.09,36.975,0,51.055 c14.08,14.087,36.981,14.087,50.965,0l10.177-10.08l42.438,42.428c7.257,7.268,18.888,7.268,26.155,0l63.244-63.244 c7.268-7.255,7.268-18.89,0-26.157l-42.429-42.427l75.586-75.682c16.174,8.357,34.61,13.075,54.059,13.075 c65.234,0,118.111-52.869,118.111-118.109c0-65.232-52.877-118.111-118.111-118.111c-65.238,0-118.11,52.879-118.11,118.111 c0,19.449,4.721,37.886,13.077,54.06L56.629,379.2z M291.396,150.059c0-25.075,20.354-45.429,45.427-45.429 c25.076,0,45.426,20.354,45.426,45.429s-20.35,45.426-45.426,45.426C311.751,195.485,291.396,175.133,291.396,150.059z",fill:"#010101",fillRule:"evenodd"})});case"videogallery":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:"20px",height:"20px",children:(0,r.jsx)("path",{d:"M 3 5 A 1.0001 1.0001 0 0 0 2 6 L 2 21.822266 A 1.0001 1.0001 0 0 0 2 22.220703 L 2 34 A 1.0001 1.0001 0 0 0 3 35 L 37 35 A 1.0001 1.0001 0 0 0 38 34 L 38 26.175781 A 1.0001 1.0001 0 0 0 38 25.847656 L 38 6 A 1.0001 1.0001 0 0 0 37 5 L 3 5 z M 4 7 L 36 7 L 36 23.585938 L 30.707031 18.292969 A 1.0001 1.0001 0 0 0 29.984375 18 A 1.0001 1.0001 0 0 0 29.292969 18.292969 L 25.03125 22.554688 L 14.736328 11.324219 A 1.0001 1.0001 0 0 0 14.029297 11 A 1.0001 1.0001 0 0 0 13.328125 11.259766 L 4 19.740234 L 4 7 z M 30 10 A 2 2 0 0 0 28 12 A 2 2 0 0 0 30 14 A 2 2 0 0 0 32 12 A 2 2 0 0 0 30 10 z M 40 10 L 40 12 L 41 12 L 41 38 L 9 38 L 9 37 L 7 37 L 7 39 A 1.0001 1.0001 0 0 0 8 40 L 42 40 A 1.0001 1.0001 0 0 0 43 39 L 43 11 A 1.0001 1.0001 0 0 0 42 10 L 40 10 z M 13.935547 13.410156 L 23.617188 23.96875 L 21.292969 26.292969 A 1.0001 1.0001 0 1 0 22.707031 27.707031 L 25.517578 24.896484 A 1.0001 1.0001 0 0 0 25.894531 24.519531 L 30 20.414062 L 36 26.414062 L 36 33 L 4 33 L 4 22.441406 L 13.935547 13.410156 z M 45 15 L 45 17 L 46 17 L 46 43 L 14 43 L 14 42 L 12 42 L 12 44 A 1.0001 1.0001 0 0 0 13 45 L 47 45 A 1.0001 1.0001 0 0 0 48 44 L 48 16 A 1.0001 1.0001 0 0 0 47 15 L 45 15 z"})});case"CertificateSearch":return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"20px",height:"20px",children:(0,r.jsx)("path",{d:"M 22 18 C 15.936593 18 11 22.936593 11 29 L 11 71 C 11 77.063407 15.936593 82 22 82 L 78 82 C 84.063407 82 89 77.063407 89 71 L 89 29 C 89 22.936593 84.063407 18 78 18 L 22 18 z M 22 20 L 78 20 C 82.982593 20 87 24.017407 87 29 L 87 71 C 87 75.982593 82.982593 80 78 80 L 22 80 C 17.017407 80 13 75.982593 13 71 L 13 29 C 13 24.017407 17.017407 20 22 20 z M 25.5 25 C 21.363781 25 18 28.363781 18 32.5 L 18 67.5 C 18 71.636219 21.363781 75 25.5 75 L 74.5 75 C 78.636219 75 82 71.636219 82 67.5 A 0.50005 0.50005 0 1 0 81 67.5 C 81 71.095781 78.095781 74 74.5 74 L 25.5 74 C 21.904219 74 19 71.095781 19 67.5 L 19 32.5 C 19 28.904219 21.904219 26 25.5 26 L 40.5 26 A 0.50005 0.50005 0 1 0 40.5 25 L 25.5 25 z M 42.5 25 A 0.50005 0.50005 0 1 0 42.5 26 L 48.5 26 A 0.50005 0.50005 0 1 0 48.5 25 L 42.5 25 z M 50.5 25 A 0.50005 0.50005 0 1 0 50.5 26 L 53.5 26 A 0.50005 0.50005 0 1 0 53.5 25 L 50.5 25 z M 29.5 33 A 0.50005 0.50005 0 1 0 29.5 34 L 57.5 34 A 0.50005 0.50005 0 1 0 57.5 33 L 29.5 33 z M 60.5 33 A 0.50005 0.50005 0 1 0 60.5 34 L 70.5 34 A 0.50005 0.50005 0 1 0 70.5 33 L 60.5 33 z M 36.5 38 A 0.50005 0.50005 0 1 0 36.5 39 L 65.5 39 A 0.50005 0.50005 0 1 0 65.5 38 L 36.5 38 z M 49.984375 42 A 0.50005 0.50005 0 0 0 49.652344 42.140625 L 47.232422 44.482422 L 43.898438 44.009766 A 0.50005 0.50005 0 0 0 43.335938 44.417969 L 42.753906 47.736328 L 39.779297 49.3125 A 0.50005 0.50005 0 0 0 39.564453 49.974609 L 41.042969 53 L 39.564453 56.025391 A 0.50005 0.50005 0 0 0 39.779297 56.6875 L 42.744141 58.259766 L 37.146484 63.857422 A 0.50005 0.50005 0 0 0 37.341797 64.685547 L 40.322266 65.677734 L 41.314453 68.658203 A 0.50005 0.50005 0 0 0 42.142578 68.853516 L 48.373047 62.623047 L 49.652344 63.859375 A 0.50005 0.50005 0 0 0 50.347656 63.859375 L 51.626953 62.623047 L 57.857422 68.853516 A 0.50005 0.50005 0 0 0 58.685547 68.658203 L 59.677734 65.677734 L 62.658203 64.685547 A 0.50005 0.50005 0 0 0 62.853516 63.857422 L 57.255859 58.259766 L 60.220703 56.6875 A 0.50005 0.50005 0 0 0 60.435547 56.025391 L 58.957031 53 L 60.435547 49.974609 A 0.50005 0.50005 0 0 0 60.220703 49.3125 L 57.246094 47.736328 L 56.664062 44.417969 A 0.50005 0.50005 0 0 0 56.101562 44.009766 L 52.767578 44.482422 L 50.347656 42.140625 A 0.50005 0.50005 0 0 0 49.984375 42 z M 50 43.195312 L 52.248047 45.371094 A 0.50005 0.50005 0 0 0 52.666016 45.505859 L 55.763672 45.068359 L 56.302734 48.148438 A 0.50005 0.50005 0 0 0 56.5625 48.503906 L 59.324219 49.970703 L 57.951172 52.78125 A 0.50005 0.50005 0 0 0 57.951172 53.21875 L 59.324219 56.029297 L 56.5625 57.496094 A 0.50005 0.50005 0 0 0 56.302734 57.851562 L 55.763672 60.931641 L 52.666016 60.494141 A 0.50005 0.50005 0 0 0 52.248047 60.628906 L 50 62.804688 L 47.751953 60.628906 A 0.50005 0.50005 0 0 0 47.333984 60.494141 L 44.236328 60.931641 L 43.697266 57.851562 A 0.50005 0.50005 0 0 0 43.4375 57.496094 L 40.675781 56.029297 L 42.048828 53.21875 A 0.50005 0.50005 0 0 0 42.048828 52.78125 L 40.675781 49.970703 L 43.4375 48.503906 A 0.50005 0.50005 0 0 0 43.697266 48.148438 L 44.236328 45.068359 L 47.333984 45.505859 A 0.50005 0.50005 0 0 0 47.751953 45.371094 L 50 43.195312 z M 50.001953 46.5 C 46.417786 46.5 43.501953 49.415833 43.501953 53 C 43.501953 56.584167 46.417786 59.5 50.001953 59.5 C 52.016859 59.5 53.822359 58.580373 55.013672 57.136719 A 0.50005 0.50005 0 1 0 54.244141 56.5 C 53.235453 57.722346 51.713048 58.5 50.001953 58.5 C 46.95812 58.5 44.501953 56.043833 44.501953 53 C 44.501953 49.956167 46.95812 47.5 50.001953 47.5 C 50.166026 47.5 50.331309 47.509501 50.5 47.525391 A 0.50024802 0.50024802 0 1 0 50.59375 46.529297 C 50.402441 46.51123 50.205881 46.5 50.001953 46.5 z M 52.716797 47.15625 A 0.50005 0.50005 0 0 0 52.5 48.105469 C 53.173866 48.451135 53.768386 48.92452 54.244141 49.5 A 0.50014964 0.50014964 0 1 0 55.015625 48.863281 C 54.451379 48.180761 53.749165 47.621177 52.957031 47.214844 A 0.50005 0.50005 0 0 0 52.716797 47.15625 z M 55.773438 50.857422 A 0.50005 0.50005 0 0 0 55.289062 51.5 C 55.380612 51.825495 55.445587 52.158363 55.476562 52.5 A 0.5000688 0.5000688 0 1 0 56.472656 52.410156 C 56.435636 52.001793 56.358408 51.607021 56.251953 51.228516 A 0.50005 0.50005 0 0 0 55.773438 50.857422 z M 42.962891 59.455078 L 43.335938 61.582031 A 0.50005 0.50005 0 0 0 43.898438 61.990234 L 47.232422 61.517578 L 47.654297 61.927734 L 42.007812 67.574219 L 41.191406 65.125 A 0.50005 0.50005 0 0 0 40.875 64.808594 L 38.425781 63.992188 L 42.962891 59.455078 z M 57.037109 59.455078 L 61.574219 63.992188 L 59.125 64.808594 A 0.50005 0.50005 0 0 0 58.808594 65.125 L 57.992188 67.574219 L 52.345703 61.927734 L 52.767578 61.517578 L 56.101562 61.990234 A 0.50005 0.50005 0 0 0 56.664062 61.582031 L 57.037109 59.455078 z"})});case"manual_payment":return(0,r.jsx)(p.teY,{});case"up-arrow":return(0,r.jsx)(o.Z,{});case"down-arrow":return(0,r.jsx)(i.Z,{});case"undo":return(0,r.jsx)(d,{});case"redo":return(0,r.jsx)(f.Z,{});case"faq":return(0,r.jsx)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 384 512",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M202.021 0C122.202 0 70.503 32.703 29.914 91.026c-7.363 10.58-5.093 25.086 5.178 32.874l43.138 32.709c10.373 7.865 25.132 6.026 33.253-4.148 25.049-31.381 43.63-49.449 82.757-49.449 30.764 0 68.816 19.799 68.816 49.631 0 22.552-18.617 34.134-48.993 51.164-35.423 19.86-82.299 44.576-82.299 106.405V320c0 13.255 10.745 24 24 24h72.471c13.255 0 24-10.745 24-24v-5.773c0-42.86 125.268-44.645 125.268-160.627C377.504 66.256 286.902 0 202.021 0zM192 373.459c-38.196 0-69.271 31.075-69.271 69.271 0 38.195 31.075 69.27 69.271 69.27s69.271-31.075 69.271-69.271-31.075-69.27-69.271-69.27z"})});case"layers":return(0,r.jsx)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:0,viewBox:"0 0 1024 1024",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M21.84 301.808l475.09 258.72a32.093 32.093 0 0 0 15.312 3.904 31.99 31.99 0 0 0 15.184-3.84l480.096-258.72c10.464-5.631 16.975-16.624 16.815-28.528a32.088 32.088 0 0 0-17.504-28.16L531.713 3.904c-9.055-4.592-19.744-4.624-28.88-.064L22.785 245.12c-10.624 5.343-17.44 16.16-17.632 28.064s6.256 22.944 16.687 28.624zM517.153 68.287l406.159 206.271L512.336 496.03 106.16 274.846zm484.187 412.031l-94.974-48.225-68.56 36.976 80 40.624-410.96 221.456-406.191-221.184 85.311-42.88-68.368-37.248-100.32 50.4c-10.624 5.344-17.44 16.16-17.633 28.065s6.256 22.944 16.688 28.624l475.088 258.72a32.092 32.092 0 0 0 15.312 3.903 31.99 31.99 0 0 0 15.184-3.84l480.096-258.72c10.464-5.631 16.975-16.624 16.815-28.528a31.996 31.996 0 0 0-17.487-28.143zm.01 223.999l-89.966-44.224-68.56 36.976 75.008 36.624-410.976 221.456-406.192-221.184 79.312-35.872-68.368-37.248-94.32 43.408C6.662 709.597-.154 720.413-.346 732.318s6.255 22.944 16.687 28.624l475.088 258.72a32.092 32.092 0 0 0 15.313 3.903 31.99 31.99 0 0 0 15.183-3.84l480.096-258.72c10.464-5.632 16.976-16.624 16.816-28.528a32.002 32.002 0 0 0-17.488-28.16z"})});case"arrowRight":return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"1em",width:"1em",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("path",{d:"M11.907 6.80501C11.9493 6.83656 12.0749 6.93015 12.1551 6.99073C12.3156 7.11194 12.5457 7.2875 12.8223 7.50331C13.3764 7.93574 14.1119 8.52596 14.8444 9.16197C15.5819 9.80229 16.2936 10.4694 16.8131 11.0574C17.0739 11.3525 17.2651 11.6042 17.3858 11.8043C17.4432 11.8996 17.4726 11.9636 17.4873 11.9998C17.4726 12.036 17.4432 12.0999 17.3858 12.1953C17.2651 12.3954 17.0739 12.6471 16.8131 12.9422C16.2936 13.5301 15.5819 14.1973 14.8444 14.8376C14.1119 15.4737 13.3764 16.0639 12.8223 16.4963C12.5458 16.7121 12.0675 17.0734 11.907 17.1946C11.4623 17.5222 11.3673 18.1482 11.6949 18.5929C12.0224 19.0375 12.6489 19.1321 13.0936 18.8046L13.0967 18.8023C13.2674 18.6733 13.7686 18.2948 14.0528 18.073C14.6236 17.6275 15.3882 17.0142 16.1556 16.3478C16.9181 15.6858 17.7064 14.9518 18.3119 14.2665C18.6136 13.925 18.8911 13.572 19.0986 13.2278C19.2895 12.9111 19.5 12.4759 19.5 11.9998C19.5 11.5236 19.2895 11.0884 19.0986 10.7717C18.8911 10.4275 18.6136 10.0746 18.3119 9.73309C17.7064 9.04781 16.9181 8.31379 16.1556 7.65176C15.3881 6.98542 14.6236 6.37211 14.0527 5.9266C13.7668 5.70344 13.5282 5.52142 13.3605 5.3948C13.2774 5.33202 13.1415 5.23074 13.0948 5.19591L13.0935 5.19501C12.6489 4.8675 12.0223 4.9621 11.6948 5.4068C11.3673 5.8515 11.4623 6.47749 11.907 6.80501Z",fill:"url(#paint0_linear_21623_20301)"}),(0,r.jsx)("path",{opacity:"0.4",d:"M5.0489 5.10738C4.7122 5.27754 4.5 5.62265 4.5 5.99985V17.9999C4.5 18.3771 4.7123 18.7222 5.0489 18.8923C5.3856 19.0625 5.7893 19.0287 6.0931 18.805L6.0956 18.8031C6.1436 18.7674 6.2782 18.667 6.3606 18.6048C6.5282 18.4782 6.7668 18.2962 7.0528 18.073C7.6236 17.6275 8.3882 17.0142 9.1556 16.3478C9.9181 15.6858 10.7064 14.9518 11.3119 14.2665C11.6136 13.925 11.8911 13.572 12.0986 13.2279C12.2895 12.9111 12.5 12.4759 12.5 11.9998C12.5 11.5237 12.2895 11.0885 12.0986 10.7718C11.8911 10.4276 11.6136 10.0746 11.3119 9.73314C10.7064 9.04786 9.9181 8.31383 9.1556 7.65181C8.3881 6.98546 7.6236 6.37215 7.0527 5.92665C6.7668 5.70348 6.5282 5.52147 6.3605 5.39484C6.2774 5.33206 6.1415 5.23078 6.0948 5.19595L6.0935 5.19505C5.7898 4.97137 5.3855 4.93722 5.0489 5.10738Z",fill:"url(#paint1_linear_21623_20301)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_21623_20301",x1:"19.5",y1:"11.9998",x2:"11.4999",y2:"11.9998",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{"stop-color":"#6662FF"}),(0,r.jsx)("stop",{offset:"1","stop-color":"#514DED"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_21623_20301",x1:"12.5",y1:"11.9999",x2:"4.5",y2:"11.9999",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{"stop-color":"#6662FF"}),(0,r.jsx)("stop",{offset:"1","stop-color":"#514DED"})]})]})]});case"embedded":return(0,r.jsx)("svg",{height:15,width:15,version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 58 58",children:(0,r.jsx)("path",{d:"M50.688,48.222C55.232,43.101,58,36.369,58,29c0-7.667-2.996-14.643-7.872-19.834c0,0,0-0.001,0-0.001 c-0.004-0.006-0.01-0.008-0.013-0.013c-5.079-5.399-12.195-8.855-20.11-9.126l-0.001-0.001L29.439,0.01C29.293,0.005,29.147,0,29,0 s-0.293,0.005-0.439,0.01l-0.563,0.015l-0.001,0.001c-7.915,0.271-15.031,3.727-20.11,9.126c-0.004,0.005-0.01,0.007-0.013,0.013 c0,0,0,0.001-0.001,0.002C2.996,14.357,0,21.333,0,29c0,7.369,2.768,14.101,7.312,19.222c0.006,0.009,0.006,0.019,0.013,0.028 c0.018,0.025,0.044,0.037,0.063,0.06c5.106,5.708,12.432,9.385,20.608,9.665l0.001,0.001l0.563,0.015C28.707,57.995,28.853,58,29,58 s0.293-0.005,0.439-0.01l0.563-0.015l0.001-0.001c8.185-0.281,15.519-3.965,20.625-9.685c0.013-0.017,0.034-0.022,0.046-0.04 C50.682,48.241,50.682,48.231,50.688,48.222z M2.025,30h12.003c0.113,4.239,0.941,8.358,2.415,12.217 c-2.844,1.029-5.563,2.409-8.111,4.131C4.585,41.891,2.253,36.21,2.025,30z M8.878,11.023c2.488,1.618,5.137,2.914,7.9,3.882 C15.086,19.012,14.15,23.44,14.028,28H2.025C2.264,21.493,4.812,15.568,8.878,11.023z M55.975,28H43.972 c-0.122-4.56-1.058-8.988-2.75-13.095c2.763-0.968,5.412-2.264,7.9-3.882C53.188,15.568,55.736,21.493,55.975,28z M28,14.963 c-2.891-0.082-5.729-0.513-8.471-1.283C21.556,9.522,24.418,5.769,28,2.644V14.963z M28,16.963V28H16.028 c0.123-4.348,1.035-8.565,2.666-12.475C21.7,16.396,24.821,16.878,28,16.963z M30,16.963c3.179-0.085,6.3-0.566,9.307-1.438 c1.631,3.91,2.543,8.127,2.666,12.475H30V16.963z M30,14.963V2.644c3.582,3.125,6.444,6.878,8.471,11.036 C35.729,14.45,32.891,14.881,30,14.963z M40.409,13.072c-1.921-4.025-4.587-7.692-7.888-10.835 c5.856,0.766,11.125,3.414,15.183,7.318C45.4,11.017,42.956,12.193,40.409,13.072z M17.591,13.072 c-2.547-0.879-4.991-2.055-7.294-3.517c4.057-3.904,9.327-6.552,15.183-7.318C22.178,5.38,19.512,9.047,17.591,13.072z M16.028,30 H28v10.038c-3.307,0.088-6.547,0.604-9.661,1.541C16.932,37.924,16.141,34.019,16.028,30z M28,42.038v13.318 c-3.834-3.345-6.84-7.409-8.884-11.917C21.983,42.594,24.961,42.124,28,42.038z M30,55.356V42.038 c3.039,0.085,6.017,0.556,8.884,1.4C36.84,47.947,33.834,52.011,30,55.356z M30,40.038V30h11.972 c-0.113,4.019-0.904,7.924-2.312,11.58C36.547,40.642,33.307,40.126,30,40.038z M43.972,30h12.003 c-0.228,6.21-2.559,11.891-6.307,16.348c-2.548-1.722-5.267-3.102-8.111-4.131C43.032,38.358,43.859,34.239,43.972,30z M9.691,47.846c2.366-1.572,4.885-2.836,7.517-3.781c1.945,4.36,4.737,8.333,8.271,11.698C19.328,54.958,13.823,52.078,9.691,47.846 z M32.521,55.763c3.534-3.364,6.326-7.337,8.271-11.698c2.632,0.945,5.15,2.209,7.517,3.781 C44.177,52.078,38.672,54.958,32.521,55.763z"})});case"accordion":return(0,r.jsx)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:0,viewBox:"0 0 256 256",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M72.61,83.06a8,8,0,0,1,1.73-8.72l48-48a8,8,0,0,1,11.32,0l48,48A8,8,0,0,1,176,88H80A8,8,0,0,1,72.61,83.06ZM176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Z"})});default:return(0,r.jsx)(r.Fragment,{children:"INVALID"})}}},25229:function(e,t,n){"use strict";n.d(t,{b8:function(){return p},fO:function(){return h},mA:function(){return f},yd:function(){return c}});var r=n(57135),o=n(56871),i=n(768),a=n(84796),s=n(20083),l={general:{course_ids:[],bundle_id:0,category_ids:[]},sidebar:{categories:[],rating:0,levels:[],priceTypes:[],authors:[],courseTypes:"",languages:[]},top:{searchStr:"",perPage:3,currentPage:1,sort:""},courseList:[],colorSchema:{}},c=(0,i.hg)("siteCourseSlice/loadAllSiteCourses",function(){var e=(0,r.Z)((function(e,t){var n,r,i,l,c,u,d,f,p,h,m,g,v,y,b,w,C,x;return(0,o.__generator)(this,(function(e){return n=t.getState,r=n(),i=r.siteCourse.top,l=i.searchStr,c=i.sort,u=i.perPage,d=i.currentPage,f=r.siteCourse.general.course_ids,p=r.siteCourse.sidebar,h=p.categories,m=p.rating,g=p.levels,v=p.priceTypes,y=p.authors,b=p.courseTypes,w=p.languages,C={query:l,authors:y,page_no:d,per_page:u,categories:h,rating:m,levels:g,course_ids:f,order_by:c,course_types:b,pricing_types:v,langs:w},x=(0,s.Z)(C),[2,(0,a.Z)("/public/courses?".concat(x))]}))}));return function(t,n){return e.apply(this,arguments)}}()),u=(0,i.oM)({name:"siteCourseSlice",initialState:l,reducers:{resetSiteCourse:function(){return l},updateTopData:function(e,t){var n=t.payload,r=n.key,o=n.value;e.top[r]=o},updateSidebarData:function(e,t){var n=t.payload,r=n.key,o=n.value;e.sidebar[r]=o},updateGeneralData:function(e,t){var n=t.payload,r=n.key,o=n.value;e.general[r]=o},updateColorSchema:function(e,t){e.colorSchema=t.payload}},extraReducers:function(e){e.addCase(c.fulfilled,(function(e,t){var n=t.payload;e.courseList=n.data}))}}),d=u.actions,f=(d.resetSiteCourse,d.updateTopData),p=d.updateSidebarData,h=(d.updateGeneralData,d.updateColorSchema),m=u.reducer;t.ZP=m},53825:function(e,t,n){"use strict";var r=n(11527);t.Z=function(e){var t=e.data,n=[],o=[],i=JSON.parse(t);return i.matchingObjectLeft?(n=Object.keys(i.matchingObjectLeft),o=Object.values(i.matchingObjectLeft)):(n=JSON.parse(t).leftTableData,o=JSON.parse(t).rightTableData),(0,r.jsx)("div",{className:"ezy_quiz_matching_table my-6",children:(0,r.jsxs)("div",{className:"inline-flex max-w-full overflow-auto",children:[(0,r.jsxs)("table",{className:"w-[250px] shrink-0 lg:w-[300px]",children:[(0,r.jsx)("thead",{children:(0,r.jsx)("tr",{children:(0,r.jsx)("th",{className:"border !border-r-0 !border-ezy-gray-200 !border-r-ezy-gray-250 bg-ezy-gray-200 px-3 py-[.5rem] text-black",children:i.leftTableName})})}),(0,r.jsx)("tbody",{children:n.map((function(e,t){return(0,r.jsx)("tr",{children:(0,r.jsx)("td",{className:"border !border-r-0 !border-ezy-gray-200 px-3 py-[.5rem] text-base text-black",children:e})},t)}))})]}),(0,r.jsxs)("table",{className:"w-[250px] shrink-0 lg:w-[300px]",children:[(0,r.jsx)("thead",{children:(0,r.jsx)("tr",{children:(0,r.jsx)("th",{className:"border !border-ezy-gray-200 bg-ezy-gray-200 px-3 py-[.5rem] text-black",children:i.rightTableName})})}),(0,r.jsx)("tbody",{children:o.map((function(e,t){return(0,r.jsx)("tr",{children:(0,r.jsx)("td",{className:"border !border-ezy-gray-200 px-3 py-[.5rem] text-base text-black",children:e})},t)}))})]})]})})}},24213:function(e,t,n){"use strict";var r=n(72006),o=n(11527);t.Z=function(e){var t={dangerouslySetInnerHTML:{__html:e.data}};return(0,o.jsx)("div",(0,r.Z)({},t))}},52825:function(e,t,n){"use strict";var r=n(11527),o=(n(50959),n(42760));t.Z=function(){var e,t,n,i,a=(0,o.C)((function(e){return e.settingsData||{}}));return(0,r.jsx)("div",{className:"_ezycourse_bottom_powerd",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"_ezycourse_bottom_powerd_inner",children:[(0,r.jsxs)("p",{className:"_ezycourse_bottom_powerd_txt",children:["\xa9 Copyright ",(null===a||void 0===a?void 0:a.site_name)||""," ",(new Date).getFullYear()]}),(0,r.jsxs)("p",{className:"_ezycourse_bottom_powerd_txt",children:["Powered by"," ",(null===a||void 0===a||null===(e=a.agency_settings)||void 0===e?void 0:e.id)?(0,r.jsx)("a",{href:"https://".concat((null===a||void 0===a||null===(t=a.agency_settings)||void 0===t?void 0:t.custom_domain_url)||(null===a||void 0===a||null===(n=a.agency_settings)||void 0===n?void 0:n.site_url)),target:"_blank",rel:"noreferrer",children:null===a||void 0===a||null===(i=a.agency_settings)||void 0===i?void 0:i.site_name}):(null===a||void 0===a?void 0:a.is_agency)||(null===a||void 0===a?void 0:a.site_name)&&((null===a||void 0===a?void 0:a.site_url)||(null===a||void 0===a?void 0:a.custom_domain_url))?(0,r.jsx)("a",{href:"https://".concat((null===a||void 0===a?void 0:a.custom_domain_url)||(null===a||void 0===a?void 0:a.site_url)),target:"_blank",rel:"noreferrer",children:null===a||void 0===a?void 0:a.site_name}):(0,r.jsx)("a",{href:"https://ezycourse.com/",target:"_blank",rel:"noreferrer",children:"EzyCourse"})]})]})})})}},34790:function(e,t,n){"use strict";n.d(t,{AI:function(){return m},BD:function(){return u},HO:function(){return a},Pz:function(){return d},ZM:function(){return g},_p:function(){return p},aF:function(){return s},cW:function(){return l},gi:function(){return f},s_:function(){return c},x:function(){return h}});var r=n(72006),o=(0,n(768).oM)({name:"gallery",initialState:{gallery_modal:!1,type:"video",upload_type:"single",gallery_data:{data:[],meta:{}},selected_items:[],instance:"",select_type:"single",modal_open_type:"video",error_msg:null,selected_ids:[]},reducers:{closeGalleryModal:function(e){e.gallery_modal=!1},showGalleryModal:function(e){e.gallery_modal=!0},changeGalleryInstance:function(e,t){var n=t.payload;e.instance=n},setGalleryModal:function(e,t){e.modal_open_type=t.payload,"all"==t.payload?e.type="video":e.type=t.payload,e.gallery_modal=!e.gallery_modal},setSelectType:function(e,t){e.select_type=t.payload},setGalleryData:function(e,t){e.gallery_data=t.payload},insertNewGalleryData:function(e,t){var n={meta:(0,r.Z)({},t.payload),original_name:t.payload.original_name};e.gallery_data.data.unshift(n)},setIndexMarked:function(e,t){if("single"!=e.select_type){if(e.gallery_data.data[t.payload]){e.gallery_data.data[t.payload].marked=!e.gallery_data.data[t.payload].marked,e.selected_ids=[];var n=!0,r=!1,o=void 0;try{for(var i,a=e.gallery_data.data[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;s.marked&&e.selected_ids.push(s.id)}}catch(p){r=!0,o=p}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}}}else{if(e.gallery_data.data[t.payload].marked)return void(e.gallery_data.data[t.payload].marked=!1);var l=!0,c=!1,u=void 0;try{for(var d,f=e.gallery_data.data[Symbol.iterator]();!(l=(d=f.next()).done);l=!0){d.value.marked=!1}}catch(p){c=!0,u=p}finally{try{l||null==f.return||f.return()}finally{if(c)throw u}}e.gallery_data.data[t.payload].marked=!0}},storeAllMarkedItems:function(e){e.selected_items=[];var t=!0,n=!1,r=void 0;try{for(var o,i=e.gallery_data.data[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value;a.marked&&e.selected_items.push(a.meta)}}catch(s){n=!0,r=s}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}e.gallery_modal=!1},storeAllMarkedItemsForDelete:function(e){e.selected_items=[];var t=!0,n=!1,r=void 0;try{for(var o,i=e.gallery_data.data[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value;a.marked&&e.selected_items.push(a.meta)}}catch(s){n=!0,r=s}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}},setAllItems:function(e,t){e.selected_items=[],e.selected_items.push(t.payload)},removeSingleItemFromSelectedItems:function(e,t){e.selected_items.splice(t.payload,1)},changeModalOpenType:function(e,t){e.type=t.payload},setErrorMsg:function(e,t){e.error_msg=t.payload},setAllItemsFres:function(e){e.selected_items=[],e.selected_ids=[]}}}),i=o.actions,a=i.setSelectType,s=(i.showGalleryModal,i.changeModalOpenType),l=i.setErrorMsg,c=i.setAllItems,u=i.setAllItemsFres,d=i.setGalleryModal,f=i.setGalleryData,p=i.insertNewGalleryData,h=i.setIndexMarked,m=i.storeAllMarkedItems,g=(i.removeSingleItemFromSelectedItems,i.closeGalleryModal),v=(i.changeGalleryInstance,i.storeAllMarkedItemsForDelete,o.reducer);t.ZP=v},61828:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(57135),o=n(72006),i=n(56871),a=n(11527),s=n(78830),l=n(65452),c=n(64379),u=n(50959),d=n(42760),f=n(84796),p=n(34790),h=n(82058),m=["image/png","image/jpeg","image/jpg","image/gif","image/webp"],g=["audio/wav","audio/mp3","audio/x-m4a","audio/mpeg"],v=["application/doc","application/docx","application/pdf","application/xls","application/xlsx","application/ppt","text/plain","application/pdf","application/pptx","application/html","application/json","application/zip","audio/mp3","application/vnd.openxmlformats-officedocument.presentationml.presentation"],y=["video/mp4"],b=n(85850),w=n(81438),C=function(){var e,t,n,C,x=(0,d.T)(),k=(0,w.$G)().t,_=(0,d.C)((function(e){return e.gallery_store})),S=(0,u.useState)(""),E=S[0],M=S[1],L=(0,u.useState)(null),N=L[0],O=L[1],A=(0,u.useState)(null),j=A[0],T=A[1],Z=(0,u.useState)(!1),P=(Z[0],Z[1]),R=(0,u.useState)(null),I=(R[0],R[1]),D=(0,u.useState)([]),z=D[0],H=D[1],B=(0,u.useState)(null),F=B[0],V=B[1],q=(0,u.useState)((null===(e=_.gallery_data)||void 0===e||null===(t=e.meta)||void 0===t?void 0:t.current_page)||1),U=q[0],$=q[1],W=(0,u.useState)((null===(n=_.gallery_data)||void 0===n?void 0:n.meta.per_page)||23),K=W[0],G=W[1],Y={beforeUpload:function(e){var t=!0;return"image"==_.type?t=m.includes(e.type.toLowerCase()):"file"==_.type?(t=v.includes(e.type.toLowerCase()))||(t=g.includes(e.type.toLowerCase())):"audio"==_.type?t=g.includes(e.type.toLowerCase()):"video"==_.type&&(t=y.includes(e.type.toLowerCase())),t?x((0,p.cW)(null)):(x((0,p.cW)("".concat(e.name," file format is not supported"))),s.ZP.error("".concat(e.name," is not a png file"))),t||l.Z.LIST_IGNORE},multiple:!1,name:"file",withCredentials:!0,action:"/api/teacher/gallery/uploadFile",fileList:z,onChange:function(e){!function(e){var t=e.file;H([t])}(e);var t=e.file.status;if("done"===t){if("video"==_.type){I({fileLoc:e.file.response.play_link,originalName:e.file.response.file_name,extname:e.file.name.split(".").pop(),size:e.file.size,type:e.file.type}),te(e.file.response.video_id,!1);var n=5,r=Math.round(e.file.size/1e6);n=r<20?5:r>20&&r<100?8:15,C=setInterval((function(){te(e.file.response.video_id,e.file.response)}),1e3*n)}else I({fileLoc:e.file.response.file_link,originalName:e.file.response.file_name,extname:e.file.name.split(".").pop(),size:e.file.size,type:e.file.type}),V(e.file.response);s.ZP.success("".concat(e.file.name," file uploaded successfully."))}else"error"===t&&s.ZP.error("".concat(e.file.name," file upload failed."))},onDrop:function(e){},onRemove:function(){var e=(0,r.Z)((function(e){var t;return(0,i.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,f.Z)("/teacher/gallery/deleteFile","post",{file_name:e.response.file_name})];case 1:return(t=n.sent())&&s.ZP.success("Deleted successfully"),[2,t]}}))}));return function(t){return e.apply(this,arguments)}}()},J=function(){var e=(0,r.Z)((function(){var e,t,n,r,o,a=arguments;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:"image",t=a.length>1&&void 0!==a[1]?a[1]:1,n=a.length>2&&void 0!==a[2]?a[2]:10,r=a.length>3&&void 0!==a[3]?a[3]:"",[4,(0,f.Z)("/teacher/gallery/getGalleryItemsFromLibary?type=".concat(e,"&page=").concat(t,"&pageSize=").concat(n,"&str=").concat(r))];case 1:return(o=i.sent())&&x((0,p.gi)(o)),[2]}}))}));return function(){return e.apply(this,arguments)}}(),X=(0,u.useCallback)((0,h.Ds)(function(){var e=(0,r.Z)((function(e){return(0,i.__generator)(this,(function(t){return M(e),[2]}))}));return function(t){return e.apply(this,arguments)}}(),500),[]),Q=function(){var e=(0,r.Z)((function(){var e,t;return(0,i.__generator)(this,(function(n){switch(n.label){case 0:return N&&""!=N.trim()?j&&""!=j.trim()?(P(!0),[4,(0,f.Z)("/teacher/gallery/insertLink","post",{type:_.type,url:N,file_name:j})]):((0,b.e)("provide valid file name"),[2]):((0,b.e)("provide valid URL"),[2]);case 1:return(e=n.sent())&&((t=(0,o.Z)({},e)).meta=JSON.parse(t.meta),x((0,p._p)(t)),O(null),T(null)),P(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,u.useEffect)((function(){F&&_&&"image"==_.type&&ee(F)}),[F]);var ee=(0,u.useCallback)((0,h.Ds)(function(){var e=(0,r.Z)((function(e){return(0,i.__generator)(this,(function(t){return x((0,p._p)(e)),[2]}))}));return function(t){return e.apply(this,arguments)}}(),1500),[]),te=function(e,t){(0,f.Z)("/teacher/gallery/videoProgrees?guid=".concat(e)).then((function(e){e.status>2&&(x((0,p._p)(t.meta)),clearInterval(C))}))};(0,u.useEffect)((function(){J(_.type,1,10,"")}),[_.type]);var ne=function(){var e=(0,r.Z)((function(e){return(0,i.__generator)(this,(function(t){return c.Z.confirm({title:"Are you sure?",content:(0,a.jsxs)("p",{children:[_.type," with"," ",e.length>1?"these IDs":"Id"," ",(0,a.jsx)("strong",{children:e.join(", ")})," will be deleted"]}),okButtonProps:{danger:!0},okText:1!==e.length?"Delete ".concat(e.length," ").concat(_.type):k("Delete"),onOk:(0,r.Z)((function(){return(0,i.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,f.Z)("/teacher/gallery/deleteItemFromGallery","post",{file_ids:e})];case 1:return t.sent()&&((0,b.s)("".concat(_.type," deleted")),J(_.type,U,K,E)),[2]}}))})),zIndex:2e3}),[2]}))}));return function(t){return e.apply(this,arguments)}}();return{onPaginationChange:function(e){$(e)},onSizeChanged:function(e,t){G(t)},file_props:Y,gallery_modal:_.gallery_modal,selected_ids:_.selected_ids,type:_.type,openOrCloseFileModal:function(e){x((0,p.Pz)(e))},gallery_data:_.gallery_data,error_msg:_.error_msg,current_file:F,link:N,file_name:j,setMark:function(e){x((0,p.x)(e))},setFileName:T,SelectAllSelectedItems:function(){x((0,p.AI)())},linkChange:function(e){O(e)},uploadLink:Q,changeModalType:function(e){"all"==_.modal_open_type&&x((0,p.aF)(e))},searchFiles:X,str:E,getAllFiles:J,currentPage:U,pageSize:K,DeleteselectAllSelectedItems:ne}}},82546:function(e,t,n){"use strict";n.d(t,{Cy:function(){return E},FT:function(){return b},HL:function(){return g},JG:function(){return _},Ln:function(){return w},MT:function(){return N},Mp:function(){return M},SZ:function(){return h},Ud:function(){return y},Uk:function(){return k},WA:function(){return C},Yo:function(){return d},ZH:function(){return v},ct:function(){return L},cu:function(){return x},oN:function(){return S},uY:function(){return m}});var r=n(57135),o=n(72006),i=n(4405),a=n(9970),s=n(56871),l=n(768),c=n(84796),u={isVisible:!1,activeTab:"image",activeFolder:null,mineType:[],mode:"single",galleryTabs:["image","video","file","audio","youtube","vimeo","custom"],errorMsg:"",data:[],status_items:[],meta:{},selectedItems:[],loading:!1,folderLists:[],allFolderLists:[],parent_id:0},d=(0,l.hg)("galleryV2/loadGallery",function(){var e=(0,r.Z)((function(e,t){var n,r,l,u,d,f,p,h,m,g,v,y,b,w,C;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return n=e.page,r=void 0===n?1:n,l=e.pageSize,u=void 0===l?10:l,d=e.str,f=void 0===d?"":d,p=e.parent_id,h=void 0===p?0:p,m=t.getState,g=m(),v=g.galleryV2.activeTab,[4,(0,c.Z)("/teacher/gallery/getGalleryItemsFromLibary?type=".concat(v,"&page=").concat(r,"&pageSize=").concat(u,"&str=").concat(f,"&parent_id=").concat(h))];case 1:return(y=s.sent()).data?(C=(0,a.Z)(y.data),(null===g||void 0===g||null===(b=g.galleryV2)||void 0===b||null===(w=b.selectedItems)||void 0===w?void 0:w.length)&&(null===g||void 0===g||g.galleryV2.selectedItems.map((function(e){var t=C.find((function(t){return t.id===e.id})),n=C.findIndex((function(t){return t.id===e.id}));t&&(t.marked=!0,C[n]=t)}))),C.sort((function(e,t){return t.is_folder-e.is_folder})),[2,(0,i.Z)((0,o.Z)({},y),{data:C})]):[2,y]}}))}));return function(t,n){return e.apply(this,arguments)}}()),f=(0,l.oM)({name:"galleryV2",initialState:u,reducers:{resetGalleryV2States:function(){return u},resetData:function(e){e.data=[],e.meta={},e.selectedItems=[]},updateGalleryItem:function(e,t){var n=t.payload;null===n.data?e.data.splice(n.index,1):e.data[n.index]=n.data},setGalleryVisibility:function(e,t){var n=t.payload;e.isVisible=n},removeItemFromGallery:function(e,t){var n=t.payload;e.data.splice(n,1)},setParentId:function(e,t){var n=t.payload;e.parent_id=n},pushNewItem:function(e,t){var n=t.payload;e.data.unshift(n)},setMineType:function(e,t){var n=t.payload;e.mineType=n},changeGalleryTab:function(e,t){var n=t.payload;e.activeTab=n,e.parent_id=0,e.selectedItems=[]},changeGalleryMode:function(e,t){var n=t.payload;e.mode=n},setGalleryError:function(e,t){var n=t.payload;e.errorMsg=n},insertNewLink:function(e,t){var n=t.payload;e.data.unshift(n)},check:function(e,t){t.payload},markItems:function(e,t){var n=t.payload;if("single"==e.mode&&(e.data.forEach((function(e){e.marked=!1})),e.selectedItems=[]),e.data[n].marked=!e.data[n].marked,e.data[n].marked)e.selectedItems.push(e.data[n]);else{var r=e.selectedItems.findIndex((function(t){return t.id==e.data[n].id}));r>=0&&e.selectedItems.splice(r,1)}},emptyMarkedItems:function(e){e.data.forEach((function(e){e.marked=!1})),e.selectedItems=[]},emptySelectedItems:function(e){e.selectedItems=[]},viewFolderList:function(e,t){var n=t.payload;e.folderLists=n},addFolder:function(e,t){var n=t.payload;e.folderLists.push(n)},addAllFolder:function(e,t){var n=t.payload;e.allFolderLists.push(n)},backFolder:function(e,t){var n=t.payload;e.folderLists.splice(n,1)},updateVideoDrmStatus:function(e,t){var n=t.payload;e.data[n].drm_meta='{"status": "processing"}'}},extraReducers:function(e){e.addCase(d.pending,(function(e){e.loading=!0})).addCase(d.fulfilled,(function(e,t){var n=t.payload;(null===n||void 0===n?void 0:n.data)&&("unsplash"!==e.activeTab&&(n.data=n.data.map((function(e){return(null===e||void 0===e?void 0:e.meta)&&(e.meta=JSON.parse(e.meta)),e}))),e.data=n.data),(null===n||void 0===n?void 0:n.meta)&&(e.meta=n.meta),(null===n||void 0===n?void 0:n.items)&&(e.status_items=n.items),e.loading=!1})).addCase(d.rejected,(function(e){e.loading=!1}))}}),p=f.actions,h=(p.check,p.pushNewItem),m=p.resetData,g=p.insertNewLink,v=p.resetGalleryV2States,y=(p.setGalleryVisibility,p.changeGalleryTab),b=p.setGalleryError,w=p.markItems,C=p.changeGalleryMode,x=p.removeItemFromGallery,k=p.setMineType,_=p.viewFolderList,S=p.addFolder,E=(p.backFolder,p.updateGalleryItem),M=(p.emptyMarkedItems,p.emptySelectedItems),L=(p.addAllFolder,p.setParentId),N=p.updateVideoDrmStatus,O=f.reducer;t.ZP=O},55675:function(e,t,n){"use strict";var r=n(11527),o=n(82792),i=(n(50959),n(62091));t.Z=function(e){var t=e.initialHtml,n=(0,i.Z)({initialHtml:t,readOnly:!0}).editor;return n?(0,r.jsx)("div",{children:(0,r.jsx)(o.kg,{editor:n})}):null}},21289:function(e,t,n){"use strict";n.d(t,{v:function(){return s}});var r=n(40240),o=n(3317),i=n(40344);function a(e){var t=/(#[0-9a-f]{3,6})\b/gi,n=[];return e.descendants((function(e,r){e.text&&Array.from(e.text.matchAll(t)).forEach((function(e){var t=e[0],o=e.index||0,a=r+o,s=a+t.length,l=i.p.inline(a,s,{class:"color",style:"--color: ".concat(t)});n.push(l)}))})),i.EH.create(e,n)}var s=r.hj.create({name:"colorHighlighter",addProseMirrorPlugins:function(){return[new o.Sy({state:{init:function(e,t){return a(t.doc)},apply:function(e,t){return e.docChanged?a(e.doc):t}},props:{decorations:function(e){return this.getState(e)}}})]}})},25460:function(e,t,n){"use strict";n.d(t,{g:function(){return o}});var r=n(40240),o=r.hj.create({name:"smilieReplacer",addInputRules:function(){return[(0,r.DS)({find:/-___- $/,replace:"\ud83d\ude11 "}),(0,r.DS)({find:/:'-\) $/,replace:"\ud83d\ude02 "}),(0,r.DS)({find:/':-\) $/,replace:"\ud83d\ude05 "}),(0,r.DS)({find:/':-D $/,replace:"\ud83d\ude05 "}),(0,r.DS)({find:/>:-\) $/,replace:"\ud83d\ude06 "}),(0,r.DS)({find:/-__- $/,replace:"\ud83d\ude11 "}),(0,r.DS)({find:/':-\( $/,replace:"\ud83d\ude13 "}),(0,r.DS)({find:/:'-\( $/,replace:"\ud83d\ude22 "}),(0,r.DS)({find:/>:-\( $/,replace:"\ud83d\ude20 "}),(0,r.DS)({find:/O:-\) $/,replace:"\ud83d\ude07 "}),(0,r.DS)({find:/0:-3 $/,replace:"\ud83d\ude07 "}),(0,r.DS)({find:/0:-\) $/,replace:"\ud83d\ude07 "}),(0,r.DS)({find:/0;\^\) $/,replace:"\ud83d\ude07 "}),(0,r.DS)({find:/O;-\) $/,replace:"\ud83d\ude07 "}),(0,r.DS)({find:/0;-\) $/,replace:"\ud83d\ude07 "}),(0,r.DS)({find:/O:-3 $/,replace:"\ud83d\ude07 "}),(0,r.DS)({find:/:'\) $/,replace:"\ud83d\ude02 "}),(0,r.DS)({find:/:-D $/,replace:"\ud83d\ude03 "}),(0,r.DS)({find:/':\) $/,replace:"\ud83d\ude05 "}),(0,r.DS)({find:/'=\) $/,replace:"\ud83d\ude05 "}),(0,r.DS)({find:/':D $/,replace:"\ud83d\ude05 "}),(0,r.DS)({find:/'=D $/,replace:"\ud83d\ude05 "}),(0,r.DS)({find:/>:\) $/,replace:"\ud83d\ude06 "}),(0,r.DS)({find:/>;\) $/,replace:"\ud83d\ude06 "}),(0,r.DS)({find:/>=\) $/,replace:"\ud83d\ude06 "}),(0,r.DS)({find:/;-\) $/,replace:"\ud83d\ude09 "}),(0,r.DS)({find:/\*-\) $/,replace:"\ud83d\ude09 "}),(0,r.DS)({find:/;-\] $/,replace:"\ud83d\ude09 "}),(0,r.DS)({find:/;\^\) $/,replace:"\ud83d\ude09 "}),(0,r.DS)({find:/B-\) $/,replace:"\ud83d\ude0e "}),(0,r.DS)({find:/8-\) $/,replace:"\ud83d\ude0e "}),(0,r.DS)({find:/B-D $/,replace:"\ud83d\ude0e "}),(0,r.DS)({find:/8-D $/,replace:"\ud83d\ude0e "}),(0,r.DS)({find:/:-\* $/,replace:"\ud83d\ude18 "}),(0,r.DS)({find:/:\^\* $/,replace:"\ud83d\ude18 "}),(0,r.DS)({find:/:-\) $/,replace:"\ud83d\ude42 "}),(0,r.DS)({find:/-_- $/,replace:"\ud83d\ude11 "}),(0,r.DS)({find:/:-X $/,replace:"\ud83d\ude36 "}),(0,r.DS)({find:/:-# $/,replace:"\ud83d\ude36 "}),(0,r.DS)({find:/:-x $/,replace:"\ud83d\ude36 "}),(0,r.DS)({find:/>.< $/,replace:"\ud83d\ude23 "}),(0,r.DS)({find:/:-O $/,replace:"\ud83d\ude2e "}),(0,r.DS)({find:/:-o $/,replace:"\ud83d\ude2e "}),(0,r.DS)({find:/O_O $/,replace:"\ud83d\ude2e "}),(0,r.DS)({find:/>:O $/,replace:"\ud83d\ude2e "}),(0,r.DS)({find:/:-P $/,replace:"\ud83d\ude1b "}),(0,r.DS)({find:/:-p $/,replace:"\ud83d\ude1b "}),(0,r.DS)({find:/:-\xde $/,replace:"\ud83d\ude1b "}),(0,r.DS)({find:/:-\xfe $/,replace:"\ud83d\ude1b "}),(0,r.DS)({find:/:-b $/,replace:"\ud83d\ude1b "}),(0,r.DS)({find:/>:P $/,replace:"\ud83d\ude1c "}),(0,r.DS)({find:/X-P $/,replace:"\ud83d\ude1c "}),(0,r.DS)({find:/x-p $/,replace:"\ud83d\ude1c "}),(0,r.DS)({find:/':\( $/,replace:"\ud83d\ude13 "}),(0,r.DS)({find:/'=\( $/,replace:"\ud83d\ude13 "}),(0,r.DS)({find:/>:\\ $/,replace:"\ud83d\ude15 "}),(0,r.DS)({find:/>:\/ $/,replace:"\ud83d\ude15 "}),(0,r.DS)({find:/:-\/ $/,replace:"\ud83d\ude15 "}),(0,r.DS)({find:/:-. $/,replace:"\ud83d\ude15 "}),(0,r.DS)({find:/>:\[ $/,replace:"\ud83d\ude1e "}),(0,r.DS)({find:/:-\( $/,replace:"\ud83d\ude1e "}),(0,r.DS)({find:/:-\[ $/,replace:"\ud83d\ude1e "}),(0,r.DS)({find:/:'\( $/,replace:"\ud83d\ude22 "}),(0,r.DS)({find:/;-\( $/,replace:"\ud83d\ude22 "}),(0,r.DS)({find:/#-\) $/,replace:"\ud83d\ude35 "}),(0,r.DS)({find:/%-\) $/,replace:"\ud83d\ude35 "}),(0,r.DS)({find:/X-\) $/,replace:"\ud83d\ude35 "}),(0,r.DS)({find:/>:\( $/,replace:"\ud83d\ude20 "}),(0,r.DS)({find:/0:3 $/,replace:"\ud83d\ude07 "}),(0,r.DS)({find:/0:\) $/,replace:"\ud83d\ude07 "}),(0,r.DS)({find:/O:\) $/,replace:"\ud83d\ude07 "}),(0,r.DS)({find:/O=\) $/,replace:"\ud83d\ude07 "}),(0,r.DS)({find:/O:3 $/,replace:"\ud83d\ude07 "}),(0,r.DS)({find:/<\/3 $/,replace:"\ud83d\udc94 "}),(0,r.DS)({find:/:D $/,replace:"\ud83d\ude03 "}),(0,r.DS)({find:/=D $/,replace:"\ud83d\ude03 "}),(0,r.DS)({find:/;\) $/,replace:"\ud83d\ude09 "}),(0,r.DS)({find:/\*\) $/,replace:"\ud83d\ude09 "}),(0,r.DS)({find:/;\] $/,replace:"\ud83d\ude09 "}),(0,r.DS)({find:/;D $/,replace:"\ud83d\ude09 "}),(0,r.DS)({find:/B\) $/,replace:"\ud83d\ude0e "}),(0,r.DS)({find:/8\) $/,replace:"\ud83d\ude0e "}),(0,r.DS)({find:/:\* $/,replace:"\ud83d\ude18 "}),(0,r.DS)({find:/=\* $/,replace:"\ud83d\ude18 "}),(0,r.DS)({find:/:\) $/,replace:"\ud83d\ude42 "}),(0,r.DS)({find:/=\] $/,replace:"\ud83d\ude42 "}),(0,r.DS)({find:/=\) $/,replace:"\ud83d\ude42 "}),(0,r.DS)({find:/:\] $/,replace:"\ud83d\ude42 "}),(0,r.DS)({find:/:X $/,replace:"\ud83d\ude36 "}),(0,r.DS)({find:/:# $/,replace:"\ud83d\ude36 "}),(0,r.DS)({find:/=X $/,replace:"\ud83d\ude36 "}),(0,r.DS)({find:/=x $/,replace:"\ud83d\ude36 "}),(0,r.DS)({find:/:x $/,replace:"\ud83d\ude36 "}),(0,r.DS)({find:/=# $/,replace:"\ud83d\ude36 "}),(0,r.DS)({find:/:O $/,replace:"\ud83d\ude2e "}),(0,r.DS)({find:/:o $/,replace:"\ud83d\ude2e "}),(0,r.DS)({find:/:P $/,replace:"\ud83d\ude1b "}),(0,r.DS)({find:/=P $/,replace:"\ud83d\ude1b "}),(0,r.DS)({find:/:p $/,replace:"\ud83d\ude1b  "}),(0,r.DS)({find:/=p $/,replace:"\ud83d\ude1b "}),(0,r.DS)({find:/:\xde $/,replace:"\ud83d\ude1b "}),(0,r.DS)({find:/:\xfe $/,replace:"\ud83d\ude1b "}),(0,r.DS)({find:/:b $/,replace:"\ud83d\ude1b "}),(0,r.DS)({find:/d: $/,replace:"\ud83d\ude1b "}),(0,r.DS)({find:/:\/ $/,replace:"\ud83d\ude15 "}),(0,r.DS)({find:/:\\ $/,replace:"\ud83d\ude15 "}),(0,r.DS)({find:/=\/ $/,replace:"\ud83d\ude15 "}),(0,r.DS)({find:/=\\ $/,replace:"\ud83d\ude15 "}),(0,r.DS)({find:/:L $/,replace:"\ud83d\ude15 "}),(0,r.DS)({find:/=L $/,replace:"\ud83d\ude15 "}),(0,r.DS)({find:/:\( $/,replace:"\ud83d\ude1e "}),(0,r.DS)({find:/:\[ $/,replace:"\ud83d\ude1e "}),(0,r.DS)({find:/=\( $/,replace:"\ud83d\ude1e "}),(0,r.DS)({find:/;\( $/,replace:"\ud83d\ude22 "}),(0,r.DS)({find:/D: $/,replace:"\ud83d\ude28 "}),(0,r.DS)({find:/:\$ $/,replace:"\ud83d\ude33 "}),(0,r.DS)({find:/=\$ $/,replace:"\ud83d\ude33 "}),(0,r.DS)({find:/#\) $/,replace:"\ud83d\ude35 "}),(0,r.DS)({find:/%\) $/,replace:"\ud83d\ude35 "}),(0,r.DS)({find:/X\) $/,replace:"\ud83d\ude35 "}),(0,r.DS)({find:/:@ $/,replace:"\ud83d\ude20 "}),(0,r.DS)({find:/<3 $/,replace:"\u2764\ufe0f "}),(0,r.DS)({find:/\/shrug $/,replace:"\xaf\\_(\u30c4)_/\xaf"})]}})},62091:function(e,t,n){"use strict";n.d(t,{Z:function(){return Hn}});var r=n(57135),o=n(72006),i=n(4405),a=n(59072),s=n(56871),l=n(40240);const c=l.NB.create({name:"tableRow",addOptions:()=>({HTMLAttributes:{}}),content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML:()=>[{tag:"tr"}],renderHTML({HTMLAttributes:e}){return["tr",(0,l.P1)(this.options.HTMLAttributes,e),0]}});var u=n(45667),d=n(3317),f=n(40344);function p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function h(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((t=>{const n=e[t],r=typeof n;"object"!==r&&"function"!==r||Object.isFrozen(n)||h(n)})),e}class m{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function g(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function v(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const y=e=>!!e.scope;class b{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=g(e)}openNode(e){if(!y(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){y(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const w=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class C{constructor(){this.rootNode=w(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=w({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"===typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!==typeof e&&e.children&&(e.children.every((e=>"string"===typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{C._collapse(e)})))}}class x extends C{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new b(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function k(e){return e?"string"===typeof e?e:e.source:null}function _(e){return M("(?=",e,")")}function S(e){return M("(?:",e,")*")}function E(e){return M("(?:",e,")?")}function M(...e){return e.map((e=>k(e))).join("")}function L(...e){const t=function(e){const t=e[e.length-1];return"object"===typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>k(e))).join("|")+")"}function N(e){return new RegExp(e.toString()+"|").exec("").length-1}const O=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function A(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n;let r=k(e),o="";for(;r.length>0;){const e=O.exec(r);if(!e){o+=r;break}o+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?o+="\\"+String(Number(e[1])+t):(o+=e[0],"("===e[0]&&n++)}return o})).map((e=>`(${e})`)).join(t)}const j="[a-zA-Z]\\w*",T="[a-zA-Z_]\\w*",Z="\\b\\d+(\\.\\d+)?",P="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",R="\\b(0b[01]+)",I={begin:"\\\\[\\s\\S]",relevance:0},D={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[I]},z={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[I]},H=function(e,t,n={}){const r=v({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=L("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:M(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},B=H("//","$"),F=H("/\\*","\\*/"),V=H("#","$"),q={scope:"number",begin:Z,relevance:0},U={scope:"number",begin:P,relevance:0},$={scope:"number",begin:R,relevance:0},W={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[I,{begin:/\[/,end:/\]/,relevance:0,contains:[I]}]},K={scope:"title",begin:j,relevance:0},G={scope:"title",begin:T,relevance:0},Y={begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0};var J=Object.freeze({__proto__:null,APOS_STRING_MODE:D,BACKSLASH_ESCAPE:I,BINARY_NUMBER_MODE:$,BINARY_NUMBER_RE:R,COMMENT:H,C_BLOCK_COMMENT_MODE:F,C_LINE_COMMENT_MODE:B,C_NUMBER_MODE:U,C_NUMBER_RE:P,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:V,IDENT_RE:j,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:Y,NUMBER_MODE:q,NUMBER_RE:Z,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:z,REGEXP_MODE:W,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=M(t,/.*\b/,e.binary,/\b.*/)),v({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:K,UNDERSCORE_IDENT_RE:T,UNDERSCORE_TITLE_MODE:G});function X(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function Q(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function ee(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=X,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function te(e,t){Array.isArray(e.illegal)&&(e.illegal=L(...e.illegal))}function ne(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function re(e,t){void 0===e.relevance&&(e.relevance=1)}const oe=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=n.keywords,e.begin=M(n.beforeMatch,_(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},ie=["of","and","for","in","not","or","if","then","parent","list","value"];function ae(e,t,n="keyword"){const r=Object.create(null);return"string"===typeof e?o(n,e.split(" ")):Array.isArray(e)?o(n,e):Object.keys(e).forEach((function(n){Object.assign(r,ae(e[n],t,n))})),r;function o(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|");r[n[0]]=[e,se(n[0],n[1])]}))}}function se(e,t){return t?Number(t):function(e){return ie.includes(e.toLowerCase())}(e)?0:1}const le={},ce=e=>{console.error(e)},ue=(e,...t)=>{console.log(`WARN: ${e}`,...t)},de=(e,t)=>{le[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),le[`${e}/${t}`]=!0)},fe=new Error;function pe(e,t,{key:n}){let r=0;const o=e[n],i={},a={};for(let s=1;s<=t.length;s++)a[s+r]=o[s],i[s+r]=!0,r+=N(t[s-1]);e[n]=a,e[n]._emit=i,e[n]._multi=!0}function he(e){!function(e){e.scope&&"object"===typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"===typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"===typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw ce("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),fe;if("object"!==typeof e.beginScope||null===e.beginScope)throw ce("beginScope must be object"),fe;pe(e,e.begin,{key:"beginScope"}),e.begin=A(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw ce("skip, excludeEnd, returnEnd not compatible with endScope: {}"),fe;if("object"!==typeof e.endScope||null===e.endScope)throw ce("endScope must be object"),fe;pe(e,e.end,{key:"endScope"}),e.end=A(e.end,{joinWith:""})}}(e)}function me(e){function t(t,n){return new RegExp(k(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=N(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(A(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return e.classNameAliases=v(e.classNameAliases||{}),function n(o,i){const a=o;if(o.isCompiled)return a;[Q,ne,he,oe].forEach((e=>e(o,i))),e.compilerExtensions.forEach((e=>e(o,i))),o.__beforeBegin=null,[ee,te,re].forEach((e=>e(o,i))),o.isCompiled=!0;let s=null;return"object"===typeof o.keywords&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),s=o.keywords.$pattern,delete o.keywords.$pattern),s=s||/\w+/,o.keywords&&(o.keywords=ae(o.keywords,e.case_insensitive)),a.keywordPatternRe=t(s,!0),i&&(o.begin||(o.begin=/\B|\b/),a.beginRe=t(a.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),o.end&&(a.endRe=t(a.end)),a.terminatorEnd=k(a.end)||"",o.endsWithParent&&i.terminatorEnd&&(a.terminatorEnd+=(o.end?"|":"")+i.terminatorEnd)),o.illegal&&(a.illegalRe=t(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return v(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(ge(e))return v(e,{starts:e.starts?v(e.starts):null});if(Object.isFrozen(e))return v(e);return e}("self"===e?o:e)}))),o.contains.forEach((function(e){n(e,a)})),o.starts&&n(o.starts,i),a.matcher=function(e){const t=new r;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(a),a}(e)}function ge(e){return!!e&&(e.endsWithParent||ge(e.starts))}class ve extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ye=g,be=v,we=Symbol("nomatch"),Ce=function(e){const t=Object.create(null),n=Object.create(null),r=[];let o=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:x};function l(e){return s.noHighlightRe.test(e)}function c(e,t,n){let r="",o="";"object"===typeof t?(r=e,n=t.ignoreIllegals,o=t.language):(de("10.7.0","highlight(lang, code, ...args) has been deprecated."),de("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),o=e,r=t),void 0===n&&(n=!0);const i={code:r,language:o};w("before:highlight",i);const a=i.result?i.result:u(i.language,i.code,n);return a.code=i.code,w("after:highlight",a),a}function u(e,n,r,a){const l=Object.create(null);function c(){if(!E.keywords)return void L.addText(N);let e=0;E.keywordPatternRe.lastIndex=0;let t=E.keywordPatternRe.exec(N),n="";for(;t;){n+=N.substring(e,t.index);const o=k.case_insensitive?t[0].toLowerCase():t[0],i=(r=o,E.keywords[r]);if(i){const[e,r]=i;if(L.addText(n),n="",l[o]=(l[o]||0)+1,l[o]<=7&&(O+=r),e.startsWith("_"))n+=t[0];else{const n=k.classNameAliases[e]||e;p(t[0],n)}}else n+=t[0];e=E.keywordPatternRe.lastIndex,t=E.keywordPatternRe.exec(N)}var r;n+=N.substring(e),L.addText(n)}function f(){null!=E.subLanguage?function(){if(""===N)return;let e=null;if("string"===typeof E.subLanguage){if(!t[E.subLanguage])return void L.addText(N);e=u(E.subLanguage,N,!0,M[E.subLanguage]),M[E.subLanguage]=e._top}else e=d(N,E.subLanguage.length?E.subLanguage:null);E.relevance>0&&(O+=e.relevance),L.__addSublanguage(e._emitter,e.language)}():c(),N=""}function p(e,t){""!==e&&(L.startScope(t),L.addText(e),L.endScope())}function h(e,t){let n=1;const r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}const r=k.classNameAliases[e[n]]||e[n],o=t[n];r?p(o,r):(N=o,c(),N=""),n++}}function g(e,t){return e.scope&&"string"===typeof e.scope&&L.openNode(k.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(p(N,k.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),N=""):e.beginScope._multi&&(h(e.beginScope,t),N="")),E=Object.create(e,{parent:{value:E}}),E}function y(e,t,n){let r=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(e.endRe,n);if(r){if(e["on:end"]){const n=new m(e);e["on:end"](t,n),n.isMatchIgnored&&(r=!1)}if(r){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return y(e.parent,t,n)}function b(e){return 0===E.matcher.regexIndex?(N+=e[0],1):(T=!0,0)}function w(e){const t=e[0],r=n.substring(e.index),o=y(E,e,r);if(!o)return we;const i=E;E.endScope&&E.endScope._wrap?(f(),p(t,E.endScope._wrap)):E.endScope&&E.endScope._multi?(f(),h(E.endScope,e)):i.skip?N+=t:(i.returnEnd||i.excludeEnd||(N+=t),f(),i.excludeEnd&&(N=t));do{E.scope&&L.closeNode(),E.skip||E.subLanguage||(O+=E.relevance),E=E.parent}while(E!==o.parent);return o.starts&&g(o.starts,e),i.returnEnd?0:t.length}let C={};function x(t,i){const a=i&&i[0];if(N+=t,null==a)return f(),0;if("begin"===C.type&&"end"===i.type&&C.index===i.index&&""===a){if(N+=n.slice(i.index,i.index+1),!o){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=C.rule,t}return 1}if(C=i,"begin"===i.type)return function(e){const t=e[0],n=e.rule,r=new m(n),o=[n.__beforeBegin,n["on:begin"]];for(const i of o)if(i&&(i(e,r),r.isMatchIgnored))return b(t);return n.skip?N+=t:(n.excludeBegin&&(N+=t),f(),n.returnBegin||n.excludeBegin||(N=t)),g(n,e),n.returnBegin?0:t.length}(i);if("illegal"===i.type&&!r){const e=new Error('Illegal lexeme "'+a+'" for mode "'+(E.scope||"<unnamed>")+'"');throw e.mode=E,e}if("end"===i.type){const e=w(i);if(e!==we)return e}if("illegal"===i.type&&""===a)return 1;if(j>1e5&&j>3*i.index){throw new Error("potential infinite loop, way more iterations than matches")}return N+=a,a.length}const k=v(e);if(!k)throw ce(i.replace("{}",e)),new Error('Unknown language: "'+e+'"');const _=me(k);let S="",E=a||_;const M={},L=new s.__emitter(s);!function(){const e=[];for(let t=E;t!==k;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>L.openNode(e)))}();let N="",O=0,A=0,j=0,T=!1;try{if(k.__emitTokens)k.__emitTokens(n,L);else{for(E.matcher.considerAll();;){j++,T?T=!1:E.matcher.considerAll(),E.matcher.lastIndex=A;const e=E.matcher.exec(n);if(!e)break;const t=x(n.substring(A,e.index),e);A=e.index+t}x(n.substring(A))}return L.finalize(),S=L.toHTML(),{language:e,value:S,relevance:O,illegal:!1,_emitter:L,_top:E}}catch(Z){if(Z.message&&Z.message.includes("Illegal"))return{language:e,value:ye(n),illegal:!0,relevance:0,_illegalBy:{message:Z.message,index:A,context:n.slice(A-100,A+100),mode:Z.mode,resultSoFar:S},_emitter:L};if(o)return{language:e,value:ye(n),illegal:!1,relevance:0,errorRaised:Z,_emitter:L,_top:E};throw Z}}function d(e,n){n=n||s.languages||Object.keys(t);const r=function(e){const t={value:ye(e),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return t._emitter.addText(e),t}(e),o=n.filter(v).filter(b).map((t=>u(t,e,!1)));o.unshift(r);const i=o.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(v(e.language).supersetOf===t.language)return 1;if(v(t.language).supersetOf===e.language)return-1}return 0})),[l,c]=i,d=l;return d.secondBest=c,d}function f(e){let t=null;const r=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=s.languageDetectRe.exec(t);if(n){const t=v(n[1]);return t||(ue(i.replace("{}",n[1])),ue("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>l(e)||v(e)))}(e);if(l(r))return;if(w("before:highlightElement",{el:e,language:r}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),s.throwUnescapedHTML)){throw new ve("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e;const o=t.textContent,a=r?c(o,{language:r,ignoreIllegals:!0}):d(o);e.innerHTML=a.value,e.dataset.highlighted="yes",function(e,t,r){const o=t&&n[t]||r;e.classList.add("hljs"),e.classList.add(`language-${o}`)}(e,r,a.language),e.result={language:a.language,re:a.relevance,relevance:a.relevance},a.secondBest&&(e.secondBest={language:a.secondBest.language,relevance:a.secondBest.relevance}),w("after:highlightElement",{el:e,result:a,text:o})}let p=!1;function g(){if("loading"===document.readyState)return void(p=!0);document.querySelectorAll(s.cssSelector).forEach(f)}function v(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function y(e,{languageName:t}){"string"===typeof e&&(e=[e]),e.forEach((e=>{n[e.toLowerCase()]=t}))}function b(e){const t=v(e);return t&&!t.disableAutodetect}function w(e,t){const n=e;r.forEach((function(e){e[n]&&e[n](t)}))}"undefined"!==typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){p&&g()}),!1),Object.assign(e,{highlight:c,highlightAuto:d,highlightAll:g,highlightElement:f,highlightBlock:function(e){return de("10.7.0","highlightBlock will be removed entirely in v12.0"),de("10.7.0","Please use highlightElement now."),f(e)},configure:function(e){s=be(s,e)},initHighlighting:()=>{g(),de("10.6.0","initHighlighting() deprecated.  Use highlightAll() now.")},initHighlightingOnLoad:function(){g(),de("10.6.0","initHighlightingOnLoad() deprecated.  Use highlightAll() now.")},registerLanguage:function(n,r){let i=null;try{i=r(e)}catch(s){if(ce("Language definition for '{}' could not be registered.".replace("{}",n)),!o)throw s;ce(s),i=a}i.name||(i.name=n),t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&y(i.aliases,{languageName:n})},unregisterLanguage:function(e){delete t[e];for(const t of Object.keys(n))n[t]===e&&delete n[t]},listLanguages:function(){return Object.keys(t)},getLanguage:v,registerAliases:y,autoDetection:b,inherit:be,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),r.push(e)},removePlugin:function(e){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString="11.10.0",e.regex={concat:M,lookahead:_,either:L,optional:E,anyNumberOfTimes:S};for(const m in J)"object"===typeof J[m]&&h(J[m]);return Object.assign(e,J),e},xe=Ce({});xe.newInstance=()=>Ce({});var ke=xe;xe.HighlightJS=xe,xe.default=xe;var _e=p(ke);function Se(e,t=[]){return e.map((e=>{const n=[...t,...e.properties?e.properties.className:[]];return e.children?Se(e.children,n):{text:e.value,classes:n}})).flat()}function Ee(e){return e.value||e.children||[]}function Me({doc:e,name:t,lowlight:n,defaultLanguage:r}){const o=[];return(0,l.N2)(e,(e=>e.type.name===t)).forEach((e=>{let t=e.pos+1;const i=e.node.attrs.language||r,a=n.listLanguages();var s;Se(i&&(a.includes(i)||(s=i,Boolean(_e.getLanguage(s))))?Ee(n.highlight(i,e.node.textContent)):Ee(n.highlightAuto(e.node.textContent))).forEach((e=>{const n=t+e.text.length;if(e.classes.length){const r=f.p.inline(t,n,{class:e.classes.join(" ")});o.push(r)}t=n}))})),f.EH.create(e,o)}function Le({name:e,lowlight:t,defaultLanguage:n}){if(!["highlight","highlightAuto","listLanguages"].every((e=>"function"===typeof t[e])))throw Error("You should provide an instance of lowlight to use the code-block-lowlight extension");const r=new d.Sy({key:new d.H$("lowlight"),state:{init:(r,{doc:o})=>Me({doc:o,name:e,lowlight:t,defaultLanguage:n}),apply:(r,o,i,a)=>{const s=i.selection.$head.parent.type.name,c=a.selection.$head.parent.type.name,u=(0,l.N2)(i.doc,(t=>t.type.name===e)),d=(0,l.N2)(a.doc,(t=>t.type.name===e));return r.docChanged&&([s,c].includes(e)||d.length!==u.length||r.steps.some((e=>void 0!==e.from&&void 0!==e.to&&u.some((t=>t.pos>=e.from&&t.pos+t.node.nodeSize<=e.to)))))?Me({doc:r.doc,name:e,lowlight:t,defaultLanguage:n}):o.map(r.mapping,r.doc)}},props:{decorations:e=>r.getState(e)}});return r}const Ne=u.ZP.extend({addOptions(){var e;return{...null===(e=this.parent)||void 0===e?void 0:e.call(this),lowlight:{}}},addProseMirrorPlugins(){var e;return[...(null===(e=this.parent)||void 0===e?void 0:e.call(this))||[],Le({name:this.name,lowlight:this.options.lowlight,defaultLanguage:this.options.defaultLanguage})]}});var Oe=n(52102);const Ae=l.hj.create({name:"characterCount",addOptions:()=>({limit:null,mode:"textSize"}),addStorage:()=>({characters:()=>0,words:()=>0}),onBeforeCreate(){this.storage.characters=e=>{const t=(null===e||void 0===e?void 0:e.node)||this.editor.state.doc;if("textSize"===((null===e||void 0===e?void 0:e.mode)||this.options.mode)){return t.textBetween(0,t.content.size,void 0," ").length}return t.nodeSize},this.storage.words=e=>{const t=(null===e||void 0===e?void 0:e.node)||this.editor.state.doc;return t.textBetween(0,t.content.size," "," ").split(" ").filter((e=>""!==e)).length}},addProseMirrorPlugins(){return[new d.Sy({key:new d.H$("characterCount"),filterTransaction:(e,t)=>{const n=this.options.limit;if(!e.docChanged||0===n||null===n||void 0===n)return!0;const r=this.storage.characters({node:t.doc}),o=this.storage.characters({node:e.doc});if(o<=n)return!0;if(r>n&&o>n&&o<=r)return!0;if(r>n&&o>n&&o>r)return!1;if(!e.getMeta("paste"))return!1;const i=e.selection.$head.pos,a=i-(o-n),s=i;e.deleteRange(a,s);return!(this.storage.characters({node:e.doc})>n)}})]}}),je=/^(https?:\/\/)?(www\.|music\.)?(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(?!channel\/)(?!@)(.+)?$/,Te=/^(https?:\/\/)?(www\.|music\.)?(youtube\.com|youtu\.be)\/(?!channel\/)(?!@)(.+)?$/g,Ze=e=>e.match(je),Pe=e=>e?"https://www.youtube-nocookie.com/embed/":"https://www.youtube.com/embed/",Re=l.NB.create({name:"youtube",addOptions:()=>({addPasteHandler:!0,allowFullscreen:!0,autoplay:!1,ccLanguage:void 0,ccLoadPolicy:void 0,controls:!0,disableKBcontrols:!1,enableIFrameApi:!1,endTime:0,height:480,interfaceLanguage:void 0,ivLoadPolicy:0,loop:!1,modestBranding:!1,HTMLAttributes:{},inline:!1,nocookie:!1,origin:"",playlist:"",progressBarColor:void 0,width:640}),inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},start:{default:0},width:{default:this.options.width},height:{default:this.options.height}}},parseHTML:()=>[{tag:"div[data-youtube-video] iframe"}],addCommands(){return{setYoutubeVideo:e=>({commands:t})=>!!Ze(e.src)&&t.insertContent({type:this.name,attrs:e})}},addPasteRules(){return this.options.addPasteHandler?[(0,l.Ss)({find:Te,type:this.type,getAttributes:e=>({src:e.input})})]:[]},renderHTML({HTMLAttributes:e}){const t=(e=>{const{url:t,allowFullscreen:n,autoplay:r,ccLanguage:o,ccLoadPolicy:i,controls:a,disableKBcontrols:s,enableIFrameApi:l,endTime:c,interfaceLanguage:u,ivLoadPolicy:d,loop:f,modestBranding:p,nocookie:h,origin:m,playlist:g,progressBarColor:v,startAt:y}=e;if(!Ze(t))return null;if(t.includes("/embed/"))return t;if(t.includes("youtu.be")){const e=t.split("/").pop();return e?`${Pe(h)}${e}`:null}const b=/(?:v=|shorts\/)([-\w]+)/gm.exec(t);if(!b||!b[1])return null;let w=`${Pe(h)}${b[1]}`;const C=[];return!1===n&&C.push("fs=0"),r&&C.push("autoplay=1"),o&&C.push(`cc_lang_pref=${o}`),i&&C.push("cc_load_policy=1"),a||C.push("controls=0"),s&&C.push("disablekb=1"),l&&C.push("enablejsapi=1"),c&&C.push(`end=${c}`),u&&C.push(`hl=${u}`),d&&C.push(`iv_load_policy=${d}`),f&&C.push("loop=1"),p&&C.push("modestbranding=1"),m&&C.push(`origin=${m}`),g&&C.push(`playlist=${g}`),y&&C.push(`start=${y}`),v&&C.push(`color=${v}`),C.length&&(w+=`?${C.join("&")}`),w})({url:e.src,allowFullscreen:this.options.allowFullscreen,autoplay:this.options.autoplay,ccLanguage:this.options.ccLanguage,ccLoadPolicy:this.options.ccLoadPolicy,controls:this.options.controls,disableKBcontrols:this.options.disableKBcontrols,enableIFrameApi:this.options.enableIFrameApi,endTime:this.options.endTime,interfaceLanguage:this.options.interfaceLanguage,ivLoadPolicy:this.options.ivLoadPolicy,loop:this.options.loop,modestBranding:this.options.modestBranding,nocookie:this.options.nocookie,origin:this.options.origin,playlist:this.options.playlist,progressBarColor:this.options.progressBarColor,startAt:e.start||0});return e.src=t,["div",{"data-youtube-video":""},["iframe",(0,l.P1)(this.options.HTMLAttributes,{width:this.options.width,height:this.options.height,allowfullscreen:this.options.allowFullscreen,autoplay:this.options.autoplay,ccLanguage:this.options.ccLanguage,ccLoadPolicy:this.options.ccLoadPolicy,disableKBcontrols:this.options.disableKBcontrols,enableIFrameApi:this.options.enableIFrameApi,endTime:this.options.endTime,interfaceLanguage:this.options.interfaceLanguage,ivLoadPolicy:this.options.ivLoadPolicy,loop:this.options.loop,modestBranding:this.options.modestBranding,origin:this.options.origin,playlist:this.options.playlist,progressBarColor:this.options.progressBarColor},e)]]}});var Ie=n(2),De=n(72577);const ze=l.hj.create({name:"textAlign",addOptions:()=>({types:[],alignments:["left","center","right","justify"],defaultAlignment:"left"}),addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:e=>{const t=e.style.textAlign||this.options.defaultAlignment;return this.options.alignments.includes(t)?t:this.options.defaultAlignment},renderHTML:e=>e.textAlign===this.options.defaultAlignment?{}:{style:`text-align: ${e.textAlign}`}}}}]},addCommands(){return{setTextAlign:e=>({commands:t})=>!!this.options.alignments.includes(e)&&this.options.types.map((n=>t.updateAttributes(n,{textAlign:e}))).every((e=>e)),unsetTextAlign:()=>({commands:e})=>this.options.types.map((t=>e.resetAttributes(t,"textAlign"))).every((e=>e))}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}});var He=n(82418),Be=n(1422),Fe=n(60684);const Ve=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,qe=l.NB.create({name:"image",addOptions:()=>({inline:!1,allowBase64:!1,HTMLAttributes:{}}),inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes:()=>({src:{default:null},alt:{default:null},title:{default:null}}),parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:e}){return["img",(0,l.P1)(this.options.HTMLAttributes,e)]},addCommands(){return{setImage:e=>({commands:t})=>t.insertContent({type:this.name,attrs:e})}},addInputRules(){return[(0,l.x2)({find:Ve,type:this.type,getAttributes:e=>{const[,,t,n,r]=e;return{src:n,alt:t,title:r}}})]}}),Ue=qe.extend({addAttributes:()=>({src:{default:null},alt:{default:null},style:{default:"width: 100%; height: auto; cursor: pointer;",parseHTML:e=>{const t=e.getAttribute("width");return t?`width: ${t}px; height: auto; cursor: pointer;`:`${e.style.cssText}`}},title:{default:null},loading:{default:null},srcset:{default:null},sizes:{default:null},crossorigin:{default:null},usemap:{default:null},ismap:{default:null},width:{default:null},height:{default:null},referrerpolicy:{default:null},longdesc:{default:null},decoding:{default:null},class:{default:null},id:{default:null},name:{default:null},draggable:{default:!0},tabindex:{default:null},"aria-label":{default:null},"aria-labelledby":{default:null},"aria-describedby":{default:null}}),addNodeView:()=>({node:e,editor:t,getPos:n})=>{const{view:r,options:{editable:o}}=t,{style:i}=e.attrs,a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("img"),c="width: 24px; height: 24px; cursor: pointer;",u=()=>{if("function"===typeof n){const t=Object.assign(Object.assign({},e.attrs),{style:`${l.style.cssText}`});r.dispatch(r.state.tr.setNodeMarkup(n(),null,t))}};if(a.setAttribute("style","display: flex;"),a.appendChild(s),s.setAttribute("style",`${i}`),s.appendChild(l),Object.entries(e.attrs).forEach((([e,t])=>{void 0!==t&&null!==t&&l.setAttribute(e,t)})),!o)return{dom:l};const d=["top: -4px; left: -4px; cursor: nwse-resize;","top: -4px; right: -4px; cursor: nesw-resize;","bottom: -4px; left: -4px; cursor: nesw-resize;","bottom: -4px; right: -4px; cursor: nwse-resize;"];let f,p,h=!1;return s.addEventListener("click",(()=>{if(s.childElementCount>3)for(let e=0;e<5;e++)s.removeChild(s.lastChild);(()=>{const e=document.createElement("div"),t=document.createElement("img"),n=document.createElement("img"),r=document.createElement("img"),o=e=>{e.target.style.opacity=.3},i=e=>{e.target.style.opacity=1};e.setAttribute("style","position: absolute; top: 0%; left: 50%; width: 100px; height: 25px; z-index: 999; background-color: rgba(255, 255, 255, 0.7); border-radius: 4px; border: 2px solid #6C6C6C; cursor: pointer; transform: translate(-50%, -50%); display: flex; justify-content: space-between; align-items: center; padding: 0 10px;"),t.setAttribute("src","https://fonts.gstatic.com/s/i/short-term/release/materialsymbolsoutlined/format_align_left/default/20px.svg"),t.setAttribute("style",c),t.addEventListener("mouseover",o),t.addEventListener("mouseout",i),n.setAttribute("src","https://fonts.gstatic.com/s/i/short-term/release/materialsymbolsoutlined/format_align_center/default/20px.svg"),n.setAttribute("style",c),n.addEventListener("mouseover",o),n.addEventListener("mouseout",i),r.setAttribute("src","https://fonts.gstatic.com/s/i/short-term/release/materialsymbolsoutlined/format_align_right/default/20px.svg"),r.setAttribute("style",c),r.addEventListener("mouseover",o),r.addEventListener("mouseout",i),t.addEventListener("click",(()=>{l.setAttribute("style",`${l.style.cssText} margin: 0 auto 0 0;`),u()})),n.addEventListener("click",(()=>{l.setAttribute("style",`${l.style.cssText} margin: 0 auto;`),u()})),r.addEventListener("click",(()=>{l.setAttribute("style",`${l.style.cssText} margin: 0 0 0 auto;`),u()})),e.appendChild(t),e.appendChild(n),e.appendChild(r),s.appendChild(e)})(),s.setAttribute("style",`position: relative; border: 1px dashed #6C6C6C; ${i} cursor: pointer;`),Array.from({length:4},((e,t)=>{const n=document.createElement("div");n.setAttribute("style",`position: absolute; width: 9px; height: 9px; border: 1.5px solid #6C6C6C; border-radius: 50%; ${d[t]}`),n.addEventListener("mousedown",(e=>{e.preventDefault(),h=!0,f=e.clientX,p=s.offsetWidth;const n=e=>{if(!h)return;const n=t%2===0?-(e.clientX-f):e.clientX-f,r=p+n;s.style.width=r+"px",l.style.width=r+"px"},r=()=>{h&&(h=!1),u(),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r)};document.addEventListener("mousemove",n),document.addEventListener("mouseup",r)})),s.appendChild(n)}))})),document.addEventListener("click",(e=>{const t=e.target;if(!(s.contains(t)||t.style.cssText===c)){const e=s.getAttribute("style"),t=null===e||void 0===e?void 0:e.replace("border: 1px dashed #6C6C6C;","");if(s.setAttribute("style",t),s.childElementCount>3)for(let n=0;n<5;n++)s.removeChild(s.lastChild)}})),{dom:a}}});var $e=n(14419),We=n(66458),Ke=n(27887);const Ge=/^\s*(\[([( |x])?\])\s$/,Ye=l.NB.create({name:"taskItem",addOptions:()=>({nested:!1,HTMLAttributes:{},taskListTypeName:"taskList"}),content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes:()=>({checked:{default:!1,keepOnSplit:!1,parseHTML:e=>{const t=e.getAttribute("data-checked");return""===t||"true"===t},renderHTML:e=>({"data-checked":e.checked})}}),parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:e,HTMLAttributes:t}){return["li",(0,l.P1)(this.options.HTMLAttributes,t,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:e.attrs.checked?"checked":null}],["span"]],["div",0]]},addKeyboardShortcuts(){const e={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...e,Tab:()=>this.editor.commands.sinkListItem(this.name)}:e},addNodeView(){return({node:e,HTMLAttributes:t,getPos:n,editor:r})=>{const o=document.createElement("li"),i=document.createElement("label"),a=document.createElement("span"),s=document.createElement("input"),l=document.createElement("div");return i.contentEditable="false",s.type="checkbox",s.addEventListener("change",(t=>{if(!r.isEditable&&!this.options.onReadOnlyChecked)return void(s.checked=!s.checked);const{checked:o}=t.target;r.isEditable&&"function"===typeof n&&r.chain().focus(void 0,{scrollIntoView:!1}).command((({tr:e})=>{const t=n(),r=e.doc.nodeAt(t);return e.setNodeMarkup(t,void 0,{...null===r||void 0===r?void 0:r.attrs,checked:o}),!0})).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(e,o)||(s.checked=!s.checked))})),Object.entries(this.options.HTMLAttributes).forEach((([e,t])=>{o.setAttribute(e,t)})),o.dataset.checked=e.attrs.checked,e.attrs.checked&&s.setAttribute("checked","checked"),i.append(s,a),o.append(i,l),Object.entries(t).forEach((([e,t])=>{o.setAttribute(e,t)})),{dom:o,contentDOM:l,update:e=>e.type===this.type&&(o.dataset.checked=e.attrs.checked,e.attrs.checked?s.setAttribute("checked","checked"):s.removeAttribute("checked"),!0)}}},addInputRules(){return[(0,l.S0)({find:Ge,type:this.type,getAttributes:e=>({checked:"x"===e[e.length-1]})})]}}),Je=l.NB.create({name:"taskList",addOptions:()=>({itemTypeName:"taskItem",HTMLAttributes:{}}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:e}){return["ul",(0,l.P1)(this.options.HTMLAttributes,e,{"data-type":this.name}),0]},addCommands(){return{toggleTaskList:()=>({commands:e})=>e.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});var Xe,Qe,et=n(41460),tt=n(2310),nt=n(1587),rt=n(49485);if("undefined"!=typeof WeakMap){let e=new WeakMap;Xe=t=>e.get(t),Qe=(t,n)=>(e.set(t,n),n)}else{const e=[],t=10;let n=0;Xe=t=>{for(let n=0;n<e.length;n+=2)if(e[n]==t)return e[n+1]},Qe=(r,o)=>(n==t&&(n=0),e[n++]=r,e[n++]=o)}var ot=class{constructor(e,t,n,r){this.width=e,this.height=t,this.map=n,this.problems=r}findCell(e){for(let t=0;t<this.map.length;t++){const n=this.map[t];if(n!=e)continue;const r=t%this.width,o=t/this.width|0;let i=r+1,a=o+1;for(let e=1;i<this.width&&this.map[t+e]==n;e++)i++;for(let e=1;a<this.height&&this.map[t+this.width*e]==n;e++)a++;return{left:r,top:o,right:i,bottom:a}}throw new RangeError(`No cell with offset ${e} found`)}colCount(e){for(let t=0;t<this.map.length;t++)if(this.map[t]==e)return t%this.width;throw new RangeError(`No cell with offset ${e} found`)}nextCell(e,t,n){const{left:r,right:o,top:i,bottom:a}=this.findCell(e);return"horiz"==t?(n<0?0==r:o==this.width)?null:this.map[i*this.width+(n<0?r-1:o)]:(n<0?0==i:a==this.height)?null:this.map[r+this.width*(n<0?i-1:a)]}rectBetween(e,t){const{left:n,right:r,top:o,bottom:i}=this.findCell(e),{left:a,right:s,top:l,bottom:c}=this.findCell(t);return{left:Math.min(n,a),top:Math.min(o,l),right:Math.max(r,s),bottom:Math.max(i,c)}}cellsInRect(e){const t=[],n={};for(let r=e.top;r<e.bottom;r++)for(let o=e.left;o<e.right;o++){const i=r*this.width+o,a=this.map[i];n[a]||(n[a]=!0,o==e.left&&o&&this.map[i-1]==a||r==e.top&&r&&this.map[i-this.width]==a||t.push(a))}return t}positionAt(e,t,n){for(let r=0,o=0;;r++){const i=o+n.child(r).nodeSize;if(r==e){let n=t+e*this.width;const r=(e+1)*this.width;for(;n<r&&this.map[n]<o;)n++;return n==r?i-1:this.map[n]}o=i}}static get(e){return Xe(e)||Qe(e,function(e){if("table"!=e.type.spec.tableRole)throw new RangeError("Not a table node: "+e.type.name);const t=function(e){let t=-1,n=!1;for(let r=0;r<e.childCount;r++){const o=e.child(r);let i=0;if(n)for(let t=0;t<r;t++){const n=e.child(t);for(let e=0;e<n.childCount;e++){const o=n.child(e);t+o.attrs.rowspan>r&&(i+=o.attrs.colspan)}}for(let e=0;e<o.childCount;e++){const t=o.child(e);i+=t.attrs.colspan,t.attrs.rowspan>1&&(n=!0)}-1==t?t=i:t!=i&&(t=Math.max(t,i))}return t}(e),n=e.childCount,r=[];let o=0,i=null;const a=[];for(let c=0,u=t*n;c<u;c++)r[c]=0;for(let c=0,u=0;c<n;c++){const s=e.child(c);u++;for(let e=0;;e++){for(;o<r.length&&0!=r[o];)o++;if(e==s.childCount)break;const l=s.child(e),{colspan:d,rowspan:f,colwidth:p}=l.attrs;for(let e=0;e<f;e++){if(e+c>=n){(i||(i=[])).push({type:"overlong_rowspan",pos:u,n:f-e});break}const s=o+e*t;for(let e=0;e<d;e++){0==r[s+e]?r[s+e]=u:(i||(i=[])).push({type:"collision",row:c,pos:u,n:d-e});const n=p&&p[e];if(n){const r=(s+e)%t*2,o=a[r];null==o||o!=n&&1==a[r+1]?(a[r]=n,a[r+1]=1):o==n&&a[r+1]++}}}o+=d,u+=l.nodeSize}const l=(c+1)*t;let d=0;for(;o<l;)0==r[o++]&&d++;d&&(i||(i=[])).push({type:"missing",row:c,n:d}),u++}const s=new ot(t,n,r,i);let l=!1;for(let c=0;!l&&c<a.length;c+=2)null!=a[c]&&a[c+1]<n&&(l=!0);l&&function(e,t,n){e.problems||(e.problems=[]);const r={};for(let o=0;o<e.map.length;o++){const i=e.map[o];if(r[i])continue;r[i]=!0;const a=n.nodeAt(i);if(!a)throw new RangeError(`No cell with offset ${i} found`);let s=null;const l=a.attrs;for(let n=0;n<l.colspan;n++){const r=t[2*((o+n)%e.width)];null==r||l.colwidth&&l.colwidth[n]==r||((s||(s=it(l)))[n]=r)}s&&e.problems.unshift({type:"colwidth mismatch",pos:i,colwidth:s})}}(s,a,e);return s}(e))}};function it(e){if(e.colwidth)return e.colwidth.slice();const t=[];for(let n=0;n<e.colspan;n++)t.push(0);return t}function at(e){let t=e.cached.tableNodeTypes;if(!t){t=e.cached.tableNodeTypes={};for(const n in e.nodes){const r=e.nodes[n],o=r.spec.tableRole;o&&(t[o]=r)}}return t}var st=new d.H$("selectingCells");function lt(e){for(let t=e.depth-1;t>0;t--)if("row"==e.node(t).type.spec.tableRole)return e.node(0).resolve(e.before(t+1));return null}function ct(e){const t=e.selection.$head;for(let n=t.depth;n>0;n--)if("row"==t.node(n).type.spec.tableRole)return!0;return!1}function ut(e){const t=e.selection;if("$anchorCell"in t&&t.$anchorCell)return t.$anchorCell.pos>t.$headCell.pos?t.$anchorCell:t.$headCell;if("node"in t&&t.node&&"cell"==t.node.type.spec.tableRole)return t.$anchor;const n=lt(t.$head)||function(e){for(let t=e.nodeAfter,n=e.pos;t;t=t.firstChild,n++){const r=t.type.spec.tableRole;if("cell"==r||"header_cell"==r)return e.doc.resolve(n)}for(let t=e.nodeBefore,n=e.pos;t;t=t.lastChild,n--){const r=t.type.spec.tableRole;if("cell"==r||"header_cell"==r)return e.doc.resolve(n-t.nodeSize)}}(t.$head);if(n)return n;throw new RangeError(`No cell found around position ${t.head}`)}function dt(e){return"row"==e.parent.type.spec.tableRole&&!!e.nodeAfter}function ft(e,t){return e.depth==t.depth&&e.pos>=t.start(-1)&&e.pos<=t.end(-1)}function pt(e,t,n){const r=e.node(-1),o=ot.get(r),i=e.start(-1),a=o.nextCell(e.pos-i,t,n);return null==a?null:e.node(0).resolve(i+a)}function ht(e,t,n=1){const r={...e,colspan:e.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(t,n),r.colwidth.some((e=>e>0))||(r.colwidth=null)),r}function mt(e,t,n=1){const r={...e,colspan:e.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let e=0;e<n;e++)r.colwidth.splice(t,0,0)}return r}var gt=class e extends d.Y1{constructor(e,t=e){const n=e.node(-1),r=ot.get(n),o=e.start(-1),i=r.rectBetween(e.pos-o,t.pos-o),a=e.node(0),s=r.cellsInRect(i).filter((e=>e!=t.pos-o));s.unshift(t.pos-o);const l=s.map((e=>{const t=n.nodeAt(e);if(!t)throw RangeError(`No cell with offset ${e} found`);const r=o+e+1;return new d.xm(a.resolve(r),a.resolve(r+t.content.size))}));super(l[0].$from,l[0].$to,l),this.$anchorCell=e,this.$headCell=t}map(t,n){const r=t.resolve(n.map(this.$anchorCell.pos)),o=t.resolve(n.map(this.$headCell.pos));if(dt(r)&&dt(o)&&ft(r,o)){const t=this.$anchorCell.node(-1)!=r.node(-1);return t&&this.isRowSelection()?e.rowSelection(r,o):t&&this.isColSelection()?e.colSelection(r,o):new e(r,o)}return d.Bs.between(r,o)}content(){const e=this.$anchorCell.node(-1),t=ot.get(e),n=this.$anchorCell.start(-1),r=t.rectBetween(this.$anchorCell.pos-n,this.$headCell.pos-n),o={},i=[];for(let s=r.top;s<r.bottom;s++){const n=[];for(let i=s*t.width+r.left,a=r.left;a<r.right;a++,i++){const a=t.map[i];if(o[a])continue;o[a]=!0;const s=t.findCell(a);let l=e.nodeAt(a);if(!l)throw RangeError(`No cell with offset ${a} found`);const c=r.left-s.left,u=s.right-r.right;if(c>0||u>0){let e=l.attrs;if(c>0&&(e=ht(e,0,c)),u>0&&(e=ht(e,e.colspan-u,u)),s.left<r.left){if(l=l.type.createAndFill(e),!l)throw RangeError(`Could not create cell with attrs ${JSON.stringify(e)}`)}else l=l.type.create(e,l.content)}if(s.top<r.top||s.bottom>r.bottom){const e={...l.attrs,rowspan:Math.min(s.bottom,r.bottom)-Math.max(s.top,r.top)};l=s.top<r.top?l.type.createAndFill(e):l.type.create(e,l.content)}n.push(l)}i.push(e.child(s).copy(tt.HY.from(n)))}const a=this.isColSelection()&&this.isRowSelection()?e:i;return new tt.p2(tt.HY.from(a),1,1)}replace(e,t=tt.p2.empty){const n=e.steps.length,r=this.ranges;for(let i=0;i<r.length;i++){const{$from:o,$to:a}=r[i],s=e.mapping.slice(n);e.replace(s.map(o.pos),s.map(a.pos),i?tt.p2.empty:t)}const o=d.Y1.findFrom(e.doc.resolve(e.mapping.slice(n).map(this.to)),-1);o&&e.setSelection(o)}replaceWith(e,t){this.replace(e,new tt.p2(tt.HY.from(t),0,0))}forEachCell(e){const t=this.$anchorCell.node(-1),n=ot.get(t),r=this.$anchorCell.start(-1),o=n.cellsInRect(n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r));for(let i=0;i<o.length;i++)e(t.nodeAt(o[i]),r+o[i])}isColSelection(){const e=this.$anchorCell.index(-1),t=this.$headCell.index(-1);if(Math.min(e,t)>0)return!1;const n=e+this.$anchorCell.nodeAfter.attrs.rowspan,r=t+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(n,r)==this.$headCell.node(-1).childCount}static colSelection(t,n=t){const r=t.node(-1),o=ot.get(r),i=t.start(-1),a=o.findCell(t.pos-i),s=o.findCell(n.pos-i),l=t.node(0);return a.top<=s.top?(a.top>0&&(t=l.resolve(i+o.map[a.left])),s.bottom<o.height&&(n=l.resolve(i+o.map[o.width*(o.height-1)+s.right-1]))):(s.top>0&&(n=l.resolve(i+o.map[s.left])),a.bottom<o.height&&(t=l.resolve(i+o.map[o.width*(o.height-1)+a.right-1]))),new e(t,n)}isRowSelection(){const e=this.$anchorCell.node(-1),t=ot.get(e),n=this.$anchorCell.start(-1),r=t.colCount(this.$anchorCell.pos-n),o=t.colCount(this.$headCell.pos-n);if(Math.min(r,o)>0)return!1;const i=r+this.$anchorCell.nodeAfter.attrs.colspan,a=o+this.$headCell.nodeAfter.attrs.colspan;return Math.max(i,a)==t.width}eq(t){return t instanceof e&&t.$anchorCell.pos==this.$anchorCell.pos&&t.$headCell.pos==this.$headCell.pos}static rowSelection(t,n=t){const r=t.node(-1),o=ot.get(r),i=t.start(-1),a=o.findCell(t.pos-i),s=o.findCell(n.pos-i),l=t.node(0);return a.left<=s.left?(a.left>0&&(t=l.resolve(i+o.map[a.top*o.width])),s.right<o.width&&(n=l.resolve(i+o.map[o.width*(s.top+1)-1]))):(s.left>0&&(n=l.resolve(i+o.map[s.top*o.width])),a.right<o.width&&(t=l.resolve(i+o.map[o.width*(a.top+1)-1]))),new e(t,n)}toJSON(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}}static fromJSON(t,n){return new e(t.resolve(n.anchor),t.resolve(n.head))}static create(t,n,r=n){return new e(t.resolve(n),t.resolve(r))}getBookmark(){return new vt(this.$anchorCell.pos,this.$headCell.pos)}};gt.prototype.visible=!1,d.Y1.jsonID("cell",gt);var vt=class e{constructor(e,t){this.anchor=e,this.head=t}map(t){return new e(t.map(this.anchor),t.map(this.head))}resolve(e){const t=e.resolve(this.anchor),n=e.resolve(this.head);return"row"==t.parent.type.spec.tableRole&&"row"==n.parent.type.spec.tableRole&&t.index()<t.parent.childCount&&n.index()<n.parent.childCount&&ft(t,n)?new gt(t,n):d.Y1.near(n,1)}};function yt(e){if(!(e.selection instanceof gt))return null;const t=[];return e.selection.forEachCell(((e,n)=>{t.push(f.p.node(n,n+e.nodeSize,{class:"selectedCell"}))})),f.EH.create(e.doc,t)}var bt=new d.H$("fix-tables");function wt(e,t,n,r){const o=e.childCount,i=t.childCount;e:for(let a=0,s=0;a<i;a++){const i=t.child(a);for(let t=s,r=Math.min(o,a+3);t<r;t++)if(e.child(t)==i){s=t+1,n+=i.nodeSize;continue e}r(i,n),s<o&&e.child(s).sameMarkup(i)?wt(e.child(s),i,n+1,r):i.nodesBetween(0,i.content.size,r,n+1),n+=i.nodeSize}}function Ct(e,t){let n;const r=(t,r)=>{"table"==t.type.spec.tableRole&&(n=function(e,t,n,r){const o=ot.get(t);if(!o.problems)return r;r||(r=e.tr);const i=[];for(let l=0;l<o.height;l++)i.push(0);for(let l=0;l<o.problems.length;l++){const e=o.problems[l];if("collision"==e.type){const o=t.nodeAt(e.pos);if(!o)continue;const a=o.attrs;for(let t=0;t<a.rowspan;t++)i[e.row+t]+=e.n;r.setNodeMarkup(r.mapping.map(n+1+e.pos),null,ht(a,a.colspan-e.n,e.n))}else if("missing"==e.type)i[e.row]+=e.n;else if("overlong_rowspan"==e.type){const o=t.nodeAt(e.pos);if(!o)continue;r.setNodeMarkup(r.mapping.map(n+1+e.pos),null,{...o.attrs,rowspan:o.attrs.rowspan-e.n})}else if("colwidth mismatch"==e.type){const o=t.nodeAt(e.pos);if(!o)continue;r.setNodeMarkup(r.mapping.map(n+1+e.pos),null,{...o.attrs,colwidth:e.colwidth})}}let a,s;for(let l=0;l<i.length;l++)i[l]&&(null==a&&(a=l),s=l);for(let l=0,c=n+1;l<o.height;l++){const n=t.child(l),o=c+n.nodeSize,u=i[l];if(u>0){let t="cell";n.firstChild&&(t=n.firstChild.type.spec.tableRole);const i=[];for(let n=0;n<u;n++){const n=at(e.schema)[t].createAndFill();n&&i.push(n)}const d=0!=l&&a!=l-1||s!=l?o-1:c+1;r.insert(r.mapping.map(d),i)}c=o}return r.setMeta(bt,{fixTables:!0})}(e,t,r,n))};return t?t.doc!=e.doc&&wt(t.doc,e.doc,0,r):e.doc.descendants(r),n}function xt(e){const t=e.selection,n=ut(e),r=n.node(-1),o=n.start(-1),i=ot.get(r);return{...t instanceof gt?i.rectBetween(t.$anchorCell.pos-o,t.$headCell.pos-o):i.findCell(n.pos-o),tableStart:o,map:i,table:r}}function kt(e,{map:t,tableStart:n,table:r},o){let i=o>0?-1:0;(function(e,t,n){const r=at(t.type.schema).header_cell;for(let o=0;o<e.height;o++)if(t.nodeAt(e.map[n+o*e.width]).type!=r)return!1;return!0})(t,r,o+i)&&(i=0==o||o==t.width?null:0);for(let a=0;a<t.height;a++){const s=a*t.width+o;if(o>0&&o<t.width&&t.map[s-1]==t.map[s]){const i=t.map[s],l=r.nodeAt(i);e.setNodeMarkup(e.mapping.map(n+i),null,mt(l.attrs,o-t.colCount(i))),a+=l.attrs.rowspan-1}else{const l=null==i?at(r.type.schema).cell:r.nodeAt(t.map[s+i]).type,c=t.positionAt(a,o,r);e.insert(e.mapping.map(n+c),l.createAndFill())}}return e}function _t(e,{map:t,table:n,tableStart:r},o){const i=e.mapping.maps.length;for(let a=0;a<t.height;){const s=a*t.width+o,l=t.map[s],c=n.nodeAt(l),u=c.attrs;if(o>0&&t.map[s-1]==l||o<t.width-1&&t.map[s+1]==l)e.setNodeMarkup(e.mapping.slice(i).map(r+l),null,ht(u,o-t.colCount(l)));else{const t=e.mapping.slice(i).map(r+l);e.delete(t,t+c.nodeSize)}a+=u.rowspan}}function St(e,{map:t,tableStart:n,table:r},o){var i;let a=n;for(let c=0;c<o;c++)a+=r.child(c).nodeSize;const s=[];let l=o>0?-1:0;(function(e,t,n){var r;const o=at(t.type.schema).header_cell;for(let i=0;i<e.width;i++)if((null==(r=t.nodeAt(e.map[i+n*e.width]))?void 0:r.type)!=o)return!1;return!0})(t,r,o+l)&&(l=0==o||o==t.height?null:0);for(let c=0,u=t.width*o;c<t.width;c++,u++)if(o>0&&o<t.height&&t.map[u]==t.map[u-t.width]){const o=t.map[u],i=r.nodeAt(o).attrs;e.setNodeMarkup(n+o,null,{...i,rowspan:i.rowspan+1}),c+=i.colspan-1}else{const e=null==l?at(r.type.schema).cell:null==(i=r.nodeAt(t.map[u+l*t.width]))?void 0:i.type,n=null==e?void 0:e.createAndFill();n&&s.push(n)}return e.insert(a,at(r.type.schema).row.create(null,s)),e}function Et(e,{map:t,table:n,tableStart:r},o){let i=0;for(let c=0;c<o;c++)i+=n.child(c).nodeSize;const a=i+n.child(o).nodeSize,s=e.mapping.maps.length;e.delete(i+r,a+r);const l=new Set;for(let c=0,u=o*t.width;c<t.width;c++,u++){const i=t.map[u];if(!l.has(i))if(l.add(i),o>0&&i==t.map[u-t.width]){const t=n.nodeAt(i).attrs;e.setNodeMarkup(e.mapping.slice(s).map(i+r),null,{...t,rowspan:t.rowspan-1}),c+=t.colspan-1}else if(o<t.height&&i==t.map[u+t.width]){const a=n.nodeAt(i),l=a.attrs,u=a.type.create({...l,rowspan:a.attrs.rowspan-1},a.content),d=t.positionAt(o+1,c,n);e.insert(e.mapping.slice(s).map(r+d),u),c+=l.colspan-1}}}function Mt(e){const t=e.content;return 1==t.childCount&&t.child(0).isTextblock&&0==t.child(0).childCount}function Lt(e,t){const n=e.selection;if(!(n instanceof gt)||n.$anchorCell.pos==n.$headCell.pos)return!1;const r=xt(e),{map:o}=r;if(function({width:e,height:t,map:n},r){let o=r.top*e+r.left,i=o,a=(r.bottom-1)*e+r.left,s=o+(r.right-r.left-1);for(let l=r.top;l<r.bottom;l++){if(r.left>0&&n[i]==n[i-1]||r.right<e&&n[s]==n[s+1])return!0;i+=e,s+=e}for(let l=r.left;l<r.right;l++){if(r.top>0&&n[o]==n[o-e]||r.bottom<t&&n[a]==n[a+e])return!0;o++,a++}return!1}(o,r))return!1;if(t){const n=e.tr,i={};let a,s,l=tt.HY.empty;for(let e=r.top;e<r.bottom;e++)for(let t=r.left;t<r.right;t++){const c=o.map[e*o.width+t],u=r.table.nodeAt(c);if(!i[c]&&u)if(i[c]=!0,null==a)a=c,s=u;else{Mt(u)||(l=l.append(u.content));const e=n.mapping.map(c+r.tableStart);n.delete(e,e+u.nodeSize)}}if(null==a||null==s)return!0;if(n.setNodeMarkup(a+r.tableStart,null,{...mt(s.attrs,s.attrs.colspan,r.right-r.left-s.attrs.colspan),rowspan:r.bottom-r.top}),l.size){const e=a+1+s.content.size,t=Mt(s)?a+1:e;n.replaceWith(t+r.tableStart,e+r.tableStart,l)}n.setSelection(new gt(n.doc.resolve(a+r.tableStart))),t(n)}return!0}function Nt(e,t){const n=at(e.schema);return(r=({node:e})=>n[e.type.spec.tableRole],(e,t)=>{var n;const o=e.selection;let i,a;if(o instanceof gt){if(o.$anchorCell.pos!=o.$headCell.pos)return!1;i=o.$anchorCell.nodeAfter,a=o.$anchorCell.pos}else{if(i=function(e){for(let t=e.depth;t>0;t--){const n=e.node(t).type.spec.tableRole;if("cell"===n||"header_cell"===n)return e.node(t)}return null}(o.$from),!i)return!1;a=null==(n=lt(o.$from))?void 0:n.pos}if(null==i||null==a)return!1;if(1==i.attrs.colspan&&1==i.attrs.rowspan)return!1;if(t){let n=i.attrs;const s=[],l=n.colwidth;n.rowspan>1&&(n={...n,rowspan:1}),n.colspan>1&&(n={...n,colspan:1});const c=xt(e),u=e.tr;for(let e=0;e<c.right-c.left;e++)s.push(l?{...n,colwidth:l&&l[e]?[l[e]]:null}:n);let d;for(let e=c.top;e<c.bottom;e++){let t=c.map.positionAt(e,c.left,c.table);e==c.top&&(t+=i.nodeSize);for(let n=c.left,o=0;n<c.right;n++,o++)n==c.left&&e==c.top||u.insert(d=u.mapping.map(t+c.tableStart,1),r({node:i,row:e,col:n}).createAndFill(s[o]))}u.setNodeMarkup(a,r({node:i,row:c.top,col:c.left}),s[0]),o instanceof gt&&u.setSelection(new gt(u.doc.resolve(o.$anchorCell.pos),d?u.doc.resolve(d):void 0)),t(u)}return!0})(e,t);var r}function Ot(e,t,n){const r=t.map.cellsInRect({left:0,top:0,right:"row"==e?t.map.width:1,bottom:"column"==e?t.map.height:1});for(let o=0;o<r.length;o++){const e=t.table.nodeAt(r[o]);if(e&&e.type!==n.header_cell)return!1}return!0}function At(e,t){return(t=t||{useDeprecatedLogic:!1}).useDeprecatedLogic?function(e){return function(t,n){if(!ct(t))return!1;if(n){const r=at(t.schema),o=xt(t),i=t.tr,a=o.map.cellsInRect("column"==e?{left:o.left,top:0,right:o.right,bottom:o.map.height}:"row"==e?{left:0,top:o.top,right:o.map.width,bottom:o.bottom}:o),s=a.map((e=>o.table.nodeAt(e)));for(let e=0;e<a.length;e++)s[e].type==r.header_cell&&i.setNodeMarkup(o.tableStart+a[e],r.cell,s[e].attrs);if(0==i.steps.length)for(let e=0;e<a.length;e++)i.setNodeMarkup(o.tableStart+a[e],r.header_cell,s[e].attrs);n(i)}return!0}}(e):function(t,n){if(!ct(t))return!1;if(n){const r=at(t.schema),o=xt(t),i=t.tr,a=Ot("row",o,r),s=Ot("column",o,r),l=("column"===e?a:"row"===e&&s)?1:0,c="column"==e?{left:0,top:l,right:1,bottom:o.map.height}:"row"==e?{left:l,top:0,right:o.map.width,bottom:1}:o,u="column"==e?s?r.cell:r.header_cell:"row"==e?a?r.cell:r.header_cell:r.cell;o.map.cellsInRect(c).forEach((e=>{const t=e+o.tableStart,n=i.doc.nodeAt(t);n&&i.setNodeMarkup(t,u,n.attrs)})),n(i)}return!0}}At("row",{useDeprecatedLogic:!0}),At("column",{useDeprecatedLogic:!0});var jt=At("cell",{useDeprecatedLogic:!0});function Tt(e){return function(t,n){if(!ct(t))return!1;const r=function(e,t){if(t<0){const t=e.nodeBefore;if(t)return e.pos-t.nodeSize;for(let n=e.index(-1)-1,r=e.before();n>=0;n--){const t=e.node(-1).child(n),o=t.lastChild;if(o)return r-1-o.nodeSize;r-=t.nodeSize}}else{if(e.index()<e.parent.childCount-1)return e.pos+e.nodeAfter.nodeSize;const t=e.node(-1);for(let n=e.indexAfter(-1),r=e.after();n<t.childCount;n++){const e=t.child(n);if(e.childCount)return r+1;r+=e.nodeSize}}return null}(ut(t),e);if(null==r)return!1;if(n){const e=t.doc.resolve(r);n(t.tr.setSelection(d.Bs.between(e,(o=e,o.node(0).resolve(o.pos+o.nodeAfter.nodeSize)))).scrollIntoView())}var o;return!0}}function Zt(e,t){const n=e.selection;if(!(n instanceof gt))return!1;if(t){const r=e.tr,o=at(e.schema).cell.createAndFill().content;n.forEachCell(((e,t)=>{e.content.eq(o)||r.replace(r.mapping.map(t+1),r.mapping.map(t+e.nodeSize-1),new tt.p2(o,0,0))})),r.docChanged&&t(r)}return!0}function Pt(e){if(!e.size)return null;let{content:t,openStart:n,openEnd:r}=e;for(;1==t.childCount&&(n>0&&r>0||"table"==t.child(0).type.spec.tableRole);)n--,r--,t=t.child(0).content;const o=t.child(0),i=o.type.spec.tableRole,a=o.type.schema,s=[];if("row"==i)for(let l=0;l<t.childCount;l++){let e=t.child(l).content;const o=l?0:Math.max(0,n-1),i=l<t.childCount-1?0:Math.max(0,r-1);(o||i)&&(e=Rt(at(a).row,new tt.p2(e,o,i)).content),s.push(e)}else{if("cell"!=i&&"header_cell"!=i)return null;s.push(n||r?Rt(at(a).row,new tt.p2(t,n,r)).content:t)}return function(e,t){const n=[];for(let o=0;o<t.length;o++){const e=t[o];for(let t=e.childCount-1;t>=0;t--){const{rowspan:r,colspan:i}=e.child(t).attrs;for(let e=o;e<o+r;e++)n[e]=(n[e]||0)+i}}let r=0;for(let o=0;o<n.length;o++)r=Math.max(r,n[o]);for(let o=0;o<n.length;o++)if(o>=t.length&&t.push(tt.HY.empty),n[o]<r){const i=at(e).cell.createAndFill(),a=[];for(let e=n[o];e<r;e++)a.push(i);t[o]=t[o].append(tt.HY.from(a))}return{height:t.length,width:r,rows:t}}(a,s)}function Rt(e,t){const n=e.createAndFill();return new rt.wx(n).replace(0,n.content.size,t).doc}function It(e,t,n,r,o,i,a,s){if(0==a||a==t.height)return!1;let l=!1;for(let c=o;c<i;c++){const o=a*t.width+c,i=t.map[o];if(t.map[o-t.width]==i){l=!0;const o=n.nodeAt(i),{top:u,left:d}=t.findCell(i);e.setNodeMarkup(e.mapping.slice(s).map(i+r),null,{...o.attrs,rowspan:a-u}),e.insert(e.mapping.slice(s).map(t.positionAt(a,d,n)),o.type.createAndFill({...o.attrs,rowspan:u+o.attrs.rowspan-a})),c+=o.attrs.colspan-1}}return l}function Dt(e,t,n,r,o,i,a,s){if(0==a||a==t.width)return!1;let l=!1;for(let c=o;c<i;c++){const o=c*t.width+a,i=t.map[o];if(t.map[o-1]==i){l=!0;const o=n.nodeAt(i),u=t.colCount(i),d=e.mapping.slice(s).map(i+r);e.setNodeMarkup(d,null,ht(o.attrs,a-u,o.attrs.colspan-(a-u))),e.insert(d+o.nodeSize,o.type.createAndFill(ht(o.attrs,0,a-u))),c+=o.attrs.rowspan-1}}return l}function zt(e,t,n,r,o){let i=n?e.doc.nodeAt(n-1):e.doc;if(!i)throw new Error("No table found");let a=ot.get(i);const{top:s,left:l}=r,c=l+o.width,u=s+o.height,d=e.tr;let f=0;function p(){if(i=n?d.doc.nodeAt(n-1):d.doc,!i)throw new Error("No table found");a=ot.get(i),f=d.mapping.maps.length}(function(e,t,n,r,o,i,a){const s=at(e.doc.type.schema);let l,c;if(o>t.width)for(let u=0,d=0;u<t.height;u++){const i=n.child(u);d+=i.nodeSize;const f=[];let p;p=null==i.lastChild||i.lastChild.type==s.cell?l||(l=s.cell.createAndFill()):c||(c=s.header_cell.createAndFill());for(let e=t.width;e<o;e++)f.push(p);e.insert(e.mapping.slice(a).map(d-1+r),f)}if(i>t.height){const u=[];for(let e=0,r=(t.height-1)*t.width;e<Math.max(t.width,o);e++){const o=!(e>=t.width)&&n.nodeAt(t.map[r+e]).type==s.header_cell;u.push(o?c||(c=s.header_cell.createAndFill()):l||(l=s.cell.createAndFill()))}const d=s.row.create(null,tt.HY.from(u)),f=[];for(let e=t.height;e<i;e++)f.push(d);e.insert(e.mapping.slice(a).map(r+n.nodeSize-2),f)}return!(!l&&!c)})(d,a,i,n,c,u,f)&&p(),It(d,a,i,n,l,c,s,f)&&p(),It(d,a,i,n,l,c,u,f)&&p(),Dt(d,a,i,n,s,u,l,f)&&p(),Dt(d,a,i,n,s,u,c,f)&&p();for(let h=s;h<u;h++){const e=a.positionAt(h,l,i),t=a.positionAt(h,c,i);d.replace(d.mapping.slice(f).map(e+n),d.mapping.slice(f).map(t+n),new tt.p2(o.rows[h-s],0,0))}p(),d.setSelection(new gt(d.doc.resolve(n+a.positionAt(s,l,i)),d.doc.resolve(n+a.positionAt(u-1,c-1,i)))),t(d)}var Ht=(0,nt.$)({ArrowLeft:Ft("horiz",-1),ArrowRight:Ft("horiz",1),ArrowUp:Ft("vert",-1),ArrowDown:Ft("vert",1),"Shift-ArrowLeft":Vt("horiz",-1),"Shift-ArrowRight":Vt("horiz",1),"Shift-ArrowUp":Vt("vert",-1),"Shift-ArrowDown":Vt("vert",1),Backspace:Zt,"Mod-Backspace":Zt,Delete:Zt,"Mod-Delete":Zt});function Bt(e,t,n){return!n.eq(e.selection)&&(t&&t(e.tr.setSelection(n).scrollIntoView()),!0)}function Ft(e,t){return(n,r,o)=>{if(!o)return!1;const i=n.selection;if(i instanceof gt)return Bt(n,r,d.Y1.near(i.$headCell,t));if("horiz"!=e&&!i.empty)return!1;const a=Wt(o,e,t);if(null==a)return!1;if("horiz"==e)return Bt(n,r,d.Y1.near(n.doc.resolve(i.head+t),t));{const o=n.doc.resolve(a),i=pt(o,e,t);let s;return s=i?d.Y1.near(i,1):t<0?d.Y1.near(n.doc.resolve(o.before(-1)),-1):d.Y1.near(n.doc.resolve(o.after(-1)),1),Bt(n,r,s)}}}function Vt(e,t){return(n,r,o)=>{if(!o)return!1;const i=n.selection;let a;if(i instanceof gt)a=i;else{const r=Wt(o,e,t);if(null==r)return!1;a=new gt(n.doc.resolve(r))}const s=pt(a.$headCell,e,t);return!!s&&Bt(n,r,new gt(a.$anchorCell,s))}}function qt(e,t){const n=lt(e.state.doc.resolve(t));return!!n&&(e.dispatch(e.state.tr.setSelection(new gt(n))),!0)}function Ut(e,t,n){if(!ct(e.state))return!1;let r=Pt(n);const o=e.state.selection;if(o instanceof gt){r||(r={width:1,height:1,rows:[tt.HY.from(Rt(at(e.state.schema).cell,n))]});const t=o.$anchorCell.node(-1),i=o.$anchorCell.start(-1),a=ot.get(t).rectBetween(o.$anchorCell.pos-i,o.$headCell.pos-i);return r=function({width:e,height:t,rows:n},r,o){if(e!=r){const t=[],o=[];for(let e=0;e<n.length;e++){const i=n[e],a=[];for(let n=t[e]||0,o=0;n<r;o++){let s=i.child(o%i.childCount);n+s.attrs.colspan>r&&(s=s.type.createChecked(ht(s.attrs,s.attrs.colspan,n+s.attrs.colspan-r),s.content)),a.push(s),n+=s.attrs.colspan;for(let n=1;n<s.attrs.rowspan;n++)t[e+n]=(t[e+n]||0)+s.attrs.colspan}o.push(tt.HY.from(a))}n=o,e=r}if(t!=o){const e=[];for(let r=0,i=0;r<o;r++,i++){const a=[],s=n[i%t];for(let e=0;e<s.childCount;e++){let t=s.child(e);r+t.attrs.rowspan>o&&(t=t.type.create({...t.attrs,rowspan:Math.max(1,o-t.attrs.rowspan)},t.content)),a.push(t)}e.push(tt.HY.from(a))}n=e,t=o}return{width:e,height:t,rows:n}}(r,a.right-a.left,a.bottom-a.top),zt(e.state,e.dispatch,i,a,r),!0}if(r){const t=ut(e.state),n=t.start(-1);return zt(e.state,e.dispatch,n,ot.get(t.node(-1)).findCell(t.pos-n),r),!0}return!1}function $t(e,t){var n;if(t.ctrlKey||t.metaKey)return;const r=Kt(e,t.target);let o;if(t.shiftKey&&e.state.selection instanceof gt)i(e.state.selection.$anchorCell,t),t.preventDefault();else if(t.shiftKey&&r&&null!=(o=lt(e.state.selection.$anchor))&&(null==(n=Gt(e,t))?void 0:n.pos)!=o.pos)i(o,t),t.preventDefault();else if(!r)return;function i(t,n){let r=Gt(e,n);const o=null==st.getState(e.state);if(!r||!ft(t,r)){if(!o)return;r=t}const i=new gt(t,r);if(o||!e.state.selection.eq(i)){const n=e.state.tr.setSelection(i);o&&n.setMeta(st,t.pos),e.dispatch(n)}}function a(){e.root.removeEventListener("mouseup",a),e.root.removeEventListener("dragstart",a),e.root.removeEventListener("mousemove",s),null!=st.getState(e.state)&&e.dispatch(e.state.tr.setMeta(st,-1))}function s(n){const o=n,s=st.getState(e.state);let l;if(null!=s)l=e.state.doc.resolve(s);else if(Kt(e,o.target)!=r&&(l=Gt(e,t),!l))return a();l&&i(l,o)}e.root.addEventListener("mouseup",a),e.root.addEventListener("dragstart",a),e.root.addEventListener("mousemove",s)}function Wt(e,t,n){if(!(e.state.selection instanceof d.Bs))return null;const{$head:r}=e.state.selection;for(let o=r.depth-1;o>=0;o--){const i=r.node(o);if((n<0?r.index(o):r.indexAfter(o))!=(n<0?0:i.childCount))return null;if("cell"==i.type.spec.tableRole||"header_cell"==i.type.spec.tableRole){const i=r.before(o),a="vert"==t?n>0?"down":"up":n>0?"right":"left";return e.endOfTextblock(a)?i:null}}return null}function Kt(e,t){for(;t&&t!=e.dom;t=t.parentNode)if("TD"==t.nodeName||"TH"==t.nodeName)return t;return null}function Gt(e,t){const n=e.posAtCoords({left:t.clientX,top:t.clientY});return n&&n?lt(e.state.doc.resolve(n.pos)):null}var Yt=class{constructor(e,t){this.node=e,this.defaultCellMinWidth=t,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.colgroup=this.table.appendChild(document.createElement("colgroup")),Jt(e,this.colgroup,this.table,t),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type==this.node.type&&(this.node=e,Jt(e,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(e){return"attributes"==e.type&&(e.target==this.table||this.colgroup.contains(e.target))}};function Jt(e,t,n,r,o,i){var a;let s=0,l=!0,c=t.firstChild;const u=e.firstChild;if(u){for(let e=0,n=0;e<u.childCount;e++){const{colspan:a,colwidth:d}=u.child(e).attrs;for(let e=0;e<a;e++,n++){const a=o==n?i:d&&d[e],u=a?a+"px":"";if(s+=a||r,a||(l=!1),c)c.style.width!=u&&(c.style.width=u,c.style.minWidth=u.length?"":r+"px"),c=c.nextSibling;else{const e=document.createElement("col");e.style.width=u,e.style.minWidth=u.length?"":r+"px",t.appendChild(e)}}}for(;c;){const e=c.nextSibling;null==(a=c.parentNode)||a.removeChild(c),c=e}l?(n.style.width=s+"px",n.style.minWidth=""):(n.style.width="",n.style.minWidth=s+"px")}}var Xt=new d.H$("tableColumnResizing");function Qt({handleWidth:e=5,cellMinWidth:t=25,defaultCellMinWidth:n=100,View:r=Yt,lastColumnResizable:o=!0}={}){const i=new d.Sy({key:Xt,state:{init(e,t){var o,a;const s=null==(a=null==(o=i.spec)?void 0:o.props)?void 0:a.nodeViews,l=at(t.schema).table.name;return r&&s&&(s[l]=(e,t)=>new r(e,n,t)),new en(-1,!1)},apply:(e,t)=>t.apply(e)},props:{attributes:e=>{const t=Xt.getState(e);return t&&t.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(t,n)=>{!function(e,t,n,r){const o=Xt.getState(e.state);if(!o)return;if(!o.dragging){const i=function(e){for(;e&&"TD"!=e.nodeName&&"TH"!=e.nodeName;)e=e.classList&&e.classList.contains("ProseMirror")?null:e.parentNode;return e}(t.target);let a=-1;if(i){const{left:r,right:o}=i.getBoundingClientRect();t.clientX-r<=n?a=tn(e,t,"left",n):o-t.clientX<=n&&(a=tn(e,t,"right",n))}if(a!=o.activeHandle){if(!r&&-1!==a){const t=e.state.doc.resolve(a),n=t.node(-1),r=ot.get(n),o=t.start(-1);if(r.colCount(t.pos-o)+t.nodeAfter.attrs.colspan-1==r.width-1)return}rn(e,a)}}}(t,n,e,o)},mouseleave:e=>{!function(e){const t=Xt.getState(e.state);t&&t.activeHandle>-1&&!t.dragging&&rn(e,-1)}(e)},mousedown:(e,r)=>{!function(e,t,n,r){var o;const i=null!=(o=e.dom.ownerDocument.defaultView)?o:window,a=Xt.getState(e.state);if(!a||-1==a.activeHandle||a.dragging)return!1;const s=e.state.doc.nodeAt(a.activeHandle),l=function(e,t,{colspan:n,colwidth:r}){const o=r&&r[r.length-1];if(o)return o;const i=e.domAtPos(t);let a=i.node.childNodes[i.offset].offsetWidth,s=n;if(r)for(let l=0;l<n;l++)r[l]&&(a-=r[l],s--);return a/s}(e,a.activeHandle,s.attrs);function c(t){i.removeEventListener("mouseup",c),i.removeEventListener("mousemove",u);const r=Xt.getState(e.state);(null==r?void 0:r.dragging)&&(!function(e,t,n){const r=e.state.doc.resolve(t),o=r.node(-1),i=ot.get(o),a=r.start(-1),s=i.colCount(r.pos-a)+r.nodeAfter.attrs.colspan-1,l=e.state.tr;for(let c=0;c<i.height;c++){const e=c*i.width+s;if(c&&i.map[e]==i.map[e-i.width])continue;const t=i.map[e],r=o.nodeAt(t).attrs,u=1==r.colspan?0:s-i.colCount(t);if(r.colwidth&&r.colwidth[u]==n)continue;const d=r.colwidth?r.colwidth.slice():on(r.colspan);d[u]=n,l.setNodeMarkup(a+t,null,{...r,colwidth:d})}l.docChanged&&e.dispatch(l)}(e,r.activeHandle,nn(r.dragging,t,n)),e.dispatch(e.state.tr.setMeta(Xt,{setDragging:null})))}function u(t){if(!t.which)return c(t);const o=Xt.getState(e.state);if(o&&o.dragging){const i=nn(o.dragging,t,n);!function(e,t,n,r){const o=e.state.doc.resolve(t),i=o.node(-1),a=o.start(-1),s=ot.get(i).colCount(o.pos-a)+o.nodeAfter.attrs.colspan-1;let l=e.domAtPos(o.start(-1)).node;for(;l&&"TABLE"!=l.nodeName;)l=l.parentNode;if(!l)return;Jt(i,l.firstChild,l,r,s,n)}(e,o.activeHandle,i,r)}}e.dispatch(e.state.tr.setMeta(Xt,{setDragging:{startX:t.clientX,startWidth:l}})),i.addEventListener("mouseup",c),i.addEventListener("mousemove",u),t.preventDefault()}(e,r,t,n)}},decorations:e=>{const t=Xt.getState(e);if(t&&t.activeHandle>-1)return function(e,t){const n=[],r=e.doc.resolve(t),o=r.node(-1);if(!o)return f.EH.empty;const i=ot.get(o),a=r.start(-1),s=i.colCount(r.pos-a)+r.nodeAfter.attrs.colspan-1;for(let l=0;l<i.height;l++){const e=s+l*i.width;if((s==i.width-1||i.map[e]!=i.map[e+1])&&(0==l||i.map[e]!=i.map[e-i.width])){const t=i.map[e],r=a+t+o.nodeAt(t).nodeSize-1,s=document.createElement("div");s.className="column-resize-handle",n.push(f.p.widget(r,s))}}return f.EH.create(e.doc,n)}(e,t.activeHandle)},nodeViews:{}}});return i}var en=class e{constructor(e,t){this.activeHandle=e,this.dragging=t}apply(t){const n=this,r=t.getMeta(Xt);if(r&&null!=r.setHandle)return new e(r.setHandle,!1);if(r&&void 0!==r.setDragging)return new e(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&t.docChanged){let r=t.mapping.map(n.activeHandle,-1);return dt(t.doc.resolve(r))||(r=-1),new e(r,n.dragging)}return n}};function tn(e,t,n,r){const o="right"==n?-r:r,i=e.posAtCoords({left:t.clientX+o,top:t.clientY});if(!i)return-1;const{pos:a}=i,s=lt(e.state.doc.resolve(a));if(!s)return-1;if("right"==n)return s.pos;const l=ot.get(s.node(-1)),c=s.start(-1),u=l.map.indexOf(s.pos-c);return u%l.width==0?-1:c+l.map[u-1]}function nn(e,t,n){const r=t.clientX-e.startX;return Math.max(n,e.startWidth+r)}function rn(e,t){e.dispatch(e.state.tr.setMeta(Xt,{setHandle:t}))}function on(e){return Array(e).fill(0)}function an({allowTableNodeSelection:e=!1}={}){return new d.Sy({key:st,state:{init:()=>null,apply(e,t){const n=e.getMeta(st);if(null!=n)return-1==n?null:n;if(null==t||!e.docChanged)return t;const{deleted:r,pos:o}=e.mapping.mapResult(t);return r?null:o}},props:{decorations:yt,handleDOMEvents:{mousedown:$t},createSelectionBetween:e=>null!=st.getState(e.state)?e.state.selection:null,handleTripleClick:qt,handleKeyDown:Ht,handlePaste:Ut},appendTransaction:(t,n,r)=>function(e,t,n){const r=(t||e).selection,o=(t||e).doc;let i,a;if(r instanceof d.qv&&(a=r.node.type.spec.tableRole)){if("cell"==a||"header_cell"==a)i=gt.create(o,r.from);else if("row"==a){const e=o.resolve(r.from+1);i=gt.rowSelection(e,e)}else if(!n){const e=ot.get(r.node),t=r.from+1,n=t+e.map[e.width*e.height-1];i=gt.create(o,t+1,n)}}else r instanceof d.Bs&&function({$from:e,$to:t}){if(e.pos==t.pos||e.pos<t.pos-6)return!1;let n=e.pos,r=t.pos,o=e.depth;for(;o>=0&&!(e.after(o+1)<e.end(o));o--,n++);for(let i=t.depth;i>=0&&!(t.before(i+1)>t.start(i));i--,r--);return n==r&&/row|table/.test(e.node(o).type.spec.tableRole)}(r)?i=d.Bs.create(o,r.from):r instanceof d.Bs&&function({$from:e,$to:t}){let n,r;for(let o=e.depth;o>0;o--){const t=e.node(o);if("cell"===t.type.spec.tableRole||"header_cell"===t.type.spec.tableRole){n=t;break}}for(let o=t.depth;o>0;o--){const e=t.node(o);if("cell"===e.type.spec.tableRole||"header_cell"===e.type.spec.tableRole){r=e;break}}return n!==r&&0===t.parentOffset}(r)&&(i=d.Bs.create(o,r.$from.start(),r.$from.end()));return i&&(t||(t=e.tr)).setSelection(i),t}(r,Ct(r,n),e)})}function sn(e,t,n,r,o,i){let a=0,s=!0,l=t.firstChild;const c=e.firstChild;for(let u=0,d=0;u<c.childCount;u+=1){const{colspan:e,colwidth:n}=c.child(u).attrs;for(let c=0;c<e;c+=1,d+=1){const e=o===d?i:n&&n[c],u=e?`${e}px`:"";a+=e||r,e||(s=!1),l?(l.style.width!==u&&(l.style.width=u),l=l.nextSibling):t.appendChild(document.createElement("col")).style.width=u}}for(;l;){const e=l.nextSibling;l.parentNode.removeChild(l),l=e}s?(n.style.width=`${a}px`,n.style.minWidth=""):(n.style.width="",n.style.minWidth=`${a}px`)}class ln{constructor(e,t){this.node=e,this.cellMinWidth=t,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.colgroup=this.table.appendChild(document.createElement("colgroup")),sn(e,this.colgroup,this.table,t),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type===this.node.type&&(this.node=e,sn(e,this.colgroup,this.table,this.cellMinWidth),!0)}ignoreMutation(e){return"attributes"===e.type&&(e.target===this.table||this.colgroup.contains(e.target))}}function cn(e,t){return t?e.createChecked(null,t):e.createAndFill()}function un(e,t,n,r,o){const i=function(e){if(e.cached.tableNodeTypes)return e.cached.tableNodeTypes;const t={};return Object.keys(e.nodes).forEach((n=>{const r=e.nodes[n];r.spec.tableRole&&(t[r.spec.tableRole]=r)})),e.cached.tableNodeTypes=t,t}(e),a=[],s=[];for(let c=0;c<n;c+=1){const e=cn(i.cell,o);if(e&&s.push(e),r){const e=cn(i.header_cell,o);e&&a.push(e)}}const l=[];for(let c=0;c<t;c+=1)l.push(i.row.createChecked(null,r&&0===c?a:s));return i.table.createChecked(null,l)}const dn=({editor:e})=>{const{selection:t}=e.state;if(!(t instanceof gt))return!1;let n=0;const r=(0,l.qv)(t.ranges[0].$from,(e=>"table"===e.type.name));null===r||void 0===r||r.node.descendants((e=>{if("table"===e.type.name)return!1;["tableCell","tableHeader"].includes(e.type.name)&&(n+=1)}));return n===t.ranges.length&&(e.commands.deleteTable(),!0)},fn=l.NB.create({name:"table",addOptions:()=>({HTMLAttributes:{},resizable:!1,handleWidth:5,cellMinWidth:25,View:ln,lastColumnResizable:!0,allowTableNodeSelection:!1}),content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML:()=>[{tag:"table"}],renderHTML({node:e,HTMLAttributes:t}){const{colgroup:n,tableWidth:r,tableMinWidth:o}=function(e,t,n,r){let o=0,i=!0;const a=[],s=e.firstChild;if(!s)return{};for(let u=0,d=0;u<s.childCount;u+=1){const{colspan:e,colwidth:l}=s.child(u).attrs;for(let s=0;s<e;s+=1,d+=1){const e=n===d?r:l&&l[s],c=e?`${e}px`:"";o+=e||t,e||(i=!1),a.push(["col",c?{style:`width: ${c}`}:{}])}}const l=i?`${o}px`:"",c=i?"":`${o}px`;return{colgroup:["colgroup",{},...a],tableWidth:l,tableMinWidth:c}}(e,this.options.cellMinWidth);return["table",(0,l.P1)(this.options.HTMLAttributes,t,{style:r?`width: ${r}`:`min-width: ${o}`}),n,["tbody",0]]},addCommands:()=>({insertTable:({rows:e=3,cols:t=3,withHeaderRow:n=!0}={})=>({tr:r,dispatch:o,editor:i})=>{const a=un(i.schema,e,t,n);if(o){const e=r.selection.from+1;r.replaceSelectionWith(a).scrollIntoView().setSelection(d.Bs.near(r.doc.resolve(e)))}return!0},addColumnBefore:()=>({state:e,dispatch:t})=>function(e,t){if(!ct(e))return!1;if(t){const n=xt(e);t(kt(e.tr,n,n.left))}return!0}(e,t),addColumnAfter:()=>({state:e,dispatch:t})=>function(e,t){if(!ct(e))return!1;if(t){const n=xt(e);t(kt(e.tr,n,n.right))}return!0}(e,t),deleteColumn:()=>({state:e,dispatch:t})=>function(e,t){if(!ct(e))return!1;if(t){const n=xt(e),r=e.tr;if(0==n.left&&n.right==n.map.width)return!1;for(let e=n.right-1;_t(r,n,e),e!=n.left;e--){const e=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!e)throw RangeError("No table found");n.table=e,n.map=ot.get(e)}t(r)}return!0}(e,t),addRowBefore:()=>({state:e,dispatch:t})=>function(e,t){if(!ct(e))return!1;if(t){const n=xt(e);t(St(e.tr,n,n.top))}return!0}(e,t),addRowAfter:()=>({state:e,dispatch:t})=>function(e,t){if(!ct(e))return!1;if(t){const n=xt(e);t(St(e.tr,n,n.bottom))}return!0}(e,t),deleteRow:()=>({state:e,dispatch:t})=>function(e,t){if(!ct(e))return!1;if(t){const n=xt(e),r=e.tr;if(0==n.top&&n.bottom==n.map.height)return!1;for(let e=n.bottom-1;Et(r,n,e),e!=n.top;e--){const e=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!e)throw RangeError("No table found");n.table=e,n.map=ot.get(n.table)}t(r)}return!0}(e,t),deleteTable:()=>({state:e,dispatch:t})=>function(e,t){const n=e.selection.$anchor;for(let r=n.depth;r>0;r--)if("table"==n.node(r).type.spec.tableRole)return t&&t(e.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}(e,t),mergeCells:()=>({state:e,dispatch:t})=>Lt(e,t),splitCell:()=>({state:e,dispatch:t})=>Nt(e,t),toggleHeaderColumn:()=>({state:e,dispatch:t})=>At("column")(e,t),toggleHeaderRow:()=>({state:e,dispatch:t})=>At("row")(e,t),toggleHeaderCell:()=>({state:e,dispatch:t})=>jt(e,t),mergeOrSplit:()=>({state:e,dispatch:t})=>!!Lt(e,t)||Nt(e,t),setCellAttribute:(e,t)=>({state:n,dispatch:r})=>function(e,t){return function(n,r){if(!ct(n))return!1;const o=ut(n);if(o.nodeAfter.attrs[e]===t)return!1;if(r){const i=n.tr;n.selection instanceof gt?n.selection.forEachCell(((n,r)=>{n.attrs[e]!==t&&i.setNodeMarkup(r,null,{...n.attrs,[e]:t})})):i.setNodeMarkup(o.pos,null,{...o.nodeAfter.attrs,[e]:t}),r(i)}return!0}}(e,t)(n,r),goToNextCell:()=>({state:e,dispatch:t})=>Tt(1)(e,t),goToPreviousCell:()=>({state:e,dispatch:t})=>Tt(-1)(e,t),fixTables:()=>({state:e,dispatch:t})=>(t&&Ct(e),!0),setCellSelection:e=>({tr:t,dispatch:n})=>{if(n){const n=gt.create(t.doc,e.anchorCell,e.headCell);t.setSelection(n)}return!0}}),addKeyboardShortcuts(){return{Tab:()=>!!this.editor.commands.goToNextCell()||!!this.editor.can().addRowAfter()&&this.editor.chain().addRowAfter().goToNextCell().run(),"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:dn,"Mod-Backspace":dn,Delete:dn,"Mod-Delete":dn}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[Qt({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],an({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema(e){const t={name:e.name,options:e.options,storage:e.storage};return{tableRole:(0,l.nU)((0,l.Nl)(e,"tableRole",t))}}});var pn=n(13827),hn=n(82792),mn=n(11527),gn=n(50959);function vn(e){var t=e.node.attrs.language,n=e.updateAttributes,r=e.extension;return(0,mn.jsxs)(hn.T5,{className:"code-block",children:[(0,mn.jsxs)("select",{contentEditable:!1,defaultValue:t,onChange:function(e){return n({language:e.target.value})},children:[(0,mn.jsx)("option",{value:"null",children:"auto"}),(0,mn.jsx)("option",{disabled:!0,children:"\u2014"}),r.options.lowlight.listLanguages().map((function(e,t){return(0,mn.jsx)("option",{value:e,children:e},t)}))]}),(0,mn.jsx)("pre",{children:(0,mn.jsx)(hn.ms,{as:"code"})})]})}var yn=n(21289),bn=n(25460),wn=l.NB.create({name:"iframe",group:"block",atom:!0,addOptions:function(){return{allowFullscreen:!0,HTMLAttributes:{class:"iframe-wrapper"}}},addAttributes:function(){var e=this;return{src:{default:null},frameborder:{default:0},allowfullscreen:{default:this.options.allowFullscreen,parseHTML:function(){return e.options.allowFullscreen}}}},parseHTML:function(){return[{tag:"iframe"}]},renderHTML:function(e){var t=e.HTMLAttributes;return["div",this.options.HTMLAttributes,["iframe",t]]},addCommands:function(){var e=this;return{setIframe:function(t){return function(n){var r=n.tr,o=n.dispatch,i=r.selection,a=e.type.create(t);return o&&r.replaceRangeWith(i.from,i.to,a),!0}}}}}),Cn=l.NB.create({name:"audio",group:"block",atom:!0,addOptions:function(){return{allowFullscreen:!0,HTMLAttributes:{class:"audio-wrapper"}}},addAttributes:function(){return{src:{default:null},controls:{default:!0}}},parseHTML:function(){return[{tag:"audio"}]},renderHTML:function(e){var t=e.HTMLAttributes;return["div",this.options.HTMLAttributes,["audio",t]]},addCommands:function(){var e=this;return{setAudio:function(t){return function(n){var r=n.tr,o=n.dispatch,i=r.selection,a=e.type.create(t);return o&&r.replaceRangeWith(i.from,i.to,a),!0}}}}}),xn=n(53742),kn=n(47225),_n=n(54692),Sn=n(14391),En=n(5185);const Mn=({getId:e,headingType:t="heading"})=>new d.Sy({key:new d.H$("tableOfContent"),appendTransaction(n,r,o){const i=o.tr;let a=!1;if(n.some((e=>e.docChanged))){const n=[];o.doc.descendants(((r,o)=>{const s=r.attrs["data-toc-id"];if(r.type.name===t){if(null==s||n.includes(s)){let t="";t=e?e(r.textContent):(0,En.Z)(),i.setNodeMarkup(o,void 0,{...r.attrs,"data-toc-id":t,id:t}),a=!0}n.push(s)}}))}return a?i:null}}),Ln=(e,t)=>{const{editor:n}=t,r=[],o=[];let i=null;if(n.state.doc.descendants(((e,n)=>{e.type.name===(t.headingType||"heading")&&r.push({node:e,pos:n})})),r.forEach((e=>{const r=n.view.domAtPos(e.pos+1).node;t.storage.scrollPosition>=r.offsetTop&&(i=e.node.attrs["data-toc-id"],o.push(e.node.attrs["data-toc-id"]))})),e=e.map((e=>({...e,isActive:e.id===i,isScrolledOver:o.includes(e.id)}))),t.onUpdate){const n=0===t.storage.content.length;t.onUpdate(e,n)}return e},Nn=e=>{const{editor:t,onUpdate:n}=e,r=[];let o=[];const i=[];if(t.state.doc.descendants(((t,n)=>{t.type.name===(e.headingType||"heading")&&r.push({node:t,pos:n})})),r.forEach(((n,a)=>{var s,l;const c=t.view.domAtPos(n.pos+1).node,u=e.storage.scrollPosition>=c.offsetTop;i.push(c);let d=1,f=1;const p=n.node.attrs.level;if(!r[a-1])return void(o=[...o,{itemIndex:f,id:n.node.attrs["data-toc-id"],originalLevel:p,level:d,textContent:n.node.textContent,pos:n.pos,editor:t,isActive:!1,isScrolledOver:u,node:n.node,dom:c}]);const h=o,m=h.at(-1),g=[...h].reverse().find((e=>e.originalLevel<=n.node.attrs.level)),v=(null==g?void 0:g.level)||1;if(d=n.node.attrs.level>((null==m?void 0:m.originalLevel)||1)?((null==m?void 0:m.level)||1)+1:n.node.attrs.level<((null==m?void 0:m.originalLevel)||1)?v:(null==m?void 0:m.level)||1,e.linearIndexes)f=((null==m?void 0:m.itemIndex)||1)+1;else{const e=h.filter((e=>e.level<=d));f=(null===(s=e.at(-1))||void 0===s?void 0:s.level)===d?((null===(l=e.at(-1))||void 0===l?void 0:l.itemIndex)||1)+1:1}o=[...o,{itemIndex:f,id:n.node.attrs["data-toc-id"],originalLevel:p,level:d,textContent:n.node.textContent,pos:n.pos,editor:t,isActive:!1,isScrolledOver:!1,node:n.node,dom:c}]})),o=Ln(o,e),n){const t=0===e.storage.content.length;n(o,t)}e.storage.headlines=i,e.storage.content=o,t.state.tr.setMeta("toc",o),t.view.dispatch(t.state.tr)},On=l.hj.create({name:"tableOfContent",addStorage:()=>({content:[],headlines:[],scrollHandler:()=>null,scrollPosition:0}),addGlobalAttributes(){return[{types:[this.options.headingType||"heading"],attributes:{id:{default:null,renderHTML:e=>({id:e.id}),parseHTML:e=>e.id||null},"data-toc-id":{default:null,renderHTML:e=>({"data-toc-id":e["data-toc-id"]}),parseHTML:e=>e.dataset.tocId||null}}}]},addOptions:()=>({onUpdate:()=>{},getId:e=>(0,En.Z)(),linearIndexes:!1,scrollParent:"undefined"!=typeof window&&window||void 0,headingType:"heading"}),onUpdate(){var e;Nn({editor:this.editor,storage:this.storage,onUpdate:null===(e=this.options.onUpdate)||void 0===e?void 0:e.bind(this),linearIndexes:this.options.linearIndexes,headingType:this.options.headingType})},onCreate(){var e;const{tr:t}=this.editor.state,n=[];this.editor.state.doc.descendants(((e,r)=>{const o=e.attrs["data-toc-id"];if(e.type.name===this.options.headingType){if(null==o||n.includes(o)){let n="";n=this.options.getId?this.options.getId(e.textContent):(0,En.Z)(),t.setNodeMarkup(r,void 0,{...e.attrs,"data-toc-id":n,id:n})}n.push(o)}})),this.editor.view.dispatch(t),Nn({editor:this.editor,storage:this.storage,onUpdate:null===(e=this.options.onUpdate)||void 0===e?void 0:e.bind(this),linearIndexes:this.options.linearIndexes,headingType:this.options.headingType}),this.storage.scrollHandler=()=>{var e,t;const n=this.options.scrollParent instanceof HTMLElement?this.options.scrollParent.scrollTop:null===(e=this.options.scrollParent)||void 0===e?void 0:e.scrollY;this.storage.scrollPosition=n||0;const r=Ln(this.storage.content,{editor:this.editor,headingType:this.options.headingType,storage:this.storage,onUpdate:null===(t=this.options.onUpdate)||void 0===t?void 0:t.bind(this)});this.storage.content=r},this.options.scrollParent&&this.options.scrollParent.addEventListener("scroll",this.storage.scrollHandler)},onDestroy(){this.options.scrollParent&&this.options.scrollParent.removeEventListener("scroll",this.storage.scrollHandler)},addProseMirrorPlugins(){return[Mn({getId:this.options.getId,headingType:this.options.headingType})]}});var An=n(85850);const jn=l.NB.create({name:"tableCell",addOptions:()=>({HTMLAttributes:{}}),content:"block+",addAttributes:()=>({colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:e=>{const t=e.getAttribute("colwidth");return t?[parseInt(t,10)]:null}}}),tableRole:"cell",isolating:!0,parseHTML:()=>[{tag:"td"}],renderHTML({HTMLAttributes:e}){return["td",(0,l.P1)(this.options.HTMLAttributes,e),0]}});var Tn=function(e){var t,n,r,o=e.node;return(null===(t=o.attrs)||void 0===t?void 0:t["data-href"])?(0,mn.jsx)(hn.T5,{className:"code-block",children:(0,mn.jsx)("a",{href:null===(n=o.attrs)||void 0===n?void 0:n["data-href"],target:"_blank",rel:"noopener noreferrer nofollow",onClick:function(e){e.preventDefault()},children:(0,mn.jsx)(hn.ms,{as:"img",src:o.attrs.src,"data-href":null===(r=o.attrs)||void 0===r?void 0:r["data-href"]})})}):(0,mn.jsx)(hn.T5,{className:"code-block",children:(0,mn.jsx)(hn.ms,{as:"img",src:o.attrs.src})})};const Zn=l.NB.create({name:"tableHeader",addOptions:()=>({HTMLAttributes:{}}),content:"block+",addAttributes:()=>({colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:e=>{const t=e.getAttribute("colwidth");return t?[parseInt(t,10)]:null}}}),tableRole:"header_cell",isolating:!0,parseHTML:()=>[{tag:"th"}],renderHTML({HTMLAttributes:e}){return["th",(0,l.P1)(this.options.HTMLAttributes,e),0]}});n(85995);var Pn=n(82034),Rn=n(76550),In=n(30597),Dn=n(43687),zn=n(84796);pn.$.registerLanguage("html",Dn.Z),pn.$.registerLanguage("css",Pn.Z),pn.$.registerLanguage("js",Rn.Z),pn.$.registerLanguage("ts",In.Z);var Hn=function(e){var t=e.initialHtml,n=e.form,u=void 0===n?void 0:n,d=e.setContent,f=void 0===d?void 0:d,p=e.maxLength,h=void 0===p?void 0:p,m=e.onChangeTOC,g=void 0===m?void 0:m,v=e.autoFocus,y=void 0!==v&&v,b=e.readOnly,w=void 0!==b&&b,C=(0,a.Z)(gn.useState(!1),2),x=C[0],k=C[1],_=h,S=function(){var e=(0,r.Z)((function(e){var t,n;return(0,s.__generator)(this,(function(r){switch(r.label){case 0:return k(!0),(t=new FormData).append("file",e),[4,(0,zn.Z)("teacher/gallery/uploadFile","post",t)];case 1:return(n=r.sent())&&(0,An.s)("Successfully added to the gallery"),k(!1),[2,n]}}))}));return function(t){return e.apply(this,arguments)}}(),E=jn.extend({addAttributes:function(){var e;return(0,i.Z)((0,o.Z)({},null===(e=this.parent)||void 0===e?void 0:e.call(this)),{backgroundColor:{default:null,parseHTML:function(e){return e.getAttribute("data-background-color")},renderHTML:function(e){return{"data-background-color":e.backgroundColor,style:"background-color: ".concat(e.backgroundColor)}}},colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:function(e){var t=e.getAttribute("colwidth");return t?t.split(",").map((function(e){return parseInt(e,10)})):null}},style:{default:null}})},renderHTML:function(e){var t=e.HTMLAttributes,n=0,r=!0;return t.colwidth?t.colwidth.forEach((function(e){e?n+=e:r=!1})):r=!1,t.style=r&&n>0?"width: ".concat(n,"px;"):n&&n>0?"min-width: ".concat(n,"px"):null,["td",(0,l.P1)(this.options.HTMLAttributes,t),0]}}),M=qe.extend({addAttributes:function(){return{src:{default:null},"data-href":{default:null},onclick:{default:null,renderHTML:function(e){if(e["data-href"])return{onclick:"window.open('".concat(e["data-href"],"', '_blank')")}}},style:{default:null,renderHTML:function(e){if(e["data-href"])return{style:"cursor: pointer"}}}}},addCommands:function(){var e=this;return{setImageLink:function(t){return function(n){return n.commands.updateAttributes(e.type,t)}},unsetImageLink:function(){return function(t){return t.commands.updateAttributes(e.type,{"data-href":null})}}}},addNodeView:function(){return(0,hn.fW)(Tn)}}),L=Zn.extend({addAttributes:function(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:function(e){var t=e.getAttribute("colwidth");return t?t.split(",").map((function(e){return parseInt(e,10)})):null}},style:{default:null}}},renderHTML:function(e){var t=e.HTMLAttributes,n=0,r=!0;return t.colwidth?t.colwidth.forEach((function(e){e?n+=e:r=!1})):r=!1,t.style=r&&n>0?"width: ".concat(n,"px;"):n&&n>0?"min-width: ".concat(n,"px"):null,["th",(0,l.P1)(this.options.HTMLAttributes,t),0]}}),N=(0,a.Z)(gn.useState(!1),2),O=N[0],A=N[1],j=(0,hn.jE)({autofocus:y,extensions:[$e.I.configure({types:[Ke.Z.name,We.Z.name]}),Ke.Z,et.Z.configure({bulletList:{keepMarks:!0,keepAttributes:!1},orderedList:{keepMarks:!0,keepAttributes:!1}}),Sn.ZP.configure({regex:/\xa7([^\xa7]*)\xa7/gi,katexOptions:{maxSize:300}}),M,He.Z,Be.Z,Fe.Z,wn,Cn,kn.Z.configure({emptyEditorClass:"is-editor-empty"}),ze.configure({types:["heading","paragraph","image"]}),fn.configure({resizable:!0}),c,L,E,_n.Z,Ne.extend({addNodeView:function(){return(0,hn.fW)(vn)}}).configure({lowlight:pn.$}),xn.Z,Ae.configure({limit:_}),Oe.ZP,yn.v,bn.g,Je,Ye.configure({nested:!0}),Re.configure({controls:!0,progressBarColor:"white"}),xn.Z,qe,$e.I,De.ZP.configure({multicolor:!0}),Ie.ZP.configure({validate:function(e){return/^https?:\/\//.test(e)},openOnClick:!1,HTMLAttributes:{rel:null}}),Ue.extend({renderHTML:function(e){var t,n=e.HTMLAttributes;if(null===n||void 0===n||null===(t=n.style)||void 0===t?void 0:t.includes("justify-content")){var r=n.style.split("justify-content:")[1].split(";")[0];return["div",{style:"display: flex; justify-content:".concat(r)},["img",n]]}return["img",n]}}),On.configure({onUpdate:function(e){g&&g(e.map((function(e){return{id:e.id,itemIndex:e.itemIndex,level:e.level,originalLevel:e.originalLevel,pos:e.pos,textContent:e.textContent}})))}})],editorProps:{handleDrop:function(e,t,n,r){if(!r&&t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files[0]){var o=t.dataTransfer.files[0],i=(o.size/1024/1024).toFixed(4);if(Number(i)<10)return S(o).then((function(n){var r=e.state.schema,o=e.posAtCoords({left:null===t||void 0===t?void 0:t.clientX,top:null===t||void 0===t?void 0:t.clientY}),i=r.nodes.image.create({src:null===n||void 0===n?void 0:n.file_link}),a=e.state.tr.insert(null===o||void 0===o?void 0:o.pos,i);return e.dispatch(a)})).catch((function(e){e&&(0,An.w)("There was a problem uploading your image, please try again.")})),!0;(0,An.e)("Maximum size can be 10Mb")}return!1}},content:"".concat(t||""),editable:!w,onUpdate:function(e){var t=e.editor;void 0!=u?u.createOptions(u.index,null===t||void 0===t?void 0:t.getHTML()):t.isEditable&&f(null===t||void 0===t?void 0:t.getHTML())}});return(0,gn.useEffect)((function(){O||j&&t&&(j.commands.setContent(t),w||(j.commands.enter(),j.commands.blur()),A(!0))}),[j,w]),{editor:j,loading:x,limit:_}}},13630:function(e,t,n){"use strict";n.d(t,{AI:function(){return S},AY:function(){return Q},BZ:function(){return F},E1:function(){return U},En:function(){return Z},Ez:function(){return M},FX:function(){return se},GI:function(){return b},HQ:function(){return v},Hz:function(){return X},JF:function(){return P},Jr:function(){return le},Kd:function(){return m},L:function(){return ne},MT:function(){return T},NU:function(){return re},Pg:function(){return N},QI:function(){return z},RL:function(){return l},Sr:function(){return O},V8:function(){return W},WD:function(){return j},Wc:function(){return I},XS:function(){return D},XX:function(){return c},Xy:function(){return H},YE:function(){return Y},Z:function(){return w},_k:function(){return u},bC:function(){return d},b_:function(){return q},bl:function(){return ae},cQ:function(){return x},eY:function(){return oe},ed:function(){return K},ep:function(){return G},fk:function(){return A},g2:function(){return y},ge:function(){return B},gq:function(){return V},iu:function(){return L},jw:function(){return s},ky:function(){return R},lV:function(){return h},lx:function(){return p},mI:function(){return E},pD:function(){return _},pp:function(){return ie},qT:function(){return $},re:function(){return J},s3:function(){return g},ti:function(){return te},u_:function(){return ee},vb:function(){return f},wl:function(){return C},yw:function(){return k}});var r=n(32343),o=n(72006),i=n(4405),a=n(11527),s=function(e){return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({height:"1em",width:"1em",viewBox:"0 0 24 24",fill:"none"},e),{xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M11.9051 4.5C14.3271 4.5 16.0181 6.16904 16.0181 8.56091V15.4391C16.0181 17.831 14.3271 19.5 11.9051 19.5H6.11304C3.69102 19.5 2 17.831 2 15.4391V8.56091C2 6.16904 3.69102 4.5 6.11304 4.5H11.9051ZM19.958 6.87898C20.397 6.65563 20.912 6.67898 21.331 6.94294C21.75 7.20589 22 7.66274 22 8.16223V15.8384C22 16.3389 21.75 16.7947 21.331 17.0577C21.102 17.2008 20.846 17.2739 20.588 17.2739C20.373 17.2739 20.158 17.2231 19.957 17.1206L18.476 16.3734C17.928 16.0952 17.588 15.5369 17.588 14.9165V9.08305C17.588 8.46173 17.928 7.90335 18.476 7.62721L19.958 6.87898Z",fill:"currentColor"})}))},l=function(e){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"1em",width:"1em",viewBox:"0 0 22 16",fill:"none",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2937 11.5383C15.3746 13.3704 13.896 14.9196 11.9914 14.9975C11.8512 15.0034 5.01214 14.9896 5.01214 14.9896C3.11679 15.1335 1.45798 13.7715 1.30848 11.9463C1.29721 11.8103 1.30029 4.47219 1.30029 4.47219C1.21632 2.63815 2.69287 1.08499 4.59846 1.00418C4.74079 0.997278 11.5706 1.01009 11.5706 1.01009C13.4752 0.868176 15.1391 2.24001 15.2865 4.07404C15.2969 4.2061 15.2937 11.5383 15.2937 11.5383Z",stroke:"currentColor",strokeWidth:"1.53529",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M15.2969 5.97984L18.5899 3.28484C19.4059 2.61684 20.6299 3.19884 20.6289 4.25184L20.6169 11.6008C20.6159 12.6538 19.3909 13.2308 18.5769 12.5628L15.2969 9.86784",stroke:"currentColor",strokeWidth:"1.53529",strokeLinecap:"round",strokeLinejoin:"round"})]})},c=function(e){return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({height:"1em",width:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[(0,a.jsx)("path",{d:"M9.1665 6.66666H10.8332",stroke:"currentColor","stroke-width":"1.25","stroke-linecap":"round"}),(0,a.jsx)("path",{d:"M1.6665 9.16668C1.6665 6.41682 1.6665 5.04188 2.52078 4.18762C3.37505 3.33334 4.74998 3.33334 7.49984 3.33334H8.33317C11.083 3.33334 12.4579 3.33334 13.3123 4.18762C14.1665 5.04188 14.1665 6.41682 14.1665 9.16668V10.8333C14.1665 13.5832 14.1665 14.9581 13.3123 15.8124C12.4579 16.6667 11.083 16.6667 8.33317 16.6667H7.49984C4.74998 16.6667 3.37505 16.6667 2.52078 15.8124C1.6665 14.9581 1.6665 13.5832 1.6665 10.8333V9.16668Z",stroke:"currentColor","stroke-width":"1.25"}),(0,a.jsx)("path",{d:"M14.1665 7.42153L14.2714 7.33496C16.0346 5.88018 16.9162 5.15279 17.6247 5.50401C18.3332 5.85523 18.3332 7.01962 18.3332 9.34841V10.6516C18.3332 12.9804 18.3332 14.1447 17.6247 14.496C16.9162 14.8472 16.0346 14.1198 14.2714 12.665L14.1665 12.5784",stroke:"currentColor","stroke-width":"1.25","stroke-linecap":"round"})]}))},u=function(e){return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({xmlns:"http://www.w3.org/2000/svg",height:"1em",width:"1em",viewBox:"0 0 20 21",fill:"none"},e),{children:[(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.99891 13.8431C8.96807 13.8431 8.12891 14.6823 8.12891 15.7131C8.12891 16.7448 8.96807 17.5839 9.99891 17.5839C11.0306 17.5839 11.8706 16.7448 11.8706 15.7131C11.8706 14.6823 11.0306 13.8431 9.99891 13.8431Z",fill:"currentColor"}),(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.99891 8.62988C8.96807 8.62988 8.12891 9.46908 8.12891 10.4999C8.12891 11.5316 8.96807 12.3707 9.99891 12.3707C11.0306 12.3707 11.8706 11.5316 11.8706 10.4999C11.8706 9.46908 11.0306 8.62988 9.99891 8.62988Z",fill:"currentColor"}),(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.99891 7.1575C11.0306 7.1575 11.8706 6.31833 11.8706 5.28666C11.8706 4.25583 11.0306 3.41666 9.99891 3.41666C8.96807 3.41666 8.12891 4.25583 8.12891 5.28666C8.12891 6.31833 8.96807 7.1575 9.99891 7.1575Z",fill:"currentColor"})]}))},d=function(e){return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({height:"1em",width:"1em",viewBox:"0 0 20 20",fill:"none"},e),{xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M15.4797 14.4716C16.6764 13.9308 17.5099 12.7259 17.5099 11.3264C17.5099 9.16319 15.9847 7.87725 14.0907 7.87643C14.0907 6.51589 13.0237 3.79401 10.0099 3.79401C6.99612 3.79401 5.92909 6.51589 5.92909 7.87643C4.03747 7.89265 2.5099 9.16319 2.5099 11.3264C2.5099 12.7259 3.3426 13.9308 4.54017 14.4716",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M7.70034 12.6951L10.0095 10.3858L12.3187 12.6951",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M10.0099 10.3858L10.0104 16.2143",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))},f=function(e){return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({stroke:"currentColor",fill:"currentColor",strokeWidth:0,viewBox:"0 0 1024 1024",height:"1em",width:"1em"},e),{xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 0 1-112.7 75.9A352.8 352.8 0 0 1 512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 0 1-112.7-75.9 353.28 353.28 0 0 1-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 0 0 0-12.6z"})}))};function p(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({height:"1em",width:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M14.9994 15L9 9M9.00064 15L15 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeWidth:"1.5"})]}))}function h(e){(0,r.Z)({},e);return(0,a.jsx)("svg",{height:"1em",width:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M15 1L1 15M1 1L15 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function m(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M11.9922 20.1667C11.2422 20.1667 10.5257 19.864 9.09271 19.2587C5.52569 17.7519 3.74219 16.9985 3.74219 15.7312C3.74219 15.3763 3.74219 9.22578 3.74219 6.41666M11.9922 20.1667C12.7422 20.1667 13.4587 19.864 14.8917 19.2587C18.4587 17.7519 20.2422 16.9985 20.2422 15.7312V6.41666M11.9922 20.1667V10.4086",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.jsx)("path",{d:"M8.62428 8.88377L5.94651 7.58804C4.47696 6.87694 3.74219 6.52139 3.74219 5.95834C3.74219 5.3953 4.47696 5.03975 5.94651 4.32865L8.62428 3.03291C10.2769 2.2332 11.1033 1.83334 11.9922 1.83334C12.8811 1.83334 13.7075 2.23319 15.3601 3.03291L18.0379 4.32865C19.5074 5.03975 20.2422 5.3953 20.2422 5.95834C20.2422 6.52139 19.5074 6.87694 18.0379 7.58804L15.3601 8.88377C13.7075 9.68349 12.8811 10.0833 11.9922 10.0833C11.1033 10.0833 10.2769 9.68349 8.62428 8.88377Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.jsx)("path",{d:"M6.49219 11L8.32552 11.9167",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.jsx)("path",{d:"M16.5807 3.66666L7.41406 8.24999",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})]}))}function g(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M11.9922 20.1667C11.2422 20.1667 10.5257 19.8592 9.09271 19.2444C5.52569 17.7139 3.74219 16.9487 3.74219 15.6615V7.10187M11.9922 20.1667C12.7422 20.1667 13.4587 19.8592 14.8917 19.2444C18.4587 17.7139 20.2422 16.9487 20.2422 15.6615V7.10187M11.9922 20.1667V11.1565M3.74219 7.10187C3.74219 7.65531 4.47696 8.00479 5.94651 8.70375L8.62428 9.97737C10.2769 10.7634 11.1033 11.1565 11.9922 11.1565M3.74219 7.10187C3.74219 6.54845 4.47696 6.19896 5.94651 5.5M20.2422 7.10187C20.2422 7.65531 19.5074 8.00479 18.0379 8.70375L15.3601 9.97737C13.7075 10.7634 12.8811 11.1565 11.9922 11.1565M20.2422 7.10187C20.2422 6.54845 19.5074 6.19896 18.0379 5.5M6.79655 12.2017L8.62427 13.0711",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.jsx)("path",{d:"M11.9948 1.83334V3.66668M15.6615 2.75001L14.2865 4.58334M8.32812 2.75001L9.70312 4.58334",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})]}))}function v(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M4.0625 14.8482L15.8224 3.08838M18.0746 10.1347L16.0584 12.1509M14.3376 13.8512L13.4405 14.7483",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M3.90491 14.796C2.4692 13.3603 2.4692 11.0326 3.90491 9.59687L10.5917 2.91013C12.0273 1.47442 14.3551 1.47442 15.7908 2.91013L20.0847 7.20401C21.5204 8.63972 21.5204 10.9675 20.0847 12.4032L13.3979 19.0899C11.9623 20.5256 9.63451 20.5256 8.1988 19.0899L3.90491 14.796Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,a.jsx)("path",{d:"M4.66406 20.1667H19.3307",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}))}function y(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M19.3402 1.83331C18.3196 1.83331 17.4922 4.29575 17.4922 7.33331H19.3402C20.2308 7.33331 20.6761 7.33331 20.9518 7.02582C21.2275 6.71831 21.1795 6.31337 21.0835 5.50347C20.8301 3.36546 20.1453 1.83331 19.3402 1.83331Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,a.jsx)("path",{d:"M17.4948 7.38305V17.092C17.4948 18.4777 17.4948 19.1705 17.0713 19.4432C16.3793 19.889 15.3096 18.9543 14.7715 18.615C14.3269 18.3346 14.1047 18.1944 13.8579 18.1864C13.5914 18.1776 13.3651 18.312 12.8848 18.615L11.1331 19.7197C10.6606 20.0176 10.4244 20.1666 10.1615 20.1666C9.89857 20.1666 9.6623 20.0176 9.18979 19.7197L7.43816 18.615C6.9936 18.3346 6.77131 18.1944 6.52461 18.1864C6.25803 18.1776 6.03181 18.312 5.55142 18.615C5.01341 18.9543 3.94359 19.889 3.25158 19.4432C2.82813 19.1705 2.82812 18.4777 2.82812 17.092V7.38305C2.82812 4.76688 2.82812 3.45879 3.63358 2.64606C4.43904 1.83331 5.7354 1.83331 8.32813 1.83331H19.3281",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M6.49219 5.5H13.8255",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M8.32552 9.16669H6.49219",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M12.4531 9.96877C11.6938 9.96877 11.0781 10.5074 11.0781 11.1719C11.0781 11.8364 11.6938 12.375 12.4531 12.375C13.2125 12.375 13.8281 12.9137 13.8281 13.5781C13.8281 14.2426 13.2125 14.7813 12.4531 14.7813M12.4531 9.96877C13.0518 9.96877 13.5611 10.3035 13.7498 10.7709M12.4531 9.96877V9.16669M12.4531 14.7813C11.8545 14.7813 11.3451 14.4465 11.1564 13.9792M12.4531 14.7813V15.5834",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}))}function b(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M20.5384 6.5463L20.086 5.76108C19.7438 5.16724 19.5727 4.87032 19.2816 4.75191C18.9905 4.63352 18.6612 4.72694 18.0028 4.9138L16.8842 5.22885C16.4639 5.3258 16.0228 5.2708 15.6389 5.07358L15.3301 4.89541C15.0009 4.68458 14.7478 4.37374 14.6076 4.00837L14.3015 3.0941C14.1002 2.48908 13.9996 2.18657 13.76 2.01354C13.5204 1.84051 13.2022 1.84052 12.5656 1.84052H11.5437C10.9073 1.84052 10.589 1.84051 10.3494 2.01354C10.1098 2.18657 10.0092 2.48908 9.80793 3.0941L9.5018 4.00837C9.36166 4.37374 9.10847 4.68458 8.77932 4.89541L8.47051 5.07358C8.08666 5.2708 7.6456 5.3258 7.22521 5.22885L6.10667 4.9138C5.44819 4.72694 5.11896 4.63352 4.82784 4.75191C4.53673 4.87032 4.36564 5.16724 4.02345 5.76108L3.571 6.5463C3.25025 7.10294 3.08987 7.38127 3.121 7.67756C3.15212 7.97384 3.36682 8.2126 3.79622 8.69013L4.74134 9.74676C4.97234 10.0392 5.13634 10.5488 5.13634 11.0071C5.13634 11.4655 4.97239 11.975 4.74136 12.2675L3.79622 13.3241C3.36682 13.8017 3.15213 14.0404 3.121 14.3368C3.08987 14.633 3.25025 14.9113 3.571 15.4679L4.02344 16.2532C4.36562 16.847 4.53673 17.144 4.82784 17.2623C5.11896 17.3808 5.4482 17.2873 6.10668 17.1004L7.22517 16.7854C7.64564 16.6884 8.08678 16.7435 8.47068 16.9408L8.77944 17.119C9.10853 17.3298 9.36165 17.6405 9.50177 18.0059L9.80793 18.9203C10.0092 19.5253 10.1098 19.8278 10.3494 20.0009C10.589 20.1738 10.9073 20.1738 11.5437 20.1738H12.5656C13.2022 20.1738 13.5204 20.1738 13.76 20.0009C13.9996 19.8278 14.1002 19.5253 14.3015 18.9203L14.6077 18.0059C14.7478 17.6405 15.0009 17.3298 15.33 17.119L15.6388 16.9408C16.0227 16.7435 16.4638 16.6884 16.8842 16.7854L18.0028 17.1004C18.6612 17.2873 18.9905 17.3808 19.2816 17.2623C19.5727 17.144 19.7438 16.847 20.086 16.2532L20.5384 15.4679C20.8592 14.9113 21.0195 14.633 20.9884 14.3368C20.9573 14.0404 20.7426 13.8017 20.3132 13.3241L19.368 12.2675C19.137 11.975 18.973 11.4655 18.973 11.0071C18.973 10.5488 19.1371 10.0392 19.368 9.74676L20.3132 8.69013C20.7426 8.2126 20.9573 7.97384 20.9884 7.67756C21.0195 7.38127 20.8592 7.10294 20.5384 6.5463Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M15.2213 11C15.2213 12.7719 13.7849 14.2084 12.013 14.2084C10.2411 14.2084 8.80469 12.7719 8.80469 11C8.80469 9.2281 10.2411 7.79169 12.013 7.79169C13.7849 7.79169 15.2213 9.2281 15.2213 11Z",stroke:"currentColor",strokeWidth:"1.5"})]}))}function w(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M2.0835 10C2.0835 6.26806 2.0835 4.40209 3.24286 3.24271C4.40224 2.08334 6.26821 2.08334 10.0002 2.08334C13.7321 2.08334 15.5981 2.08334 16.7575 3.24271C17.9168 4.40209 17.9168 6.26806 17.9168 10C17.9168 13.7319 17.9168 15.5979 16.7575 16.7573C15.5981 17.9167 13.7321 17.9167 10.0002 17.9167C6.26821 17.9167 4.40224 17.9167 3.24286 16.7573C2.0835 15.5979 2.0835 13.7319 2.0835 10Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,a.jsx)("path",{d:"M13.75 7.5C14.4404 7.5 15 6.94036 15 6.25C15 5.55964 14.4404 5 13.75 5C13.0596 5 12.5 5.55964 12.5 6.25C12.5 6.94036 13.0596 7.5 13.75 7.5Z",stroke:"currentColor",strokeWidth:"1.25"}),(0,a.jsx)("path",{d:"M13.3333 18.3333C12.8171 16.4791 11.6121 14.8184 9.89708 13.6118C8.04801 12.3108 5.72636 11.6222 3.34641 11.6689C3.06382 11.6683 2.78147 11.6773 2.5 11.6959",stroke:"currentColor",strokeWidth:"1.25",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M10.8335 15C12.2514 13.8944 13.7789 13.3273 15.322 13.3334C16.197 13.3325 17.0678 13.518 17.9168 13.8848",stroke:"currentColor",strokeWidth:"1.25",strokeLinejoin:"round"})]}))}function C(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none"},t),{xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M16.5 16.5L13.5834 13.5833M15.6667 8.58333C15.6667 12.4954 12.4954 15.6667 8.58333 15.6667C4.67132 15.6667 1.5 12.4954 1.5 8.58333C1.5 4.67132 4.67132 1.5 8.58333 1.5C12.4954 1.5 15.6667 4.67132 15.6667 8.58333Z",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}))}function x(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M14.9263 2.91103L8.27352 6.10452C7.76151 6.35029 7.21443 6.41187 6.65675 6.28693C6.29177 6.20517 6.10926 6.16429 5.9623 6.14751C4.13743 5.93912 3 7.38342 3 9.04427V9.95573C3 11.6166 4.13743 13.0609 5.9623 12.8525C6.10926 12.8357 6.29178 12.7948 6.65675 12.7131C7.21443 12.5881 7.76151 12.6497 8.27352 12.8955L14.9263 16.089C16.4534 16.8221 17.217 17.1886 18.0684 16.9029C18.9197 16.6172 19.2119 16.0041 19.7964 14.778C21.4012 11.4112 21.4012 7.58885 19.7964 4.22196C19.2119 2.99586 18.9197 2.38281 18.0684 2.0971C17.217 1.8114 16.4534 2.17794 14.9263 2.91103Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M11.4581 20.7709L9.96674 22C6.60515 19.3339 7.01583 18.0625 7.01583 13H8.14966C8.60978 15.8609 9.69512 17.216 11.1927 18.197C12.1152 18.8012 12.3054 20.0725 11.4581 20.7709Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M7.5 12.5V6.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))}function k(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M16.9226 8.02637H13.9777C12.9339 8.02637 12.0855 8.86847 12.0778 9.91229L11.9925 21.4268M10.0781 14.0017H14.8808",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))}function _(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M8.5 14.5H15.5M8.5 9.5H12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M14.1706 20.8905C18.3536 20.6125 21.6856 17.2332 21.9598 12.9909C22.0134 12.1607 22.0134 11.3009 21.9598 10.4707C21.6856 6.22838 18.3536 2.84913 14.1706 2.57107C12.7435 2.47621 11.2536 2.47641 9.8294 2.57107C5.64639 2.84913 2.31441 6.22838 2.04024 10.4707C1.98659 11.3009 1.98659 12.1607 2.04024 12.9909C2.1401 14.536 2.82343 15.9666 3.62791 17.1746C4.09501 18.0203 3.78674 19.0758 3.30021 19.9978C2.94941 20.6626 2.77401 20.995 2.91484 21.2351C3.05568 21.4752 3.37026 21.4829 3.99943 21.4982C5.24367 21.5285 6.08268 21.1757 6.74868 20.6846C7.1264 20.4061 7.31527 20.2668 7.44544 20.2508C7.5756 20.2348 7.83177 20.3403 8.34401 20.5513C8.8044 20.7409 9.33896 20.8579 9.8294 20.8905C11.2536 20.9852 12.7435 20.9854 14.1706 20.8905Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round"})]}))}function S(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M2.52992 14.7696C2.31727 16.1636 3.268 17.1312 4.43205 17.6134C8.89481 19.4622 15.1052 19.4622 19.5679 17.6134C20.732 17.1312 21.6827 16.1636 21.4701 14.7696C21.3394 13.9129 20.6932 13.1995 20.2144 12.5029C19.5873 11.5793 19.525 10.5718 19.5249 9.5C19.5249 5.35786 16.1559 2 12 2C7.84413 2 4.47513 5.35786 4.47513 9.5C4.47503 10.5718 4.41272 11.5793 3.78561 12.5029C3.30684 13.1995 2.66061 13.9129 2.52992 14.7696Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M8 19C8.45849 20.7252 10.0755 22 12 22C13.9245 22 15.5415 20.7252 16 19",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))}function E(e){(0,r.Z)({},e);return(0,a.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 67 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M66.7975 49.0391C66.7975 48.2344 66.7389 47.4297 66.6178 46.6368C66.5866 46.4376 66.5514 46.2384 66.5124 46.0431C66.4733 45.8477 66.4303 45.6524 66.3835 45.4571C66.2897 45.0704 66.1764 44.6876 66.0475 44.3087C65.9147 43.9298 65.7663 43.5587 65.5983 43.1954C65.4303 42.8321 65.2428 42.4767 65.0397 42.1329C64.9382 41.961 64.8288 41.7931 64.7155 41.6251C64.6022 41.4571 64.485 41.2931 64.3639 41.1329C64.1178 40.8087 63.8561 40.5001 63.5749 40.2071C63.2936 39.9142 62.9968 39.6368 62.6843 39.3751C62.3718 39.1173 62.0475 38.8751 61.7116 38.6524C61.3757 38.4298 61.0241 38.2267 60.6686 38.0431C60.5788 37.9962 60.4889 37.9532 60.3952 37.9103C60.317 37.8712 60.2389 37.836 60.1608 37.8009C60.0709 37.7579 59.9772 37.7188 59.8873 37.6798C59.7037 37.6017 59.5162 37.5274 59.3287 37.461C59.235 37.4259 59.1412 37.3946 59.0475 37.3634C58.9811 37.3399 58.9147 37.3204 58.8444 37.297C58.6569 37.2384 58.4694 37.1837 58.2819 37.1368C58.2467 37.129 58.2116 37.1173 58.1764 37.1095V25.5275C58.1764 11.8985 47.1334 0.855469 33.5044 0.855469C19.8754 0.855469 8.8324 11.8985 8.8324 25.5275V37.1135C8.79725 37.1213 8.76209 37.133 8.72693 37.1408C8.53943 37.1916 8.35193 37.2463 8.16443 37.3049C8.09803 37.3244 8.02771 37.3478 7.96131 37.3713C7.86756 37.4025 7.77381 37.4377 7.68006 37.4728C7.49256 37.5432 7.30506 37.6174 7.12147 37.6955C7.02772 37.7346 6.93788 37.7736 6.84803 37.8166C6.67615 37.8947 6.50819 37.9767 6.34022 38.0627C5.98084 38.2463 5.63319 38.4494 5.29332 38.6681C4.95738 38.8908 4.62926 39.1291 4.32066 39.3869C4.00816 39.6447 3.71519 39.9221 3.43394 40.2189C3.15269 40.5119 2.89097 40.8205 2.64488 41.1447C2.52379 41.3049 2.4066 41.4689 2.29332 41.6369C2.18004 41.8049 2.07457 41.9728 1.9691 42.1447C1.76207 42.4885 1.57457 42.8439 1.4066 43.2072C1.23863 43.5705 1.08629 43.9416 0.957383 44.3205C0.695663 45.0783 0.508163 45.8557 0.387073 46.6486C0.265983 47.4416 0.207383 48.2463 0.207383 49.0509C0.191758 54.8243 0.160508 60.5979 0.176133 66.3669C0.18004 67.9411 0.187852 69.5192 0.199571 71.0935C0.21129 72.8279 0.226914 74.5623 0.246446 76.2966C0.250352 76.7654 0.258164 77.2341 0.297227 77.7028C0.33629 78.152 0.406607 78.5973 0.504257 79.0387C0.601913 79.4801 0.723008 79.9137 0.867538 80.3395C1.00035 80.7301 1.14879 81.1129 1.31676 81.4879C1.48082 81.8629 1.66442 82.2262 1.85582 82.5856C2.04332 82.9372 2.24644 83.2809 2.4652 83.6129C2.68395 83.9488 2.91442 84.2731 3.16442 84.5817C3.67614 85.2223 4.25032 85.8122 4.88712 86.3278C5.4965 86.8238 6.16052 87.2574 6.85982 87.6169C7.32857 87.859 7.81685 88.07 8.31292 88.2497C8.80899 88.4294 9.32072 88.5778 9.83242 88.6989C10.4769 88.8473 11.1293 88.9528 11.7894 89.0192C12.4496 89.0856 13.1097 89.113 13.7738 89.113C18.3793 89.109 22.9886 89.1637 27.5938 89.1559C31.5313 89.152 35.4727 89.152 39.4098 89.1559C44.0153 89.1637 48.6246 89.109 53.2298 89.113C54.0619 89.113 54.8939 89.07 55.7181 88.9606C56.1322 88.9059 56.5423 88.8356 56.9486 88.7497C57.2885 88.6755 57.6244 88.5895 57.9564 88.4919C58.5892 88.3044 59.2103 88.07 59.808 87.7848C60.0619 87.6637 60.3119 87.5309 60.558 87.3942C60.769 87.2731 60.9799 87.1442 61.183 87.0114C61.3861 86.8786 61.5893 86.738 61.7846 86.5895C61.8822 86.5153 61.9799 86.4411 62.0775 86.363C62.1752 86.2848 62.2768 86.2028 62.3705 86.1169C62.7572 85.7809 63.1244 85.4176 63.4603 85.031C63.5463 84.9372 63.6283 84.8396 63.7064 84.738C63.7884 84.6403 63.8666 84.5388 63.9447 84.4372C64.097 84.238 64.2455 84.0388 64.3861 83.8317C64.6674 83.4177 64.9252 82.988 65.1595 82.5465C65.4017 82.0934 65.6244 81.6286 65.8197 81.152C65.9174 80.9138 66.0072 80.6716 66.0931 80.4294C66.1361 80.3005 66.1791 80.1716 66.222 80.0427C66.265 79.9099 66.3041 79.7731 66.3431 79.6364C66.4955 79.0895 66.6088 78.5348 66.6713 77.9723C66.6869 77.8395 66.6986 77.7028 66.7103 77.5661L66.722 77.3669C66.7299 77.234 66.7338 77.1012 66.7377 76.9684C66.7416 76.8356 66.7416 76.7028 66.7455 76.5661C66.7494 76.1286 66.7572 75.6911 66.7611 75.2497C66.7767 73.5935 66.7924 71.9372 66.8041 70.2809C66.8119 69.2145 66.8158 68.1442 66.8197 67.0778C66.8275 65.07 66.8275 63.0622 66.8236 61.0544C66.8236 57.0466 66.808 53.0427 66.7963 49.0384L66.7975 49.0391ZM13.1725 25.5231C13.1725 14.2961 22.2741 5.19511 33.5005 5.19511C44.7269 5.19511 53.8285 14.2967 53.8285 25.5231V37.1051H48.9183V25.5231C48.9183 17.0075 42.016 10.1051 33.4963 10.1051C24.9768 10.1051 18.0743 17.0074 18.0743 25.5231V37.1051H13.1641C13.1719 33.2457 13.1725 29.3824 13.1725 25.5231ZM44.6605 25.5231V37.1051H22.3405V25.5231C22.3405 24.7692 22.4148 24.0153 22.5671 23.277C22.7155 22.5583 22.9343 21.8551 23.2194 21.1832C23.5007 20.5191 23.8444 19.8824 24.2506 19.2887C24.6491 18.695 25.11 18.1442 25.6139 17.6364C26.1178 17.1325 26.6725 16.6755 27.2662 16.2731C27.8639 15.8708 28.5006 15.5231 29.1607 15.2419C29.8365 14.9567 30.5396 14.738 31.2545 14.5896C31.9928 14.4372 32.7467 14.363 33.5006 14.363C34.2545 14.363 35.0084 14.4372 35.7467 14.5896C36.4655 14.738 37.1686 14.9568 37.8405 15.2419C38.5046 15.5232 39.1413 15.8669 39.735 16.2731C40.3288 16.6715 40.8795 17.1286 41.3873 17.6364C41.8912 18.1403 42.3483 18.695 42.7506 19.2887C43.153 19.8864 43.5006 20.5231 43.7818 21.1832C44.067 21.859 44.2857 22.5621 44.4342 23.277C44.5865 24.0153 44.6605 24.7692 44.6605 25.5231ZM62.4845 76.8781C62.4767 77.3898 62.3986 77.8976 62.2697 78.3898C62.1369 78.8937 61.9572 79.3859 61.7424 79.8586C61.5314 80.3274 61.2892 80.7766 61.0119 81.2102C60.7502 81.6204 60.4572 82.011 60.1291 82.3664C59.8205 82.6984 59.4728 82.9992 59.1057 83.2648C58.926 83.3938 58.7385 83.5188 58.5471 83.632C58.3557 83.7453 58.1604 83.8469 57.9611 83.9406C57.7229 84.0539 57.4768 84.1555 57.2268 84.2453C56.8088 84.3938 56.3791 84.5109 55.9456 84.6008C55.5042 84.6906 55.0549 84.7531 54.6058 84.7922C54.1487 84.8313 53.6917 84.8469 53.2347 84.8469C48.6292 84.843 44.0199 84.8977 39.4147 84.8899H36.8991C35.7663 84.8899 34.6335 84.8938 33.5046 84.8938C32.3718 84.8938 31.239 84.8899 30.1062 84.8899H27.5867C22.9812 84.8977 18.3758 84.843 13.7667 84.8469C13.2081 84.8469 12.6534 84.8234 12.0987 84.7609C11.5557 84.7024 11.0167 84.6086 10.4932 84.468C9.97363 84.3313 9.46586 84.1477 8.98146 83.9133C8.73927 83.7961 8.5049 83.6672 8.27834 83.5227C8.04787 83.3781 7.82522 83.218 7.61428 83.05C7.19631 82.7141 6.8174 82.3313 6.48538 81.9094C6.39945 81.8 6.3135 81.6867 6.23147 81.5696C6.15335 81.4602 6.07913 81.3508 6.00881 81.2375C5.876 81.0305 5.74709 80.8157 5.6299 80.6008C5.47756 80.3235 5.33693 80.0422 5.21193 79.7532C5.08302 79.4602 4.96974 79.1633 4.87209 78.8625C4.77444 78.5618 4.6924 78.2571 4.63381 77.9485C4.59085 77.718 4.55569 77.4875 4.53616 77.2532C4.52835 77.1789 4.52444 77.1008 4.52053 77.0266C4.51663 76.9563 4.51663 76.886 4.51663 76.8157C4.51272 76.5852 4.50881 76.3547 4.50491 76.1243C4.48147 74.2688 4.46194 72.4095 4.45022 70.554C4.4385 68.4017 4.43069 66.2493 4.43069 64.1009C4.42678 59.0853 4.45022 54.0699 4.46194 49.0539C4.46194 48.4953 4.501 47.9328 4.57913 47.382C4.65335 46.8663 4.76663 46.3547 4.93069 45.8586C5.00881 45.6164 5.09866 45.3781 5.20022 45.1476C5.29397 44.9289 5.39944 44.714 5.51663 44.507C5.63382 44.3 5.75882 44.0968 5.89554 43.9015C6.03226 43.7101 6.17679 43.5226 6.33304 43.3468C6.64163 42.9953 6.98929 42.6789 7.36424 42.4015C7.75096 42.1164 8.17283 41.8781 8.61034 41.6789C8.833 41.5773 9.06346 41.4874 9.29393 41.4093C9.54002 41.3273 9.79002 41.2531 10.04 41.1945C10.4619 41.0929 10.8877 41.0226 11.3173 40.9757C11.579 40.9484 11.8408 40.9289 12.1025 40.9211C12.1767 40.9171 12.2509 40.9171 12.3251 40.9132C12.4423 40.9093 12.5556 40.9093 12.6728 40.9093C13.5712 40.9054 14.4697 40.9015 15.3681 40.9015C21.5478 40.8859 27.7271 40.9054 33.9071 40.9054C37.9852 40.9054 42.0633 40.8976 46.1411 40.8976C48.1723 40.8976 50.1997 40.9015 52.2309 40.9054C52.9809 40.9054 53.7309 40.9093 54.477 40.9132C54.5747 40.9132 54.6684 40.9132 54.7661 40.9171C54.8598 40.9211 54.9497 40.9211 55.0434 40.9289C55.184 40.9367 55.3207 40.9445 55.4614 40.9562C55.8286 40.9875 56.1918 41.0343 56.5512 41.1046C56.8051 41.1554 57.059 41.214 57.3051 41.2843C57.5512 41.3546 57.7934 41.4367 58.0316 41.5265C58.2543 41.6125 58.477 41.7101 58.6918 41.8195C58.9066 41.9289 59.1176 42.0461 59.3207 42.1789C59.4496 42.2609 59.5746 42.3468 59.6957 42.4406C59.8832 42.5812 60.0629 42.7297 60.2309 42.8898C60.4028 43.05 60.5629 43.2179 60.7152 43.3937C60.8129 43.507 60.9067 43.6242 60.9926 43.7414C61.1332 43.9328 61.266 44.1281 61.3871 44.3351C61.5082 44.5383 61.6176 44.7492 61.7191 44.964C61.8246 45.1906 61.9184 45.425 62.0043 45.6594C62.0902 45.8976 62.1606 46.1398 62.2231 46.3859C62.3051 46.714 62.3715 47.0422 62.4184 47.3781C62.5004 47.9328 62.5356 48.4914 62.5356 49.05C62.5629 58.3273 62.6213 67.6051 62.4845 76.8781Z",fill:"black"}),(0,a.jsx)("path",{d:"M33.1006 49.5781C24.7647 49.5781 20.4486 59.5195 26.1318 65.6091V71.5114C26.1318 74.5544 28.5966 77.0192 31.6396 77.0192H34.5615C37.6006 77.0192 40.0693 74.5544 40.0693 71.5114V65.6091C45.7568 59.5193 41.4366 49.5781 33.1006 49.5781ZM38.3467 59.9141C38.3115 60.1563 38.2569 60.3985 38.1865 60.6329C38.1123 60.8751 38.0225 61.1094 37.9131 61.336C37.7998 61.5782 37.6631 61.8087 37.5147 62.0274C37.3506 62.2696 37.1631 62.4962 36.9639 62.711C36.5811 63.1212 36.2022 63.5274 35.8194 63.9376V71.5157C35.8194 71.6016 35.8116 71.6876 35.7959 71.7735C35.7803 71.8516 35.7569 71.9298 35.7256 72.004C35.6631 72.1524 35.5694 72.2891 35.4561 72.4024C35.3428 72.5157 35.2061 72.6095 35.0538 72.672C34.9795 72.7032 34.9014 72.7266 34.8233 72.7423C34.7374 72.7579 34.6514 72.7657 34.5655 72.7657H31.6436C31.5577 72.7657 31.4717 72.7579 31.3858 72.7423C31.3076 72.7266 31.2295 72.7032 31.1553 72.672C31.0069 72.6095 30.8701 72.5157 30.7569 72.4024C30.6436 72.2891 30.5498 72.1524 30.4873 72.004C30.4561 71.9298 30.4326 71.8516 30.417 71.7735C30.4014 71.6876 30.3936 71.6016 30.3936 71.5157V63.9376C30.0108 63.5274 29.6319 63.1212 29.2491 62.711C29.0499 62.4962 28.8663 62.2696 28.6983 62.0274C28.546 61.8087 28.4131 61.5743 28.2999 61.336C28.1905 61.1094 28.1006 60.8751 28.0264 60.6329C27.9561 60.3985 27.9014 60.1563 27.8663 59.9141C27.796 59.4298 27.796 58.9298 27.8624 58.4453C27.9327 57.9492 28.0694 57.4649 28.2686 57.0039C28.4678 56.5469 28.7295 56.1133 29.0459 55.7266C29.3545 55.3438 29.7178 55.0079 30.124 54.7266C30.3272 54.586 30.5381 54.461 30.7569 54.3555C30.9834 54.2462 31.2178 54.1524 31.46 54.0743C31.7139 53.9962 31.9756 53.9337 32.2373 53.8946C32.5264 53.8516 32.8194 53.8321 33.1123 53.8321C33.4053 53.8321 33.6983 53.8516 33.9873 53.8946C34.249 53.9337 34.5108 53.9962 34.7647 54.0743C35.0069 54.1485 35.2412 54.2423 35.4678 54.3555C35.6865 54.4649 35.9014 54.5899 36.1006 54.7266C36.5068 55.0079 36.8662 55.3438 37.1787 55.7266C37.4951 56.1133 37.7568 56.5469 37.956 57.0078C38.1553 57.4649 38.292 57.9531 38.3623 58.4492C38.417 58.9336 38.417 59.4298 38.3467 59.9141Z",fill:"black"})]})}function M(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M13.6869 4.63571C13.1727 3.15071 11.7619 2.08401 10.1019 2.08401C8.00768 2.07571 6.30268 3.76571 6.29352 5.85988V5.87655V7.66571",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2775 17.5005H6.91C5.165 17.5005 3.75 16.0855 3.75 14.3396V10.7663C3.75 9.02047 5.165 7.60547 6.91 7.60547H13.2775C15.0225 7.60547 16.4375 9.02047 16.4375 10.7663V14.3396C16.4375 16.0855 15.0225 17.5005 13.2775 17.5005Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M10.0939 11.627V13.4786",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))}function L(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 30 30",fill:"none"},t),{xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsxs)("g",{clipPath:"url(#clip0_919_14514)",children:[(0,a.jsx)("path",{d:"M22.2579 7.06836C21.6463 7.06836 21.1487 7.56706 21.1487 8.18009V21.8266C21.2047 23.3019 23.3157 23.2966 23.3713 21.8266V8.18009C23.3713 7.56711 22.8719 7.06836 22.2579 7.06836Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M14.9999 7.06836C14.3859 7.06836 13.8865 7.56706 13.8865 8.18009V21.8266C13.9426 23.2999 16.0578 23.2987 16.1134 21.8266V8.18009C16.1134 7.56711 15.6139 7.06836 14.9999 7.06836Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M18.6289 11.1348C18.0173 11.1348 17.5198 11.6335 17.5198 12.2465V17.7631C17.5757 19.2385 19.6868 19.233 19.7424 17.7631V12.2465C19.7424 11.6335 19.2429 11.1348 18.6289 11.1348Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M25.8865 13.166C25.2749 13.166 24.7773 13.6647 24.7773 14.2777V15.7293C24.8333 17.2046 26.9443 17.1992 26.9999 15.7293V14.2777C26.9999 13.6647 26.5005 13.166 25.8865 13.166Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M4.11347 13.166C3.4995 13.166 3 13.6647 3 14.2777V15.7292C3.05616 17.2003 5.16717 17.2035 5.22258 15.7292V14.2777C5.22258 13.6647 4.72505 13.166 4.11347 13.166Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M7.74237 9.10156C7.12841 9.10156 6.62891 9.60027 6.62891 10.2133V19.7948C6.68506 21.266 8.79612 21.269 8.85158 19.7948V10.2133C8.85158 9.60027 8.354 9.10156 7.74237 9.10156Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M11.3712 3.00391C10.7573 3.00391 10.2578 3.50261 10.2578 4.11564V25.8922C10.3139 27.3632 12.4249 27.3664 12.4804 25.8922V4.11564C12.4804 3.50261 11.9828 3.00391 11.3712 3.00391Z",fill:"currentColor"})]}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_919_14514",children:(0,a.jsx)("rect",{width:24,height:24,fill:"currentColor",transform:"translate(3 3)"})})})]}))}var N=function(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 26 25",fill:"none"},t),{children:(0,a.jsx)("path",{d:"M21.9961 21.6094L18.478 18.0911M20.9909 12.0599C20.9909 16.7788 17.1655 20.6042 12.4466 20.6042C7.72774 20.6042 3.90234 16.7788 3.90234 12.0599C3.90234 7.34103 7.72774 3.51562 12.4466 3.51562C17.1655 3.51562 20.9909 7.34103 20.9909 12.0599Z",stroke:"currentColor",strokeWidth:"2.01042",strokeLinecap:"round",strokeLinejoin:"round"})}))},O=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none"},t),{children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.592 13.207C11.281 13.207 14.434 13.766 14.434 15.999C14.434 18.232 11.302 18.807 7.592 18.807C3.902 18.807 0.75 18.253 0.75 16.019C0.75 13.785 3.881 13.207 7.592 13.207Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.58912 10.02C5.16712 10.02 3.20312 8.057 3.20312 5.635C3.20312 3.213 5.16712 1.25 7.58912 1.25C10.0101 1.25 11.9742 3.213 11.9742 5.635C11.9831 8.048 10.0331 10.011 7.62012 10.02H7.58912Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M14.4844 8.88128C16.0854 8.65628 17.3184 7.28228 17.3214 5.61928C17.3214 3.98028 16.1264 2.62028 14.5594 2.36328",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M16.5938 12.7324C18.1447 12.9634 19.2278 13.5074 19.2278 14.6274C19.2278 15.3984 18.7177 15.8984 17.8937 16.2114",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))};function A(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:(0,a.jsxs)("g",{opacity:"0.7",children:[(0,a.jsx)("path",{d:"M12.1606 3.73679L13.2119 2.68547C13.7925 2.10484 14.7339 2.10484 15.3146 2.68547C15.8951 3.2661 15.8951 4.20748 15.3146 4.78811L14.2632 5.83943M12.1606 3.73679L8.23515 7.66222C7.4512 8.4462 7.0592 8.83815 6.79228 9.31582C6.52535 9.7935 6.2568 10.9214 6 12C7.07857 11.7432 8.2065 11.4746 8.68418 11.2077C9.16185 10.9408 9.5538 10.5488 10.3378 9.76485L14.2632 5.83943M12.1606 3.73679L14.2632 5.83943",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M15.75 9C15.75 12.1819 15.75 13.773 14.7615 14.7615C13.773 15.75 12.1819 15.75 9 15.75C5.81802 15.75 4.22703 15.75 3.23851 14.7615C2.25 13.773 2.25 12.1819 2.25 9C2.25 5.81802 2.25 4.22703 3.23851 3.23851C4.22703 2.25 5.81802 2.25 9 2.25",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"})]})}))}function j(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M14.625 4.125L14.1602 11.6438C14.0414 13.5648 13.9821 14.5253 13.5006 15.2159C13.2625 15.5573 12.956 15.8455 12.6005 16.062C11.8816 16.5 10.9192 16.5 8.99452 16.5C7.06734 16.5 6.10372 16.5 5.38429 16.0612C5.0286 15.8443 4.722 15.5556 4.48401 15.2136C4.00266 14.5219 3.94459 13.5601 3.82846 11.6364L3.375 4.125",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M2.25 4.125H15.75M12.0418 4.125L11.5298 3.0688C11.1897 2.3672 11.0196 2.01639 10.7263 1.79761C10.6612 1.74908 10.5923 1.7059 10.5203 1.66852C10.1954 1.5 9.80558 1.5 9.02588 1.5C8.2266 1.5 7.827 1.5 7.49676 1.67559C7.42357 1.71451 7.35373 1.75943 7.28797 1.80988C6.99123 2.03753 6.82547 2.40116 6.49396 3.12844L6.03969 4.125",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M7.125 12.375V7.875",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M10.875 12.375V7.875",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"})]}))}function T(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:(0,a.jsx)("path",{d:"M19.514 8.82142L18.15 7.45763C17.8263 7.13389 17.561 6.49413 17.561 6.03533V4.10659C17.561 3.18909 16.8114 2.43956 15.8942 2.43907H13.9647C13.5064 2.43907 12.8659 2.1733 12.5421 1.8498L11.1783 0.486008C10.5303 -0.162003 9.46931 -0.162003 8.8213 0.486008L7.45751 1.85078C7.13348 2.17452 6.49225 2.43956 6.03497 2.43956H4.10622C3.18994 2.43956 2.43944 3.18909 2.43944 4.10659V6.03538C2.43944 6.49237 2.1742 7.13413 1.85041 7.45768L0.486374 8.82147C-0.162125 9.46948 -0.162125 10.5305 0.486374 11.1795L1.85041 12.5433C2.1744 12.8671 2.43944 13.5086 2.43944 13.9656V15.8944C2.43944 16.8109 3.18994 17.5614 4.10622 17.5614H6.03502C6.49328 17.5614 7.13377 17.8267 7.45755 18.1502L8.82135 19.5145C9.46936 20.162 10.5304 20.162 11.1784 19.5145L12.5422 18.1502C12.8662 17.8265 13.5065 17.5614 13.9647 17.5614H15.8942C16.8115 17.5614 17.561 16.8109 17.561 15.8944V13.9656C17.561 13.5066 17.8265 12.8669 18.15 12.5433L19.5141 11.1795C20.1616 10.5305 20.1616 9.46943 19.514 8.82142ZM8.67682 13.7503L4.9995 10.0725L6.17804 8.89418L8.67711 11.3933L13.8214 6.25013L14.9997 7.42843L8.67682 13.7503Z",fill:"currentColor"})}))}function Z(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7929 5.2929C12.1834 4.90237 12.8166 4.90237 13.2071 5.29289L19.2071 11.2928C19.5976 11.6834 19.5976 12.3165 19.2071 12.7071L13.2072 18.7071C12.8166 19.0976 12.1835 19.0976 11.7929 18.7071C11.4024 18.3166 11.4024 17.6834 11.7929 17.2929L17.0858 12L11.7929 6.70711C11.4024 6.31659 11.4024 5.68342 11.7929 5.2929Z",fill:"currentColor"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.79289 5.2929C5.18341 4.90237 5.81658 4.90237 6.2071 5.29289L12.2071 11.2928C12.5976 11.6834 12.5976 12.3165 12.2071 12.7071L6.20716 18.7071C5.81664 19.0976 5.18347 19.0976 4.79295 18.7071C4.40242 18.3166 4.40241 17.6834 4.79293 17.2929L10.0858 12L4.7929 6.70711C4.40237 6.31659 4.40237 5.68342 4.79289 5.2929Z",fill:"currentColor"})]}))}function P(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 5.78987C5.25 4.42081 6.7512 3.58195 7.91717 4.29947L18.0091 10.5099C19.1196 11.1933 19.1196 12.8074 18.0091 13.4907L7.91717 19.7011C6.7512 20.4187 5.25 19.5798 5.25 18.2107V5.78987Z",fill:"currentColor"})}))}var R=function(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 21 20",fill:"none"},t),{children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.10058 5.59411C6.52195 4.48447 8.35819 3.54163 10.5003 3.54163C12.6425 3.54163 14.4787 4.48447 15.9001 5.59411C17.3227 6.70476 18.3742 8.01641 18.9625 8.84121L19.0068 8.90304C19.2178 9.19646 19.4587 9.53146 19.4587 9.99996C19.4587 10.4685 19.2178 10.8035 19.0068 11.0969L18.9625 11.1587C18.3742 11.9835 17.3227 13.2951 15.9001 14.4058C14.4787 15.5155 12.6425 16.4583 10.5003 16.4583C8.35819 16.4583 6.52195 15.5155 5.10058 14.4058C3.67793 13.2951 2.62638 11.9835 2.03817 11.1587L1.99382 11.0969C1.78286 10.8035 1.54199 10.4685 1.54199 9.99996C1.54199 9.53146 1.78286 9.19646 1.99382 8.90304L2.03817 8.84121C2.62638 8.01641 3.67793 6.70476 5.10058 5.59411ZM7.58366 9.99996C7.58366 11.6108 8.88949 12.9166 10.5003 12.9166C12.1112 12.9166 13.417 11.6108 13.417 9.99996C13.417 8.38913 12.1112 7.08329 10.5003 7.08329C8.88949 7.08329 7.58366 8.38913 7.58366 9.99996Z",fill:"currentColor"})}))};function I(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({},t),{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 34 34",fill:"none",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.1689 5.83116C28.8604 6.52272 28.8604 7.64395 28.1689 8.3355L8.33551 28.1689C7.64395 28.8604 6.52272 28.8604 5.83117 28.1689C5.13961 27.4773 5.13961 26.356 5.83117 25.6645L25.6645 5.83116C26.3561 5.13961 27.4773 5.13961 28.1689 5.83116Z",fill:"currentColor"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.83117 5.83116C6.52272 5.13961 7.64395 5.13961 8.33551 5.83116L28.1689 25.6645C28.8604 26.356 28.8604 27.4773 28.1689 28.1689C27.4773 28.8604 26.3561 28.8604 25.6645 28.1689L5.83117 8.3355C5.13961 7.64395 5.13961 6.52272 5.83117 5.83116Z",fill:"currentColor"})]}))}function D(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none"},t),{children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.72594 12.7815C9.54427 12.8573 9.2151 12.9948 8.8851 12.9948C8.66927 12.9948 8.45344 12.9365 8.2776 12.7632C8.13344 12.6207 7.79844 12.289 7.79844 10.0573C7.79844 7.70565 8.14594 7.36148 8.27677 7.23232C8.70677 6.80815 9.39344 7.09398 9.68677 7.21732C10.0993 7.38898 12.9968 8.87815 12.9968 10.0007C12.9968 11.1323 10.1334 12.6107 9.72594 12.7815ZM10.0026 2.08398C5.6376 2.08398 2.08594 5.63482 2.08594 10.0007C2.08594 14.3657 5.6376 17.9173 10.0026 17.9173C14.3676 17.9173 17.9193 14.3657 17.9193 10.0007C17.9193 5.63482 14.3676 2.08398 10.0026 2.08398Z",fill:"currentColor"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.14126 11.6751C9.83626 11.4168 11.2529 10.4859 11.6704 10.0001C11.2563 9.5276 9.85543 8.61344 9.14376 8.33594C9.01626 9.12677 9.01376 10.9201 9.14126 11.6751Z",fill:"currentColor"})]}))}var z=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none"},t),{children:[(0,a.jsx)("path",{d:"M12 2.75C12.6904 2.75 13.25 3.30964 13.25 4V20C13.25 20.6904 12.6904 21.25 12 21.25C11.3096 21.25 10.75 20.6904 10.75 20V4C10.75 3.30964 11.3096 2.75 12 2.75Z",fill:"currentColor"}),(0,a.jsx)("path",{opacity:"0.4",d:"M4 10.75H20C20.6904 10.75 21.25 11.3096 21.25 12C21.25 12.6904 20.6904 13.25 20 13.25H4C3.30964 13.25 2.75 12.6904 2.75 12C2.75 11.3096 3.30964 10.75 4 10.75Z",fill:"currentColor"})]}))},H=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M7.66113 9.93503C8.83842 9.93503 10.8971 6.17606 11.7657 4.4809C11.9205 4.17868 11.998 4.02757 12.117 3.91161C12.2194 3.81194 12.3694 3.72073 12.505 3.67576C12.6627 3.62343 12.8013 3.6241 13.0785 3.62544C13.2856 3.62645 13.4889 3.63777 13.6399 3.66881C14.9438 3.93683 15.9601 5.52058 14.6451 9.60635C14.5978 9.75317 14.5742 9.82658 14.5882 9.88263C14.6011 9.93449 14.6326 9.97775 14.678 10.006C14.7271 10.0364 14.8028 10.0364 14.9541 10.0364H16.0092C17.9908 10.0364 18.9816 10.0364 19.6561 10.4417C20.273 10.8125 20.726 11.4038 20.9233 12.0961C21.139 12.8529 20.881 13.8095 20.365 15.7226L19.8833 17.5085C19.6101 18.5216 19.4734 19.0282 19.1864 19.4065C18.9221 19.7547 18.5689 20.0253 18.1638 20.1898C17.7238 20.3684 17.1992 20.3684 16.1498 20.3684H11.8799C11.5384 20.3684 11.3677 20.3684 11.2005 20.3451C11.0458 20.3235 10.8935 20.287 10.7457 20.2362C10.5861 20.1813 10.4338 20.1041 10.1294 19.9495L7.66113 18.6964",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M5.40568 8.71881H5.25571C4.47455 8.71881 4.08398 8.71881 3.78456 8.86842C3.50974 9.00574 3.28693 9.22855 3.14961 9.50337C3 9.80279 3 10.1934 3 10.9746V18.1166C3 18.8978 3 19.2884 3.14961 19.5878C3.28693 19.8626 3.50974 20.0854 3.78456 20.2227C4.08398 20.3723 4.47455 20.3723 5.25571 20.3723H5.40568C6.18684 20.3723 6.57742 20.3723 6.87683 20.2227C7.15165 20.0854 7.37447 19.8626 7.51179 19.5878C7.66139 19.2884 7.66139 18.8978 7.66139 18.1166V10.9746C7.66139 10.1934 7.66139 9.80279 7.51179 9.50337C7.37447 9.22855 7.15165 9.00574 6.87683 8.86842C6.57742 8.71881 6.18684 8.71881 5.40568 8.71881Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))},B=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M10.8056 19.6742L9.44092 18.305C9.05236 17.915 8.52555 17.6967 7.97632 17.6967H6.95073C4.86219 17.6967 3.16875 15.9975 3.16875 13.9019V7.24017C3.16875 5.14456 4.86219 3.44632 6.95073 3.44632H16.6677C18.7563 3.44632 20.4488 5.14456 20.4488 7.24017V13.9019C20.4488 15.9975 18.7563 17.6967 16.6677 17.6967H15.6421C15.0929 17.6967 14.5661 17.915 14.1775 18.305L12.812 19.6742C12.258 20.2309 11.3604 20.2309 10.8056 19.6742Z",stroke:"currentColor",strokeWidth:"1.44",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M8.74501 12.1988H12.2607",stroke:"currentColor",strokeWidth:"1.44",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M8.74501 8.52756H14.8724",stroke:"currentColor",strokeWidth:"1.44",strokeLinecap:"round",strokeLinejoin:"round"})]}))},F=function(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2269 6.58644C19.2269 4.02363 17.4766 3.00006 14.9566 3.00006H9.0399C6.59774 3.00006 4.76758 3.95649 4.76758 6.4152V20.1166C4.76661 20.6041 5.16163 21.0001 5.65007 21.0001C5.80185 21.0001 5.95072 20.9612 6.08304 20.8872L12.026 17.5558L17.9134 20.8814C18.3386 21.1207 18.8776 20.9709 19.117 20.5457C19.1919 20.4134 19.2318 20.2645 19.2318 20.1118L19.2269 6.58644Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))},V=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M10 17.5C14.1424 17.5 17.5 14.1416 17.5 10C17.5 5.85757 14.1424 2.5 10 2.5C5.85757 2.5 2.5 5.85757 2.5 10C2.5 14.1416 5.85757 17.5 10 17.5Z",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M7.60107 11.9076C8.18567 12.6681 9.04592 13.1424 10.0011 13.1424C10.9562 13.1424 11.8165 12.6681 12.4011 11.9076",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M7.3081 7.50444V7.46148M7.27017 7.33398C7.16684 7.33398 7.08267 7.41815 7.0835 7.52148C7.0835 7.62482 7.16767 7.70898 7.271 7.70898C7.37434 7.70898 7.4585 7.62482 7.4585 7.52148C7.4585 7.41732 7.37434 7.33398 7.27017 7.33398Z",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M12.6923 7.50444V7.46148M12.6867 7.33398C12.5833 7.33398 12.4992 7.41815 12.5 7.52148C12.5 7.62482 12.5842 7.70898 12.6875 7.70898C12.7908 7.70898 12.875 7.62482 12.875 7.52148C12.875 7.41732 12.7908 7.33398 12.6867 7.33398Z",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})]}))};function q(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M7.50406 17C7.46902 16.2336 7.11117 16.0342 6.00567 16H4.50727C3.95558 16 3.50834 16.4477 3.50834 17V19.8944C3.50834 20.6301 3.37142 21.6207 4.05202 21.8983C4.17356 21.9478 4.32262 21.9801 4.50727 22H6.9047C7.23572 22 7.50406 21.7314 7.50406 21.4V19.9C7.50406 19.6791 7.32517 19.5 7.10449 19.5H6.00567M10.5009 16H13.9971M10.5009 22H12.249M12.249 22H13.9971M12.249 22V16.1399M16.9939 22V16.6C16.9939 16.2686 17.2622 16 17.5933 16H20.4902M16.9939 19H19.4912",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M3.50781 13V12.1963C3.50781 9.22889 3.50781 7.7452 3.97656 6.56021C4.73012 4.65518 6.32381 3.15252 8.3442 2.44198C9.60096 2 11.1745 2 14.3216 2C16.12 2 17.0191 2 17.7372 2.25256C18.8918 2.65858 19.8024 3.51725 20.233 4.60584C20.5009 5.28297 20.5009 6.13079 20.5009 7.82643V12.0142V13",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M3.50781 12C3.50781 10.1591 4.99959 8.66667 6.83979 8.66667C7.50531 8.66667 8.28991 8.78333 8.93697 8.60988C9.51189 8.45576 9.96095 8.00652 10.115 7.43136C10.2884 6.78404 10.1718 5.99912 10.1718 5.33333C10.1718 3.49238 11.6636 2 13.5037 2",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))}function U(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2691 9.77674L6.29564 2.66502C5.58428 2.27622 4.74236 2.3367 4.09628 2.82918C3.44828 3.32262 3.1622 4.1223 3.3494 4.91622L4.68366 10.5588C4.72477 10.7326 4.88036 10.8552 5.059 10.8544L13.4476 10.8183H13.4505C13.847 10.8183 14.1686 11.139 14.1705 11.5355C14.1724 11.9339 13.8508 12.2564 13.4534 12.2583L5.04859 12.2954C4.8712 12.2962 4.71742 12.4184 4.67659 12.591L3.3494 18.2027C3.1622 18.9966 3.44828 19.7972 4.09628 20.2916C4.46108 20.5691 4.88924 20.7102 5.32028 20.7102C5.65148 20.7102 5.98652 20.6267 6.29564 20.4567L19.2691 13.3451C19.9296 12.9822 20.3241 12.3159 20.3241 11.5604C20.3241 10.8059 19.9296 10.1387 19.2691 9.77674Z",fill:"currentColor"})}))}var $=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 21",fill:"none"},t),{children:[(0,a.jsx)("path",{d:"M6.70319 17.9992C4.97617 17.9611 3.60671 16.53 3.64482 14.803V6.04705C3.68536 4.3476 5.07833 2.99274 6.77859 3.00004H11.4878C11.9532 3.00004 12.3983 3.18895 12.7202 3.52463L15.8799 6.8157C16.1848 7.13435 16.3558 7.5584 16.3558 7.99867V14.803C16.3673 16.5154 15.0197 17.9303 13.308 18M6.70319 17.9992C6.72833 17.9992 6.75346 18 6.77859 18H13.308M6.70319 17.9992C6.72833 17.9992 13.308 18 13.308 18",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M11.8911 3.05209V5.46262C11.8904 6.6391 12.843 7.59343 14.0195 7.59586H16.3019",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M7.09619 14.2348H10.8122M7.09619 11.3843H12.7021M7.09619 8.53385H9.54809",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}))},W=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none"},t),{children:[(0,a.jsx)("path",{d:"M7 17V13",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M12 17V7",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M17 17V11",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round"})]}))},K=function(e){(0,r.Z)({},e);return(0,a.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 5 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M4.85355 9.12154C5.04882 9.31681 5.04882 9.63339 4.85355 9.82865C4.65829 10.0239 4.34171 10.0239 4.14645 9.82865L0.146447 5.82865C-0.0488155 5.63339 -0.0488155 5.31681 0.146447 5.12154L4.14645 1.12154C4.34171 0.926282 4.65829 0.926282 4.85355 1.12154C5.04882 1.31681 5.04882 1.63339 4.85355 1.82865L1.20711 5.4751L4.85355 9.12154Z",fill:"currentColor"})})},G=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({},t),{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 21",fill:"none",children:[(0,a.jsx)("path",{d:"M6.53662 13.6867L7.54722 12.6218C7.72485 12.4344 8.02331 12.4385 8.19526 12.6308L9.0315 13.5618C9.20991 13.7606 9.523 13.7557 9.69658 13.5513L11.4266 11.509C11.5952 11.3095 11.8994 11.2998 12.0803 11.4879L13.4616 12.9195",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M11.4879 3.00003C11.9527 3.00003 12.3979 3.18901 12.7199 3.52479L15.879 6.81613C16.1848 7.13407 16.3552 7.55826 16.3552 7.99947V14.8028C16.3673 16.5166 15.0193 17.9302 13.3079 18L6.70337 17.9992C4.97579 17.9611 3.6067 16.5303 3.64482 14.8028V6.04723C3.68537 4.34803 5.07799 2.99273 6.778 3.00003H11.4879Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M11.8911 3.05208V5.46259C11.8904 6.63864 12.8425 7.59409 14.0194 7.59653H16.3018",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M7.71265 9.82667H7.65934M7.70119 10.0427C7.58118 10.0427 7.48389 9.94533 7.48389 9.82533C7.48389 9.70533 7.58118 9.60808 7.70119 9.60808C7.82121 9.60808 7.9185 9.70533 7.9185 9.82533C7.9185 9.94533 7.82121 10.0427 7.70119 10.0427Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}))};function Y(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20"},t),{children:[(0,a.jsx)("path",{fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.44",d:"M14.704 2.8a2.16 2.16 0 110 4.32 2.16 2.16 0 010-4.32zM6.064 7.84a2.16 2.16 0 11.001 4.319 2.16 2.16 0 010-4.32zM14.704 12.88a2.16 2.16 0 110 4.32 2.16 2.16 0 010-4.32z",clipRule:"evenodd"}),(0,a.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.44",d:"M7.928 11.086l4.918 2.867m-.008-7.906l-4.91 2.865"})]}))}function J(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 18 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:(0,a.jsx)("path",{d:"M0.666992 3.33398L7.47109 8.09685C8.02207 8.48254 8.29756 8.67538 8.59721 8.75007C8.8619 8.81605 9.13875 8.81605 9.40344 8.75007C9.7031 8.67538 9.97858 8.48254 10.5296 8.09685L17.3337 3.33398M4.66699 14.1673H13.3337C14.7338 14.1673 15.4339 14.1673 15.9686 13.8948C16.439 13.6552 16.8215 13.2727 17.0612 12.8023C17.3337 12.2675 17.3337 11.5674 17.3337 10.1673V4.83398C17.3337 3.43385 17.3337 2.73379 17.0612 2.19901C16.8215 1.7286 16.439 1.34615 15.9686 1.10647C15.4339 0.833984 14.7338 0.833984 13.3337 0.833984H4.66699C3.26686 0.833984 2.5668 0.833984 2.03202 1.10647C1.56161 1.34615 1.17916 1.7286 0.939476 2.19901C0.666992 2.73379 0.666992 3.43385 0.666992 4.83398V10.1673C0.666992 11.5674 0.666992 12.2675 0.939476 12.8023C1.17916 13.2727 1.56161 13.6552 2.03202 13.8948C2.5668 14.1673 3.26686 14.1673 4.66699 14.1673Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}))}var X=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({},t),{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99942 10.6745C7.17475 10.6745 6.50342 11.3458 6.50342 12.1705C6.50342 12.9958 7.17475 13.6672 7.99942 13.6672C8.82475 13.6672 9.49675 12.9958 9.49675 12.1705C9.49675 11.3458 8.82475 10.6745 7.99942 10.6745Z",fill:"currentColor"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99942 6.50391C7.17475 6.50391 6.50342 7.17527 6.50342 7.99993C6.50342 8.82527 7.17475 9.4966 7.99942 9.4966C8.82475 9.4966 9.49675 8.82527 9.49675 7.99993C9.49675 7.17527 8.82475 6.50391 7.99942 6.50391Z",fill:"currentColor"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99942 5.32598C8.82475 5.32598 9.49675 4.65465 9.49675 3.82931C9.49675 3.00465 8.82475 2.33331 7.99942 2.33331C7.17475 2.33331 6.50342 3.00465 6.50342 3.82931C6.50342 4.65465 7.17475 5.32598 7.99942 5.32598Z",fill:"currentColor"})]}))},Q=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({},t),{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",children:[(0,a.jsx)("path",{d:"M14.625 4.125L14.1602 11.6438C14.0414 13.5648 13.9821 14.5253 13.5006 15.2159C13.2625 15.5573 12.956 15.8455 12.6005 16.062C11.8816 16.5 10.9192 16.5 8.99452 16.5C7.06734 16.5 6.10372 16.5 5.38429 16.0612C5.0286 15.8443 4.722 15.5556 4.48401 15.2136C4.00266 14.5219 3.94459 13.5601 3.82846 11.6364L3.375 4.125",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M2.25 4.125H15.75M12.0418 4.125L11.5298 3.0688C11.1897 2.3672 11.0196 2.01639 10.7263 1.79761C10.6612 1.74908 10.5923 1.70591 10.5203 1.66853C10.1954 1.5 9.80558 1.5 9.02588 1.5C8.2266 1.5 7.827 1.5 7.49676 1.67559C7.42357 1.71451 7.35373 1.75943 7.28797 1.80988C6.99123 2.03753 6.82547 2.40116 6.49396 3.12845L6.03969 4.125",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M7.125 12.375V7.875",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M10.875 12.375V7.875",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}))},ee=function(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2269 4.58638C15.2269 2.02357 13.4766 1 10.9566 1H5.0399C2.59774 1 0.76758 1.95643 0.76758 4.41514V18.1165C0.76661 18.604 1.16163 19 1.65007 19C1.80185 19 1.95072 18.9611 2.08304 18.8871L8.026 15.5557L13.9134 18.8813C14.3386 19.1206 14.8776 18.9708 15.117 18.5456C15.1919 18.4133 15.2318 18.2644 15.2318 18.1117L15.2269 4.58638Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))},te=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 20 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.1615 8.05311C13.1615 9.79911 11.7455 11.2141 9.9995 11.2141C8.2535 11.2141 6.8385 9.79911 6.8385 8.05311C6.8385 6.30611 8.2535 4.89111 9.9995 4.89111C11.7455 4.89111 13.1615 6.30611 13.1615 8.05311Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.998 15.355C13.806 15.355 17.289 12.617 19.25 8.05298C17.289 3.48898 13.806 0.750977 9.998 0.750977H10.002C6.194 0.750977 2.711 3.48898 0.75 8.05298C2.711 12.617 6.194 15.355 10.002 15.355H9.998Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))},ne=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M7.7606 11.3667C7.1856 10.7927 6.8356 10.0127 6.8356 9.13768C6.8356 7.38468 8.2476 5.97168 9.9996 5.97168C10.8666 5.97168 11.6646 6.32268 12.2296 6.89668",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M13.1048 9.69873C12.8728 10.9887 11.8568 12.0067 10.5678 12.2407",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M4.6546 14.472C3.0676 13.226 1.7236 11.406 0.749603 9.13698C1.7336 6.85798 3.0866 5.02798 4.6836 3.77198C6.2706 2.51598 8.1016 1.83398 9.9996 1.83398C11.9086 1.83398 13.7386 2.52598 15.3356 3.79098",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M17.4476 5.99072C18.1356 6.90472 18.7406 7.95972 19.2496 9.13672C17.2826 13.6937 13.8066 16.4387 9.99961 16.4387C9.13661 16.4387 8.28561 16.2987 7.46761 16.0257",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M17.887 1.24951L2.11301 17.0235",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))},re=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M15.2852 5.74802C15.0308 4.10756 13.8495 3 12.0693 3H6.29465C4.28435 3 3.02148 4.42788 3.02148 6.44497V11.8837C3.02148 13.7213 4.07177 15.0754 5.79377 15.2889",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.706 8.67969H11.9333C9.92205 8.67969 8.66016 10.1037 8.66016 12.1198V17.5586C8.66016 19.5747 9.91526 20.9987 11.9333 20.9987H17.705C19.7241 20.9987 20.9792 19.5747 20.9792 17.5586V12.1198C20.9792 10.1037 19.7241 8.67969 17.706 8.67969Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))},oe=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M1 19L6 14",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M11.2585 16.8714C7.51516 16.0215 3.97844 12.4848 3.12853 8.7415C2.99399 8.1489 2.92672 7.85266 3.12161 7.37197C3.3165 6.89129 3.55457 6.74255 4.03071 6.44509C5.10705 5.77265 6.27254 5.55888 7.48209 5.66586C9.1793 5.81598 10.0279 5.89104 10.4512 5.67048C10.8746 5.44991 11.1622 4.93417 11.7376 3.90269L12.4664 2.59604C12.9465 1.73528 13.1866 1.3049 13.7513 1.10202C14.316 0.899131 14.6558 1.02199 15.3355 1.26771C16.9249 1.84236 18.1576 3.07505 18.7323 4.66449C18.978 5.34417 19.1009 5.68401 18.898 6.2487C18.6951 6.8134 18.2647 7.05346 17.4039 7.53358L16.0672 8.2792C15.0376 8.8534 14.5229 9.1406 14.3024 9.568C14.0819 9.9955 14.162 10.8256 14.3221 12.4859C14.4399 13.7068 14.2369 14.88 13.5555 15.9697C13.2577 16.4458 13.1088 16.6839 12.6283 16.8786C12.1477 17.0733 11.8513 17.006 11.2585 16.8714Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))},ie=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M7.5 8C6.95863 8.1281 6.49932 8.14239 5.99268 8.45891C5.07234 9.03388 4.85108 9.71674 5.08821 10.7612C5.94028 14.5139 9.48599 18.0596 13.2388 18.9117C14.2834 19.1489 14.9661 18.928 15.5416 18.0077C15.8411 17.5288 15.8716 17.0081 16 16.5",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M12 7.79915C12.1776 7.77794 12.3182 7.74034 12.4295 7.68235C13.3997 7.17686 13.9291 5.53361 14.4498 4.60009C14.9311 3.73715 15.1718 3.30567 15.7379 3.10227C16.3041 2.89888 16.6448 3.02205 17.3262 3.26839C18.9197 3.8445 20.1555 5.08032 20.7316 6.6738C20.9779 7.35521 21.1011 7.69591 20.8977 8.26204C20.6943 8.82817 20.2628 9.06884 19.3999 9.55018C18.4608 10.074 16.7954 10.6108 16.2905 11.5898C16.2345 11.6983 16.1978 11.8327 16.1769 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M3 21L8 16",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M3 3L21 21",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))},ae=function(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 82 81",fill:"none"},t),{children:[(0,a.jsx)("path",{d:"M41 70.8773V61.2656",stroke:"currentColor",strokeWidth:"5.0625",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M65.3223 36.8203C65.355 50.2839 54.4636 61.2243 41 61.257C27.5332 61.2243 16.6435 50.2839 16.6763 36.8203",stroke:"currentColor",strokeWidth:"5.0625",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.9973 49.1299C34.1605 49.1167 28.6306 43.5605 28.647 36.7271V22.4753C28.647 15.6549 34.1769 10.125 40.9973 10.125C47.8179 10.125 53.3478 15.6549 53.3478 22.4753V36.7271C53.364 43.5605 47.8374 49.1133 41.0041 49.1299H40.9973Z",stroke:"currentColor",strokeWidth:"5.0625",strokeLinecap:"round",strokeLinejoin:"round"})]}))},se=function(e){(0,r.Z)({},e);return(0,a.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.1615 12.0531C15.1615 13.7991 13.7455 15.2141 11.9995 15.2141C10.2535 15.2141 8.8385 13.7991 8.8385 12.0531C8.8385 10.3061 10.2535 8.89108 11.9995 8.89108C13.7455 8.89108 15.1615 10.3061 15.1615 12.0531Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.998 19.3549C15.806 19.3549 19.289 16.6169 21.25 12.0529C19.289 7.48889 15.806 4.75089 11.998 4.75089H12.002C8.194 4.75089 4.711 7.48889 2.75 12.0529C4.711 16.6169 8.194 19.3549 12.002 19.3549H11.998Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},le=function(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({},t),{width:"1em",height:"1em",viewBox:"0 0 53 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M52.6679 17.9995H8.15991L22.8929 3.26745L20.0639 0.439453L0.503906 19.9995L20.0639 39.5594L22.8929 36.7315L8.15991 21.9995H52.6679V17.9995Z",fill:"currentColor"})}))}},84715:function(e,t,n){"use strict";n.d(t,{OH8:function(){return bn},uR7:function(){return B},k5Z:function(){return Dt},ypk:function(){return Ht},hID:function(){return It},Qz9:function(){return zt},N31:function(){return xe},Jr5:function(){return y.Jr},BDo:function(){return lt},D6v:function(){return yt},Cuf:function(){return vt},e6D:function(){return N},PWQ:function(){return O},ElV:function(){return yn},epv:function(){return y.ep},K9g:function(){return At},lM8:function(){return St},Z7c:function(){return he},HH9:function(){return me},$cc:function(){return x},Kdk:function(){return y.Kd},s39:function(){return y.s3},KIh:function(){return jt},Wct:function(){return Lt},l7w:function(){return Pt},CU5:function(){return Ge},QCn:function(){return ln},LjT:function(){return oe},vuH:function(){return Cn},NSh:function(){return at},YPJ:function(){return He},f7e:function(){return je},dRB:function(){return ke},f0:function(){return Ke},jRm:function(){return _e},H2R:function(){return Se},V5_:function(){return wn},Bb1:function(){return Re},$Nx:function(){return Je},ed9:function(){return y.ed},bVH:function(){return Kt},qtI:function(){return fn},joI:function(){return nt},oxT:function(){return rt},lx$:function(){return y.lx},lVz:function(){return y.lV},siy:function(){return F},seM:function(){return Ot},ge4:function(){return le},xVi:function(){return ce},x7y:function(){return mt},vUr:function(){return nn},sBD:function(){return ht},rK4:function(){return an},xhh:function(){return dt},WcQ:function(){return ue},aBg:function(){return Ee},gNY:function(){return Xe},tps:function(){return Me},qvs:function(){return _},BXt:function(){return S},Yf1:function(){return hn},mF4:function(){return ut},D5g:function(){return rn},Fzz:function(){return L},EBC:function(){return kn},AYY:function(){return y.AY},WDf:function(){return y.WD},rbn:function(){return K},h6S:function(){return Fe},teY:function(){return Ae},hMi:function(){return Le},PJE:function(){return Ne},_ks:function(){return y._k},f5h:function(){return ie},DjJ:function(){return $e},TQL:function(){return E},F7e:function(){return M},R6k:function(){return tt},yl5:function(){return qe},fkE:function(){return y.fk},rqX:function(){return C},$sK:function(){return b},R2K:function(){return Ct},RDu:function(){return kt},p_A:function(){return _t},Gvj:function(){return xt},WCN:function(){return cn},tCy:function(){return Ie},kyG:function(){return y.ky},yw9:function(){return y.yw},qTh:function(){return y.qT},PUC:function(){return ze},LoL:function(){return ae},GI0:function(){return y.GI},fP:function(){return We},b_y:function(){return y.b_},WT4:function(){return tn},zWW:function(){return Bt},Zay:function(){return y.Z},aUG:function(){return A},_cH:function(){return mn},g2I:function(){return y.g2},C9_:function(){return Et},Ol:function(){return De},_a3:function(){return te},qRJ:function(){return pe},MlY:function(){return ye},JHz:function(){return Yt},w_:function(){return Jt},ZdG:function(){return G},mR5:function(){return en},tMq:function(){return xn},_V1:function(){return $},Jj0:function(){return W},mID:function(){return y.mI},gtU:function(){return ct},vbY:function(){return y.vb},$ZX:function(){return be},M_L:function(){return et},IhT:function(){return w},dcc:function(){return q},fu1:function(){return Oe},jk1:function(){return dn},pDD:function(){return y.pD},reP:function(){return y.re},lE5:function(){return se},blY:function(){return y.bl},UrD:function(){return ft},Qs9:function(){return on},AIx:function(){return y.AI},J7_:function(){return Ye},iug:function(){return y.iu},HuT:function(){return V},bmR:function(){return Ze},qeQ:function(){return Rt},QXv:function(){return Z},zby:function(){return j},BN9:function(){return T},V_f:function(){return Nt},HQC:function(){return y.HQ},S9Z:function(){return Qt},JFb:function(){return ge},SC9:function(){return Y},OqQ:function(){return X},vB7:function(){return it},QIK:function(){return y.QI},V8l:function(){return y.V8},WPG:function(){return P},zjf:function(){return Te},tCK:function(){return R},M1S:function(){return Zt},tr8:function(){return gn},ydd:function(){return Ue},wXe:function(){return de},AQS:function(){return ne},sUF:function(){return fe},kvY:function(){return re},pYZ:function(){return ve},jVj:function(){return ee},wlk:function(){return y.wl},PgH:function(){return y.Pg},xGS:function(){return Q},E1E:function(){return y.E1},$kj:function(){return un},Oqc:function(){return k},k0G:function(){return bt},YE:function(){return y.YE},UAO:function(){return ot},lID:function(){return Ce},gqr:function(){return y.gq},PxL:function(){return Pe},Ekn:function(){return Be},Xil:function(){return st},esN:function(){return Mt},s2V:function(){return Vt},GOT:function(){return qt},xo6:function(){return I},xSK:function(){return U},fqO:function(){return Xt},JWj:function(){return Wt},j0E:function(){return D},FDG:function(){return z},xMk:function(){return $t},$ZA:function(){return Ut},HzV:function(){return y.Hz},dTM:function(){return Qe},xxo:function(){return Ft},WL1:function(){return Tt},Ezm:function(){return y.Ez},LMD:function(){return pn},cQt:function(){return y.cQ},bCE:function(){return y.bC},f7T:function(){return sn},SrG:function(){return gt},OiJ:function(){return H},jwg:function(){return y.jw},ZXs:function(){return pt},XX8:function(){return y.XX},nr$:function(){return Ve},Q0W:function(){return we},zA_:function(){return Gt},sHf:function(){return wt},Jnx:function(){return vn},ZDh:function(){return J}});var r=n(32343),o=n(72006),i=n(4405),a=n(11527),s=n(50959),l=n(98037),c=n(57904),u=n(53162),d=n(84875),f=n.n(d),p=n(21543),h=n(79321),m=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],g=s.forwardRef((function(e,t){var n=e.className,r=e.component,o=e.viewBox,i=e.spin,a=e.rotate,d=e.tabIndex,g=e.onClick,v=e.children,y=(0,u.Z)(e,m);(0,h.Kp)(Boolean(r||v),"Should have `component` prop or `children`."),(0,h.C3)();var b=s.useContext(p.Z),w=b.prefixCls,C=void 0===w?"anticon":w,x=b.rootClassName,k=f()(x,C,n),_=f()((0,c.Z)({},"".concat(C,"-spin"),!!i)),S=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,E=(0,l.Z)((0,l.Z)({},h.vD),{},{className:_,style:S,viewBox:o});o||delete E.viewBox;var M=d;return void 0===M&&g&&(M=-1),s.createElement("span",(0,l.Z)((0,l.Z)({role:"img"},y),{},{ref:t,tabIndex:M,onClick:g,className:k}),r?s.createElement(r,(0,l.Z)({},E),v):v?((0,h.Kp)(Boolean(o)||1===s.Children.count(v)&&s.isValidElement(v)&&"use"===s.Children.only(v).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),s.createElement("svg",(0,l.Z)((0,l.Z)({},E),{},{viewBox:o}),v)):null)}));g.displayName="AntdIcon";var v=g,y=n(13630),b=function(){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"mdi-email-open-outline",width:24,height:24,viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M21.03 6.29L12 .64L2.97 6.29C2.39 6.64 2 7.27 2 8V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V8C22 7.27 21.61 6.64 21.03 6.29M20 18H4V10L12 15L20 10V18M12 13L4 8L12 3L20 8L12 13Z"})})},w=function(){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24",children:(0,a.jsxs)("g",{fill:"#212121",children:[(0,a.jsx)("path",{d:"M12.187 4.14c-.964-.723-2.345-.07-2.398 1.134L9.712 7H12a1 1 0 110 2H9.623l-.393 8.85c-.13 2.931-3.593 4.411-5.801 2.479l-.087-.076a1 1 0 011.317-1.506l.087.077c.946.828 2.43.194 2.486-1.063L7.622 9H6a1 1 0 010-2h1.71l.08-1.815c.126-2.81 3.347-4.332 5.597-2.645l.213.16a1 1 0 11-1.2 1.6l-.213-.16z"}),(0,a.jsx)("path",{d:"M13.082 13.046a.5.5 0 01.693.225l.813 1.727-3.295 3.295a1 1 0 001.414 1.414l2.786-2.786.78 1.658a2.5 2.5 0 003.853.863l.51-.42a1 1 0 00-1.272-1.543l-.51.42a.5.5 0 01-.771-.172l-1.087-2.309 2.711-2.71a1 1 0 10-1.414-1.415l-2.202 2.202-.506-1.075a2.5 2.5 0 00-3.467-1.126l-.6.33a1 1 0 00.964 1.752l.6-.33z"})]})})},C=function(){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 52 52",version:"1.1",children:[(0,a.jsx)("title",{children:"Data"}),(0,a.jsx)("desc",{children:"Created with Sketch."}),(0,a.jsx)("defs",{}),(0,a.jsx)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd",children:(0,a.jsxs)("g",{id:"Data",fill:"#000000",children:[(0,a.jsx)("path",{d:"M25.8,13.5 C23.2,13.5 0.4,13.3 0.4,7 C0.4,0.7 23.2,0.5 25.8,0.5 C28.4,0.5 51.2,0.7 51.2,7 C51.2,13.3 28.4,13.5 25.8,13.5 Z M3.5,7 C4.7,8.3 12.7,10.5 25.8,10.5 C38.9,10.5 47,8.3 48.1,7 C46.9,5.7 38.9,3.5 25.8,3.5 C12.7,3.5 4.6,5.6 3.5,7 Z",id:"Shape"}),(0,a.jsx)("rect",{id:"Rectangle-path",x:"48.2",y:"7",width:"3",height:"37.4"}),(0,a.jsx)("rect",{id:"Rectangle-path",x:"0.4",y:"7",width:"3",height:"37.4"}),(0,a.jsx)("path",{d:"M25.8,26.6 C19.8,26.6 0.4,26.1 0.4,19.3 L3.4,19.3 C3.4,21.1 11.9,23.6 25.8,23.6 C39.7,23.6 48.2,21.1 48.2,19.3 L51.2,19.3 C51.2,26.1 31.7,26.6 25.8,26.6 Z",id:"Shape"}),(0,a.jsx)("path",{d:"M25.8,39.1 C19.8,39.1 0.4,38.6 0.4,31.8 L3.4,31.8 C3.4,33.6 11.9,36.1 25.8,36.1 C39.7,36.1 48.2,33.6 48.2,31.8 L51.2,31.8 C51.2,38.5 31.7,39.1 25.8,39.1 Z",id:"Shape"}),(0,a.jsx)("path",{d:"M25.8,51.5 C19.8,51.5 0.4,51 0.4,44.2 L3.4,44.2 C3.4,46 11.9,48.5 25.8,48.5 C39.7,48.5 48.2,46 48.2,44.2 L51.2,44.2 C51.2,50.9 31.8,51.5 25.8,51.5 Z",id:"Shape"})]})})]})},x=function(){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:24,height:24,viewBox:"0 0 50 50",children:(0,a.jsx)("path",{d:"M 25 2 C 12.309295 2 2 12.309295 2 25 C 2 37.690705 12.309295 48 25 48 C 37.690705 48 48 37.690705 48 25 C 48 12.309295 37.690705 2 25 2 z M 25 4 C 36.609824 4 46 13.390176 46 25 C 46 36.609824 36.609824 46 25 46 C 13.390176 46 4 36.609824 4 25 C 4 13.390176 13.390176 4 25 4 z M 25 11 A 3 3 0 0 0 22 14 A 3 3 0 0 0 25 17 A 3 3 0 0 0 28 14 A 3 3 0 0 0 25 11 z M 21 21 L 21 23 L 22 23 L 23 23 L 23 36 L 22 36 L 21 36 L 21 38 L 22 38 L 23 38 L 27 38 L 28 38 L 29 38 L 29 36 L 28 36 L 27 36 L 27 21 L 26 21 L 22 21 L 21 21 z"})})},k=function(){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M15.379,19.1403 L12.108,12.5993 L19.467,5.2413 L15.379,19.1403 Z M4.86,8.6213 L18.76,4.5343 L11.401,11.8923 L4.86,8.6213 Z M3.359,8.0213 C2.923,8.1493 2.87,8.7443 3.276,8.9483 L11.128,12.8733 L15.053,20.7243 C15.256,21.1303 15.852,21.0773 15.98,20.6413 L20.98,3.6413 C21.091,3.2623 20.739,2.9093 20.359,3.0213 L3.359,8.0213 Z"})})},_=function(){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:(0,a.jsx)("path",{stroke:"#000000","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1",d:"M9.5 5H9a2 2 0 0 0-2 2v2c0 1-.6 3-3 3 1 0 3 .6 3 3v2a2 2 0 0 0 2 2h.5m5-14h.5a2 2 0 0 1 2 2v2c0 1 .6 3 3 3-1 0-3 .6-3 3v2a2 2 0 0 1-2 2h-.5"})})},S=function(){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:0,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-mouse-pointer",children:[(0,a.jsx)("path",{d:"M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"}),(0,a.jsx)("path",{d:"M13 13l6 6"})]})},E=function(e){var t=e.width,n=void 0===t?24:t,r=e.height,o=void 0===r?24:r;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,style:{fill:"#586ED1"},children:(0,a.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 8zM4 19h16v2H4z"})})},M=function(e){var t=e.width,n=void 0===t?24:t,r=e.height,o=void 0===r?24:r;return(0,a.jsxs)("svg",{stroke:"#586ED1",fill:"#586ED1",strokeWidth:0,viewBox:"0 0 24 24",height:o,width:n,xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M4.75 17.25a.75.75 0 0 1 .75.75v2.25c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V18a.75.75 0 0 1 1.5 0v2.25A1.75 1.75 0 0 1 18.25 22H5.75A1.75 1.75 0 0 1 4 20.25V18a.75.75 0 0 1 .75-.75Z"}),(0,a.jsx)("path",{d:"M5.22 9.97a.749.749 0 0 1 1.06 0l4.97 4.969V2.75a.75.75 0 0 1 1.5 0v12.189l4.97-4.969a.749.749 0 1 1 1.06 1.06l-6.25 6.25a.749.749 0 0 1-1.06 0l-6.25-6.25a.749.749 0 0 1 0-1.06Z"})]})},L=function(e){var t=e.width,n=void 0===t?15:t,r=e.height,o=void 0===r?16:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M5.76465 10.8828L5.76465 8.41222",stroke:"#707070",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M9.05859 10.8828L9.05859 8.41222",stroke:"#707070",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M0 4.29297H14.8235V4.29297C14.3863 4.29297 14.1676 4.29297 13.9854 4.32702C13.1737 4.47876 12.5387 5.11376 12.387 5.92547C12.3529 6.10764 12.3529 6.32628 12.3529 6.76356V10.9988C12.3529 12.8845 12.3529 13.8273 11.7672 14.4131C11.1814 14.9989 10.2386 14.9989 8.35294 14.9989H6.47059C4.58497 14.9989 3.64216 14.9989 3.05637 14.4131C2.47059 13.8273 2.47059 12.8845 2.47059 10.9989V6.76356C2.47059 6.32628 2.47059 6.10764 2.43653 5.92547C2.2848 5.11376 1.6498 4.47876 0.838088 4.32702C0.655916 4.29297 0.437277 4.29297 0 4.29297V4.29297Z",stroke:"#707070",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M5.8206 1.30519C5.91444 1.21764 6.12122 1.14027 6.40887 1.08509C6.69652 1.02991 7.04896 1 7.41153 1C7.77411 1 8.12655 1.02991 8.4142 1.08509C8.70185 1.14027 8.90863 1.21764 9.00247 1.30519",stroke:"#707070",strokeLinecap:"round"})]})},N=function(e){var t=e.width,n=void 0===t?16:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M9 0.999999L12 4L15 7M9 0.999999L1 0.999998L1 19L15 19L15 7M9 0.999999L9 7L15 7",stroke:"#586ED1",strokeLinejoin:"round"})})},O=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.stroke,s=void 0===i?"#586ed1":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M1 15V9.4C1 7.17218 1.89553 5.03561 3.48959 3.4603C5.08365 1.885 7.24566 1 9.5 1C11.7543 1 13.9163 1.885 15.5104 3.4603C17.1045 5.03561 18 7.17218 18 9.4V15",stroke:s,strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M18 16C18 16.5304 17.801 17.0391 17.4468 17.4142C17.0925 17.7893 16.6121 18 16.1111 18H15.1667C14.6657 18 14.1853 17.7893 13.831 17.4142C13.4768 17.0391 13.2778 16.5304 13.2778 16V13C13.2778 12.4696 13.4768 11.9609 13.831 11.5858C14.1853 11.2107 14.6657 11 15.1667 11H18V16ZM1 16C1 16.5304 1.19901 17.0391 1.55324 17.4142C1.90748 17.7893 2.38792 18 2.88889 18H3.83333C4.3343 18 4.81474 17.7893 5.16898 17.4142C5.52321 17.0391 5.72222 16.5304 5.72222 16V13C5.72222 12.4696 5.52321 11.9609 5.16898 11.5858C4.81474 11.2107 4.3343 11 3.83333 11H1V16Z",stroke:s,strokeLinecap:"round",strokeLinejoin:"round"})]})},A=function(e){var t=e.pathFill,n=void 0===t?"black":t;return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M22.6531 15.0204C22.6531 14.2765 23.2561 13.6735 24 13.6735C24.7439 13.6735 25.3469 14.2765 25.3469 15.0204C25.3469 15.7643 24.7439 16.3673 24 16.3673C23.2561 16.3673 22.6531 15.7643 22.6531 15.0204Z",fill:n}),(0,a.jsx)("path",{d:"M22.6531 20.4082C22.6531 19.6643 23.2561 19.0612 24 19.0612C24.7439 19.0612 25.3469 19.6643 25.3469 20.4082V32.0816C25.3469 32.8255 24.7439 33.4286 24 33.4286C23.2561 33.4286 22.6531 32.8255 22.6531 32.0816V20.4082Z",fill:n}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 2C11.8497 2 2 11.8497 2 24C2 36.1503 11.8497 46 24 46C36.1503 46 46 36.1503 46 24C46 11.8497 36.1503 2 24 2ZM3.79592 24C3.79592 12.8416 12.8416 3.79592 24 3.79592C35.1584 3.79592 44.2041 12.8416 44.2041 24C44.2041 35.1584 35.1584 44.2041 24 44.2041C12.8416 44.2041 3.79592 35.1584 3.79592 24Z",fill:n})]})},j=function(e){var t=e.width,n=void 0===t?16:t,r=e.height,o=void 0===r?21:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 16 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M11.5 3C12.9045 3 13.6067 3 14.1111 3.33706C14.3295 3.48298 14.517 3.67048 14.6629 3.88886C15 4.39331 15 5.09554 15 6.5V16C15 17.8856 15 18.8284 14.4142 19.4142C13.8284 20 12.8856 20 11 20H5C3.11438 20 2.17157 20 1.58579 19.4142C1 18.8284 1 17.8856 1 16V6.5C1 5.09554 1 4.39331 1.33706 3.88886C1.48298 3.67048 1.67048 3.48298 1.88886 3.33706C2.39331 3 3.09554 3 4.5 3",stroke:"#586ED1"}),(0,a.jsx)("path",{d:"M5 3C5 1.89543 5.89543 1 7 1H9C10.1046 1 11 1.89543 11 3C11 4.10457 10.1046 5 9 5H7C5.89543 5 5 4.10457 5 3Z",stroke:"#586ED1"}),(0,a.jsx)("path",{d:"M5 10L11 10",stroke:"#586ED1",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M5 14L9 14",stroke:"#586ED1",strokeLinecap:"round"})]})},T=function(e){var t=e.width,n=void 0===t?16:t,r=e.height,o=void 0===r?21:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 16 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M11.5 3C12.9045 3 13.6067 3 14.1111 3.33706C14.3295 3.48298 14.517 3.67048 14.6629 3.88886C15 4.39331 15 5.09554 15 6.5V16C15 17.8856 15 18.8284 14.4142 19.4142C13.8284 20 12.8856 20 11 20H5C3.11438 20 2.17157 20 1.58579 19.4142C1 18.8284 1 17.8856 1 16V6.5C1 5.09554 1 4.39331 1.33706 3.88886C1.48298 3.67048 1.67048 3.48298 1.88886 3.33706C2.39331 3 3.09554 3 4.5 3",stroke:"#000"}),(0,a.jsx)("path",{d:"M5 3C5 1.89543 5.89543 1 7 1H9C10.1046 1 11 1.89543 11 3C11 4.10457 10.1046 5 9 5H7C5.89543 5 5 4.10457 5 3Z",stroke:"#000"}),(0,a.jsx)("path",{d:"M5 10L11 10",stroke:"#000",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M5 14L9 14",stroke:"#000",strokeLinecap:"round"})]})},Z=function(e){var t=e.width,n=void 0===t?18:t,r=e.height,o=void 0===r?22:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 18 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M11 1H3C2.46957 1 1.96086 1.21071 1.58579 1.58579C1.21071 1.96086 1 2.46957 1 3V19C1 19.5304 1.21071 20.0391 1.58579 20.4142C1.96086 20.7893 2.46957 21 3 21H15C15.5304 21 16.0391 20.7893 16.4142 20.4142C16.7893 20.0391 17 19.5304 17 19V7L11 1Z",stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M11 1V7H17",stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M13 12H5",stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M13 16H5",stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M7 8H6H5",stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round"})]})},P=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M19.4419 12.9428H19.1364V1.11097H19.4419C19.7475 1.11097 19.9974 0.861 19.9974 0.555484C19.9974 0.249968 19.7475 0 19.4419 0H0.555484C0.249968 0 0 0.249968 0 0.555484C0 0.861 0.249968 1.11097 0.555484 1.11097H0.861V12.9428H0.555484C0.249968 12.9428 0 13.1927 0 13.4983C0 13.8038 0.249968 14.0537 0.555484 14.0537H9.44323V15.3591L5.11045 19.0253C4.88826 19.2197 4.83271 19.5808 5.0549 19.803C5.24932 20.0252 5.61039 20.0807 5.83258 19.8586L9.471 16.8034V19.1087C9.471 19.4142 9.72097 19.6641 10.0265 19.6641C10.332 19.6641 10.582 19.4142 10.582 19.1087V16.8034L14.2204 19.8586C14.3315 19.9419 14.4426 19.9974 14.5815 19.9974C14.7481 19.9974 14.887 19.9419 14.9981 19.803C15.1925 19.5808 15.1647 19.2197 14.9425 19.0253L10.5542 15.3591V14.0537H19.4419C19.7475 14.0537 19.9974 13.8038 19.9974 13.4983C19.9974 13.1927 19.7475 12.9428 19.4419 12.9428ZM1.97197 1.11097H18.0532V12.9428H1.97197V1.11097Z",fill:"#586ED1"}),(0,a.jsx)("path",{d:"M13.6372 5.88752C13.4705 6.13749 13.5538 6.49856 13.8316 6.63743C13.9149 6.69298 14.026 6.72075 14.1093 6.72075C14.3037 6.72075 14.4704 6.63743 14.5815 6.44301L15.9702 4.16552C16.0535 4.02665 16.0813 3.88778 16.0257 3.74891C15.998 3.61004 15.8869 3.47117 15.7758 3.41562L13.4983 2.02691C13.2483 1.86026 12.8873 1.94359 12.7484 2.22133C12.5817 2.4713 12.6651 2.83236 12.9428 2.97123L14.026 3.61004C6.97135 5.33204 4.80497 10.6091 4.69387 10.8313C4.58277 11.1091 4.72164 11.4424 4.99939 11.5535C5.05493 11.5812 5.13826 11.5812 5.19381 11.5812C5.416 11.5812 5.61042 11.4424 5.72152 11.2202C5.80484 10.998 7.83235 6.19304 14.3593 4.63768L13.6372 5.88752Z",fill:"#586ED1"}),(0,a.jsx)("path",{d:"M13.3037 9.33263C13.3037 8.19389 12.3871 7.27734 11.2484 7.27734C10.1097 7.27734 9.19312 8.19389 9.19312 9.33263C9.19312 10.4714 10.1097 11.3879 11.2484 11.3879C12.3871 11.3879 13.3037 10.4436 13.3037 9.33263ZM10.3319 9.33263C10.3319 8.80492 10.7485 8.38831 11.2762 8.38831C11.8039 8.38831 12.2205 8.80492 12.2205 9.33263C12.2205 9.86034 11.8039 10.277 11.2762 10.277C10.7485 10.2492 10.3319 9.83257 10.3319 9.33263Z",fill:"#586ED1"}),(0,a.jsx)("path",{d:"M5.19376 6.72151C5.49928 6.72151 5.74925 6.47154 5.74925 6.16603V5.36058H6.5547C6.86022 5.36058 7.11018 5.11061 7.11018 4.80509C7.11018 4.49958 6.86022 4.24961 6.5547 4.24961H5.74925V3.44416C5.74925 3.13864 5.49928 2.88867 5.19376 2.88867C4.88825 2.88867 4.63828 3.13864 4.63828 3.44416V4.24961H3.83283C3.52731 4.24961 3.27734 4.49958 3.27734 4.80509C3.27734 5.11061 3.52731 5.36058 3.83283 5.36058H4.63828V6.16603C4.63828 6.47154 4.88825 6.72151 5.19376 6.72151Z",fill:"#586ED1"})]})},R=function(e){var t=e.width,n=void 0===t?16:t,r=e.height,o=void 0===r?21:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 16 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M11.5 3C12.9045 3 13.6067 3 14.1111 3.33706C14.3295 3.48298 14.517 3.67048 14.6629 3.88886C15 4.39331 15 5.09554 15 6.5V16C15 17.8856 15 18.8284 14.4142 19.4142C13.8284 20 12.8856 20 11 20H5C3.11438 20 2.17157 20 1.58579 19.4142C1 18.8284 1 17.8856 1 16V6.5C1 5.09554 1 4.39331 1.33706 3.88886C1.48298 3.67048 1.67048 3.48298 1.88886 3.33706C2.39331 3 3.09554 3 4.5 3",stroke:"#586ED1"}),(0,a.jsx)("path",{d:"M5 3C5 1.89543 5.89543 1 7 1H9C10.1046 1 11 1.89543 11 3C11 4.10457 10.1046 5 9 5H7C5.89543 5 5 4.10457 5 3Z",stroke:"#586ED1"}),(0,a.jsx)("path",{d:"M6 10.4026C6.16451 9.93494 6.48922 9.5406 6.91661 9.28941C7.344 9.03823 7.84651 8.94641 8.33511 9.03022C8.82372 9.11403 9.2669 9.36806 9.58615 9.74731C9.90541 10.1266 10.0801 10.6066 10.0794 11.1023C10.0794 12.5018 7.98023 13.2015 7.98023 13.2015",stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M8.03638 16H8.04337",stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round"})]})},I=function(e){var t=e.width,n=void 0===t?18:t,r=e.height,o=void 0===r?18:r;e.stroke;return(0,a.jsx)("svg",{fill:"#586ED1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",width:n,height:o,children:(0,a.jsx)("path",{d:"M 16 2 C 14.742188 2 13.847656 2.890625 13.40625 4 L 5 4 L 5 29 L 27 29 L 27 4 L 18.59375 4 C 18.152344 2.890625 17.257813 2 16 2 Z M 16 4 C 16.554688 4 17 4.445313 17 5 L 17 6 L 20 6 L 20 8 L 12 8 L 12 6 L 15 6 L 15 5 C 15 4.445313 15.445313 4 16 4 Z M 7 6 L 10 6 L 10 10 L 22 10 L 22 6 L 25 6 L 25 27 L 7 27 Z M 9 12 L 9 17 L 14 17 L 14 12 Z M 16 13 L 16 15 L 23 15 L 23 13 Z M 11 14 L 12 14 L 12 15 L 11 15 Z M 9 19 L 9 24 L 14 24 L 14 19 Z M 16 20 L 16 22 L 23 22 L 23 20 Z"})})},D=function(e){var t=e.width,n=void 0===t?18:t,r=e.height,o=void 0===r?18:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M1 4V1H17V4",stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M6 17H12",stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M9 1V17",stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round"})]})},z=function(e){var t=e.width,n=void 0===t?18:t,r=e.height,o=void 0===r?18:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M1 4V1H17V4",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M6 17H12",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M9 1V17",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round"})]})},H=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?14:r,i=e.stroke,s=void 0===i?"#586ED1":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M3 13H13C14.1046 13 15 12.1046 15 11V3.57143V3C15 1.89543 14.1046 1 13 1H3C1.89543 1 1 1.89543 1 3V11C1 12.1046 1.89543 13 3 13Z",stroke:s,strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("circle",{cx:"4.5",cy:"4.5",r:"0.5",stroke:s,strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M15 5L19 2V12L15 9",stroke:s,strokeLinejoin:"round"})]})},B=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{fill:"#586ED1",height:o,width:n,version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 58 58",children:(0,a.jsx)("path",{d:"M50.688,48.222C55.232,43.101,58,36.369,58,29c0-7.667-2.996-14.643-7.872-19.834c0,0,0-0.001,0-0.001 c-0.004-0.006-0.01-0.008-0.013-0.013c-5.079-5.399-12.195-8.855-20.11-9.126l-0.001-0.001L29.439,0.01C29.293,0.005,29.147,0,29,0 s-0.293,0.005-0.439,0.01l-0.563,0.015l-0.001,0.001c-7.915,0.271-15.031,3.727-20.11,9.126c-0.004,0.005-0.01,0.007-0.013,0.013 c0,0,0,0.001-0.001,0.002C2.996,14.357,0,21.333,0,29c0,7.369,2.768,14.101,7.312,19.222c0.006,0.009,0.006,0.019,0.013,0.028 c0.018,0.025,0.044,0.037,0.063,0.06c5.106,5.708,12.432,9.385,20.608,9.665l0.001,0.001l0.563,0.015C28.707,57.995,28.853,58,29,58 s0.293-0.005,0.439-0.01l0.563-0.015l0.001-0.001c8.185-0.281,15.519-3.965,20.625-9.685c0.013-0.017,0.034-0.022,0.046-0.04 C50.682,48.241,50.682,48.231,50.688,48.222z M2.025,30h12.003c0.113,4.239,0.941,8.358,2.415,12.217 c-2.844,1.029-5.563,2.409-8.111,4.131C4.585,41.891,2.253,36.21,2.025,30z M8.878,11.023c2.488,1.618,5.137,2.914,7.9,3.882 C15.086,19.012,14.15,23.44,14.028,28H2.025C2.264,21.493,4.812,15.568,8.878,11.023z M55.975,28H43.972 c-0.122-4.56-1.058-8.988-2.75-13.095c2.763-0.968,5.412-2.264,7.9-3.882C53.188,15.568,55.736,21.493,55.975,28z M28,14.963 c-2.891-0.082-5.729-0.513-8.471-1.283C21.556,9.522,24.418,5.769,28,2.644V14.963z M28,16.963V28H16.028 c0.123-4.348,1.035-8.565,2.666-12.475C21.7,16.396,24.821,16.878,28,16.963z M30,16.963c3.179-0.085,6.3-0.566,9.307-1.438 c1.631,3.91,2.543,8.127,2.666,12.475H30V16.963z M30,14.963V2.644c3.582,3.125,6.444,6.878,8.471,11.036 C35.729,14.45,32.891,14.881,30,14.963z M40.409,13.072c-1.921-4.025-4.587-7.692-7.888-10.835 c5.856,0.766,11.125,3.414,15.183,7.318C45.4,11.017,42.956,12.193,40.409,13.072z M17.591,13.072 c-2.547-0.879-4.991-2.055-7.294-3.517c4.057-3.904,9.327-6.552,15.183-7.318C22.178,5.38,19.512,9.047,17.591,13.072z M16.028,30 H28v10.038c-3.307,0.088-6.547,0.604-9.661,1.541C16.932,37.924,16.141,34.019,16.028,30z M28,42.038v13.318 c-3.834-3.345-6.84-7.409-8.884-11.917C21.983,42.594,24.961,42.124,28,42.038z M30,55.356V42.038 c3.039,0.085,6.017,0.556,8.884,1.4C36.84,47.947,33.834,52.011,30,55.356z M30,40.038V30h11.972 c-0.113,4.019-0.904,7.924-2.312,11.58C36.547,40.642,33.307,40.126,30,40.038z M43.972,30h12.003 c-0.228,6.21-2.559,11.891-6.307,16.348c-2.548-1.722-5.267-3.102-8.111-4.131C43.032,38.358,43.859,34.239,43.972,30z M9.691,47.846c2.366-1.572,4.885-2.836,7.517-3.781c1.945,4.36,4.737,8.333,8.271,11.698C19.328,54.958,13.823,52.078,9.691,47.846 z M32.521,55.763c3.534-3.364,6.326-7.337,8.271-11.698c2.632,0.945,5.15,2.209,7.517,3.781 C44.177,52.078,38.672,54.958,32.521,55.763z"})})},F=function(){return(0,a.jsx)("svg",{width:10,height:6,viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M5 5L4.64645 5.35355L5 5.70711L5.35355 5.35355L5 5ZM0.646447 1.35355L4.64645 5.35355L5.35355 4.64645L1.35355 0.646446L0.646447 1.35355ZM5.35355 5.35355L9.35355 1.35355L8.64645 0.646447L4.64645 4.64645L5.35355 5.35355Z",fill:"#707584"})})},V=function(){return(0,a.jsx)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M5 1L5.35355 0.646446L5 0.292893L4.64645 0.646446L5 1ZM9.35355 4.64645L5.35355 0.646446L4.64645 1.35355L8.64645 5.35355L9.35355 4.64645ZM4.64645 0.646446L0.646446 4.64645L1.35355 5.35355L5.35355 1.35355L4.64645 0.646446Z",fill:"#707584"})})},q=function(){return(0,a.jsx)("svg",{width:4,height:16,viewBox:"0 0 4 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M2 4C3.1 4 4 3.1 4 2C4 0.9 3.1 0 2 0C0.9 0 0 0.9 0 2C0 3.1 0.9 4 2 4ZM2 6C0.9 6 0 6.9 0 8C0 9.1 0.9 10 2 10C3.1 10 4 9.1 4 8C4 6.9 3.1 6 2 6ZM2 12C0.9 12 0 12.9 0 14C0 15.1 0.9 16 2 16C3.1 16 4 15.1 4 14C4 12.9 3.1 12 2 12Z",fill:"#707070"})})},U=function(){return(0,a.jsx)("svg",{width:14,height:12,viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M13.5 0.666667V2.66667C13.5 3.06667 13.2 3.33333 12.75 3.33333C12.3 3.33333 12 3.06667 12 2.66667V1.33333H7.5V10.6667H9C9.45 10.6667 9.75 10.9333 9.75 11.3333C9.75 11.7333 9.45 12 9 12H4.5C4.05 12 3.75 11.7333 3.75 11.3333C3.75 10.9333 4.05 10.6667 4.5 10.6667H6V1.33333H1.5V2.66667C1.5 3.06667 1.2 3.33333 0.75 3.33333C0.3 3.33333 0 3.06667 0 2.66667V0.666667C0 0.266667 0.3 0 0.75 0H12.75C13.2 0 13.5 0.266667 13.5 0.666667Z",fill:"#586ED1"})})},$=function(){return(0,a.jsx)("svg",{width:"20",height:"28",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.8333 12.3333C12.8333 6.35025 17.6836 1.5 23.6667 1.5C29.6497 1.5 34.5 6.35025 34.5 12.3333V20.1667H37.6667C41.0724 20.1667 43.8333 22.9276 43.8333 26.3333V40.3333C43.8333 43.7391 41.0724 46.5 37.6667 46.5H9.66667C6.26091 46.5 3.5 43.7391 3.5 40.3333V26.3333C3.5 22.9276 6.26091 20.1667 9.66667 20.1667H12.8333V12.3333ZM15.8333 20.1667H31.5V12.3333C31.5 8.0071 27.9929 4.5 23.6667 4.5C19.3404 4.5 15.8333 8.0071 15.8333 12.3333V20.1667ZM9.66667 23.1667C7.91777 23.1667 6.5 24.5844 6.5 26.3333V40.3333C6.5 42.0822 7.91777 43.5 9.66667 43.5H37.6667C39.4156 43.5 40.8333 42.0822 40.8333 40.3333V26.3333C40.8333 24.5844 39.4156 23.1667 37.6667 23.1667H9.66667ZM23.6667 29.5C24.4951 29.5 25.1667 30.1716 25.1667 31V35.6667C25.1667 36.4951 24.4951 37.1667 23.6667 37.1667C22.8382 37.1667 22.1667 36.4951 22.1667 35.6667V31C22.1667 30.1716 22.8382 29.5 23.6667 29.5Z",fill:"#707584"})})},W=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:n,height:o,children:[(0,a.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,a.jsx)("path",{d:"M19 10h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1V9a7 7 0 1 1 14 0v1zm-2 0V9A5 5 0 0 0 7 9v1h10zm-6 4v4h2v-4h-2z"})]})},K=function(){return(0,a.jsxs)("svg",{width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M7.00012 13.5078L7.00012 10.5078",stroke:"#E93136",strokeWidth:"2",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M11.0002 13.5078L11.0002 10.5078",stroke:"#E93136",strokeWidth:"2",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M0 5.49805H18V5.49805C17.0681 5.49805 16.6022 5.49805 16.2346 5.65029C15.7446 5.85328 15.3552 6.24262 15.1522 6.73268C15 7.10022 15 7.56616 15 8.49805V14.498C15 16.3837 15 17.3265 14.4142 17.9123C13.8284 18.498 12.8856 18.498 11 18.498H7C5.11438 18.498 4.17157 18.498 3.58579 17.9123C3 17.3265 3 16.3837 3 14.498V8.49805C3 7.56616 3 7.10022 2.84776 6.73268C2.64477 6.24262 2.25542 5.85328 1.76537 5.65029C1.39782 5.49805 0.931883 5.49805 0 5.49805V5.49805Z",stroke:"#E93136",strokeWidth:"2",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M7.06839 1.87059C7.18234 1.76427 7.43343 1.67033 7.78272 1.60332C8.13201 1.53632 8.55998 1.5 9.00024 1.5C9.44051 1.5 9.86848 1.53632 10.2178 1.60332C10.5671 1.67033 10.8181 1.76427 10.9321 1.87059",stroke:"#E93136",strokeWidth:"2",strokeLinecap:"round"})]})},G=function(){return(0,a.jsx)("svg",{width:16,height:14,viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M7.11111 0H16V1.75H7.11111V0ZM7.11111 3.5H12.4444V5.25H7.11111V3.5ZM7.11111 8.75H16V10.5H7.11111V8.75ZM7.11111 12.25H12.4444V14H7.11111V12.25ZM0 0H5.33333V5.25H0V0ZM1.77778 1.75V3.5H3.55556V1.75H1.77778ZM0 8.75H5.33333V14H0V8.75ZM1.77778 10.5V12.25H3.55556V10.5H1.77778Z",fill:"#2E3A59"})})},Y=function(){return(0,a.jsx)("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M4.70312 10.0767H6.61364V6.22727H10.4631V4.31676H6.61364V0.474431H4.70312V4.31676H0.860795V6.22727H4.70312V10.0767Z",fill:"#586ED1"})})},J=function(e){var t=e.width,n=void 0===t?25:t,r=e.height,o=void 0===r?30:r;return(0,a.jsxs)("svg",{viewBox:"0 0 1024 1024",width:n,height:o,className:"icon",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fill:"#000000",children:[(0,a.jsx)("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),(0,a.jsx)("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.jsxs)("g",{id:"SVGRepo_iconCarrier",children:[(0,a.jsx)("path",{d:"M509.8 139.7l190.5 109.6 0.2 196.5 173.2 99.7 0.2 219.8-190.2 110.1-172.4-99.2-171.5 99.2-190.5-109.6-0.2-219.9 170.7-98.8-0.3-197.3z",fill:"#FFFFFF"}),(0,a.jsx)("path",{d:"M520 527.5V365l-10 5.8-10-5.8v162.2l10.3 5.9zM339.5 666.9l-10-5.7v162.1l10.3 5.9 9.7-5.6V661.2zM693.4 823.6V661.2l-2 1.1c-1.6 0.9-3.3 1.3-5 1.3-3.5 0-6.8-1.8-8.7-5-2.5-4.3-1.4-9.6 2.2-12.7-3.8 1.4-6.6 5.1-6.6 9.4v167.9l10.3 5.9 9.8-5.5z",fill:"#5f6ccd"}),(0,a.jsx)("path",{d:"M825.1 563.7l8.4 4.8c-1.9-3.1-5.1-4.8-8.4-4.8zM833.7 568.9v9.5c1.6-2.9 1.7-6.5 0-9.5zM656.7 628.5l-8.7-5c-4.8-2.8-10.9-1.1-13.7 3.7-2.8 4.8-1.1 10.9 3.7 13.7l8.7 5c1.6 0.9 3.3 1.3 5 1.3 3.5 0 6.8-1.8 8.7-5 2.7-4.8 1.1-10.9-3.7-13.7zM613.3 603.6l-8.7-5c-4.8-2.8-10.9-1.1-13.7 3.7-2.8 4.8-1.1 10.9 3.7 13.7l8.7 5c1.6 0.9 3.3 1.3 5 1.3 3.5 0 6.8-1.8 8.7-5 2.8-4.8 1.1-10.9-3.7-13.7z",fill:"#5f6ccd"}),(0,a.jsx)("path",{d:"M833.6 568.7c0-0.1-0.1-0.1-0.1-0.2l-8.4-4.8c-1.8 0-3.5 0.4-5.2 1.3l-8.7 5c-4.8 2.8-6.4 8.9-3.7 13.7 1.9 3.2 5.2 5 8.7 5 1.7 0 3.4-0.4 5-1.3l8.7-5c1.7-1 2.9-2.3 3.8-3.9V569c0-0.2-0.1-0.3-0.1-0.3zM690 640l-8.7 5c-0.5 0.3-1 0.6-1.4 1-3.7 3.1-4.7 8.4-2.2 12.7 1.9 3.2 5.2 5 8.7 5 1.7 0 3.4-0.4 5-1.3l2-1.1 6.7-3.9c4.8-2.8 6.4-8.9 3.7-13.7-2.9-4.8-9-6.5-13.8-3.7zM570 578.7l-8.7-5c-4.8-2.8-10.9-1.1-13.7 3.7-2.8 4.8-1.1 10.9 3.7 13.7l8.7 5c1.6 0.9 3.3 1.3 5 1.3 3.5 0 6.8-1.8 8.7-5 2.7-4.8 1-11-3.7-13.7zM776.6 590l-8.7 5c-4.8 2.8-6.4 8.9-3.7 13.7 1.9 3.2 5.2 5 8.7 5 1.7 0 3.4-0.4 5-1.3l8.7-5c4.8-2.8 6.4-8.9 3.7-13.7-2.8-4.8-8.9-6.5-13.7-3.7zM733.3 615l-8.7 5c-4.8 2.8-6.4 8.9-3.7 13.7 1.9 3.2 5.2 5 8.7 5 1.7 0 3.4-0.4 5-1.3l8.7-5c4.8-2.8 6.4-8.9 3.7-13.7-2.8-4.8-8.9-6.5-13.7-3.7z",fill:"#5f6ccd"}),(0,a.jsx)("path",{d:"M873.7 545.5l-173.2-99.7-0.2-196.5-190.5-109.6-190.3 110.1 0.2 197.3L149 546l0.3 219.8 190.5 109.7 171.4-99.3 172.4 99.3 190.2-110.1-0.1-219.9zM509.8 185.9l140.4 80.8-140.3 81L369.5 267l140.3-81.1zM339.3 482l140.4 80.8-140.3 81L199 563.1 339.3 482z m10.2 341.6l-9.7 5.6-10.3-5.9-140.2-80.7-0.2-162.1 140.4 80.7 10 5.8 10-5.8 140.4-81 0.2 162.1-140.6 81.3z m160.8-290.5l-10.3-5.9-140.2-80.7-0.2-162.1L500 365l10 5.8 10-5.8 140.4-81 0.2 162.1L520 527.5l-9.7 5.6z m323.6 209.1l-140.6 81.4-9.7 5.6-10.3-5.9-140.2-80.7L533 569l150.3-87 141.9 81.7c3.3 0.1 6.6 1.8 8.4 4.8l0.2 0.1v0.3c1.7 3.1 1.6 6.7 0 9.5l0.1 163.8z",fill:"#5f6ccd"})]})]})},X=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("circle",{cx:10,cy:10,r:9,stroke:"white"}),(0,a.jsx)("path",{d:"M10 6L10 14",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M14 10L6 10",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round"})]})},Q=function(){return(0,a.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("circle",{cx:"16",cy:"16",r:"16",fill:"#3CB733"}),(0,a.jsx)("path",{d:"M10.6663 17.4558L13.1658 19.3944C13.5992 19.7305 14.2226 19.6548 14.5629 19.2246L21.333 10.668",stroke:"white",strokeWidth:"2",strokeLinecap:"round"})]})},ee=function(e){var t=e.width,n=void 0===t?15:t,r=e.height,o=void 0===r?15:r,i=e.stroke,s=void 0===i?"white":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("circle",{cx:"6",cy:"6",r:"5",stroke:s,strokeWidth:"1.2"}),(0,a.jsx)("path",{d:"M13.5 13.5L11 11",stroke:s,strokeWidth:"1.2",strokeLinecap:"round"})]})},te=function(){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-chevron-left",children:(0,a.jsx)("polyline",{points:"15 18 9 12 15 6"})})},ne=function(){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-chevron-right",children:(0,a.jsx)("polyline",{points:"9 18 15 12 9 6"})})},re=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 52 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M34.0969 31.7969L35.4969 33.1969L51.6969 16.9969L35.4969 0.796875L34.0969 2.19688L47.8969 15.9969H0.296875V17.9969H47.8969L34.0969 31.7969Z",fill:s})})},oe=function(){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 24 24",fill:"none",stroke:"#6568dd",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-camera",children:[(0,a.jsx)("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),(0,a.jsx)("circle",{cx:12,cy:13,r:4})]})},ie=function(e){return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({width:"12",height:"12",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:(0,a.jsx)("path",{d:"M5.41422 16.4142C4.15429 15.1543 5.04662 13 6.82843 13H41.1716C42.9534 13 43.8457 15.1543 42.5858 16.4142L25.4142 33.5858C24.6332 34.3668 23.3668 34.3668 22.5858 33.5858L5.41422 16.4142Z",fill:"black"})}))},ae=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"#000":i;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,fill:"none",viewBox:"0 0 16 16",children:(0,a.jsx)("path",{fill:s,fillRule:"evenodd",d:"M10.867 1.333c2.257 0 3.774 1.581 3.774 3.933v5.435c0 2.352-1.517 3.932-3.774 3.932H5.101c-2.254 0-3.767-1.58-3.767-3.932V5.266c0-2.352 1.513-3.933 3.767-3.933h5.766zm0 1H5.101c-1.681 0-2.767 1.152-2.767 2.933v5.435c0 1.782 1.086 2.932 2.767 2.932h5.766c1.685 0 2.774-1.15 2.774-2.932V5.266c0-1.781-1.089-2.933-2.774-2.933zm.426 5.733l.017.015.013.013.009.008.037.037c.12.12.453.46 1.443 1.477a.5.5 0 11-.716.697S10.73 8.91 10.633 8.816a.614.614 0 00-.433-.118.622.622 0 00-.421.225c-1.55 1.88-1.568 1.897-1.594 1.922a1.456 1.456 0 01-2.057-.021s-.62-.63-.63-.642c-.155-.143-.43-.134-.594.04l-1.02 1.076a.498.498 0 01-.707.018.499.499 0 01-.018-.706l1.018-1.075c.54-.573 1.45-.6 2.025-.06l.639.647c.178.18.467.184.646.008l1.519-1.843a1.618 1.618 0 011.098-.584c.433-.038.854.088 1.19.363zM5.706 4.42c.921 0 1.67.75 1.67 1.67 0 .92-.75 1.67-1.67 1.67-.92 0-1.67-.75-1.67-1.67 0-.921.75-1.67 1.67-1.67zm0 1a.67.67 0 10.001 1.34.67.67 0 00-.002-1.34z",clipRule:"evenodd"})})},se=function(){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16",children:(0,a.jsx)("path",{fill:"#000",fillOpacity:".46",fillRule:"evenodd",d:"M13.167 6.534a.5.5 0 01.5.5c0 3.061-2.35 5.582-5.333 5.837V14.5a.5.5 0 01-1 0v-1.629C4.35 12.616 2 10.096 2 7.034a.5.5 0 011 0c0 2.679 2.168 4.859 4.833 4.859 2.666 0 4.834-2.18 4.834-4.86a.5.5 0 01.5-.5zM7.833.667a3.218 3.218 0 013.208 3.22v3.126c0 1.775-1.439 3.22-3.208 3.22a3.218 3.218 0 01-3.208-3.22V3.887c0-1.776 1.44-3.22 3.208-3.22zm0 1a2.217 2.217 0 00-2.208 2.22v3.126c0 1.223.991 2.22 2.208 2.22a2.217 2.217 0 002.208-2.22V3.887c0-1.224-.99-2.22-2.208-2.22z",clipRule:"evenodd"})})},le=function(e){return(0,a.jsx)(v,(0,o.Z)({component:function(){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 18 18",children:[(0,a.jsx)("path",{stroke:"#586ED1",d:"M1 9a8 8 0 018-8v0a8 8 0 018 8v5.09c0 .848 0 1.27-.126 1.609a2 2 0 01-1.175 1.175C15.36 17 14.938 17 14.09 17H9a8 8 0 01-8-8v0z"}),(0,a.jsx)("path",{stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round",d:"M6 8h6M9 12h3"})]})}},e))},ce=function(e){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:32,height:32,viewBox:"0 0 24 24",children:(0,a.jsxs)("g",{"data-name":"Layer 2",children:[(0,a.jsx)("path",{fill:"#49adf4",d:"M12,1.25A10.728,10.728,0,0,0,2.846,17.608L1.3,21.736a.75.75,0,0,0,.926.98l4.45-1.391A10.745,10.745,0,1,0,12,1.25Z"}),(0,a.jsx)("path",{fill:"#fff",d:"M12,10.75H7a.75.75,0,0,1,0-1.5h5a.75.75,0,0,1,0,1.5Z"}),(0,a.jsx)("path",{fill:"#fff",d:"M17,14.75H7a.75.75,0,0,1,0-1.5H17a.75.75,0,0,1,0,1.5Z"})]})})},ue=function(e){return(0,a.jsx)(v,(0,o.Z)({component:function(){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none",viewBox:"0 0 18 18",children:(0,a.jsx)("path",{stroke:"#707070",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2",d:"M14.25 2.25H3.75a1.5 1.5 0 00-1.5 1.5v10.5a1.5 1.5 0 001.5 1.5h10.5a1.5 1.5 0 001.5-1.5V3.75a1.5 1.5 0 00-1.5-1.5zM6.75 6.75l4.5 4.5M11.25 6.75l-4.5 4.5"})})}},e))},de=function(e){return(0,a.jsx)(v,(0,o.Z)({component:function(){return(0,a.jsxs)("svg",{width:"16px",height:"16px",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",className:"ionicon",children:[(0,a.jsx)("title",{children:"Arrow Undo"}),(0,a.jsx)("path",{d:"M240 424v-96c116.4 0 159.39 33.76 208 96 0-119.23-39.57-240-208-240V88L64 256z",fill:"none",stroke:"#666",strokeLinejoin:"round",strokeWidth:"32"})]})}},e))},fe=function(e){return(0,a.jsx)(v,(0,o.Z)({component:function(){return(0,a.jsx)("svg",{width:"14",height:"6",viewBox:"0 0 14 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M11 6L14 3L11 0L10.293 0.707L12.086 2.5H0V3.5H12.086L10.293 5.293L11 6Z",fill:"#586ED1"})})}},e))},pe=function(e){return(0,a.jsx)(v,(0,o.Z)({component:function(){return(0,a.jsx)("svg",{width:20,height:20,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.6945 36.6945C16.6206 37.7685 14.8794 37.7685 13.8055 36.6945L2.80546 25.6945C1.73151 24.6206 1.73151 22.8794 2.80546 21.8055L13.8055 10.8055C14.8794 9.73151 16.6206 9.73151 17.6945 10.8055C18.7685 11.8794 18.7685 13.6206 17.6945 14.6945L11.3891 21L43.25 21C44.7688 21 46 22.2312 46 23.75C46 25.2688 44.7688 26.5 43.25 26.5L11.3891 26.5L17.6945 32.8055C18.7685 33.8794 18.7685 35.6206 17.6945 36.6945Z",fill:"#111827"})})}},e))},he=function(e){return(0,a.jsx)(v,(0,o.Z)({component:function(){return(0,a.jsxs)("svg",{width:"20",height:"17",viewBox:"0 0 20 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M3 14H7C8.65685 14 10 15.3431 10 17V7C10 4.17157 10 2.75736 9.12132 1.87868C8.24264 1 6.82843 1 4 1H3C2.05719 1 1.58579 1 1.29289 1.29289C1 1.58579 1 2.05719 1 3V12C1 12.9428 1 13.4142 1.29289 13.7071C1.58579 14 2.05719 14 3 14Z",stroke:"#707070"}),(0,a.jsx)("path",{d:"M17 14H13C11.3431 14 10 15.3431 10 17V7C10 4.17157 10 2.75736 10.8787 1.87868C11.7574 1 13.1716 1 16 1H17C17.9428 1 18.4142 1 18.7071 1.29289C19 1.58579 19 2.05719 19 3V12C19 12.9428 19 13.4142 18.7071 13.7071C18.4142 14 17.9428 14 17 14Z",stroke:"#707070"})]})}},e))},me=function(e){return(0,a.jsx)(v,(0,o.Z)({component:function(){return(0,a.jsxs)("svg",{width:"20",height:"17",viewBox:"0 0 20 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M3 14H7C8.65685 14 10 15.3431 10 17V7C10 4.17157 10 2.75736 9.12132 1.87868C8.24264 1 6.82843 1 4 1H3C2.05719 1 1.58579 1 1.29289 1.29289C1 1.58579 1 2.05719 1 3V12C1 12.9428 1 13.4142 1.29289 13.7071C1.58579 14 2.05719 14 3 14Z",stroke:"#586ED1"}),(0,a.jsx)("path",{d:"M17 14H13C11.3431 14 10 15.3431 10 17V7C10 4.17157 10 2.75736 10.8787 1.87868C11.7574 1 13.1716 1 16 1H17C17.9428 1 18.4142 1 18.7071 1.29289C19 1.58579 19 2.05719 19 3V12C19 12.9428 19 13.4142 18.7071 13.7071C18.4142 14 17.9428 14 17 14Z",stroke:"#586ED1"})]})}},e))},ge=function(e){return(0,a.jsx)(v,(0,o.Z)({component:function(){return(0,a.jsx)("svg",{width:15,height:16,viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M0.525391 15.4078V0.592197C0.525391 0.285491 0.728841 0.133105 0.816314 0.0818263C0.903787 0.0305355 1.1357 -0.0723057 1.39927 0.0798554L14.2311 7.48766C14.4967 7.641 14.5254 7.89704 14.5254 8C14.5254 8.10296 14.4967 8.359 14.2311 8.51234L1.39927 15.9201C1.1357 16.0723 0.903787 15.9695 0.816314 15.9182C0.728841 15.8669 0.525391 15.7145 0.525391 15.4078Z",fill:"white"})})}},e))},ve=function(e){return(0,a.jsx)(v,(0,o.Z)({component:function(){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",children:[(0,a.jsx)("path",{fill:"#ffda6a",d:"M16 8C16 10.1217 15.1571 12.1566 13.6569 13.6569C12.1566 15.1571 10.1217 16 8 16C5.87827 16 3.84344 15.1571 2.34315 13.6569C0.842855 12.1566 0 10.1217 0 8C0 5.87827 0.842855 3.84344 2.34315 2.34315C3.84344 0.842855 5.87827 0 8 0C10.1217 0 12.1566 0.842855 13.6569 2.34315C15.1571 3.84344 16 5.87827 16 8"}),(0,a.jsx)("path",{fill:"#000",d:"M5.33301 12.765C5.33301 12.902 5.42701 13 5.58301 13C5.93401 13 6.41901 12.375 8.00001 12.375C9.58101 12.375 10.067 13 10.417 13C10.573 13 10.667 12.902 10.667 12.765C10.667 12.368 9.82801 11 8.00001 11C6.17201 11 5.33301 12.368 5.33301 12.765Z"}),(0,a.jsx)("path",{fill:"#548DFF",d:"M3.59872 8.79998C3.59872 7.98998 4.10772 7.33398 4.73272 7.33398C5.35972 7.33398 5.86672 7.98998 5.86672 8.79998C5.86672 9.13798 5.77772 9.44998 5.62872 9.69798C5.56211 9.80986 5.45387 9.89077 5.32772 9.92298C5.18772 9.95998 4.97472 9.99998 4.73272 9.99998C4.48972 9.99998 4.27972 9.95998 4.13772 9.92298C4.01184 9.89073 3.90393 9.8098 3.83772 9.69798C3.67817 9.42583 3.59556 9.11544 3.59872 8.79998V8.79998ZM10.1327 8.79998C10.1327 7.98998 10.6407 7.33398 11.2657 7.33398C11.8927 7.33398 12.3997 7.98998 12.3997 8.79998C12.3997 9.13798 12.3107 9.44998 12.1617 9.69798C12.1288 9.75345 12.0853 9.80188 12.0336 9.84049C11.982 9.8791 11.9232 9.90713 11.8607 9.92298C11.4708 10.024 11.0616 10.024 10.6717 9.92298C10.6092 9.90713 10.5504 9.8791 10.4988 9.84049C10.4471 9.80188 10.4036 9.75345 10.3707 9.69798C10.2115 9.42575 10.1292 9.11536 10.1327 8.79998V8.79998Z"}),(0,a.jsx)("path",{fill:"#000000",d:"M3.59872 8.79998C3.59872 7.98998 4.10772 7.33398 4.73272 7.33398C5.35972 7.33398 5.86672 7.98998 5.86672 8.79998C5.86672 9.13798 5.77772 9.44998 5.62872 9.69798C5.56211 9.80986 5.45387 9.89077 5.32772 9.92298C5.18772 9.95998 4.97472 9.99998 4.73272 9.99998C4.48972 9.99998 4.27972 9.95998 4.13772 9.92298C4.01184 9.89073 3.90393 9.8098 3.83772 9.69798C3.67817 9.42583 3.59556 9.11544 3.59872 8.79998V8.79998ZM10.1327 8.79998C10.1327 7.98998 10.6407 7.33398 11.2657 7.33398C11.8927 7.33398 12.3997 7.98998 12.3997 8.79998C12.3997 9.13798 12.3107 9.44998 12.1617 9.69798C12.1288 9.75345 12.0853 9.80188 12.0336 9.84049C11.982 9.8791 11.9232 9.90713 11.8607 9.92298C11.4708 10.024 11.0616 10.024 10.6717 9.92298C10.6092 9.90713 10.5504 9.8791 10.4988 9.84049C10.4471 9.80188 10.4036 9.75345 10.3707 9.69798C10.2115 9.42575 10.1292 9.11536 10.1327 8.79998V8.79998Z",filter:"url(#filter0_i)",className:"color000000 svgShape"}),(0,a.jsx)("path",{fill:"#34a853",d:"M4.61595 7.98556C4.74395 8.11056 4.75195 8.35756 4.63295 8.53656C4.51295 8.71456 4.31295 8.75856 4.18495 8.63256C4.05695 8.50756 4.04995 8.26056 4.16795 8.08256C4.28795 7.90356 4.48795 7.86056 4.61595 7.98556V7.98556ZM11.105 7.98556C11.233 8.11056 11.241 8.35756 11.123 8.53656C11.003 8.71456 10.803 8.75856 10.673 8.63256C10.546 8.50756 10.539 8.26056 10.658 8.08256C10.777 7.90356 10.977 7.86056 11.105 7.98556V7.98556Z",className:"color4e506a svgShape"}),(0,a.jsx)("path",{fill:"#000",d:"M4.1572 5.15259C4.4892 4.99959 4.7532 4.93359 4.9582 4.93359C5.2352 4.93359 5.4092 5.05259 5.5082 5.23959C5.6832 5.56859 5.6042 5.64059 5.3102 5.69859C4.2042 5.92259 3.0932 6.64059 2.6112 7.08859C2.3102 7.36859 2.0222 7.05859 2.1752 6.81459C2.3292 6.57059 2.9492 5.70959 4.1572 5.15259V5.15259ZM10.4922 5.23959C10.5912 5.05259 10.7652 4.93359 11.0422 4.93359C11.2482 4.93359 11.5112 4.99959 11.8432 5.15259C13.0512 5.70959 13.6712 6.57059 13.8242 6.81459C13.9772 7.05859 13.6902 7.36859 13.3892 7.08859C12.9062 6.64059 11.7962 5.92259 10.6892 5.69859C10.3952 5.64059 10.3182 5.56859 10.4922 5.23959V5.23959Z"}),(0,a.jsx)("path",{fill:"url(#paint4_linear)",d:"M13.5 16C12.672 16 12 15.252 12 14.329C12 13.407 12.356 12.784 12.643 12.182C13.241 10.924 13.359 10.75 13.5 10.75C13.641 10.75 13.759 10.924 14.357 12.182C14.644 12.784 15 13.407 15 14.329C15 15.252 14.328 16 13.5 16Z"}),(0,a.jsx)("path",{fill:"url(#paint5_linear)",d:"M13.5002 13.6063C13.1722 13.6063 12.9062 13.3103 12.9062 12.9463C12.9062 12.5803 13.0473 12.3333 13.1613 12.0943C13.3973 11.5963 13.4442 11.5283 13.5002 11.5283C13.5562 11.5283 13.6032 11.5963 13.8392 12.0943C13.9532 12.3343 14.0942 12.5803 14.0942 12.9453C14.0942 13.3103 13.8282 13.6063 13.5002 13.6063"}),(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:"paint0_linear",x1:8,x2:8,y1:"1.64",y2:16,gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#feda70",className:"stopColorfeea70 svgShape"}),(0,a.jsx)("stop",{offset:1,stopColor:"#f6c330",className:"stopColorf69b30 svgShape"})]}),(0,a.jsxs)("linearGradient",{id:"paint1_linear",x1:8,x2:8,y1:11,y2:13,gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#154722",className:"stopColor472315 svgShape"}),(0,a.jsx)("stop",{offset:1,stopColor:"#8b180e",className:"stopColor8b3a0e svgShape"})]}),(0,a.jsxs)("linearGradient",{id:"paint2_linear",x1:"7.999",x2:"7.999",y1:"7.334",y2:10,gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#193320",className:"stopColor191a33 svgShape"}),(0,a.jsx)("stop",{offset:".872",stopColor:"#3b6a48",className:"stopColor3b426a svgShape"})]}),(0,a.jsxs)("linearGradient",{id:"paint3_linear",x1:8,x2:8,y1:"4.934",y2:"7.199",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#fbbc05",className:"stopColore78e0d svgShape"}),(0,a.jsx)("stop",{offset:1,stopColor:"#ea4335",className:"stopColorcb6000 svgShape"})]}),(0,a.jsxs)("linearGradient",{id:"paint4_linear",x1:"13.5",x2:"13.5",y1:"15.05",y2:"11.692",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#4285f4",className:"stopColor35cafc svgShape"}),(0,a.jsx)("stop",{offset:1,stopColor:"#0052db",className:"stopColor007edb svgShape"})]}),(0,a.jsxs)("linearGradient",{id:"paint5_linear",x1:"13.5",x2:"13.5",y1:"11.528",y2:"13.606",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#6aa2ff",stopOpacity:".287",className:"stopColor6ae1ff svgShape"}),(0,a.jsx)("stop",{offset:1,stopColor:"#a8c9ff",stopOpacity:".799",className:"stopColora8e3ff svgShape"})]}),(0,a.jsxs)("filter",{id:"filter0_i",width:"8.801",height:"2.666",x:"3.599",y:"7.334",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,a.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,a.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,a.jsx)("feOffset",{}),(0,a.jsx)("feGaussianBlur",{stdDeviation:".5"}),(0,a.jsx)("feComposite",{in2:"hardAlpha",k2:-1,k3:1,operator:"arithmetic"}),(0,a.jsx)("feColorMatrix",{values:"0 0 0 0 0.0411227 0 0 0 0 0.0430885 0 0 0 0 0.0922353 0 0 0 0.819684 0"}),(0,a.jsx)("feBlend",{in2:"shape",result:"effect1_innerShadow"})]})]})]})}},e))},ye=function(e){return(0,a.jsx)(v,(0,o.Z)({component:function(){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,fill:"none",viewBox:"0 0 16 16",children:[(0,a.jsx)("path",{fill:"#13a0f8",d:"M8 0C5.87827 0 3.84344 0.842855 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.84344 15.1571 5.87827 16 8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 5.87827 15.1571 3.84344 13.6569 2.34315C12.1566 0.842855 10.1217 0 8 0V0Z"}),(0,a.jsx)("path",{fill:"#fff",d:"M12.162 7.338C12.338 7.461 12.5 7.583 12.5 8.012C12.5 8.442 12.271 8.616 12.026 8.737C12.1261 8.90028 12.1581 9.09637 12.115 9.283C12.038 9.627 11.723 9.894 11.443 9.973C11.564 10.167 11.602 10.358 11.458 10.593C11.273 10.888 11.112 11 10.4 11H7.5C6.512 11 6 10.454 6 10V7.665C6 6.435 7.467 5.39 7.467 4.535L7.361 3.47C7.356 3.405 7.369 3.246 7.419 3.2C7.499 3.121 7.72 3 8.054 3C8.272 3 8.417 3.041 8.588 3.123C9.169 3.4 9.32 4.101 9.32 4.665C9.32 4.936 8.906 5.748 8.85 6.029C8.85 6.029 9.717 5.837 10.729 5.83C11.79 5.824 12.478 6.02 12.478 6.672C12.478 6.933 12.259 7.195 12.162 7.338V7.338ZM3.6 7H4.4C4.55913 7 4.71174 7.06321 4.82426 7.17574C4.93679 7.28826 5 7.44087 5 7.6V11.4C5 11.5591 4.93679 11.7117 4.82426 11.8243C4.71174 11.9368 4.55913 12 4.4 12H3.6C3.44087 12 3.28826 11.9368 3.17574 11.8243C3.06321 11.7117 3 11.5591 3 11.4V7.6C3 7.44087 3.06321 7.28826 3.17574 7.17574C3.28826 7.06321 3.44087 7 3.6 7V7Z"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"paint0_linear",x1:8,x2:8,y2:16,gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#18AFFF"}),(0,a.jsx)("stop",{offset:1,stopColor:"#0062DF"})]})})]})}},e))},be=function(e){return(0,a.jsx)(v,(0,o.Z)({component:function(){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Layer_1","data-name":"Layer 1",viewBox:"0 0 512 512",children:[(0,a.jsx)("path",{d:"M0,256C0,114.62,114.62,0,256,0S512,114.63,512,256,397.37,512,256,512,0,397.38,0,256Z",fill:"#e92344"}),(0,a.jsx)("path",{d:"M309.08,153.4a65.66,65.66,0,0,1,65.67,65.66C374.74,279,256,358.6,256,358.6S137.26,281.86,137.26,219.06c0-45.14,29.41-65.66,65.66-65.66A65.52,65.52,0,0,1,256,180.51,65.57,65.57,0,0,1,309.08,153.4Z",fill:"#fff"}),"\\"]})}},e))},we=function(e){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,fill:"none",viewBox:"0 0 16 16",children:[(0,a.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,a.jsx)("path",{fill:"#ffda6a",d:"M16 8C16 10.1217 15.1571 12.1566 13.6569 13.6569C12.1566 15.1571 10.1217 16 8 16C5.87827 16 3.84344 15.1571 2.34315 13.6569C0.842855 12.1566 0 10.1217 0 8C0 5.87827 0.842855 3.84344 2.34315 2.34315C3.84344 0.842855 5.87827 0 8 0C10.1217 0 12.1566 0.842855 13.6569 2.34315C15.1571 3.84344 16 5.87827 16 8"}),(0,a.jsx)("path",{fill:"#000",d:"M5.6431 10.888C5.4851 12.733 6.3691 14 8.0001 14C9.6301 14 10.5151 12.733 10.3571 10.888C10.2001 9.042 9.2421 8 8.0001 8C6.7581 8 5.8001 9.042 5.6431 10.888Z"}),(0,a.jsx)("path",{fill:"url(#paint2_linear)",d:"M3.5 5.5C3.5 4.672 4.059 4 4.75 4C5.441 4 6 4.672 6 5.5C6 6.329 5.441 7 4.75 7C4.059 7 3.5 6.329 3.5 5.5ZM10 5.5C10 4.672 10.56 4 11.25 4C11.941 4 12.5 4.672 12.5 5.5C12.5 6.329 11.941 7 11.25 7C10.56 7 10 6.329 10 5.5Z"}),(0,a.jsx)("path",{fill:"#000",d:"M3.5 5.5C3.5 4.672 4.059 4 4.75 4C5.441 4 6 4.672 6 5.5C6 6.329 5.441 7 4.75 7C4.059 7 3.5 6.329 3.5 5.5ZM10 5.5C10 4.672 10.56 4 11.25 4C11.941 4 12.5 4.672 12.5 5.5C12.5 6.329 11.941 7 11.25 7C10.56 7 10 6.329 10 5.5Z",filter:"url(#filter0_i)"}),(0,a.jsx)("path",{fill:"#4E506A",d:"M4.48146 4.56717C4.66746 4.60917 4.77146 4.81917 4.71346 5.03617C4.65646 5.25417 4.45946 5.39617 4.27346 5.35417C4.08746 5.31217 3.98346 5.10217 4.04146 4.88417C4.09846 4.66817 4.29546 4.52417 4.48146 4.56717ZM11.1395 4.63017C11.3455 4.67717 11.4615 4.91017 11.3975 5.15017C11.3335 5.39317 11.1155 5.55017 10.9085 5.50417C10.7025 5.45817 10.5865 5.22417 10.6505 4.98317C10.7135 4.74117 10.9325 4.58317 11.1405 4.63017H11.1395Z"}),(0,a.jsx)("path",{fill:"#000",d:"M11.0682 1.69583C11.1202 1.69083 11.1722 1.68883 11.2252 1.68883C11.7122 1.68883 12.2152 1.89283 12.5972 2.25083C12.6661 2.31649 12.7069 2.4063 12.711 2.50139C12.7151 2.59649 12.6822 2.68948 12.6192 2.76083C12.5888 2.79582 12.5515 2.8243 12.5098 2.84454C12.4681 2.86478 12.4227 2.87637 12.3763 2.87861C12.33 2.88085 12.2837 2.8737 12.2402 2.85758C12.1967 2.84147 12.1569 2.81672 12.1232 2.78483C11.8482 2.52583 11.4672 2.38483 11.1312 2.41583C11.0147 2.42455 10.9014 2.45871 10.7995 2.51589C10.6976 2.57308 10.6094 2.65191 10.5412 2.74683C10.5138 2.78403 10.4792 2.81537 10.4395 2.839C10.3998 2.86263 10.3558 2.87807 10.3101 2.88441C10.2643 2.89074 10.2177 2.88785 10.1731 2.8759C10.1285 2.86395 10.0867 2.84319 10.0502 2.81483C9.9755 2.75549 9.92675 2.66945 9.91425 2.57487C9.90175 2.48028 9.92647 2.38454 9.98321 2.30783C10.1092 2.13357 10.2714 1.98864 10.4587 1.883C10.646 1.77736 10.8539 1.71351 11.0682 1.69583V1.69583ZM3.40321 2.25083C3.77398 1.89822 4.26362 1.69765 4.77521 1.68883C5.0169 1.68359 5.25625 1.73719 5.47261 1.84503C5.68898 1.95286 5.87588 2.11169 6.01721 2.30783C6.07381 2.3845 6.09855 2.4801 6.08625 2.57461C6.07394 2.66912 6.02555 2.7552 5.95121 2.81483C5.91465 2.84321 5.87279 2.864 5.82808 2.87596C5.78338 2.88792 5.73673 2.89082 5.69088 2.88448C5.64504 2.87815 5.60092 2.86271 5.56114 2.83906C5.52135 2.81542 5.48669 2.78406 5.45921 2.74683C5.39097 2.65195 5.30279 2.57316 5.20087 2.51598C5.09895 2.4588 4.98574 2.42462 4.86921 2.41583C4.53421 2.38483 4.15221 2.52583 3.87721 2.78483C3.84352 2.81672 3.80373 2.84147 3.76023 2.85758C3.71673 2.8737 3.67042 2.88085 3.62409 2.87861C3.57776 2.87637 3.53235 2.86478 3.49061 2.84454C3.44887 2.8243 3.41166 2.79582 3.38121 2.76083C3.31821 2.68948 3.2853 2.59649 3.2894 2.50139C3.29351 2.4063 3.3343 2.31649 3.40321 2.25083V2.25083Z",filter:"url(#filter1_d)"}),(0,a.jsx)("path",{fill:"url(#paint3_linear)",d:"M11.0682 1.69583C11.1202 1.69083 11.1722 1.68883 11.2252 1.68883C11.7122 1.68883 12.2152 1.89283 12.5972 2.25083C12.6661 2.31649 12.7069 2.4063 12.711 2.50139C12.7151 2.59649 12.6822 2.68948 12.6192 2.76083C12.5888 2.79582 12.5515 2.8243 12.5098 2.84454C12.4681 2.86478 12.4227 2.87637 12.3763 2.87861C12.33 2.88085 12.2837 2.8737 12.2402 2.85758C12.1967 2.84147 12.1569 2.81672 12.1232 2.78483C11.8482 2.52583 11.4672 2.38483 11.1312 2.41583C11.0147 2.42455 10.9014 2.45871 10.7995 2.51589C10.6976 2.57308 10.6094 2.65191 10.5412 2.74683C10.5138 2.78403 10.4792 2.81537 10.4395 2.839C10.3998 2.86263 10.3558 2.87807 10.3101 2.88441C10.2643 2.89074 10.2177 2.88785 10.1731 2.8759C10.1285 2.86395 10.0867 2.84319 10.0502 2.81483C9.9755 2.75549 9.92675 2.66945 9.91425 2.57487C9.90175 2.48028 9.92647 2.38454 9.98321 2.30783C10.1092 2.13357 10.2714 1.98864 10.4587 1.883C10.646 1.77736 10.8539 1.71351 11.0682 1.69583V1.69583ZM3.40321 2.25083C3.77398 1.89822 4.26362 1.69765 4.77521 1.68883C5.0169 1.68359 5.25625 1.73719 5.47261 1.84503C5.68898 1.95286 5.87588 2.11169 6.01721 2.30783C6.07381 2.3845 6.09855 2.4801 6.08625 2.57461C6.07394 2.66912 6.02555 2.7552 5.95121 2.81483C5.91465 2.84321 5.87279 2.864 5.82808 2.87596C5.78338 2.88792 5.73673 2.89082 5.69088 2.88448C5.64504 2.87815 5.60092 2.86271 5.56114 2.83906C5.52135 2.81542 5.48669 2.78406 5.45921 2.74683C5.39097 2.65195 5.30279 2.57316 5.20087 2.51598C5.09895 2.4588 4.98574 2.42462 4.86921 2.41583C4.53421 2.38483 4.15221 2.52583 3.87721 2.78483C3.84352 2.81672 3.80373 2.84147 3.76023 2.85758C3.71673 2.8737 3.67042 2.88085 3.62409 2.87861C3.57776 2.87637 3.53235 2.86478 3.49061 2.84454C3.44887 2.8243 3.41166 2.79582 3.38121 2.76083C3.31821 2.68948 3.2853 2.59649 3.2894 2.50139C3.29351 2.4063 3.3343 2.31649 3.40321 2.25083V2.25083Z"})]}),(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:"paint0_linear",x1:8,x2:8,y1:"1.64",y2:16,gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#FEEA70"}),(0,a.jsx)("stop",{offset:1,stopColor:"#F69B30"})]}),(0,a.jsxs)("linearGradient",{id:"paint1_linear",x1:8,x2:8,y1:8,y2:14,gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#472315"}),(0,a.jsx)("stop",{offset:1,stopColor:"#8B3A0E"})]}),(0,a.jsxs)("linearGradient",{id:"paint2_linear",x1:8,x2:8,y1:4,y2:7,gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#191A33"}),(0,a.jsx)("stop",{offset:".872",stopColor:"#3B426A"})]}),(0,a.jsxs)("linearGradient",{id:"paint3_linear",x1:8,x2:8,y1:"1.688",y2:"2.888",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#E78E0D"}),(0,a.jsx)("stop",{offset:1,stopColor:"#CB6000"})]}),(0,a.jsxs)("filter",{id:"filter0_i",width:9,height:3,x:"3.5",y:4,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,a.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,a.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,a.jsx)("feOffset",{}),(0,a.jsx)("feGaussianBlur",{stdDeviation:".5"}),(0,a.jsx)("feComposite",{in2:"hardAlpha",k2:-1,k3:1,operator:"arithmetic"}),(0,a.jsx)("feColorMatrix",{values:"0 0 0 0 0.0980392 0 0 0 0 0.101961 0 0 0 0 0.2 0 0 0 0.819684 0"}),(0,a.jsx)("feBlend",{in2:"shape",result:"effect1_innerShadow"})]}),(0,a.jsxs)("filter",{id:"filter1_d",width:"15.422",height:"7.199",x:".289",y:"-.312",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,a.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,a.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,a.jsx)("feOffset",{dy:1}),(0,a.jsx)("feGaussianBlur",{stdDeviation:"1.5"}),(0,a.jsx)("feColorMatrix",{values:"0 0 0 0 0.803922 0 0 0 0 0.388235 0 0 0 0 0.00392157 0 0 0 0.145679 0"}),(0,a.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,a.jsx)("clipPath",{id:"clip0",children:(0,a.jsx)("rect",{width:16,height:16,fill:"#fff"})})]})]})},Ce=function(e){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,fill:"#ffd900",children:[(0,a.jsx)("path",{fill:"url(#a)",d:"M16 8A8 8 0 1 1-.001 8 8 8 0 0 1 16 8"}),(0,a.jsx)("path",{fill:"url(#b)",d:"M3 8.008C3 10.023 4.006 14 8 14c3.993 0 5-3.977 5-5.992C13 7.849 11.39 7 8 7c-3.39 0-5 .849-5 1.008Z"}),(0,a.jsx)("path",{fill:"url(#c)",d:"M4.541 12.5c.804.995 1.907 1.5 3.469 1.5 1.563 0 2.655-.505 3.459-1.5-.551-.588-1.599-1.5-3.459-1.5s-2.917.912-3.469 1.5Z"}),(0,a.jsx)("path",{fill:"#2A3755",d:"M6.213 4.144c.263.188.502.455.41.788-.071.254-.194.369-.422.37-.78.012-1.708.256-2.506.613-.065.029-.197.088-.332.085-.124-.003-.251-.058-.327-.237-.067-.157-.073-.388.276-.598.545-.33 1.257-.48 1.909-.604-.41-.303-.85-.56-1.315-.768-.427-.194-.38-.457-.323-.6.127-.317.609-.196 1.078.026a9 9 0 0 1 1.552.925Zm3.577 0a8.955 8.955 0 0 1 1.55-.925c.47-.222.95-.343 1.078-.026.057.143.104.406-.323.6a7.028 7.028 0 0 0-1.313.768c.65.123 1.363.274 1.907.604.349.21.342.44.276.598-.077.18-.203.234-.327.237-.135.003-.267-.056-.332-.085-.797-.357-1.725-.6-2.504-.612-.228-.002-.351-.117-.422-.37-.091-.333.147-.6.41-.788v-.001Z"}),(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:"a",x1:8,x2:8,y1:"1.64",y2:16,gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#FEEA70"}),(0,a.jsx)("stop",{offset:1,stopColor:"#F69B30"})]}),(0,a.jsxs)("linearGradient",{id:"b",x1:8,x2:8,y1:7,y2:14,gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#472315"}),(0,a.jsx)("stop",{offset:1,stopColor:"#8B3A0E"})]}),(0,a.jsxs)("linearGradient",{id:"c",x1:"8.005",x2:"8.005",y1:11,y2:"13.457",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#FC607C"}),(0,a.jsx)("stop",{offset:1,stopColor:"#D91F3A"})]})]})]})},xe=function(e){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 1500 1500",children:[(0,a.jsxs)("linearGradient",{id:"a",x1:750,x2:750,y1:"1501.519",y2:"4.759",gradientTransform:"matrix(1 0 0 -1 0 1499.72)",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:".098",stopColor:"#f05766"}),(0,a.jsx)("stop",{offset:".25",stopColor:"#f3766a"}),(0,a.jsx)("stop",{offset:".826",stopColor:"#ffda6b"})]}),(0,a.jsx)("circle",{cx:750,cy:750,r:750,fill:"url(#a)"}),(0,a.jsx)("circle",{cx:"416.7",cy:947,r:"73.7",fill:"#262c38"}),(0,a.jsx)("circle",{cx:"1082.7",cy:947,r:"73.7",fill:"#262c38"}),(0,a.jsx)("path",{fill:"none",stroke:"#262c38",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:60,d:"M205.9 805.1s120.5 93.7 423.4 93.7M1291.9 805.1s-120.5 93.7-423.4 93.7"}),(0,a.jsx)("path",{fill:"#262c38",d:"M987.6 1211.4c0 41.7-106.7 43.3-238.4 43.3s-238.4-1.7-238.4-43.3c0-36.8 109.9-54.6 241.5-54.6s235.3 17.7 235.3 54.6z"})]})},ke=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 46C36.1503 46 46 36.1503 46 24C46 11.8497 36.1503 2 24 2C11.8497 2 2 11.8497 2 24C2 36.1503 11.8497 46 24 46ZM35.1289 16.9878C35.6744 16.3643 35.6112 15.4167 34.9878 14.8711C34.3643 14.3256 33.4167 14.3888 32.8711 15.0122L19.9702 29.7562L15.1022 24.4826C14.5403 23.8738 13.5913 23.8359 12.9826 24.3978C12.3738 24.9597 12.3359 25.9087 12.8978 26.5174L18.8978 33.0174C19.1865 33.3301 19.5944 33.5055 20.0199 33.4999C20.4455 33.4942 20.8486 33.308 21.1289 32.9878L35.1289 16.9878Z",fill:"#3CB733"})})},_e=function(e){return(0,a.jsx)("svg",{width:20,height:20,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.0795 8.92052C46.3068 10.1479 46.3068 12.1378 45.0795 13.3652L19.9366 38.508C18.7093 39.7354 16.7193 39.7354 15.492 38.508L2.92052 25.9366C1.69316 24.7093 1.69316 22.7193 2.92052 21.492C4.14788 20.2646 6.13783 20.2646 7.36519 21.492L17.7143 31.841L40.6348 8.92052C41.8622 7.69316 43.8521 7.69316 45.0795 8.92052Z",fill:"#3CB733"})})},Se=function(e){return(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M0 6C0 2.68629 2.68629 0 6 0H14C17.3137 0 20 2.68629 20 6V14C20 17.3137 17.3137 20 14 20H6C2.68629 20 0 17.3137 0 14V6Z",fill:"#6662FF"}),(0,a.jsx)("path",{d:"M14.6667 6.5L8.25 12.9167L5.33333 10",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})},Ee=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"#ff0000":i;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 46C36.1503 46 46 36.1503 46 24C46 11.8497 36.1503 2 24 2C11.8497 2 2 11.8497 2 24C2 36.1503 11.8497 46 24 46ZM20.4445 16.5555C19.3706 15.4815 17.6294 15.4815 16.5555 16.5555C15.4815 17.6294 15.4815 19.3706 16.5555 20.4445L20.1109 24L16.5555 27.5555C15.4815 28.6294 15.4815 30.3706 16.5555 31.4445C17.6294 32.5185 19.3706 32.5185 20.4445 31.4445L24 27.8891L27.5555 31.4445C28.6294 32.5185 30.3706 32.5185 31.4445 31.4445C32.5185 30.3706 32.5185 28.6294 31.4445 27.5555L27.8891 24L31.4445 20.4445C32.5185 19.3706 32.5185 17.6294 31.4445 16.5555C30.3706 15.4815 28.6294 15.4815 27.5555 16.5555L24 20.1109L20.4445 16.5555Z",fill:s})})},Me=function(e){return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({fill:"#000000",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24px",height:"24px"},e),{children:(0,a.jsx)("path",{d:"M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z"})}))},Le=function(e){return(0,a.jsxs)("svg",{width:20,height:20,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M8.25 23.625C8.25 25.0747 7.07475 26.25 5.625 26.25C4.17525 26.25 3 25.0747 3 23.625C3 22.1753 4.17525 21 5.625 21C7.07475 21 8.25 22.1753 8.25 23.625Z",fill:"#111827"}),(0,a.jsx)("path",{d:"M26.625 23.625C26.625 25.0747 25.4497 26.25 24 26.25C22.5503 26.25 21.375 25.0747 21.375 23.625C21.375 22.1753 22.5503 21 24 21C25.4497 21 26.625 22.1753 26.625 23.625Z",fill:"#111827"}),(0,a.jsx)("path",{d:"M45 23.625C45 25.0747 43.8247 26.25 42.375 26.25C40.9253 26.25 39.75 25.0747 39.75 23.625C39.75 22.1753 40.9253 21 42.375 21C43.8247 21 45 22.1753 45 23.625Z",fill:"#111827"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 23.625C1.5 21.3468 3.34683 19.5 5.625 19.5C7.90317 19.5 9.75 21.3468 9.75 23.625C9.75 25.9032 7.90317 27.75 5.625 27.75C3.34683 27.75 1.5 25.9032 1.5 23.625ZM19.875 23.625C19.875 21.3468 21.7218 19.5 24 19.5C26.2782 19.5 28.125 21.3468 28.125 23.625C28.125 25.9032 26.2782 27.75 24 27.75C21.7218 27.75 19.875 25.9032 19.875 23.625ZM38.25 23.625C38.25 21.3468 40.0968 19.5 42.375 19.5C44.6532 19.5 46.5 21.3468 46.5 23.625C46.5 25.9032 44.6532 27.75 42.375 27.75C40.0968 27.75 38.25 25.9032 38.25 23.625Z",fill:"#111827"})]})},Ne=function(e){return(0,a.jsx)("svg",{width:"4",height:"18",viewBox:"0 0 4 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M-8.74228e-08 16C-3.93402e-08 17.1 0.9 18 2 18C3.1 18 4 17.1 4 16C4 14.9 3.1 14 2 14C0.9 14 -1.35505e-07 14.9 -8.74228e-08 16ZM-6.99382e-07 2C-6.513e-07 3.1 0.899999 4 2 4C3.1 4 4 3.1 4 2C4 0.899999 3.1 -1.35505e-07 2 -8.74228e-08C0.899999 -3.93403e-08 -7.47465e-07 0.9 -6.99382e-07 2ZM-3.93402e-07 9C-3.4532e-07 10.1 0.9 11 2 11C3.1 11 4 10.1 4 9C4 7.9 3.1 7 2 7C0.899999 7 -4.41485e-07 7.9 -3.93402e-07 9Z",fill:"#667085"})})},Oe=function(e){return(0,a.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M0.5 8C0.5 3.85786 3.85786 0.5 8 0.5C12.1421 0.5 15.5 3.85786 15.5 8V13.0909C15.5 13.5204 15.4998 13.8198 15.4852 14.0546C15.4709 14.2855 15.444 14.4207 15.4054 14.5242C15.2534 14.9318 14.9318 15.2534 14.5242 15.4054C14.4207 15.444 14.2855 15.4709 14.0546 15.4852C13.8198 15.4998 13.5204 15.5 13.0909 15.5H8C3.85786 15.5 0.5 12.1421 0.5 8Z",stroke:"#586ED1"}),(0,a.jsx)("path",{d:"M5 7L11 7",stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M8 11H11",stroke:"#586ED1",strokeLinecap:"round",strokeLinejoin:"round"})]})},Ae=function(e){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13546 13546",width:20,height:20,fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",children:(0,a.jsx)("path",{fill:"#36a455",d:"M13546 6773c0,3741 -3032,6773 -6773,6773 -3741,0 -6773,-3032 -6773,-6773 0,-3741 3032,-6773 6773,-6773 3741,0 6773,3032 6773,6773zm-6773 -4111l0 0c208,0 377,170 377,378l0 900c179,21 342,56 489,105 247,85 453,197 616,336 162,139 282,285 358,438 74,153 113,303 113,449 0,132 -48,253 -142,360 -94,106 -212,159 -352,159 -128,0 -225,-32 -292,-95 -67,-64 -139,-170 -216,-315 -101,-208 -221,-372 -362,-489 -57,-47 -127,-84 -212,-112l0 1417c219,57 423,117 609,183 252,87 467,194 644,320 177,125 315,284 414,476 99,192 149,428 149,707 0,332 -86,632 -258,898 -171,266 -423,474 -755,625 -236,107 -504,176 -803,206l0 898c0,208 -169,378 -377,378l0 0c-208,0 -377,-170 -377,-378l0 -897c-379,-38 -702,-134 -970,-289 -251,-148 -454,-346 -611,-593 -157,-247 -235,-487 -235,-721 0,-135 48,-251 141,-349 94,-96 214,-144 359,-144 118,0 217,38 298,114 83,74 152,186 210,335 69,175 146,323 227,440 83,118 197,216 345,293 69,35 147,62 236,81l0 -1716c-328,-84 -609,-180 -839,-287 -267,-125 -480,-294 -636,-509 -157,-215 -236,-481 -236,-801 0,-303 83,-573 248,-810 166,-235 407,-416 720,-544 221,-89 468,-147 743,-173l0 -896c0,-208 169,-378 377,-378zm377 4593l0 1508c153,-38 287,-100 402,-185 207,-154 311,-347 311,-579 0,-183 -55,-333 -167,-446 -112,-114 -257,-202 -434,-262 -35,-12 -72,-24 -112,-36zm-754 -1259l0 -1258c-161,29 -298,84 -411,166 -177,127 -266,279 -266,458 0,110 29,205 90,286 60,80 144,149 249,207 106,58 212,103 320,136l18 5zm5863 777c0,3030 -2456,5486 -5486,5486 -3030,0 -5486,-2456 -5486,-5486 0,-3030 2456,-5486 5486,-5486 3030,0 5486,2456 5486,5486z"})})},je=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"#8E8B89":i;return(0,a.jsxs)("svg",{fill:s,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:n,height:o,children:[" ",(0,a.jsx)("path",{d:"M 6 2 L 6 4 L 20 4 L 20 14 L 22 14 L 22 4 C 22 2.895 21.105 2 20 2 L 6 2 z M 4 6 C 2.9 6 2.0097656 6.9 2.0097656 8 L 2 23 L 6 19 L 16 19 C 17.1 19 18 18.1 18 17 L 18 8 C 18 6.9 17.1 6 16 6 L 4 6 z M 4 8 L 16 8 L 16 17 L 6 17 L 5.171875 17 L 4.5859375 17.585938 L 4 18.171875 L 4 8 z"})]})},Te=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{fill:"#8E8B89",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:n,height:o,children:[" ",(0,a.jsx)("path",{d:"M 3.5 3 C 2.673 3 2 3.673 2 4.5 L 2 9 L 3 9 L 3 19 C 3 20.103 3.897 21 5 21 L 19 21 C 20.103 21 21 20.103 21 19 L 21 9 L 22 9 L 22 4.5 C 22 3.673 21.327 3 20.5 3 L 3.5 3 z M 4 5 L 20 5 L 20 7 L 4 7 L 4 5 z M 5 9 L 19 9 L 19.001953 19 L 5 19 L 5 9 z M 13 15 L 13 17 L 17 17 L 17 15 L 13 15 z"})]})},Ze=function(e){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",width:20,height:20,fillRule:"evenodd",clipRule:"evenodd",children:[(0,a.jsx)("path",{d:"M9,4.5l14,0c1.375,0 2.5,1.125 2.5,2.5l-0,18c-0,1.375 -1.125,2.5 -2.5,2.5l-14,0c-1.375,0 -2.5,-1.125 -2.5,-2.5c-0,0 -0,-18 -0,-18c-0,-1.375 1.125,-2.5 2.5,-2.5Zm11.79,1l-1.36,2.38c-0.352,0.616 -1.22,1.12 -1.93,1.12c-0,0 -3.5,0 -3.5,0c-0.728,0 -1.568,-0.544 -1.865,-1.208l-1.026,-2.292l-2.109,0c-0.825,0 -1.5,0.675 -1.5,1.5l-0,18c-0,0.825 0.675,1.5 1.5,1.5c-0,0 14,0 14,0c0.825,0 1.5,-0.675 1.5,-1.5c-0,0 -0,-18 -0,-18c-0,-0.825 -0.675,-1.5 -1.5,-1.5l-2.21,0Zm-1.152,0l-7.434,0l0.844,1.883c0.152,0.34 0.58,0.617 0.952,0.617l3.5,0c0.39,0 0.868,-0.277 1.062,-0.616l1.076,-1.884Z"}),(0,a.jsx)("path",{d:"M17,13.5l4.5,0c0.276,-0 0.5,-0.224 0.5,-0.5c-0,-0.276 -0.224,-0.5 -0.5,-0.5l-4.5,0c-0.276,-0 -0.5,0.224 -0.5,0.5c-0,0.276 0.224,0.5 0.5,0.5Z"}),(0,a.jsx)("path",{d:"M17,15.5l4.5,0c0.276,-0 0.5,-0.224 0.5,-0.5c-0,-0.276 -0.224,-0.5 -0.5,-0.5l-4.5,0c-0.276,-0 -0.5,0.224 -0.5,0.5c-0,0.276 0.224,0.5 0.5,0.5Z"}),(0,a.jsx)("path",{d:"M15,15l-0,-2c-0,-0.828 -0.672,-1.5 -1.5,-1.5c0,0 -2,0 -2,0c-0.828,0 -1.5,0.672 -1.5,1.5c-0,-0 -0,2 -0,2c-0,0.828 0.672,1.5 1.5,1.5l2,0c0.828,0 1.5,-0.672 1.5,-1.5Zm-1,0c-0,0.276 -0.224,0.5 -0.5,0.5c0,0 -2,0 -2,0c-0.276,0 -0.5,-0.224 -0.5,-0.5l-0,-2c-0,-0.276 0.224,-0.5 0.5,-0.5l2,0c0.276,0 0.5,0.224 0.5,0.5c-0,-0 -0,2 -0,2Z"}),(0,a.jsx)("path",{d:"M17,20.5l4.5,0c0.276,0 0.5,-0.224 0.5,-0.5c0,-0.276 -0.224,-0.5 -0.5,-0.5l-4.5,0c-0.276,0 -0.5,0.224 -0.5,0.5c0,0.276 0.224,0.5 0.5,0.5Z"}),(0,a.jsx)("path",{d:"M17,22.5l4.5,0c0.276,0 0.5,-0.224 0.5,-0.5c0,-0.276 -0.224,-0.5 -0.5,-0.5l-4.5,0c-0.276,0 -0.5,0.224 -0.5,0.5c0,0.276 0.224,0.5 0.5,0.5Z"}),(0,a.jsx)("path",{d:"M15,22l-0,-2c-0,-0.828 -0.672,-1.5 -1.5,-1.5l-2,0c-0.828,0 -1.5,0.672 -1.5,1.5c-0,-0 -0,2 -0,2c-0,0.828 0.672,1.5 1.5,1.5l2,0c0.828,0 1.5,-0.672 1.5,-1.5Zm-1,0c-0,0.276 -0.224,0.5 -0.5,0.5c0,0 -2,0 -2,0c-0.276,0 -0.5,-0.224 -0.5,-0.5l-0,-2c-0,-0.276 0.224,-0.5 0.5,-0.5c-0,0 2,0 2,0c0.276,0 0.5,0.224 0.5,0.5c-0,-0 -0,2 -0,2Z"})]})},Pe=function(e){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 26",width:20,height:20,children:(0,a.jsx)("path",{fill:"#7f7f7f",d:"M 25.324219 10.136719 C 25.210938 9.777344 24.894531 9.511719 24.519531 9.457031 L 17.179688 8.390625 L 13.894531 1.738281 C 13.558594 1.058594 12.441406 1.058594 12.101563 1.738281 L 8.820313 8.390625 L 1.480469 9.457031 C 1.105469 9.511719 0.789063 9.773438 0.671875 10.136719 C 0.554688 10.5 0.652344 10.898438 0.925781 11.160156 L 6.238281 16.339844 L 4.984375 23.648438 C 4.921875 24.023438 5.074219 24.40625 5.382813 24.628906 C 5.691406 24.851563 6.097656 24.882813 6.433594 24.703125 L 13 21.253906 L 19.5625 24.703125 C 19.710938 24.78125 19.871094 24.816406 20.03125 24.816406 C 20.238281 24.816406 20.441406 24.753906 20.617188 24.628906 C 20.925781 24.402344 21.078125 24.023438 21.015625 23.648438 L 19.761719 16.339844 L 25.074219 11.160156 C 25.347656 10.894531 25.441406 10.5 25.324219 10.136719 Z"})})},Re=function(e){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:20,height:20,viewBox:"0 0 26 26",style:{fill:"#989898"},children:(0,a.jsx)("path",{d:"M 10.5 0.15625 C 7.484375 0.15625 5.0625 2.226563 5.0625 6.1875 C 5.0625 8.773438 6.09375 11.410156 7.65625 13.03125 C 8.265625 14.652344 7.167969 15.257813 6.9375 15.34375 C 3.78125 16.5 0.09375 18.601563 0.09375 20.6875 L 0.09375 21.46875 C 0.09375 24.3125 5.507813 24.96875 10.53125 24.96875 C 11.382813 24.96875 12.253906 24.949219 13.09375 24.90625 C 12.65625 24.539063 12.070313 24.140625 11.28125 23.78125 C 10.203125 23.292969 9.753906 22.535156 9.5625 21.96875 C 9.167969 20.789063 9.628906 19.753906 9.78125 19.46875 C 9.8125 19.40625 9.867188 19.371094 9.90625 19.3125 L 10.65625 18.1875 C 11.082031 17.542969 11.96875 16.875 13.25 16.875 C 13.765625 16.875 14.300781 17 14.84375 17.21875 C 15.484375 17.476563 16.082031 17.878906 16.59375 18.3125 C 16.890625 17.90625 17.253906 17.449219 17.65625 17 C 16.496094 16.335938 15.148438 15.773438 13.875 15.34375 C 13.722656 15.292969 12.78125 14.839844 13.375 13 C 14.929688 11.375 15.9375 8.761719 15.9375 6.1875 C 15.9375 2.226563 13.515625 0.15625 10.5 0.15625 Z M 25.90625 13.8125 C 19.046875 16.300781 16.90625 21.65625 16.90625 21.65625 C 16.90625 21.65625 15.597656 19.667969 14.09375 19.0625 C 12.785156 18.535156 12.3125 19.3125 12.3125 19.3125 L 11.5625 20.4375 C 11.5625 20.4375 11.007813 21.460938 12.125 21.96875 C 15.007813 23.28125 15.761719 24.96875 16.1875 25.5 C 16.625 26.046875 17.359375 26.027344 17.6875 25.375 C 18.847656 23.082031 20.136719 18.117188 25.90625 13.8125 Z"})})},Ie=function(e){return(0,a.jsx)("svg",{fill:"#000000",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:20,height:20,fillRule:"evenodd",clipRule:"evenodd",children:(0,a.jsx)("path",{d:"M 12 6.25 C 8.575 6.25 5.3565469 7.5838594 2.9355469 10.005859 L 1.4707031 11.470703 C 1.3297031 11.610703 1.25 11.801 1.25 12 C 1.25 12.199 1.3297031 12.389297 1.4707031 12.529297 L 2.9355469 13.994141 C 5.3565469 16.416141 8.575 17.75 12 17.75 C 15.425 17.75 18.643453 16.416141 21.064453 13.994141 L 22.529297 12.529297 C 22.670297 12.389297 22.75 12.199 22.75 12 C 22.75 11.801 22.670297 11.610703 22.529297 11.470703 L 21.064453 10.005859 C 18.643453 7.5838594 15.425 6.25 12 6.25 z M 12 8.25 C 14.067 8.25 15.75 9.932 15.75 12 C 15.75 14.068 14.067 15.75 12 15.75 C 9.933 15.75 8.25 14.068 8.25 12 C 8.25 9.932 9.933 8.25 12 8.25 z M 12 9.75 C 10.76 9.75 9.75 10.759 9.75 12 C 9.75 13.241 10.76 14.25 12 14.25 C 13.24 14.25 14.25 13.241 14.25 12 C 14.25 10.759 13.24 9.75 12 9.75 z"})})},De=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2203 18.1111C15.2203 10.0417 21.7619 3.5 29.8313 3.5C37.901 3.5 44.4426 10.0417 44.4426 18.1111C44.4426 26.1807 37.901 32.7224 29.8313 32.7224C27.6864 32.7224 25.648 32.2599 23.8118 31.4286H18.8318V35.7209C18.8318 35.9971 18.608 36.2209 18.3318 36.2209H13.3287V40.1777C13.3287 40.4539 13.1048 40.6777 12.8287 40.6777H9.5064V44C9.5064 44.2761 9.28254 44.5 9.0064 44.5H4C3.86739 44.5 3.74021 44.4473 3.64644 44.3535C3.55267 44.2598 3.5 44.1326 3.5 44L3.50022 37.1754C3.50023 37.0428 3.55291 36.9156 3.64667 36.8219L16.4595 24.009C15.6625 22.2046 15.2203 20.2089 15.2203 18.1111ZM29.8313 4.5C22.3142 4.5 16.2203 10.5939 16.2203 18.1111C16.2203 20.1838 16.6831 22.147 17.5108 23.9041C17.6006 24.0949 17.5611 24.3216 17.412 24.4708L4.50022 37.3825L4.50002 43.5H8.5064V40.1777C8.5064 39.9016 8.73026 39.6777 9.0064 39.6777H12.3287V35.7209C12.3287 35.4448 12.5525 35.2209 12.8287 35.2209H17.8318V30.9286C17.8318 30.6525 18.0557 30.4286 18.3318 30.4286H23.9207C23.9931 30.4286 24.0647 30.4443 24.1304 30.4747C25.8639 31.2754 27.7948 31.7224 29.8313 31.7224C37.3487 31.7224 43.4426 25.6284 43.4426 18.1111C43.4426 10.5939 37.3487 4.5 29.8313 4.5ZM32.4199 12.7867C30.6044 12.7867 29.1327 14.2584 29.1327 16.0739C29.1327 17.8894 30.6045 19.3614 32.4199 19.3614C34.2354 19.3614 35.7074 17.8894 35.7074 16.0739C35.7074 14.2584 34.2355 12.7867 32.4199 12.7867ZM28.1327 16.0739C28.1327 13.7061 30.0521 11.7867 32.4199 11.7867C34.7877 11.7867 36.7074 13.7061 36.7074 16.0739C36.7074 18.4417 34.7877 20.3614 32.4199 20.3614C30.0521 20.3614 28.1327 18.4416 28.1327 16.0739Z",fill:"black"})})},ze=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:n,height:o,children:[(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:"5axeGTT4AOFigYPoSx8oca",x1:24,x2:24,y1:"29.063",y2:"9.063",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:".472",stopColor:"#cf6c00"}),(0,a.jsx)("stop",{offset:".533",stopColor:"#d67f10"}),(0,a.jsx)("stop",{offset:".667",stopColor:"#e3a12e"}),(0,a.jsx)("stop",{offset:".793",stopColor:"#edbb43"}),(0,a.jsx)("stop",{offset:".907",stopColor:"#f3ca50"}),(0,a.jsx)("stop",{offset:1,stopColor:"#f5cf55"})]}),(0,a.jsxs)("linearGradient",{id:"5axeGTT4AOFigYPoSx8ocb",x1:24,x2:24,y1:40,y2:14,gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{offset:0,stopColor:"#ecbe29"}),(0,a.jsx)("stop",{offset:".142",stopColor:"#f1c940"}),(0,a.jsx)("stop",{offset:".361",stopColor:"#f7d85d"}),(0,a.jsx)("stop",{offset:".578",stopColor:"#fbe271"}),(0,a.jsx)("stop",{offset:".793",stopColor:"#fee87e"}),(0,a.jsx)("stop",{offset:1,stopColor:"#ffea82"})]})]}),(0,a.jsxs)("g",{"data-name":"file-folder",children:[(0,a.jsx)("path",{fill:"url(#5axeGTT4AOFigYPoSx8oca)",d:"M5,28V11.908a3,3,0,0,1,.5-1.664l.9-1.353A2,2,0,0,1,8.07,8h7.87a2,2,0,0,1,1.668.9l.8,1.208a2,2,0,0,0,1.668.9H41a2,2,0,0,1,2,2V28Z"}),(0,a.jsx)("path",{fill:"url(#5axeGTT4AOFigYPoSx8ocb)",d:"M41,40H7a2,2,0,0,1-2-2V19a2,2,0,0,1,2-2h8.94a2,2,0,0,0,1.668-.9l.8-1.208a2,2,0,0,1,1.668-.9H41a2,2,0,0,1,2,2V38A2,2,0,0,1,41,40Z"})]})]})},He=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M44 10H4C3.44772 10 3 10.4477 3 11V37C3 37.5523 3.44772 38 4 38H44C44.5523 38 45 37.5523 45 37V11C45 10.4477 44.5523 10 44 10Z",stroke:"black",strokeWidth:2}),(0,a.jsx)("path",{d:"M46 15H2V17H46V15Z",fill:"black"}),(0,a.jsx)("path",{d:"M46 20H2V22H46V20Z",fill:"black"}),(0,a.jsx)("path",{d:"M8 32H3C2.44772 32 2 32.4477 2 33C2 33.5523 2.44772 34 3 34H8C8.55228 34 9 33.5523 9 33C9 32.4477 8.55228 32 8 32Z",fill:"black"}),(0,a.jsx)("path",{d:"M12 32H11C10.4477 32 10 32.4477 10 33C10 33.5523 10.4477 34 11 34H12C12.5523 34 13 33.5523 13 33C13 32.4477 12.5523 32 12 32Z",fill:"black"})]})},Be=function(e){var t=e.width,n=void 0===t?25:t,r=e.height,o=void 0===r?25:r,i=e.fill,s=void 0===i?"#000":i;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 128 128",children:(0,a.jsx)("path",{d:"M 32 6 C 24.8 6 19 11.8 19 19 L 19 109 C 19 116.2 24.8 122 32 122 L 96 122 C 103.2 122 109 116.2 109 109 L 109 43 C 109 41.3 107.7 40 106 40 C 104.3 40 103 41.3 103 43 L 103 109 C 103 112.9 99.9 116 96 116 L 32 116 C 28.1 116 25 112.9 25 109 L 25 19 C 25 15.1 28.1 12 32 12 L 83 12 L 83 19 C 83 26.2 88.8 32 96 32 L 106 32 C 107.7 32 109 30.7 109 29 C 109 22.9 106.60078 17.099219 102.30078 12.699219 C 97.900781 8.3992188 92.1 6 86 6 L 32 6 z M 89 12.300781 C 92.4 12.900781 95.5 14.5 98 17 C 100.5 19.5 102.09922 22.6 102.69922 26 L 96 26 C 92.1 26 89 22.9 89 19 L 89 12.300781 z M 49 49 C 43.5 49 39 53.5 39 59 C 39 64.5 43.5 69 49 69 C 54.5 69 59 64.5 59 59 C 59 53.5 54.5 49 49 49 z M 85.037109 51 C 84.274609 51 83.500391 51.300391 82.900391 51.900391 L 41.900391 91.900391 C 40.700391 93.000391 40.700391 94.899609 41.900391 96.099609 C 42.500391 96.699609 43.2 97 44 97 C 44.8 97 45.499609 96.699609 46.099609 96.099609 L 87.099609 56.099609 C 88.299609 54.999609 88.299609 53.100391 87.099609 51.900391 C 86.549609 51.300391 85.799609 51 85.037109 51 z M 49 55 C 51.2 55 53 56.8 53 59 C 53 61.2 51.2 63 49 63 C 46.8 63 45 61.2 45 59 C 45 56.8 46.8 55 49 55 z M 79 79 C 73.5 79 69 83.5 69 89 C 69 94.5 73.5 99 79 99 C 84.5 99 89 94.5 89 89 C 89 83.5 84.5 79 79 79 z M 79 85 C 81.2 85 83 86.8 83 89 C 83 91.2 81.2 93 79 93 C 76.8 93 75 91.2 75 89 C 75 86.8 76.8 85 79 85 z",fill:s})})},Fe=function(e){var t=e.width,n=void 0===t?25:t,r=e.height,o=void 0===r?25:r;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 50 50",children:(0,a.jsx)("path",{d:"M 25 7 C 15.0625 7 7 15.0625 7 25 C 7 34.9375 15.0625 43 25 43 C 34.9375 43 43 34.9375 43 25 C 43 15.0625 34.9375 7 25 7 Z M 25 9 C 33.859375 9 41 16.140625 41 25 C 41 33.859375 33.859375 41 25 41 C 16.140625 41 9 33.859375 9 25 C 9 16.140625 16.140625 9 25 9 Z M 24 14 L 24 16.1875 C 22.398438 16.386719 19.5 17.789063 19.5 21.1875 C 19.5 27.585938 28.8125 24.292969 28.8125 29.09375 C 28.8125 30.695313 28.101563 32.1875 25 32.1875 C 21.898438 32.1875 21 29.800781 21 28.5 L 19 28.5 C 19.300781 32.800781 22.300781 33.792969 24 34.09375 L 24 36 L 26 36 L 26 34.09375 C 27.5 33.992188 31 32.90625 31 28.90625 C 31 25.605469 28.289063 24.695313 25.6875 24.09375 C 23.585938 23.59375 21.6875 23.101563 21.6875 21 C 21.6875 20.101563 22.09375 18.09375 25.09375 18.09375 C 27.195313 18.09375 28.199219 19.398438 28.5 21 L 30.5 21 C 29.898438 18.800781 28.898438 16.8125 26 16.3125 L 26 14 Z"})})},Ve=function(e){var t=e.width,n=void 0===t?25:t,r=e.height,o=void 0===r?25:r;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 50 50",children:(0,a.jsx)("path",{d:"M 34.625 3.03125 C 33.84375 3.042969 32.980469 3.214844 31.90625 3.5 C 28.824219 4.3125 11.09375 9.21875 11.09375 9.21875 C 11.0625 9.226563 11.03125 9.238281 11 9.25 C 8.191406 10.308594 6.421875 11.304688 5.34375 12.75 C 4.273438 14.1875 4.035156 15.914063 4.03125 17.96875 C 4.03125 17.980469 4.03125 17.988281 4.03125 18 L 4.03125 18.625 C 4.019531 18.75 4 18.875 4 19 L 4 40.375 C 4 43.464844 6.535156 46 9.625 46 L 40.375 46 C 43.464844 46 46 43.464844 46 40.375 L 46 18.84375 C 46 15.65625 43.148438 13 40 13 L 10 13 C 8.878906 13 7.871094 13.320313 7.03125 13.84375 C 7.757813 12.949219 9.128906 12.105469 11.625 11.15625 C 11.652344 11.144531 11.660156 11.136719 11.6875 11.125 C 11.800781 11.09375 29.425781 6.222656 32.40625 5.4375 C 33.398438 5.175781 34.140625 5.039063 34.65625 5.03125 C 35.171875 5.023438 35.414063 5.101563 35.53125 5.1875 C 35.648438 5.273438 35.746094 5.441406 35.84375 5.84375 C 35.941406 6.246094 36 6.859375 36 7.65625 L 36 11 L 38 11 L 38 7.65625 C 38 6.789063 37.945313 6.054688 37.78125 5.375 C 37.617188 4.695313 37.296875 4.027344 36.71875 3.59375 C 36.140625 3.160156 35.40625 3.019531 34.625 3.03125 Z M 10 15 L 40 15 C 41.949219 15 44 16.9375 44 18.84375 L 44 40.375 C 44 42.382813 42.382813 44 40.375 44 L 9.625 44 C 7.613281 44 6 42.386719 6 40.375 L 6 20.46875 L 6.03125 18.8125 C 6.089844 18.132813 6.4375 17.164063 7.09375 16.40625 C 7.808594 15.578125 8.785156 15 10 15 Z M 38.5 27 C 37.117188 27 36 28.117188 36 29.5 C 36 30.882813 37.117188 32 38.5 32 C 39.878906 32 41 30.882813 41 29.5 C 41 28.117188 39.878906 27 38.5 27 Z"})})},qe=function(e){var t=e.width,n=void 0===t?16:t,r=e.height,o=void 0===r?16:r,i=e.stroke,s=void 0===i?"#667085":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M9.46083 2.5H6.48594C4.03648 2.5 2.5 4.23432 2.5 6.68865V13.3113C2.5 15.7657 4.02919 17.5 6.48594 17.5H13.5141C15.9716 17.5 17.5 15.7657 17.5 13.3113V10.7427",stroke:s,"stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.41139 13.6409C7.41139 13.6409 7.79733 13.1333 10.1876 13.0677C12.5787 13.002 12.8073 10.5047 11.18 9.20416C9.98409 8.24818 8.20031 8.84816 7.82491 10.3327L7.08301 13.2647C7.03112 13.4698 7.20058 13.6644 7.41139 13.6409Z",stroke:s,"stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.4351 2.82128C15.8319 2.33885 14.9578 2.40695 14.4364 2.97695L11.0554 6.47399C10.3029 7.29615 10.4034 8.58292 11.2734 9.27859C12.1443 9.97425 13.4213 9.78859 14.057 8.874L16.7238 4.80453C17.1649 4.17128 17.0384 3.30371 16.4351 2.82128Z",stroke:s,"stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.jsx)("path",{d:"M12.9785 6.89453L14.5377 8.14075",stroke:s,"stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"})]})},Ue=function(e){var t=e.width,n=void 0===t?16:t,r=e.height,o=void 0===r?16:r,i=e.stroke,s=void 0===i?"#667085":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M11.4054 17.2627H17.7514",stroke:s,"stroke-width":"1.3125","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5575 2.69544C11.2362 1.88431 12.4562 1.76537 13.2842 2.43027C13.33 2.46634 14.8008 3.60894 14.8008 3.60894C15.7104 4.15879 15.993 5.32772 15.4307 6.21977C15.4009 6.26754 7.08545 16.6689 7.08545 16.6689C6.8088 17.014 6.38885 17.2178 5.94004 17.2227L2.75559 17.2626L2.03809 14.2258C1.93758 13.7988 2.03809 13.3503 2.31474 13.0052L10.5575 2.69544Z",stroke:s,"stroke-width":"1.3125","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.jsx)("path",{d:"M9.0188 4.62598L13.7895 8.28971",stroke:s,"stroke-width":"1.3125","stroke-linecap":"round","stroke-linejoin":"round"})]})},$e=function(e){var t=e.width,n=void 0===t?16:t,r=e.height,o=void 0===r?16:r,i=e.stroke,s=void 0===i?"#667085":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M15.9697 14.6776C17.1673 14.1368 18 12.9319 18 11.5324C18 9.36918 16.4748 8.08324 14.5808 8.08243C14.5808 6.72189 13.5137 4 10.5 4C7.48622 4 6.41919 6.72189 6.41919 8.08243C4.52757 8.09864 3 9.36918 3 11.5324C3 12.9319 3.8327 14.1368 5.03027 14.6776",stroke:s,"stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.jsx)("path",{d:"M10.5003 16.4206L10.5 10.5918",stroke:s,"stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"}),(0,a.jsx)("path",{d:"M8.19043 14.1104L10.4996 16.4195L12.8088 14.1104",stroke:s,"stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"})]})},We=function(e){var t=e.width,n=void 0===t?25:t,r=e.height,o=void 0===r?25:r;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:n,height:o,viewBox:"0 0 50 50",children:(0,a.jsx)("path",{d:"M 25 3 C 18.936712 3 14 7.9367124 14 14 C 14 20.063288 18.936712 25 25 25 C 31.063288 25 36 20.063288 36 14 C 36 7.9367124 31.063288 3 25 3 z M 25 5 C 29.982407 5 34 9.0175926 34 14 C 34 18.982407 29.982407 23 25 23 C 20.017593 23 16 18.982407 16 14 C 16 9.0175926 20.017593 5 25 5 z M 24 7 L 24 8.7695312 C 21.352 9.2135313 21.267578 11.566703 21.267578 11.845703 C 21.267578 14.321703 23.271813 14.768906 24.882812 15.128906 C 26.328813 15.452906 27.146484 15.68425 27.146484 16.65625 C 27.146484 17.23925 26.867953 18.21875 25.001953 18.21875 C 24.960953 18.21875 23.990813 18.211516 23.382812 17.603516 C 23.023812 17.244516 22.850187 16.7255 22.867188 16.0625 L 22.869141 16 L 21.011719 16 L 21.013672 16.064453 C 21.073672 18.164453 22.055953 19.364375 24.001953 19.734375 L 24.001953 21 L 24.097656 21 L 25.917969 21 L 26 21 L 26 19.765625 C 28.846 19.303625 29 17.097578 29 16.642578 C 29.001 14.251578 26.996719 13.791875 25.386719 13.421875 C 23.940719 13.089875 23.123047 12.856406 23.123047 11.941406 C 23.123047 10.846406 23.728297 10.335937 25.029297 10.335938 C 26.445297 10.335938 26.818141 11.207 26.869141 12 L 28.724609 12 C 28.725609 11.224 28.410469 10.38925 27.855469 9.78125 C 27.369469 9.25025 26.731047 8.9084844 25.998047 8.7714844 L 25.998047 7 L 25.917969 7 L 24.095703 7 L 24 7 z M 13.464844 25 C 10.627925 25 9.3396481 25.686826 7.9199219 26.248047 A 1.0001 1.0001 0 0 0 7.9179688 26.248047 C 5.2111627 27.320672 0.56640625 29.554687 0.56640625 29.554688 A 1.0011131 1.0011131 0 1 0 1.4335938 31.359375 C 1.4335938 31.359375 6.1067191 29.117124 8.6542969 28.107422 C 10.214568 27.490643 10.919762 27 13.464844 27 C 19.081494 27 18.929568 29.521517 21.230469 30.902344 A 1.0001 1.0001 0 0 0 21.232422 30.902344 C 22.057886 31.397372 23.33502 31.802681 24.794922 32.173828 A 1.0001 1.0001 0 0 0 25.289062 32.300781 C 25.289062 32.300781 25.291016 32.300781 25.291016 32.300781 C 26.932527 32.697895 28.669554 33 30 33 C 31.168739 33 31.994449 33.224149 32.433594 33.5 C 32.872739 33.775851 33 34.003473 33 34.5 C 33 35.08208 32.866028 35.280878 32.427734 35.541016 C 31.989441 35.801153 31.150562 36 30 36 L 24.199219 36 C 21.750499 36 18.275391 35.039062 18.275391 35.039062 A 1.0001 1.0001 0 1 0 17.724609 36.960938 C 17.724609 36.960938 21.255939 38 24.199219 38 L 30 38 C 31.353438 38 32.513512 37.817082 33.449219 37.261719 C 33.73049 37.094778 33.978029 36.878641 34.193359 36.632812 A 1.0001 1.0001 0 0 0 34.40625 36.521484 L 43.400391 30.472656 C 44.959891 29.547467 46.035254 29.28467 46.675781 29.296875 C 47.316534 29.309085 47.559118 29.511998 47.763672 29.779297 C 48.060206 30.167168 48.083464 30.372942 47.890625 30.830078 C 47.697786 31.287214 47.146588 31.946898 46.181641 32.630859 C 44.980952 33.482789 31.767738 42.259609 30.214844 43.158203 C 29.065712 43.824171 28.139246 44.53324 27.080078 44.833984 C 26.021276 45.134624 24.768776 45.131221 22.720703 44.134766 L 22.71875 44.134766 C 21.350836 43.468375 15.57264 40.450746 13.697266 39.482422 C 12.660931 38.946794 11.787216 38.650885 10.894531 38.701172 C 10.001846 38.751462 9.2458311 39.140857 8.4511719 39.648438 A 1.0001 1.0001 0 0 0 8.4433594 39.654297 L 5.7460938 41.414062 A 1.0001 1.0001 0 1 0 6.8378906 43.089844 L 9.5371094 41.330078 C 10.226113 40.89114 10.633706 40.720293 11.007812 40.699219 C 11.384379 40.678009 11.886631 40.798389 12.779297 41.259766 C 14.637601 42.219276 20.340389 45.199341 21.84375 45.931641 C 24.205419 47.081154 26.104621 47.190069 27.626953 46.757812 C 29.149285 46.325556 30.234929 45.457704 31.216797 44.888672 C 33.299903 43.683266 45.832579 35.329789 47.337891 34.261719 L 47.337891 34.263672 C 48.484943 33.450633 49.314011 32.599286 49.732422 31.607422 C 50.150832 30.615558 50.016028 29.433582 49.351562 28.564453 C 48.829118 27.881752 47.895888 27.319416 46.712891 27.296875 C 45.876288 27.280935 44.875475 27.597166 43.773438 28.091797 C 43.731777 27.891775 43.828974 27.671021 43.740234 27.478516 C 43.400273 26.741025 42.642604 26.221439 41.791016 26.052734 A 1.0001 1.0001 0 0 0 41.789062 26.052734 C 40.671922 25.831893 39.406768 26.17603 38.154297 26.751953 C 38.065117 26.480449 37.99711 26.195839 37.816406 25.980469 C 37.280125 25.341308 36.508732 25.114235 35.791016 25.058594 C 34.355583 24.947311 32.862433 25.415989 31.783203 26.058594 C 30.285323 26.949982 25.809262 29.783009 25.158203 30.195312 C 23.821519 29.835059 22.616735 29.399621 22.259766 29.185547 L 22.259766 29.1875 C 21.344666 28.638279 19.770193 25 13.464844 25 z M 35.636719 27.052734 C 36.036377 27.083714 36.227516 27.199254 36.283203 27.265625 C 36.325577 27.316126 36.391894 27.410346 36.361328 27.705078 L 31.423828 31.109375 C 30.976465 31.043329 30.509098 31 30 31 C 29.470791 31 28.746611 30.920545 27.957031 30.794922 C 29.696949 29.697421 31.853372 28.341518 32.804688 27.775391 C 33.475457 27.375995 34.837402 26.990767 35.636719 27.052734 z M 40.736328 27.998047 C 41.000806 27.973631 41.228958 27.979396 41.402344 28.013672 C 41.817755 28.095972 41.85779 28.173147 41.923828 28.316406 C 41.972892 28.42284 41.987939 28.690751 41.953125 29.035156 L 34.908203 33.773438 C 34.733509 33.052245 34.30698 32.408353 33.710938 31.960938 L 37.837891 29.117188 A 1.0001 1.0001 0 0 0 37.939453 29.039062 C 38.891619 28.400982 39.967758 28.068999 40.736328 27.998047 z"})})},Ke=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4ZM2 24C2 11.8497 11.8497 2 24 2C36.1503 2 46 11.8497 46 24C46 36.1503 36.1503 46 24 46C11.8497 46 2 36.1503 2 24ZM32.2071 18.0429C32.5976 18.4334 32.5976 19.0666 32.2071 19.4571L21.7071 29.9571C21.3166 30.3476 20.6834 30.3476 20.2929 29.9571L15.7929 25.4571C15.4024 25.0666 15.4024 24.4334 15.7929 24.0429C16.1834 23.6524 16.8166 23.6524 17.2071 24.0429L21 27.8358L30.7929 18.0429C31.1834 17.6524 31.8166 17.6524 32.2071 18.0429Z",fill:"#3CB733"})})},Ge=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,a.jsx)("path",{d:"M17,22H7c-1.657,0-3-1.343-3-3V5c0-1.657,1.343-3,3-3h10c1.657,0,3,1.343,3,3v14 C20,20.657,18.657,22,17,22z",opacity:".35"}),(0,a.jsx)("path",{d:"M16,5H8C7.448,5,7,5.448,7,6v1c0,0.552,0.448,1,1,1h8c0.552,0,1-0.448,1-1V6C17,5.448,16.552,5,16,5z"}),(0,a.jsx)("circle",{cx:"12",cy:"11",r:"1"}),(0,a.jsx)("circle",{cx:"16",cy:"11",r:"1"}),(0,a.jsx)("circle",{cx:"8",cy:"11",r:"1"}),(0,a.jsx)("circle",{cx:"12",cy:"15",r:"1"}),(0,a.jsx)("circle",{cx:"12",cy:"19",r:"1"}),(0,a.jsx)("circle",{cx:"8",cy:"15",r:"1"}),(0,a.jsx)("circle",{cx:"8",cy:"19",r:"1"}),(0,a.jsx)("path",{d:"M17,19c0-0.186,0-3.814,0-4c0-0.552-0.448-1-1-1c-0.552,0-1,0.448-1,1c0,0.186,0,3.814,0,4c0,0.552,0.448,1,1,1 C16.552,20,17,19.552,17,19z"})]})},Ye=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:n,height:o,children:[(0,a.jsx)("path",{fill:"#fff",d:"M6.5 37.5L6.5 2.5 24.793 2.5 33.5 11.207 33.5 37.5z"}),(0,a.jsx)("path",{fill:"#788b9c",d:"M24.586,3L33,11.414V37H7V3H24.586 M25,2H6v36h28V11L25,2L25,2z"}),(0,a.jsx)("path",{fill:"#fff",d:"M24.5 11.5L24.5 2.5 24.793 2.5 33.5 11.207 33.5 11.5z"}),(0,a.jsx)("path",{fill:"#788b9c",d:"M25,3.414L32.586,11H25V3.414 M25,2h-1v10h10v-1L25,2L25,2z"}),(0,a.jsx)("path",{fill:"#4e7ab5",d:"M19,17.893l-1.599,0.877L17,17.185L19.214,16H21v10h-2V17.893z"})]})},Je=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{fill:"#000000",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:n,height:o,children:(0,a.jsx)("path",{d:"M 0.8125 0 C 0.335938 0.0898438 -0.0078125 0.511719 0 1 L 0 13 C 0 13.550781 0.449219 14 1 14 L 13 14 C 13.550781 14 14 13.550781 14 13 L 14 1 C 14 0.449219 13.550781 0 13 0 L 1 0 C 0.96875 0 0.9375 0 0.90625 0 C 0.875 0 0.84375 0 0.8125 0 Z M 2 2 L 12 2 L 12 12 L 2 12 Z M 10.25 3.34375 L 6.40625 7.625 L 3.65625 5.25 L 2.34375 6.75 L 5.84375 9.75 L 6.59375 10.40625 L 7.25 9.65625 L 11.75 4.65625 Z M 20 6.03125 L 20 7.96875 L 50 7.96875 L 50 6.03125 Z M 0.8125 18 C 0.335938 18.089844 -0.0078125 18.511719 0 19 L 0 31 C 0 31.550781 0.449219 32 1 32 L 13 32 C 13.550781 32 14 31.550781 14 31 L 14 19 C 14 18.449219 13.550781 18 13 18 L 1 18 C 0.96875 18 0.9375 18 0.90625 18 C 0.875 18 0.84375 18 0.8125 18 Z M 2 20 L 12 20 L 12 30 L 2 30 Z M 10.25 21.34375 L 6.40625 25.625 L 3.65625 23.25 L 2.34375 24.75 L 5.84375 27.75 L 6.59375 28.40625 L 7.25 27.65625 L 11.75 22.65625 Z M 20 24.03125 L 20 25.96875 L 50 25.96875 L 50 24.03125 Z M 0.8125 36 C 0.335938 36.089844 -0.0078125 36.511719 0 37 L 0 49 C 0 49.550781 0.449219 50 1 50 L 13 50 C 13.550781 50 14 49.550781 14 49 L 14 37 C 14 36.449219 13.550781 36 13 36 L 1 36 C 0.96875 36 0.9375 36 0.90625 36 C 0.875 36 0.84375 36 0.8125 36 Z M 2 38 L 12 38 L 12 48 L 2 48 Z M 20 42.03125 L 20 43.96875 L 50 43.96875 L 50 42.03125 Z"})})},Xe=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"#ff0000":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M24 44.5C35.3218 44.5 44.5 35.3218 44.5 24C44.5 12.6782 35.3218 3.5 24 3.5C12.6782 3.5 3.5 12.6782 3.5 24C3.5 35.3218 12.6782 44.5 24 44.5Z",strokeWidth:3}),(0,a.jsx)("path",{d:"M31.0761 14.7079L14.7464 31.07C14.3563 31.4609 14.3563 32.0947 14.7464 32.4856L15.5514 33.2922C15.9416 33.6832 16.5741 33.6832 16.9643 33.2922L33.2939 16.9301C33.684 16.5392 33.684 15.9054 33.2939 15.5145L32.4889 14.7079C32.0987 14.3169 31.4662 14.3169 31.0761 14.7079Z",fill:s}),(0,a.jsx)("path",{d:"M16.9239 14.7079L33.2536 31.07C33.6437 31.4609 33.6437 32.0947 33.2536 32.4856L32.4486 33.2922C32.0584 33.6832 31.4259 33.6832 31.0357 33.2922L14.7061 16.9301C14.316 16.5392 14.316 15.9054 14.7061 15.5145L15.5111 14.7079C15.9013 14.3169 16.5338 14.3169 16.9239 14.7079Z",fill:s})]})},Qe=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{fill:"#000000",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:n,height:o,children:(0,a.jsx)("path",{d:"M 11.703125 4.34375 L 7.859375 8.625 L 5.109375 6.25 L 3.796875 7.75 L 7.296875 10.75 L 8.046875 11.40625 L 8.7011719 10.65625 L 13.201172 5.65625 L 11.703125 4.34375 z M 20 7 L 20 9 L 50 9 L 50 7 L 20 7 z M 5.7070312 19.191406 L 4.2929688 20.605469 L 7.0859375 23.398438 L 4.2929688 26.191406 L 5.7070312 27.605469 L 8.5 24.8125 L 11.292969 27.605469 L 12.707031 26.191406 L 9.9140625 23.398438 L 12.707031 20.605469 L 11.292969 19.191406 L 8.5 21.984375 L 5.7070312 19.191406 z M 20 23 L 20 25 L 50 25 L 50 23 L 20 23 z M 8.1972656 35 C 5.8672656 35 4.3766875 36.306156 4.3046875 38.410156 L 4.3007812 38.513672 L 6.4023438 38.513672 L 6.4082031 38.421875 C 6.4712031 37.479875 7.1157969 36.894531 8.0917969 36.894531 C 9.0357969 36.894531 9.6953125 37.449141 9.6953125 38.244141 C 9.6953125 38.987141 9.3914375 39.396094 8.3984375 39.996094 C 7.2134375 40.691094 6.7609844 41.472547 6.8339844 42.685547 L 6.84375 43.335938 L 8.9238281 43.335938 L 8.9238281 42.771484 C 8.9238281 42.000484 9.2053281 41.625531 10.236328 41.019531 C 11.423328 40.310531 12 39.378922 12 38.169922 C 12 36.303922 10.436266 35 8.1972656 35 z M 20 40 L 20 42 L 50 42 L 50 40 L 20 40 z M 7.9726562 44.414062 C 7.1086563 44.414062 6.5273437 44.975547 6.5273438 45.810547 C 6.5273438 46.640547 7.1086562 47.199219 7.9726562 47.199219 C 8.8506563 47.199219 9.4160156 46.653547 9.4160156 45.810547 C 9.4160156 44.962547 8.8506563 44.414062 7.9726562 44.414062 z"})})},et=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M19.5576 4L20.4551 4.97574C20.8561 5.41165 21.0566 5.62961 20.9861 5.81481C20.9155 6 20.632 6 20.0649 6C18.7956 6 17.2771 5.79493 16.1111 6.4733C15.3903 6.89272 14.8883 7.62517 14.0392 9M3 18H4.58082C6.50873 18 7.47269 18 8.2862 17.5267C9.00708 17.1073 9.50904 16.3748 10.3582 15",stroke:"#141B34",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M19.5576 20L20.4551 19.0243C20.8561 18.5883 21.0566 18.3704 20.9861 18.1852C20.9155 18 20.632 18 20.0649 18C18.7956 18 17.2771 18.2051 16.1111 17.5267C15.2976 17.0534 14.7629 16.1815 13.6935 14.4376L10.7038 9.5624C9.63441 7.81853 9.0997 6.9466 8.2862 6.4733C7.47269 6 6.50873 6 4.58082 6H3",stroke:"#141B34",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},tt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"drag",width:n,height:o,fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z"})})},nt=function(e){var t=e.width,n=void 0===t?25:t,r=e.height,o=void 0===r?25:r;return(0,a.jsxs)("svg",{width:n,height:o,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 22",children:[(0,a.jsx)("circle",{cx:9,cy:13,r:8,stroke:"#586ED1",strokeWidth:"1.5"}),(0,a.jsx)("path",{stroke:"#586ED1",strokeLinecap:"round",strokeWidth:"1.5",d:"M9 13v-3M14.5 6.5 16 5M7.068 1.37c.114-.106.365-.2.714-.267A6.68 6.68 0 0 1 9 1c.44 0 .868.036 1.217.103.35.067.6.161.715.268"})]})},rt=function(e){var t=e.width,n=void 0===t?25:t,r=e.height,o=void 0===r?25:r;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:n,height:o,viewBox:"0 0 48 48",children:(0,a.jsx)("path",{stroke:"#707070",d:"M 18.5 5 C 15.480226 5 13 7.4802259 13 10.5 L 13 32.5 C 13 35.519774 15.480226 38 18.5 38 L 34.5 38 C 37.519774 38 40 35.519774 40 32.5 L 40 10.5 C 40 7.4802259 37.519774 5 34.5 5 L 18.5 5 z M 18.5 8 L 34.5 8 C 35.898226 8 37 9.1017741 37 10.5 L 37 32.5 C 37 33.898226 35.898226 35 34.5 35 L 18.5 35 C 17.101774 35 16 33.898226 16 32.5 L 16 10.5 C 16 9.1017741 17.101774 8 18.5 8 z M 11 10 L 9.78125 10.8125 C 8.66825 11.5545 8 12.803625 8 14.140625 L 8 33.5 C 8 38.747 12.253 43 17.5 43 L 30.859375 43 C 32.197375 43 33.4465 42.33175 34.1875 41.21875 L 35 40 L 17.5 40 C 13.91 40 11 37.09 11 33.5 L 11 10 z"})})},ot=function(e){var t=e.width,n=void 0===t?25:t,r=e.height,o=void 0===r?25:r;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:n,height:o,children:[(0,a.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,a.jsx)("path",{d:"M4 15h2v5h12V4H6v5H4V3a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-6zm6-4V8l5 4-5 4v-3H2v-2h8z"})]})},it=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("circle",{cx:"10",cy:"10",r:"9",stroke:"white"}),(0,a.jsx)("path",{d:"M10 6L10 14",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M14 10L6 10",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round"})]})},at=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",id:"caption",children:(0,a.jsxs)("g",{"data-name":"Layer 2",children:[(0,a.jsx)("path",{d:"M27,6H5A3,3,0,0,0,2,9V23a3,3,0,0,0,3,3H27a3,3,0,0,0,3-3V9A3,3,0,0,0,27,6Zm1,17a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V9A1,1,0,0,1,5,8H27a1,1,0,0,1,1,1Z"}),(0,a.jsx)("path",{d:"M11 13h2a1 1 0 000-2H11a3 3 0 00-3 3v4a3 3 0 003 3h2a1 1 0 000-2H11a1 1 0 01-1-1V14A1 1 0 0111 13zM21 13h2a1 1 0 000-2H21a3 3 0 00-3 3v4a3 3 0 003 3h2a1 1 0 000-2H21a1 1 0 01-1-1V14A1 1 0 0121 13z"})]})})},st=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",children:(0,a.jsx)("path",{d:"M 39 0 L 39 2 L 46.5625 2 L 34 14.5625 L 30.71875 11.28125 L 30 10.59375 L 29.28125 11.28125 L 18 22.5625 L 14.71875 19.28125 L 14 18.59375 L 13.28125 19.28125 L 0.28125 32.28125 L 1.71875 33.71875 L 14 21.4375 L 17.28125 24.71875 L 18 25.40625 L 18.71875 24.71875 L 30 13.4375 L 33.28125 16.71875 L 34 17.40625 L 34.71875 16.71875 L 48 3.4375 L 48 11 L 50 11 L 50 0 Z M 42 14 L 42 50 L 44 50 L 44 14 Z M 48 15 L 48 50 L 50 50 L 50 15 Z M 30 20 L 30 50 L 32 50 L 32 20 Z M 36 20 L 36 50 L 38 50 L 38 20 Z M 24 24 L 24 50 L 26 50 L 26 24 Z M 12 28 L 12 50 L 14 50 L 14 28 Z M 18 30 L 18 50 L 20 50 L 20 30 Z M 6 34 L 6 50 L 8 50 L 8 34 Z M 0 38 L 0 50 L 2 50 L 2 38 Z"})})},lt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"#707584":i;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 10 6",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M5 5L4.64645 5.35355L5 5.70711L5.35355 5.35355L5 5ZM0.646447 1.35355L4.64645 5.35355L5.35355 4.64645L1.35355 0.646446L0.646447 1.35355ZM5.35355 5.35355L9.35355 1.35355L8.64645 0.646447L4.64645 4.64645L5.35355 5.35355Z",fill:s})})},ct=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",width:n,height:o,children:(0,a.jsx)("path",{d:"M 14.984375 1.9863281 A 1.0001 1.0001 0 0 0 14.207031 2.3769531 A 1.0001 1.0001 0 0 0 14.203125 2.3828125 L 10.292969 6.2929688 A 1.0001 1.0001 0 1 0 11.707031 7.7070312 L 14 5.4140625 L 14 16 A 1.0001 1.0001 0 1 0 16 16 L 16 5.4140625 L 18.292969 7.7070312 A 1.0001 1.0001 0 1 0 19.707031 6.2929688 L 15.794922 2.3808594 A 1.0001 1.0001 0 0 0 14.984375 1.9863281 z M 6.0058594 7.7109375 A 1.0001 1.0001 0 0 0 5.1816406 8.1464844 C 3.8185753 10.0833 3 12.445077 3 15 C 3 21.615466 8.3845336 27 15 27 C 21.615466 27 27 21.615466 27 15 C 27 12.445077 26.181425 10.0833 24.818359 8.1464844 A 1.0002805 1.0002805 0 1 0 23.181641 9.296875 C 24.322575 10.918059 25 12.870923 25 15 C 25 20.534534 20.534534 25 15 25 C 9.4654664 25 5 20.534534 5 15 C 5 12.870923 5.6774247 10.918059 6.8183594 9.296875 A 1.0001 1.0001 0 0 0 6.0058594 7.7109375 z"})})},ut=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"1",y:"1",width:"6",height:"7",rx:"1",stroke:"#586ED1","stroke-linejoin":"round"}),(0,a.jsx)("rect",{x:"1",y:"12",width:"6",height:"5",rx:"1",stroke:"#586ED1","stroke-linejoin":"round"}),(0,a.jsx)("rect",{x:"11",y:"1",width:"6",height:"6",rx:"1",stroke:"#586ED1","stroke-linejoin":"round"}),(0,a.jsx)("rect",{x:"11",y:"10",width:"6",height:"7",rx:"1",stroke:"#586ED1","stroke-linejoin":"round"})]})},dt=function(e){var t=e.width,n=void 0===t?18:t,r=e.height,o=void 0===r?18:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 36 36",className:"circular-chart blue",children:[(0,a.jsx)("path",{className:"circle-bg",d:"M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831"}),(0,a.jsx)("path",{className:"circle",strokeDasharray:"100, 100",d:"M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831"})]})},ft=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:n,height:o,children:[" ",(0,a.jsx)("path",{d:"M 3 11 L 3 13 L 21 13 L 21 11 L 3 11 z"})]})},pt=function(e){var t=e.width,n=void 0===t?13:t,r=e.height,o=void 0===r?13:r;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,fill:"none",viewBox:"0 0 10 12",children:(0,a.jsx)("path",{fill:"#fff",d:"M.342 10.608V.73c0-.205.136-.306.194-.34A.38.38 0 0 1 .925.388l8.555 4.94a.387.387 0 0 1 .196.341.39.39 0 0 1-.196.342L.925 10.949a.38.38 0 0 1-.389 0 .387.387 0 0 1-.194-.341Z"})})},ht=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 20 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M3 14H7C8.65685 14 10 15.3431 10 17V7C10 4.17157 10 2.75736 9.12132 1.87868C8.24264 1 6.82843 1 4 1H3C2.05719 1 1.58579 1 1.29289 1.29289C1 1.58579 1 2.05719 1 3V12C1 12.9428 1 13.4142 1.29289 13.7071C1.58579 14 2.05719 14 3 14Z",stroke:"#000"}),(0,a.jsx)("path",{d:"M17 14H13C11.3431 14 10 15.3431 10 17V7C10 4.17157 10 2.75736 10.8787 1.87868C11.7574 1 13.1716 1 16 1H17C17.9428 1 18.4142 1 18.7071 1.29289C19 1.58579 19 2.05719 19 3V12C19 12.9428 19 13.4142 18.7071 13.7071C18.4142 14 17.9428 14 17 14Z",stroke:"#000"})]})},mt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",width:n,height:o,children:(0,a.jsx)("path",{d:"M 15 3 L 15 11 L 16 11 L 20.751953 11 L 22.738281 13.666016 L 24.751953 11 L 30 11 L 30 3 L 15 3 z M 17 5 L 28 5 L 28 9 L 23.757812 9 L 22.75 10.332031 L 21.757812 9 L 17 9 L 17 5 z M 16 13 C 13.249576 13 11 15.249576 11 18 C 11 19.522801 11.704733 20.87402 12.787109 21.792969 C 11.709769 22.355323 10.797507 23.189381 10.136719 24.203125 C 9.7759673 23.67303 9.316304 23.214765 8.7851562 22.855469 C 9.5313213 22.127434 10 21.116372 10 20 C 10 17.802937 8.1970628 16 6 16 C 3.8029372 16 2 17.802937 2 20 C 2 21.116372 2.4686787 22.127434 3.2148438 22.855469 C 1.8820205 23.757061 1 25.282823 1 27 L 3 27 C 3 25.347006 4.3470058 24 6 24 C 7.6529942 24 9 25.347006 9 27 L 9 28 L 11 28 C 11 25.244087 13.244087 23 16 23 C 18.755913 23 21 25.244087 21 28 L 23 28 L 23 27 C 23 25.347006 24.347006 24 26 24 C 27.652994 24 29 25.347006 29 27 L 31 27 C 31 25.282823 30.117979 23.757061 28.785156 22.855469 C 29.531321 22.127434 30 21.116372 30 20 C 30 17.802937 28.197063 16 26 16 C 23.802937 16 22 17.802937 22 20 C 22 21.116372 22.468679 22.127434 23.214844 22.855469 C 22.683696 23.214765 22.224033 23.67303 21.863281 24.203125 C 21.202493 23.189381 20.290231 22.355323 19.212891 21.792969 C 20.295267 20.87402 21 19.522801 21 18 C 21 15.249576 18.750424 13 16 13 z M 16 15 C 17.671576 15 19 16.328424 19 18 C 19 19.671576 17.671576 21 16 21 C 14.328424 21 13 19.671576 13 18 C 13 16.328424 14.328424 15 16 15 z M 6 18 C 7.1149372 18 8 18.885063 8 20 C 8 21.114937 7.1149372 22 6 22 C 4.8850628 22 4 21.114937 4 20 C 4 18.885063 4.8850628 18 6 18 z M 26 18 C 27.114937 18 28 18.885063 28 20 C 28 21.114937 27.114937 22 26 22 C 24.885063 22 24 21.114937 24 20 C 24 18.885063 24.885063 18 26 18 z",fill:s})})},gt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",width:n,height:o,children:[" ",(0,a.jsx)("path",{d:"M 15 6 C 11.818 6 10.5 8.041 10.5 10.5 C 10.5 11.328 10.896484 12.160156 10.896484 12.160156 C 10.737484 12.252156 10.473062 12.544547 10.539062 13.060547 C 10.662062 14.022547 11.079703 14.265156 11.345703 14.285156 C 11.446703 15.183156 12.413 16.333 12.75 16.5 L 12.75 17.841797 C 12 20.091797 6 19.75 6 25 L 24 25 C 24 19.75 18 20.091797 17.25 17.841797 L 17.25 16.5 C 17.588 16.333 18.553297 15.183156 18.654297 14.285156 C 18.920297 14.265156 19.337938 14.022547 19.460938 13.060547 C 19.526937 12.543547 19.262516 12.252156 19.103516 12.160156 C 19.103516 12.160156 19.5 11.409 19.5 10.5 C 19.5 8.679 18.785 7.125 17.25 7.125 C 17.25 7.125 16.717 6 15 6 z M 22.5 7.9980469 C 21.988 7.9980469 21.552344 8.0906563 21.152344 8.2226562 C 21.371344 8.9016563 21.5 9.659 21.5 10.5 C 21.5 11.032 21.416547 11.519734 21.310547 11.927734 C 21.455547 12.356734 21.505359 12.8285 21.443359 13.3125 C 21.302359 14.4135 20.874891 15.161812 20.337891 15.632812 C 20.181891 16.010813 19.968281 16.368937 19.738281 16.710938 C 20.022281 17.293937 20.438 17.812969 20.625 17.917969 L 20.625 17.929688 C 22.662 18.884688 26 20.49 26 25 L 30 25 C 30 20.042 25 20.753906 24.375 18.628906 L 24.375 17.916016 C 24.656 17.758016 25.460922 16.672219 25.544922 15.824219 C 25.765922 15.805219 26.114797 15.576969 26.216797 14.667969 C 26.271797 14.179969 26.051922 13.905359 25.919922 13.818359 C 25.919922 13.818359 26.25 13.107 26.25 12.25 C 26.25 10.53 25.654 9.0625 24.375 9.0625 C 24.375 9.0625 23.931 7.9980469 22.5 7.9980469 z M 7.5 8 C 6.069 8 5.625 9.0625 5.625 9.0625 C 4.346 9.0625 3.75 10.531953 3.75 12.251953 C 3.75 13.109953 4.0800781 13.818359 4.0800781 13.818359 C 3.9470781 13.904359 3.7282031 14.179969 3.7832031 14.667969 C 3.8852031 15.576969 4.2340781 15.807172 4.4550781 15.826172 C 4.5390781 16.674172 5.344 17.759969 5.625 17.917969 L 5.625 18.628906 C 5 20.752906 0 20.042 0 25 L 4 25 C 4 20.49 7.338 18.885688 9.375 17.929688 L 9.375 17.916016 C 9.562 17.811016 9.9777187 17.294938 10.261719 16.710938 C 10.031719 16.368938 9.8181094 16.008859 9.6621094 15.630859 C 9.1251094 15.160859 8.6966406 14.4125 8.5566406 13.3125 C 8.4936406 12.8225 8.5453594 12.343156 8.6933594 11.910156 C 8.5853594 11.499156 8.5 11.011 8.5 10.5 C 8.5 9.673 8.6170781 8.91275 8.8300781 8.21875 C 8.4350781 8.08975 8.005 8 7.5 8 z",fill:s})]})},vt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M30 10L44 24L30 38",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"})})},yt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M18 10L4 24L18 38",stroke:"black","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"})})},bt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:n,height:o,children:(0,a.jsx)("path",{fill:"#607D8B",d:"M44.7,11L36,19.6c0,0-2.6,0-5.2-2.6s-2.6-5.2-2.6-5.2l8.7-8.7c-4.9-1.2-10.8,0.4-14.4,4c-5.4,5.4-0.6,12.3-2,13.7C12.9,28.7,5.1,34.7,4.9,35c-2.3,2.3-2.4,6-0.2,8.2c2.2,2.2,5.9,2.1,8.2-0.2c0.3-0.3,6.7-8.4,14.2-15.9c1.4-1.4,8,3.7,13.6-1.8C44.2,21.7,45.9,15.9,44.7,11z M9.4,41.1c-1.4,0-2.5-1.1-2.5-2.5C6.9,37.1,8,36,9.4,36c1.4,0,2.5,1.1,2.5,2.5C11.9,39.9,10.8,41.1,9.4,41.1z"})})},wt=function(){return(0,a.jsxs)("svg",{width:"20",height:"14",viewBox:"0 0 20 14",fill:"#4d4848",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M3 13H13C14.1046 13 15 12.1046 15 11V3.57143V3C15 1.89543 14.1046 1 13 1H3C1.89543 1 1 1.89543 1 3V11C1 12.1046 1.89543 13 3 13Z",stroke:"#4d4848",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("circle",{cx:"4.5",cy:"4.5",r:"0.5",stroke:"#4d4848",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M15 5L19 2V12L15 9",stroke:"#4d4848",strokeLinejoin:"round"})]})},Ct=function(){return(0,a.jsxs)("svg",{stroke:"currentColor",fill:"currentColor","stroke-width":"0",viewBox:"0 0 16 16",width:"20",height:"18",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v1h14V3a1 1 0 0 0-1-1H2zm13 3H1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5z"}),(0,a.jsx)("path",{d:"M11 7.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1z"})]})},xt=function(){return(0,a.jsxs)("svg",{stroke:"currentColor",fill:"none","stroke-width":"2",viewBox:"0 0 24 24","stroke-linecap":"round","stroke-linejoin":"round",width:"20",height:"18",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),(0,a.jsx)("circle",{cx:"9",cy:"7",r:"4"}),(0,a.jsx)("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),(0,a.jsx)("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]})},kt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,stroke:"currentColor",fill:"currentColor","stroke-width":"0",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{"fill-rule":"evenodd",d:"M3 10h4V9H3v1zm0-2h6V7H3v1zm0-2h8V5H3v1zm10 6H1V3h12v9zM1 2c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1H1z"})})},_t=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 48 48",fill:"none",children:[(0,a.jsx)("path",{d:"M24 46L37.0456 23.6181C42.678 13.9549 35.4637 2 24 2C12.5363 2 5.32198 13.9549 10.9544 23.6181L24 46Z",stroke:"black","stroke-width":"3","stroke-linejoin":"round"}),(0,a.jsx)("circle",{cx:"24",cy:"17",r:"3",stroke:"black","stroke-width":"3"})]})},St=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M8 11H12.5C13.8807 11 15 9.88071 15 8.5C15 7.11929 13.8807 6 12.5 6H8V11ZM18 15.5C18 17.9853 15.9853 20 13.5 20H6V4H12.5C14.9853 4 17 6.01472 17 8.5C17 9.70431 16.5269 10.7981 15.7564 11.6058C17.0979 12.3847 18 13.837 18 15.5ZM8 13V18H13.5C14.8807 18 16 16.8807 16 15.5C16 14.1193 14.8807 13 13.5 13H8Z"})})},Et=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 325 503",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M307.213 0.5H99.7733C90.1118 0.5 82.2733 8.33333 82.2733 18C82.2733 27.6667 90.1118 35.5 99.7733 35.5H182.607L107.123 467.167H18.1066C8.44516 467.167 0.606628 475 0.606628 484.667C0.606628 494.333 8.44516 502.167 18.1066 502.167H225.547C235.208 502.167 243.047 494.333 243.047 484.667C243.047 475 235.208 467.167 225.547 467.167H142.713L218.197 35.5H307.213C316.875 35.5 324.713 27.6667 324.713 18C324.713 8.33333 316.875 0.5 307.213 0.5Z",fill:"black"})})},Mt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 607 607",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M93.6667 140C99.8541 140 105.792 137.542 110.167 133.167C114.542 128.792 117 122.854 117 116.667V46.6667H280.333V210C280.333 218.339 284.781 226.041 292 230.208C299.219 234.375 308.115 234.375 315.333 230.208C322.552 226.041 327 218.338 327 210V46.6667H490.333V116.667C490.333 125.005 494.781 132.708 502 136.875C509.219 141.041 518.115 141.041 525.333 136.875C532.552 132.708 537 125.005 537 116.667V23.3333C537 17.1459 534.542 11.2083 530.167 6.83333C525.792 2.4584 519.854 0 513.667 0H93.6667C87.4792 0 81.5416 2.4584 77.1667 6.83333C72.7917 11.2083 70.3333 17.1459 70.3333 23.3333V116.667C70.3333 122.854 72.7917 128.792 77.1667 133.167C81.5416 137.542 87.4792 140 93.6667 140Z",fill:"black"}),(0,a.jsx)("path",{d:"M373.667 560H327V396.667C327 388.328 322.552 380.625 315.333 376.459C308.115 372.292 299.219 372.292 292 376.459C284.781 380.625 280.333 388.328 280.333 396.667V560H233.667C225.328 560 217.625 564.448 213.459 571.667C209.292 578.885 209.292 587.781 213.459 595C217.625 602.219 225.328 606.667 233.667 606.667H373.667C382.005 606.667 389.708 602.219 393.875 595C398.041 587.781 398.041 578.885 393.875 571.667C389.708 564.448 382.005 560 373.667 560Z",fill:"black"}),(0,a.jsx)("path",{d:"M583.667 280H23.6667C15.3281 280 7.62535 284.448 3.45868 291.667C-0.707987 298.885 -0.707987 307.781 3.45868 315C7.62535 322.219 15.3284 326.667 23.6667 326.667H583.667C592.005 326.667 599.708 322.219 603.875 315C608.041 307.781 608.041 298.885 603.875 291.667C599.708 284.448 592.005 280 583.667 280Z",fill:"black"})]})},Lt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 449 509",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M418.8 252.547V224.473C418.8 204.667 410.93 185.676 396.931 171.676C382.925 157.671 363.936 149.807 344.133 149.807H269.467V45.2707C269.467 29.2654 260.925 14.4787 247.065 6.47338C233.201 -1.53182 216.128 -1.53182 202.263 6.47338C188.403 14.4786 179.861 29.2654 179.861 45.2707V149.807H105.195C85.392 149.807 66.4027 157.671 52.3973 171.676C38.3973 185.676 30.528 204.665 30.528 224.473V252.547L0.663996 491.48C0.325449 495.678 1.6067 499.85 4.24733 503.131C7.1536 506.334 11.2681 508.178 15.5963 508.204H433.73C438.058 508.178 442.172 506.334 445.079 503.131C447.719 499.85 449 495.678 448.662 491.48L418.8 252.547ZM396.936 478.333L388.722 430.995C387.321 422.864 379.592 417.407 371.462 418.807C363.327 420.214 357.874 427.938 359.275 436.073L366.624 478.333H319.821L299.155 341.693C297.655 333.802 290.181 328.505 282.237 329.713C274.295 330.917 268.732 338.193 269.643 346.172L289.622 478.333H113.409L120.133 405.041C120.888 396.791 114.82 389.489 106.57 388.735C98.3253 387.974 91.0235 394.047 90.2635 402.292L83.2739 478.333H32.6232L58.9045 269.267H390.718L416.702 478.333H396.936Z",fill:"black"})})},Nt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 311 484",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M280.733 0.754598V0.947306C279.181 0.879597 277.64 0.754598 276.067 0.754598H138.867C62.7 0.754598 0.733337 63.2439 0.733337 140.048C0.733337 216.851 62.6973 279.328 138.867 279.328H192.539V483.901H222.403L222.408 30.6213H276.08C277.653 30.6213 279.194 30.7411 280.747 30.8244V483.904H310.611V0.744385L280.733 0.754598ZM192.536 249.475H138.864C79.1667 249.475 30.5987 200.392 30.5987 140.053C30.5987 79.7146 79.172 30.6319 138.864 30.6319H192.536V249.475Z",fill:"black"})})},Ot=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 747 624",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M241.133 621.787C243.691 622.875 246.441 623.438 249.222 623.443C253.29 623.443 257.274 622.24 260.665 619.99C264.06 617.74 266.711 614.542 268.3 610.792L517.193 30.0587C519.594 24.9546 519.813 19.0951 517.797 13.824C515.787 8.55844 511.714 4.33444 506.521 2.13137C501.329 -0.0664921 495.464 -0.0612919 490.276 2.15742C485.089 4.37102 481.026 8.60528 479.031 13.8814L230.138 594.615C227.997 599.677 227.951 605.38 230.013 610.475C232.076 615.568 236.071 619.636 241.133 621.787Z",fill:"black"}),(0,a.jsx)("path",{d:"M173.307 473.067C177.088 476.4 181.953 478.244 186.995 478.254C192.953 478.244 198.62 475.676 202.552 471.202C206.177 467.072 208.016 461.676 207.666 456.191C207.318 450.712 204.802 445.587 200.682 441.957L52.5887 312.326L200.682 182.695C205.088 179.148 207.854 173.951 208.338 168.315C208.823 162.68 206.979 157.086 203.245 152.842C199.505 148.597 194.198 146.061 188.542 145.821C182.891 145.587 177.386 147.665 173.307 151.587L7.37395 296.773V296.768C2.91035 300.706 0.353149 306.372 0.353149 312.326C0.353149 318.279 2.91049 323.945 7.37395 327.883L173.307 473.067Z",fill:"black"}),(0,a.jsx)("path",{d:"M574.027 151.6C568.422 147.084 560.881 145.798 554.1 148.199C547.319 150.6 542.261 156.345 540.745 163.376C539.224 170.408 541.459 177.726 546.652 182.71L694.745 312.34L546.652 441.971C542.532 445.601 540.016 450.726 539.667 456.206C539.318 461.69 541.157 467.086 544.782 471.216C548.714 475.69 554.381 478.258 560.339 478.268C565.381 478.258 570.245 476.414 574.027 473.081L739.96 327.894V327.9C744.424 323.962 746.981 318.295 746.981 312.342C746.981 306.389 744.424 300.722 739.96 296.785L574.027 151.6Z",fill:"black"})]})},At=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 893 747",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M527.267 746.667C523.871 746.667 520.48 744.969 518.782 743.271C515.386 739.875 513.694 733.089 517.084 728C517.084 726.302 578.172 636.364 600.235 600.729C639.266 536.245 652.839 463.276 657.932 436.129C612.115 427.645 449.199 385.218 462.786 213.823C469.577 134.063 510.302 67.8761 574.786 30.5428C632.483 -3.39452 700.364 -8.48786 751.266 15.2721C858.178 64.4855 909.079 184.965 887.026 329.205C853.088 543.019 547.626 736.472 534.052 744.966C530.662 746.663 528.964 746.663 527.266 746.663L527.267 746.667ZM680 23.76C647.755 23.76 615.516 32.2444 584.969 50.9107C551.032 71.2747 493.333 118.791 484.849 215.511C471.271 390.297 663.036 412.364 671.516 414.057C678.302 414.057 683.396 420.844 681.698 427.636C681.698 431.032 671.516 527.756 618.911 614.303C607.031 632.969 586.666 665.215 568 692.365C656.245 627.881 836.12 480.245 859.88 327.512C880.244 193.445 834.426 83.152 737.697 37.3253C722.421 27.1379 702.061 23.7413 680 23.7413L680 23.76Z",fill:"black"}),(0,a.jsx)("path",{d:"M67.3959 746.667C64.0001 746.667 60.6095 744.969 58.9115 743.271C55.5157 739.875 53.823 733.089 57.2137 728C57.2137 726.302 118.302 636.364 140.364 600.729C179.395 536.245 192.968 463.276 198.062 436.129C150.546 425.942 -12.365 383.52 1.20834 213.823C7.99474 134.068 48.7244 67.8895 113.208 30.5561C170.906 -3.38652 238.782 -10.1732 289.688 15.2801C396.6 64.4935 447.502 184.973 425.448 329.213C391.511 543.04 86.0617 736.493 72.475 744.973C70.7771 746.671 69.0791 746.671 67.3865 746.671L67.3959 746.667ZM220.116 23.76C187.876 23.76 155.632 32.2496 125.085 50.916C91.148 71.28 33.4493 118.796 24.9653 215.516C11.3919 390.303 203.152 412.369 211.632 414.063C218.418 414.063 223.512 420.849 221.814 427.641C221.814 431.037 211.632 527.761 159.028 614.308C147.147 632.975 126.782 665.22 108.116 692.371C196.361 627.887 376.236 480.251 399.996 327.517C420.36 193.451 374.542 83.1573 277.813 37.3307C262.542 27.1432 242.177 23.7467 220.116 23.7467L220.116 23.76Z",fill:"black"})]})},jt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 599 490",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M557.6 0.96933V381.089H129.96V313.215L0.990601 400.548L129.96 489.699V421.819H598.32V0.965332L557.6 0.96933Z",fill:"black"})})},Tt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 561 561",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M280.667 0.333374C185.552 0.333374 98.4666 48.6094 47.3333 125.797V23.6667H0.666626V210.333H187.333V163.667H78.552C119.755 92.1827 196.369 47 280.672 47C409.812 47 514.005 151.188 514.005 280.333C514.005 409.473 409.812 513.667 280.672 513.667C151.532 513.667 47.3386 409.479 47.3386 280.333H0.671956C0.671956 434.693 126.308 560.333 280.672 560.333C435.036 560.333 560.672 434.697 560.672 280.333C560.672 125.969 435.036 0.333374 280.672 0.333374H280.667Z",fill:"black"})})},Zt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 561 561",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M24 0.333333V47H126.131C48.9426 98.1307 0.666626 185.213 0.666626 280.333C0.666626 434.693 126.303 560.333 280.667 560.333C435.031 560.333 560.667 434.697 560.667 280.333C560.667 125.969 435.031 0.333333 280.667 0.333333V47C409.807 47 514 151.193 514 280.333C514 409.473 409.807 513.667 280.667 513.667C151.527 513.667 47.3333 409.479 47.3333 280.333C47.3333 196.036 92.516 119.427 164 78.2133V186.995H210.667V0.328003L24 0.333333Z",fill:"black"})})},Pt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 658 509",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M67.3334 0.469238C30.3961 0.469238 0.136058 30.7292 0.136058 67.6666C0.136058 104.604 30.3961 134.864 67.3334 134.864C104.271 134.864 134.531 104.604 134.531 67.6666C134.531 30.7292 104.271 0.469238 67.3334 0.469238ZM67.3334 30.3332C88.1307 30.3332 104.667 46.8692 104.667 67.6666C104.667 88.4639 88.1307 105 67.3334 105C46.5361 105 30.0001 88.4639 30.0001 67.6666C30.0001 46.8692 46.5361 30.3332 67.3334 30.3332ZM192.864 52.7346C188.906 52.9169 185.182 54.672 182.51 57.5991C179.838 60.5314 178.442 64.4065 178.63 68.3647C178.817 72.3283 180.567 76.0522 183.499 78.7241C186.432 81.3907 190.307 82.7866 194.265 82.599H642.265C646.265 82.6563 650.114 81.1094 652.963 78.302C655.812 75.4947 657.411 71.6666 657.411 67.6666C657.411 63.6666 655.812 59.8385 652.963 57.0311C650.114 54.2238 646.265 52.677 642.265 52.7342H194.265C193.801 52.7133 193.333 52.7137 192.864 52.7346ZM67.3334 187.135C30.3961 187.135 0.136058 217.395 0.136058 254.332C0.136058 291.269 30.3961 321.529 67.3334 321.529C104.271 321.529 134.531 291.269 134.531 254.332C134.531 217.395 104.271 187.135 67.3334 187.135ZM67.3334 216.999C88.1307 216.999 104.667 233.535 104.667 254.332C104.667 275.129 88.1307 291.665 67.3334 291.665C46.5361 291.665 30.0001 275.129 30.0001 254.332C30.0001 233.535 46.5361 216.999 67.3334 216.999ZM192.864 239.4C188.906 239.582 185.182 241.337 182.51 244.264C179.838 247.197 178.442 251.072 178.63 255.03C178.817 258.994 180.567 262.718 183.499 265.389C186.432 268.056 190.307 269.452 194.265 269.264H642.265C646.265 269.322 650.114 267.775 652.963 264.967C655.812 262.16 657.411 258.332 657.411 254.332C657.411 250.332 655.812 246.504 652.963 243.696C650.114 240.889 646.265 239.342 642.265 239.4H194.265C193.801 239.379 193.333 239.379 192.864 239.4ZM67.3334 373.8C30.3961 373.8 0.136058 404.06 0.136058 440.997C0.0787673 444.992 1.62566 448.846 4.43299 451.695C7.24033 454.539 11.0685 456.143 15.0685 456.143C19.0633 456.143 22.8966 454.539 25.7039 451.695C28.5113 448.846 30.0581 444.992 30.0009 440.997C30.0009 420.2 46.5369 403.664 67.3342 403.664C88.1315 403.664 104.668 420.2 104.668 440.997C104.668 461.795 88.1315 478.331 67.3342 478.331C59.0842 477.945 52.0889 484.315 51.6982 492.565C51.3128 500.81 57.6878 507.811 65.9329 508.196C66.4016 508.222 66.8652 508.222 67.3339 508.196C104.271 508.196 134.531 477.936 134.531 440.999C134.531 404.061 104.271 373.801 67.3339 373.801L67.3334 373.8ZM192.864 426.065C188.906 426.248 185.182 428.003 182.51 430.93C179.838 433.862 178.442 437.737 178.63 441.695C178.817 445.659 180.567 449.383 183.499 452.055C186.432 454.721 190.307 456.117 194.265 455.93H642.265C646.265 455.987 650.114 454.44 652.963 451.633C655.812 448.825 657.411 444.997 657.411 440.997C657.411 436.997 655.812 433.169 652.963 430.362C650.114 427.554 646.265 426.008 642.265 426.065H194.265C193.801 426.044 193.333 426.044 192.864 426.065Z",fill:"black"})})},Rt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 716 685",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M700.44 93.4426H202.667C194.078 93.4426 187.109 100.411 187.109 109C187.109 117.588 194.078 124.557 202.667 124.557H700.44C709.034 124.557 715.997 117.588 715.997 109C715.997 100.411 709.034 93.4426 700.44 93.4426Z",fill:"black"}),(0,a.jsx)("path",{d:"M700.44 342.333H202.667C194.078 342.333 187.109 349.297 187.109 357.891C187.109 366.479 194.078 373.443 202.667 373.443H700.44C709.034 373.443 715.997 366.479 715.997 357.891C715.997 349.297 709.034 342.333 700.44 342.333Z",fill:"black"}),(0,a.jsx)("path",{d:"M700.44 591.227H202.667C194.078 591.227 187.109 598.19 187.109 606.779C187.109 615.372 194.078 622.336 202.667 622.336H700.44C709.034 622.336 715.997 615.372 715.997 606.779C715.997 598.19 709.034 591.227 700.44 591.227Z",fill:"black"}),(0,a.jsx)("path",{d:"M54.8933 357.893H70.4506H70.4454C89.8988 357.893 107.872 347.513 117.596 330.669C127.32 313.825 127.32 293.07 117.596 276.226C107.872 259.377 89.8988 249.002 70.4454 249.002H16.0028C7.41423 249.002 0.445435 255.966 0.445435 264.56C0.445435 273.148 7.41423 280.112 16.0028 280.112H70.4454C78.784 280.112 86.4868 284.56 90.6534 291.778C94.8201 298.997 94.8201 307.893 90.6534 315.112C86.4868 322.331 78.7837 326.778 70.4454 326.778H54.8881H54.8933C40.4506 326.778 26.6013 332.518 16.3933 342.726C6.18531 352.935 0.445312 366.784 0.445312 381.226V420.112C0.445312 424.237 2.08598 428.195 5.00264 431.112C7.91931 434.028 11.8776 435.669 16.0026 435.669H109.336C117.925 435.669 124.893 428.706 124.893 420.112C124.893 411.523 117.925 404.56 109.336 404.56H31.56V381.226C31.56 375.034 34.0184 369.101 38.3933 364.726C42.7682 360.352 48.7006 357.893 54.8933 357.893Z",fill:"black"}),(0,a.jsx)("path",{d:"M78.2266 684.56C90.6016 684.56 102.472 679.643 111.221 670.888C119.977 662.138 124.893 650.268 124.893 637.893V622.336C124.852 610.82 120.529 599.727 112.758 591.227C120.529 582.721 124.852 571.633 124.893 560.112V544.555V544.56C124.893 532.18 119.977 520.309 111.221 511.56C102.471 502.81 90.6013 497.893 78.2266 497.893H16.0026C7.41411 497.893 0.445312 504.857 0.445312 513.445C0.445312 522.039 7.41411 529.002 16.0026 529.002H78.2266C82.3517 529.002 86.3048 530.643 89.2266 533.56C92.1433 536.477 93.7788 540.435 93.7788 544.56V560.112C93.7788 564.237 92.1433 568.195 89.2266 571.112C86.3048 574.028 82.3517 575.669 78.2266 575.669H31.56C22.9662 575.669 16.0026 582.633 16.0026 591.227C16.0026 599.815 22.9662 606.778 31.56 606.778H78.2266C82.3517 606.778 86.3048 608.419 89.2266 611.336C92.1433 614.252 93.7788 618.211 93.7788 622.336V637.893C93.7788 642.018 92.1433 645.971 89.2266 648.893C86.3048 651.81 82.3517 653.445 78.2266 653.445H16.0026C7.41411 653.445 0.445312 660.414 0.445312 669.003C0.445312 677.591 7.41411 684.56 16.0026 684.56H78.2266Z",fill:"black"}),(0,a.jsx)("path",{d:"M78.2266 186.773C82.3517 186.773 86.3048 185.138 89.2266 182.221C92.1433 179.299 93.7788 175.346 93.7788 171.221V15.6611C93.7788 11.536 92.1433 7.57776 89.2266 4.66109C86.3048 1.74443 82.3517 0.10376 78.2266 0.10376H16.0026C7.41411 0.10376 0.445312 7.07256 0.445312 15.6611C0.445312 24.2496 7.41411 31.2184 16.0026 31.2184H62.6693V171.218C62.6693 175.343 64.31 179.297 67.2266 182.218C70.1433 185.135 74.1016 186.771 78.2266 186.771V186.773Z",fill:"black"})]})},It=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 668 473",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M0.666626 0.399902H667.44V55.6546H0.666626V0.399902Z",fill:"black"}),(0,a.jsx)("path",{d:"M0.666626 139.28H444.933V194.534H0.666626V139.28Z",fill:"black"}),(0,a.jsx)("path",{d:"M0.666626 417.04H444.933V472.295H0.666626V417.04Z",fill:"black"}),(0,a.jsx)("path",{d:"M0.666626 278.16H667.44V333.415H0.666626V278.16Z",fill:"black"})]})},Dt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 805 747",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.614624 574.36V516.923H804.721V574.36H0.614624ZM115.489 402.053V344.616H689.849V402.053H115.489ZM58.052 172.307H747.279V229.744H58.052V172.307ZM115.489 0H689.849V57.4373H115.489V0ZM632.409 746.667H172.916V689.229H632.409V746.667Z",fill:"black"})})},zt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 805 747",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M287.8 746.667V689.229H804.72V746.667H287.8ZM0.613281 516.92H804.72V574.357H0.613281V516.92ZM172.92 344.613H804.72V402.051H172.92V344.613ZM58.0506 172.307H804.717V229.744H58.0506V172.307ZM230.357 0H804.717V57.4373H230.357V0Z",fill:"black"})})},Ht=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 664 471",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M0.133301 0.866699H663.173V56.1214H0.133301V0.866699Z",fill:"black"}),(0,a.jsx)("path",{d:"M0.133301 139H663.173V194.255H0.133301V139Z",fill:"black"}),(0,a.jsx)("path",{d:"M0.133301 415.267H663.173V470.521H0.133301V415.267Z",fill:"black"}),(0,a.jsx)("path",{d:"M0.133301 277.133H663.173V332.388H0.133301V277.133Z",fill:"black"})]})},Bt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 748 747",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M640.133 286.787H96.1067V0H640.12V286.787H640.133ZM124.187 258.708H612.053L612.059 28.0813H124.192L124.187 258.708ZM643.253 746.668H99.2267V459.881H643.24L643.235 746.668H643.253ZM127.307 718.595H615.187L615.182 487.968H127.301L127.307 718.595ZM113.937 351.461H0.349365V395.207H113.937V351.461ZM272.204 351.461H158.616V395.207H272.204V351.461ZM430.471 351.461H316.887V395.207H430.475V351.461H430.471ZM588.737 351.461H475.149V395.207H588.737V351.461ZM747.004 351.461H633.416V395.207H747.004V351.461Z",fill:"black"})})},Ft=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 561 607",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 606.667H537.333C550.214 606.667 560.667 596.214 560.667 583.333C560.667 570.453 550.214 560 537.333 560H24C11.1197 560 0.666626 570.453 0.666626 583.333C0.666626 596.214 11.1197 606.667 24 606.667ZM280.667 490C177.579 490 94 406.421 94 303.333V23.3333C94 10.4531 83.5469 0 70.6666 0C57.7864 0 47.3333 10.4531 47.3333 23.3333V303.333C47.3333 432.203 151.797 536.667 280.667 536.667C409.536 536.667 514 432.203 514 303.333V23.3333C514 10.4531 503.547 0 490.667 0C477.786 0 467.333 10.4531 467.333 23.3333V303.333C467.333 406.421 383.755 490 280.667 490Z",fill:"black"})})},Vt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 685 623",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M576 498H607.109C634.896 498 660.573 483.177 674.469 459.109C688.365 435.047 688.365 405.396 674.469 381.333C660.573 357.271 634.896 342.443 607.109 342.443H513.776C505.187 342.443 498.224 349.411 498.224 358C498.224 366.588 505.188 373.557 513.776 373.557H607.109C623.781 373.557 639.188 382.448 647.525 396.891C655.859 411.328 655.859 429.115 647.525 443.557C639.187 457.995 623.78 466.891 607.109 466.891H576C555.369 466.891 535.588 475.083 521.005 489.672C506.417 504.256 498.224 524.036 498.224 544.667V606.891C498.224 611.016 499.859 614.969 502.776 617.891C505.698 620.807 509.651 622.443 513.776 622.443H669.336C677.925 622.443 684.893 615.479 684.893 606.891C684.893 598.297 677.925 591.333 669.336 591.333H529.336V544.667C529.336 532.292 534.253 520.421 543.003 511.667C551.758 502.917 563.628 498 576.003 498L576 498Z",fill:"black"}),(0,a.jsx)("path",{d:"M398.973 3.64531C392.26 -1.65162 382.536 -0.536959 377.192 6.13491L202.659 224.228L28.1253 6.45491V6.4497C22.7086 -0.24817 12.8906 -1.2951 6.18795 4.11636C-0.509921 9.53303 -1.55685 19.351 3.85461 26.0537L182.748 249.12L3.85461 472.814C-1.55685 479.512 -0.509921 489.335 6.18795 494.746C12.891 500.157 22.7093 499.11 28.1253 492.412L202.659 274.639L377.192 492.412C382.739 498.287 391.859 498.938 398.187 493.912C404.51 488.881 405.931 479.85 401.463 473.12L222.569 249.12L401.463 25.427C406.754 18.7188 405.645 8.99503 398.973 3.65103L398.973 3.64531Z",fill:"black"})]})},qt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 685 623",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M576 155.773H607.109C634.896 155.773 660.573 140.951 674.469 116.888C688.365 92.82 688.365 63.1747 674.469 39.1066C660.573 15.044 634.896 0.221313 607.109 0.221313H513.776C505.187 0.221313 498.224 7.18492 498.224 15.7733C498.224 24.367 505.188 31.3306 513.776 31.3306H607.109C623.781 31.3306 639.188 40.2265 647.525 54.664C655.859 69.1013 655.859 86.8933 647.525 101.331C639.187 115.768 623.78 124.664 607.109 124.664H576C555.369 124.664 535.588 132.857 521.005 147.445C506.417 162.029 498.224 181.815 498.224 202.44V264.664C498.224 268.789 499.859 272.747 502.776 275.664C505.698 278.581 509.651 280.221 513.776 280.221H669.336C677.925 280.221 684.893 273.253 684.893 264.664C684.893 256.075 677.925 249.107 669.336 249.107H529.336V202.44C529.336 190.065 534.253 178.195 543.003 169.445C551.758 160.69 563.628 155.773 576.003 155.773H576Z",fill:"black"}),(0,a.jsx)("path",{d:"M398.973 128.093C392.26 122.802 382.536 123.911 377.192 130.583L202.659 348.356L28.1253 130.583C22.7086 123.88 12.8906 122.838 6.18795 128.25C-0.509921 133.661 -1.55685 143.484 3.85461 150.182L182.748 373.568L3.85461 597.262C-1.55685 603.965 -0.509921 613.783 6.18795 619.194C12.891 624.605 22.7093 623.563 28.1253 616.86L202.659 399.087L377.192 616.86C382.739 622.735 391.859 623.386 398.187 618.36C404.51 613.334 405.931 604.303 401.463 597.574L222.569 373.574L401.463 149.88V149.875C406.754 143.167 405.645 133.443 398.973 128.099L398.973 128.093Z",fill:"black"})]})},Ut=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 225 337",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M38 271.333H0.666626L88.6146 0.666626H125.948L38 271.333Z",fill:"black"}),(0,a.jsx)("path",{d:"M187.333 271.333H224.667L131.333 0.666626H94L187.333 271.333Z",fill:"black"}),(0,a.jsx)("path",{d:"M47.3333 178H168.667V215.12H47.3333V178Z",fill:"black"}),(0,a.jsx)("path",{d:"M0.666626 299.333H224.667V336.667H0.666626V299.333Z",fill:"black"})]})},$t=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{fill:"#000000",xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 52 52",enableBackground:"new 0 0 52 52",children:(0,a.jsx)("path",{d:"M25.9,16l4.3,10h-9l3.9-10H25.9z M48,8v36c0,2.2-1.8,4-4,4H8c-2.2,0-4-1.8-4-4V8c0-2.2,1.8-4,4-4h36 C46.2,4,48,5.8,48,8z M42.5,40.7L30.5,11c-0.3-0.6-0.8-1-1.5-1h-7.1c-0.6,0-1.2,0.4-1.4,1l-11,29.7C9.3,41.3,9.7,42,10.4,42h4.1 c0.6,0,1.2-0.5,1.4-1.1l3.2-8.9h13.4l3.5,8.9c0.2,0.6,0.8,1.1,1.4,1.1h4.1C42.2,42,42.7,41.3,42.5,40.7z"})})},Wt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 747 747",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M184.2 0H563.133C664.035 0 747 82.964 747 183.867V562.8C747 663.701 664.036 746.667 563.133 746.667H184.2C83.2987 746.667 0.333374 663.703 0.333374 562.8V183.867C0.333374 82.9653 83.2974 0 184.2 0ZM563.133 73.9947H184.2C123.659 73.9947 74.3307 123.323 74.3307 183.864V562.797C74.3307 623.339 123.659 672.667 184.2 672.667H563.133C623.675 672.667 673.003 623.339 673.003 562.797V183.864C673.003 123.323 623.675 73.9947 563.133 73.9947Z",fill:"black"}),(0,a.jsx)("path",{d:"M229.04 354.28L332.185 515.72L516.039 154.72L563.127 188.356L356.847 589.716L312.003 591.961L186.435 392.401L229.04 354.28Z",fill:"black"})]})},Kt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 685 685",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M376.853 181.573L503.353 308.073C516.536 291.333 528.608 271.937 535.26 252.063C540.312 236.98 541.854 222.792 539.453 209.672C537.125 196.912 530.697 183.032 516.291 168.631C501.89 154.229 488.01 147.803 475.25 145.469C462.135 143.073 447.947 144.615 432.859 149.662C412.985 156.318 393.589 168.386 376.849 181.569L376.853 181.573ZM469.572 369.787L315.145 215.36L83.292 238.548C69.12 239.965 62.964 257.215 73.0316 267.283L230.578 424.829L304.204 400.288C335.881 389.731 366.016 419.861 355.454 451.539L330.913 525.164L417.642 611.893C427.715 621.966 444.96 615.805 446.377 601.638L469.572 369.787ZM312.692 147.733C336.547 125.473 371.375 99.036 411.432 85.624C434.525 77.8896 460.484 74.1136 487.401 79.0355C514.677 84.0199 540.719 97.5408 564.057 120.874C587.396 144.213 600.912 170.254 605.896 197.53C610.818 224.447 607.042 250.405 599.307 273.499C585.895 313.557 559.458 348.385 537.198 372.239L513.583 608.359C506.5 679.214 420.261 710 369.903 659.646L274.059 563.802C261.559 551.302 257.195 532.818 262.789 516.048L274.325 481.438L239.721 492.975C222.95 498.563 204.466 494.199 191.966 481.699L25.2997 315.032C-25.0549 264.677 5.73174 178.432 76.5864 171.352L312.692 147.733Z",fill:"black"}),(0,a.jsx)("path",{d:"M624.533 10.5733C638.288 -3.328 660.653 -3.38534 674.481 10.4431C688.309 24.2711 688.367 46.7498 674.612 60.6511L574.972 161.328C561.217 175.23 538.852 175.287 525.024 161.459C511.196 147.63 511.138 125.152 524.893 111.251L624.533 10.5733Z",fill:"black"})]})},Gt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 673 487",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M433.74 243.346L445.078 262.663C451.927 258.642 456.141 251.288 456.141 243.346C456.141 235.403 451.927 228.048 445.078 224.028L433.74 243.346ZM262.006 142.543L273.345 123.226C266.418 119.163 257.845 119.116 250.876 123.106C243.907 127.095 239.605 134.512 239.605 142.543L262.006 142.543ZM262.006 344.143H239.605C239.605 352.174 243.907 359.591 250.876 363.58C257.845 367.57 266.417 367.523 273.345 363.461L262.006 344.143ZM48.953 130.196C50.9166 88.847 81.8704 56.1697 122.109 53.1083L118.708 8.43631C54.8959 13.2956 7.18661 65.1856 4.20261 128.072L48.953 130.196ZM45.4738 241.942C45.4738 212.056 47.1093 169.02 48.953 130.196L4.20367 128.071C2.35994 166.935 0.672475 210.899 0.672475 241.941L45.4738 241.942ZM49.0207 355.16C47.151 315.958 45.4738 272.212 45.4738 241.942H0.671143C0.671143 273.379 2.40035 318.062 4.27528 357.291L49.0207 355.16ZM120.77 431.967C81.1821 428.415 50.9674 396.003 49.0207 355.16L4.27528 357.291C7.23368 419.338 53.7647 470.936 116.77 476.588L120.77 431.967ZM336.677 441.201C246.802 441.201 172.93 436.644 120.77 431.967L116.77 476.588C170.077 481.369 245.297 486.004 336.677 486.004V441.201ZM552.157 432.004C500.026 436.67 426.313 441.201 336.677 441.201V486.004C427.802 486.004 502.863 481.395 556.143 476.629L552.157 432.004ZM624.141 354.712C622.203 395.81 591.881 428.452 552.157 432.004L556.152 476.629C619.417 470.962 665.964 419.014 668.892 356.822L624.141 354.712ZM627.88 241.941C627.88 268.024 626.089 313.348 624.141 354.712L668.89 356.821C670.828 315.608 672.682 269.242 672.682 241.941H627.88ZM624.208 130.634C626.13 171.613 627.88 216.176 627.88 241.941H672.682C672.682 214.962 670.876 169.368 668.959 128.54L624.208 130.634ZM550.802 53.0768C591.182 56.1394 622.255 89.0462 624.208 130.634L668.958 128.54C666.005 65.4991 618.261 13.2644 554.193 8.40445L550.802 53.0768ZM336.682 45.4727C426.9 45.4727 499.442 49.1758 550.802 53.0768L554.193 8.40445C501.802 4.42525 428.124 0.670451 336.686 0.670451L336.682 45.4727ZM122.122 53.1082C173.502 49.1967 246.204 45.4727 336.682 45.4727V0.670044C244.979 0.670044 171.135 4.44605 118.722 8.43565L122.122 53.1082ZM445.095 224.015L273.362 123.212L250.684 161.848L422.418 262.651L445.095 224.015ZM273.362 363.455L445.095 262.652L422.418 224.016L250.684 324.819L273.362 363.455ZM239.622 142.535V344.135H284.424V142.535H239.622Z",fill:s})})},Yt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 711 710",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M364.373 227.653C353.92 224.669 342.723 230.638 338.988 241.091C336.004 251.544 341.972 262.741 352.425 266.476C374.076 273.195 393.493 284.397 409.171 300.825C435.307 326.961 449.488 361.304 449.488 397.893C449.488 434.481 435.3 468.825 409.171 494.961L274.771 629.361C221.011 683.121 133.651 683.121 80.6374 629.361C54.5014 603.225 40.32 568.883 40.32 532.293C40.32 495.704 54.508 461.361 80.6374 435.225L170.987 344.876C178.455 337.407 178.455 324.715 170.987 316.501C163.518 309.033 150.825 309.033 142.612 316.501L52.268 406.856C18.6694 440.455 0.00268555 485.257 0.00268555 532.293C0.00268555 580.08 18.6694 624.132 52.268 657.731C86.6174 692.08 132.164 709.252 177.705 709.252C223.252 709.252 268.799 692.08 303.143 656.987L438.289 521.84C471.888 488.241 490.555 443.439 490.555 396.403C490.555 348.616 471.888 304.564 438.289 270.965C417.388 251.549 392.003 236.616 364.377 227.653H364.373Z",fill:"black"}),(0,a.jsx)("path",{d:"M657.067 52.932C623.468 19.3333 578.665 0.666626 531.629 0.666626C483.843 0.666626 439.791 19.3333 406.192 52.932L271.045 187.332C237.447 220.931 218.78 265.733 218.78 312.769C218.78 359.811 237.447 404.608 271.045 438.207C291.952 459.113 317.337 474.045 344.217 482.259C346.457 483.003 347.952 483.003 350.191 483.003C359.15 483.003 366.618 477.774 369.603 468.815C372.588 458.362 366.619 447.165 356.166 444.175C335.259 437.457 315.098 426.254 299.421 409.826C273.285 383.69 259.103 349.347 259.103 312.758C259.103 276.17 273.291 241.826 299.421 215.69L434.567 80.5434C460.703 54.4074 495.046 40.2261 531.635 40.2261C568.225 40.2261 602.567 54.4141 628.703 80.5434C654.839 106.679 669.021 141.022 669.021 177.611C669.021 214.199 654.833 248.543 628.703 274.679L539.099 365.783C531.631 373.252 531.631 385.945 539.099 394.158C546.568 401.627 559.261 401.627 567.474 394.158L657.823 303.809C691.422 270.21 710.089 225.407 710.089 178.371C709.339 130.585 690.673 86.5274 657.073 52.9287L657.067 52.932Z",fill:"black"})]})},Jt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 623 623",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M0.573344 525.04C0.573344 551.061 10.7088 575.509 29.1093 593.909C47.5 612.305 71.964 622.44 97.984 622.44C124.005 622.44 148.468 612.305 166.864 593.904L294.509 466.253C312.911 447.852 323.045 423.404 323.045 397.384C323.045 375.556 315.837 354.889 302.685 337.92L338.279 302.327C355.732 315.811 376.711 322.639 397.727 322.639C422.675 322.639 447.617 313.133 466.607 294.155L594.257 166.504C632.236 128.525 632.236 66.728 594.257 28.7574C575.867 10.3614 551.403 0.226685 525.383 0.226685C499.372 0.226685 474.909 10.3622 456.508 28.7627L328.852 156.413C293.863 191.403 291.196 246.569 320.68 284.741L285.087 320.335C246.915 290.84 191.748 293.507 156.759 328.507L29.1081 456.157C10.7068 474.559 0.572144 499.012 0.572144 525.043L0.573344 525.04ZM346.453 174L474.104 46.3494C487.807 32.652 506.021 25.104 525.385 25.104C544.755 25.104 562.969 32.651 576.672 46.3494C604.948 74.6307 604.948 120.625 576.672 148.907L449.016 276.557C423.756 301.812 384.432 304.339 356.147 284.464L403.381 237.229C408.241 232.37 408.241 224.495 403.381 219.63C398.522 214.771 390.647 214.771 385.783 219.63L338.548 266.865C318.668 238.589 321.192 199.265 346.453 174ZM174.36 346.093C188.057 332.396 206.267 324.864 225.641 324.864C240.787 324.864 255.141 329.604 267.261 338.156L219.996 385.421C215.137 390.28 215.137 398.155 219.996 403.02C222.428 405.452 225.611 406.666 228.793 406.666C231.975 406.666 235.163 405.452 237.59 403.02L284.918 355.692C293.48 367.822 298.157 382.233 298.157 397.385C298.157 416.745 290.611 434.964 276.912 448.656L149.272 576.301C135.569 589.998 117.355 597.546 97.9855 597.546C78.6162 597.546 60.4015 589.999 46.7042 576.301C33.0068 562.603 25.4588 544.389 25.4588 525.03C25.4588 505.661 33.0058 487.442 46.7042 473.744L174.36 346.093Z",fill:"black"}),(0,a.jsx)("path",{d:"M419.4 540H359.931C353.056 540 347.488 545.568 347.488 552.443C347.488 559.323 353.061 564.885 359.931 564.885H419.4C476.723 564.885 523.359 518.245 523.359 460.916V424.265L554.911 455.823C557.343 458.255 560.525 459.469 563.708 459.469C566.89 459.469 570.077 458.255 572.505 455.823C577.364 450.963 577.364 443.088 572.505 438.224L519.713 385.427C517.457 383.172 514.348 381.77 510.905 381.77C507.463 381.77 504.353 383.166 502.098 385.427L449.306 438.224C444.447 443.083 444.447 450.958 449.306 455.823C454.165 460.682 462.04 460.682 466.905 455.823L498.457 424.265V460.916C498.472 504.525 462.998 539.999 419.399 539.999L419.4 540Z",fill:"black"}),(0,a.jsx)("path",{d:"M205.133 81.5067H264.603C271.478 81.5067 277.045 75.9389 277.045 69.064C277.045 62.1837 271.472 56.6213 264.603 56.6213H205.133C147.811 56.6213 101.175 103.261 101.175 160.591V197.247L69.6227 165.695C64.7633 160.835 56.8883 160.835 52.024 165.695C47.1647 170.554 47.1647 178.429 52.024 183.293L104.816 236.075C105.967 237.226 107.342 238.137 108.868 238.767C110.389 239.398 112.004 239.726 113.623 239.726C115.243 239.726 116.858 239.398 118.379 238.767C119.905 238.137 121.285 237.226 122.431 236.075L175.223 183.293C180.082 178.434 180.082 170.559 175.223 165.695C170.363 160.835 162.488 160.835 157.624 165.695L126.072 197.247V160.591C126.062 116.981 161.536 81.508 205.135 81.508L205.133 81.5067Z",fill:"black"})]})},Xt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M1 0C0.734791 2.64903e-05 0.480453 0.105392 0.292922 0.292922C0.105392 0.480453 2.64903e-05 0.734791 0 1V23C2.64903e-05 23.2652 0.105392 23.5195 0.292922 23.7071C0.480453 23.8946 0.734791 24 1 24H23C23.2652 24 23.5195 23.8946 23.7071 23.7071C23.8946 23.5195 24 23.2652 24 23V1C24 0.734791 23.8946 0.480453 23.7071 0.292922C23.5195 0.105392 23.2652 2.64903e-05 23 0H1ZM2 2H11V11H2V2ZM13 2H22V11H13V2ZM2 13H11V22H2V13ZM13 13H22V22H13V13Z",fill:"black"})})},Qt=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 96 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M75.6524 95.5C60.2305 95.5 41.248 86.1513 25.5483 70.4512C7.76239 52.6657 -1.87196 30.6664 1.0028 14.4047C1.0482 14.1471 1.14343 13.9014 1.28307 13.6793C7.35086 4.04939 14.7717 -0.450749 22.7397 0.667379C23.1384 0.723631 23.5114 0.89732 23.8104 1.16575C29.9221 6.66362 34.5748 13.5283 38.0347 22.1516C38.9012 24.3119 38.4255 26.8235 36.8224 28.5495C34.9878 30.5262 31.7651 33.7523 26.8322 37.8922C26.3541 38.2929 26.2357 38.9936 26.551 39.5571C29.9522 45.6274 34.3044 51.3325 39.4849 56.5145C44.6611 61.6897 50.3667 66.0477 56.4434 69.4663C57.0064 69.785 57.7076 69.6646 58.1087 69.185C62.2432 64.2467 65.4693 61.0186 67.448 59.1801C69.174 57.5754 71.6861 57.0978 73.8479 57.9653C82.4717 61.4252 89.3364 66.0774 94.8337 72.1881C95.1032 72.4881 95.2769 72.8611 95.3326 73.2598C96.4493 81.2288 91.9496 88.6481 82.3202 94.7174C82.0986 94.8566 81.8519 94.9523 81.5943 94.9977C79.6877 95.3342 77.7006 95.499 75.6524 95.5ZM4.91723 15.4971C2.5369 30.2479 11.93 51.1164 28.4063 67.5932C44.8827 84.069 65.7516 93.4611 80.5024 91.0828C85.9805 87.5606 92.0927 81.8969 91.3994 74.4214C86.396 69.0103 80.1555 64.8517 72.3429 61.7173C71.6284 61.4292 70.7856 61.5969 70.1999 62.1407C68.3056 63.9013 65.2083 67.0021 61.208 71.7795C59.5584 73.7503 56.7197 74.2595 54.4612 72.9894C48.0638 69.3893 42.0636 64.8082 36.627 59.3725C31.1839 53.9289 26.6072 47.9268 23.0244 41.5318C21.7617 39.2768 22.2704 36.4445 24.2333 34.7964C29.0068 30.7897 32.1031 27.6929 33.8598 25.8001C34.404 25.2139 34.5703 24.3721 34.2831 23.6566C31.1488 15.8445 26.9892 9.60451 21.5776 4.60007C14.0917 3.90531 8.43939 10.019 4.91723 15.4971Z",fill:"black"})})},en=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?14:r,i=e.stroke,s=void 0===i?"#586ED1":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M3 13H13C14.1046 13 15 12.1046 15 11V3.57143V3C15 1.89543 14.1046 1 13 1H3C1.89543 1 1 1.89543 1 3V11C1 12.1046 1.89543 13 3 13Z",stroke:s,strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("circle",{cx:"4.5",cy:"4.5",r:"0.5",stroke:s,strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M15 5L19 2V12L15 9",stroke:s,strokeLinejoin:"round"})]})},tn=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M18 2V18H19C19.2652 18 19.5196 18.1054 19.7071 18.2929C19.8946 18.4804 20 18.7348 20 19C20 19.2652 19.8946 19.5196 19.7071 19.7071C19.5196 19.8946 19.2652 20 19 20H15C14.7348 20 14.4804 19.8946 14.2929 19.7071C14.1054 19.5196 14 19.2652 14 19C14 18.7348 14.1054 18.4804 14.2929 18.2929C14.4804 18.1054 14.7348 18 15 18H16V11H4V18H5C5.26522 18 5.51957 18.1054 5.70711 18.2929C5.89464 18.4804 6 18.7348 6 19C6 19.2652 5.89464 19.5196 5.70711 19.7071C5.51957 19.8946 5.26522 20 5 20H1C0.734784 20 0.48043 19.8946 0.292893 19.7071C0.105357 19.5196 0 19.2652 0 19C0 18.7348 0.105357 18.4804 0.292893 18.2929C0.48043 18.1054 0.734784 18 1 18H2V2H1C0.734784 2 0.48043 1.89464 0.292893 1.70711C0.105357 1.51957 0 1.26522 0 1C0 0.734784 0.105357 0.48043 0.292893 0.292893C0.48043 0.105357 0.734784 0 1 0H5C5.26522 0 5.51957 0.105357 5.70711 0.292893C5.89464 0.48043 6 0.734784 6 1C6 1.26522 5.89464 1.51957 5.70711 1.70711C5.51957 1.89464 5.26522 2 5 2H4V9H16V2H15C14.7348 2 14.4804 1.89464 14.2929 1.70711C14.1054 1.51957 14 1.26522 14 1C14 0.734784 14.1054 0.48043 14.2929 0.292893C14.4804 0.105357 14.7348 0 15 0H19C19.2652 0 19.5196 0.105357 19.7071 0.292893C19.8946 0.48043 20 0.734784 20 1C20 1.26522 19.8946 1.51957 19.7071 1.70711C19.5196 1.89464 19.2652 2 19 2H18Z",fill:"black"})})},nn=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 7 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M2.51658 0.793747C2.44667 0.793883 2.37966 0.821677 2.33019 0.871058C2.28071 0.920439 2.25278 0.987394 2.25251 1.0573C2.25238 1.09209 2.2591 1.12656 2.2723 1.15875C2.28551 1.19093 2.30493 1.2202 2.32946 1.24487C2.35398 1.26954 2.38314 1.28914 2.41525 1.30253C2.44735 1.31592 2.48179 1.32285 2.51658 1.32291H5.59443C5.80793 1.32291 5.97166 1.48521 5.97166 1.69808V6.1805C5.9718 6.21524 5.97878 6.24962 5.9922 6.28167C6.00562 6.31372 6.02522 6.34281 6.04989 6.36728C6.07455 6.39176 6.1038 6.41113 6.13595 6.4243C6.1681 6.43747 6.20253 6.44418 6.23728 6.44405C6.30709 6.44378 6.37397 6.41592 6.42334 6.36656C6.4727 6.31719 6.50056 6.25031 6.50083 6.1805V1.69808C6.50083 1.20092 6.09166 0.793747 5.59443 0.793747H2.51658ZM1.39933 1.90892C0.902098 1.90892 0.494995 2.3161 0.494995 2.81326V7.29568C0.494995 7.79284 0.902098 8.20208 1.39933 8.20208H4.47925C4.97648 8.20208 5.38565 7.79284 5.38565 7.29568V2.81326C5.38565 2.3161 4.97648 1.90892 4.47925 1.90892H1.39933ZM1.39933 2.43809H4.47925C4.69276 2.43809 4.85597 2.60038 4.85597 2.81326V7.29568C4.85597 7.50855 4.69276 7.6724 4.47925 7.6724H1.39933C1.18582 7.6724 1.0221 7.50855 1.0221 7.29568V2.81326C1.0221 2.60038 1.18582 2.43809 1.39933 2.43809Z",fill:s})})},rn=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M45 4H37C36.7348 4 36.4804 4.10536 36.2929 4.29289C36.1054 4.48043 36 4.73478 36 5V7C36 7.26522 35.8946 7.51957 35.7071 7.70711C35.5196 7.89464 35.2652 8 35 8H37C37.2652 8 37.5196 7.89464 37.7071 7.70711C37.8946 7.51957 38 7.26522 38 7V6H45C45.7956 6 46.5587 6.31607 47.1213 6.87868C47.6839 7.44129 48 8.20435 48 9V45C48 45.7956 47.6839 46.5587 47.1213 47.1213C46.5587 47.6839 45.7956 48 45 48H5C4.20435 48 3.44129 47.6839 2.87868 47.1213C2.31607 46.5587 2 45.7956 2 45V9C2 8.20435 2.31607 7.44129 2.87868 6.87868C3.44129 6.31607 4.20435 6 5 6H10V4H5C3.67392 4 2.40215 4.52678 1.46447 5.46447C0.526784 6.40215 0 7.67392 0 9V45C0 46.3261 0.526784 47.5979 1.46447 48.5355C2.40215 49.4732 3.67392 50 5 50H45C46.3261 50 47.5979 49.4732 48.5355 48.5355C49.4732 47.5979 50 46.3261 50 45V9C50 7.67392 49.4732 6.40215 48.5355 5.46447C47.5979 4.52678 46.3261 4 45 4ZM18 7V6H30V4H17C16.7348 4 16.4804 4.10536 16.2929 4.29289C16.1054 4.48043 16 4.73478 16 5V7C16 7.26522 15.8946 7.51957 15.7071 7.70711C15.5196 7.89464 15.2652 8 15 8H17C17.2652 8 17.5196 7.89464 17.7071 7.70711C17.8946 7.51957 18 7.26522 18 7Z",fill:s}),(0,a.jsx)("path",{d:"M17 8H13C12.7348 8 12.4804 7.89464 12.2929 7.70711C12.1054 7.51957 12 7.26522 12 7V1C12 0.734784 12.1054 0.48043 12.2929 0.292893C12.4804 0.105357 12.7348 0 13 0H17C17.2652 0 17.5196 0.105357 17.7071 0.292893C17.8946 0.48043 18 0.734784 18 1V7C18 7.26522 17.8946 7.51957 17.7071 7.70711C17.5196 7.89464 17.2652 8 17 8ZM14 6H16V2H14V6Z",fill:s}),(0,a.jsx)("path",{d:"M37 8H33C32.7348 8 32.4804 7.89464 32.2929 7.70711C32.1054 7.51957 32 7.26522 32 7V1C32 0.734784 32.1054 0.48043 32.2929 0.292893C32.4804 0.105357 32.7348 0 33 0H37C37.2652 0 37.5196 0.105357 37.7071 0.292893C37.8946 0.48043 38 0.734784 38 1V7C38 7.26522 37.8946 7.51957 37.7071 7.70711C37.5196 7.89464 37.2652 8 37 8ZM34 6H36V2H34V6Z",fill:s}),(0,a.jsx)("path",{d:"M49 16H1C0.734784 16 0.48043 15.8946 0.292893 15.7071C0.105357 15.5196 0 15.2652 0 15C0 14.7348 0.105357 14.4804 0.292893 14.2929C0.48043 14.1054 0.734784 14 1 14H49C49.2652 14 49.5196 14.1054 49.7071 14.2929C49.8946 14.4804 50 14.7348 50 15C50 15.2652 49.8946 15.5196 49.7071 15.7071C49.5196 15.8946 49.2652 16 49 16Z",fill:s}),(0,a.jsx)("path",{d:"M13 26H7C6.73478 26 6.48043 25.8946 6.29289 25.7071C6.10536 25.5196 6 25.2652 6 25V19C6 18.7348 6.10536 18.4804 6.29289 18.2929C6.48043 18.1054 6.73478 18 7 18H13C13.2652 18 13.5196 18.1054 13.7071 18.2929C13.8946 18.4804 14 18.7348 14 19V25C14 25.2652 13.8946 25.5196 13.7071 25.7071C13.5196 25.8946 13.2652 26 13 26ZM8 24H12V20H8V24Z",fill:s}),(0,a.jsx)("path",{d:"M13 36H7C6.73478 36 6.48043 35.8946 6.29289 35.7071C6.10536 35.5196 6 35.2652 6 35V29C6 28.7348 6.10536 28.4804 6.29289 28.2929C6.48043 28.1054 6.73478 28 7 28H13C13.2652 28 13.5196 28.1054 13.7071 28.2929C13.8946 28.4804 14 28.7348 14 29V35C14 35.2652 13.8946 35.5196 13.7071 35.7071C13.5196 35.8946 13.2652 36 13 36ZM8 34H12V30H8V34Z",fill:s}),(0,a.jsx)("path",{d:"M13 46H7C6.73478 46 6.48043 45.8946 6.29289 45.7071C6.10536 45.5196 6 45.2652 6 45V39C6 38.7348 6.10536 38.4804 6.29289 38.2929C6.48043 38.1054 6.73478 38 7 38H13C13.2652 38 13.5196 38.1054 13.7071 38.2929C13.8946 38.4804 14 38.7348 14 39V45C14 45.2652 13.8946 45.5196 13.7071 45.7071C13.5196 45.8946 13.2652 46 13 46ZM8 44H12V40H8V44Z",fill:s}),(0,a.jsx)("path",{d:"M23 26H17C16.7348 26 16.4804 25.8946 16.2929 25.7071C16.1054 25.5196 16 25.2652 16 25V19C16 18.7348 16.1054 18.4804 16.2929 18.2929C16.4804 18.1054 16.7348 18 17 18H23C23.2652 18 23.5196 18.1054 23.7071 18.2929C23.8946 18.4804 24 18.7348 24 19V25C24 25.2652 23.8946 25.5196 23.7071 25.7071C23.5196 25.8946 23.2652 26 23 26ZM18 24H22V20H18V24Z",fill:s}),(0,a.jsx)("path",{d:"M23 36H17C16.7348 36 16.4804 35.8946 16.2929 35.7071C16.1054 35.5196 16 35.2652 16 35V29C16 28.7348 16.1054 28.4804 16.2929 28.2929C16.4804 28.1054 16.7348 28 17 28H23C23.2652 28 23.5196 28.1054 23.7071 28.2929C23.8946 28.4804 24 28.7348 24 29V35C24 35.2652 23.8946 35.5196 23.7071 35.7071C23.5196 35.8946 23.2652 36 23 36ZM18 34H22V30H18V34Z",fill:s}),(0,a.jsx)("path",{d:"M23 46H17C16.7348 46 16.4804 45.8946 16.2929 45.7071C16.1054 45.5196 16 45.2652 16 45V39C16 38.7348 16.1054 38.4804 16.2929 38.2929C16.4804 38.1054 16.7348 38 17 38H23C23.2652 38 23.5196 38.1054 23.7071 38.2929C23.8946 38.4804 24 38.7348 24 39V45C24 45.2652 23.8946 45.5196 23.7071 45.7071C23.5196 45.8946 23.2652 46 23 46ZM18 44H22V40H18V44Z",fill:s}),(0,a.jsx)("path",{d:"M33 26H27C26.7348 26 26.4804 25.8946 26.2929 25.7071C26.1054 25.5196 26 25.2652 26 25V19C26 18.7348 26.1054 18.4804 26.2929 18.2929C26.4804 18.1054 26.7348 18 27 18H33C33.2652 18 33.5196 18.1054 33.7071 18.2929C33.8946 18.4804 34 18.7348 34 19V25C34 25.2652 33.8946 25.5196 33.7071 25.7071C33.5196 25.8946 33.2652 26 33 26ZM28 24H32V20H28V24Z",fill:s}),(0,a.jsx)("path",{d:"M33 36H27C26.7348 36 26.4804 35.8946 26.2929 35.7071C26.1054 35.5196 26 35.2652 26 35V29C26 28.7348 26.1054 28.4804 26.2929 28.2929C26.4804 28.1054 26.7348 28 27 28H33C33.2652 28 33.5196 28.1054 33.7071 28.2929C33.8946 28.4804 34 28.7348 34 29V35C34 35.2652 33.8946 35.5196 33.7071 35.7071C33.5196 35.8946 33.2652 36 33 36ZM28 34H32V30H28V34Z",fill:s}),(0,a.jsx)("path",{d:"M33 46H27C26.7348 46 26.4804 45.8946 26.2929 45.7071C26.1054 45.5196 26 45.2652 26 45V39C26 38.7348 26.1054 38.4804 26.2929 38.2929C26.4804 38.1054 26.7348 38 27 38H33C33.2652 38 33.5196 38.1054 33.7071 38.2929C33.8946 38.4804 34 38.7348 34 39V45C34 45.2652 33.8946 45.5196 33.7071 45.7071C33.5196 45.8946 33.2652 46 33 46ZM28 44H32V40H28V44Z",fill:s}),(0,a.jsx)("path",{d:"M43 26H37C36.7348 26 36.4804 25.8946 36.2929 25.7071C36.1054 25.5196 36 25.2652 36 25V19C36 18.7348 36.1054 18.4804 36.2929 18.2929C36.4804 18.1054 36.7348 18 37 18H43C43.2652 18 43.5196 18.1054 43.7071 18.2929C43.8946 18.4804 44 18.7348 44 19V25C44 25.2652 43.8946 25.5196 43.7071 25.7071C43.5196 25.8946 43.2652 26 43 26ZM38 24H42V20H38V24Z",fill:s}),(0,a.jsx)("path",{d:"M43 36H37C36.7348 36 36.4804 35.8946 36.2929 35.7071C36.1054 35.5196 36 35.2652 36 35V29C36 28.7348 36.1054 28.4804 36.2929 28.2929C36.4804 28.1054 36.7348 28 37 28H43C43.2652 28 43.5196 28.1054 43.7071 28.2929C43.8946 28.4804 44 28.7348 44 29V35C44 35.2652 43.8946 35.5196 43.7071 35.7071C43.5196 35.8946 43.2652 36 43 36ZM38 34H42V30H38V34Z",fill:s}),(0,a.jsx)("path",{d:"M43 46H37C36.7348 46 36.4804 45.8946 36.2929 45.7071C36.1054 45.5196 36 45.2652 36 45V39C36 38.7348 36.1054 38.4804 36.2929 38.2929C36.4804 38.1054 36.7348 38 37 38H43C43.2652 38 43.5196 38.1054 43.7071 38.2929C43.8946 38.4804 44 38.7348 44 39V45C44 45.2652 43.8946 45.5196 43.7071 45.7071C43.5196 45.8946 43.2652 46 43 46ZM38 44H42V40H38V44Z",fill:s})]})},on=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 0C4.47694 0 0 4.47694 0 10C0 15.5231 4.47694 20 10 20C15.5231 20 20 15.5231 20 10C20 4.47694 15.5231 0 10 0ZM10 15.673C9.36248 15.673 8.84606 15.1561 8.84606 14.519C8.84606 13.882 9.36223 13.3651 10 13.3651C10.637 13.3651 11.1539 13.882 11.1539 14.519C11.1539 15.1561 10.637 15.673 10 15.673ZM11.1539 10.673C11.1539 11.31 10.637 11.8269 10 11.8269C9.36248 11.8269 8.84606 11.31 8.84606 10.673V5.28849C8.84606 4.65096 9.36223 4.13454 10 4.13454C10.637 4.13454 11.1539 4.65072 11.1539 5.28849V10.673Z",fill:s})})},an=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 71 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M69.9996 62.1102C70.0155 61.9941 70.0155 61.8763 69.9996 61.7602C69.9996 61.7602 69.9996 61.7002 69.9296 61.6702V61.6102L64.6696 52.1502V36.8002H67.3296C67.527 36.8057 67.7217 36.7526 67.889 36.6476C68.0563 36.5426 68.1887 36.3904 68.2696 36.2102C69.4277 34.0013 70.0327 31.5443 70.0327 29.0502C70.0327 26.5561 69.4277 24.0992 68.2696 21.8902C68.1887 21.71 68.0563 21.5578 67.889 21.4528C67.7217 21.3478 67.527 21.2947 67.3296 21.3002H64.5696V16.0602C64.567 14.8738 64.0938 13.7368 63.2539 12.8988C62.414 12.0608 61.276 11.5902 60.0896 11.5902H57.5896V8.59021C57.6029 8.48314 57.5819 8.3746 57.5296 8.28021C57.5396 8.24764 57.5396 8.21279 57.5296 8.18021C57.4906 8.06382 57.4256 7.95781 57.3396 7.87021L50.0996 0.750214C50.0112 0.679973 49.9176 0.616462 49.8196 0.560214C49.787 0.550189 49.7522 0.550189 49.7196 0.560214C49.6302 0.525061 49.5356 0.504792 49.4396 0.500214H13.5196C13.2461 0.494696 12.9813 0.596108 12.7815 0.78287C12.5816 0.969631 12.4626 1.227 12.4496 1.50021V11.5902H9.90961C8.72317 11.5902 7.58518 12.0608 6.7453 12.8988C5.90542 13.7368 5.43226 14.8738 5.42961 16.0602V25.9002L0.66961 28.0902C0.473833 28.17 0.308366 28.3097 0.196972 28.4894C0.0855786 28.669 0.0339885 28.8794 0.0496098 29.0902C0.0486124 29.2893 0.107089 29.4842 0.217547 29.6499C0.328005 29.8156 0.485415 29.9445 0.66961 30.0202L5.42961 32.2202V52.2202L0.199609 61.6102C0.188991 61.6495 0.188991 61.6909 0.199609 61.7302C0.163445 61.8435 0.143251 61.9613 0.13961 62.0802V65.3002C0.14753 66.4248 0.599844 67.5007 1.39789 68.2931C2.19594 69.0855 3.27497 69.5302 4.39961 69.5302H65.7296C66.2881 69.5342 66.8419 69.4277 67.3591 69.2171C67.8763 69.0064 68.3468 68.6956 68.7436 68.3025C69.1404 67.9095 69.4556 67.4419 69.6711 66.9267C69.8867 66.4114 69.9983 65.8587 69.9996 65.3002V62.1102ZM66.5696 34.6702H62.2496C62.2394 34.6275 62.2394 34.5829 62.2496 34.5402C62.2496 34.4202 62.3496 34.2902 62.3796 34.2002C62.5266 33.7807 62.6501 33.3534 62.7496 32.9202C62.8129 32.7456 62.8565 32.5645 62.8796 32.3802C62.9696 31.9802 63.0296 31.6002 63.0996 31.2002C63.1356 31.0359 63.1557 30.8684 63.1596 30.7002C63.2355 30.1769 63.2756 29.649 63.2796 29.1202V29.0002C63.2752 28.4748 63.2351 27.9502 63.1596 27.4302C63.1557 27.262 63.1356 27.0946 63.0996 26.9302C63.0296 26.5202 62.9696 26.1502 62.8796 25.7402C62.8541 25.5597 62.8105 25.3821 62.7496 25.2102C62.6554 24.7855 62.5318 24.3678 62.3796 23.9602C62.3796 23.8302 62.2796 23.7102 62.2496 23.5802C62.2404 23.5509 62.2404 23.5195 62.2496 23.4902H66.5696C67.4013 25.2364 67.8328 27.1461 67.8328 29.0802C67.8328 31.0143 67.4013 32.924 66.5696 34.6702ZM60.9996 31.2302C60.9996 31.4102 60.9296 31.6002 60.8996 31.8202C60.8345 32.1283 60.751 32.4321 60.6496 32.7302C60.5896 32.9202 60.5596 33.0802 60.4996 33.2602C60.3696 33.6402 60.2196 34.0102 60.0596 34.3902C59.9996 34.4802 59.9996 34.5802 59.9296 34.6702H17.3296C17.3353 34.6271 17.3353 34.5834 17.3296 34.5402C17.3831 34.4217 17.4233 34.2976 17.4496 34.1702C17.6096 33.7602 17.7396 33.3302 17.8596 32.9202C17.8805 32.7355 17.9241 32.5542 17.9896 32.3802C18.0496 31.9802 18.1396 31.6002 18.1996 31.2002C18.2096 31.0319 18.233 30.8647 18.2696 30.7002C18.2851 30.5005 18.2851 30.2999 18.2696 30.1002H61.1496C61.1591 30.1833 61.1591 30.2671 61.1496 30.3502C61.1144 30.6459 61.0643 30.9396 60.9996 31.2302ZM16.2096 30.5002C16.1737 30.6646 16.1536 30.832 16.1496 31.0002C16.0796 31.3202 16.0196 31.6302 15.9596 32.0002C15.8996 32.1802 15.8596 32.3402 15.7996 32.5302C15.7396 32.7202 15.6496 33.1302 15.5196 33.4402C15.4594 33.6318 15.3858 33.8189 15.2996 34.0002C15.2996 34.1302 15.1996 34.2502 15.1696 34.3502L9.78961 31.8702C10.4797 30.0639 10.4797 28.0666 9.78961 26.2602L15.1696 23.7902C15.1696 23.9202 15.2696 24.0102 15.2996 24.1302C15.3859 24.315 15.4594 24.5054 15.5196 24.7002C15.6308 24.9978 15.7243 25.3016 15.7996 25.6102C15.8596 25.8002 15.8996 25.9802 15.9596 26.1402C16.0196 26.4802 16.0796 26.8002 16.1496 27.1402C16.1542 27.2985 16.1743 27.4559 16.2096 27.6102C16.2671 28.0714 16.2972 28.5355 16.2996 29.0002C16.3036 29.5017 16.2735 30.0028 16.2096 30.5002ZM17.3296 23.4302H59.9296C59.9996 23.5802 60.0596 23.7102 60.1196 23.8602L60.3996 24.5602C60.4953 24.8134 60.5689 25.0744 60.6196 25.3402C60.7136 25.5467 60.7776 25.7656 60.8096 25.9902C60.8696 26.2402 60.9296 26.5302 60.9996 26.7802C61.0696 27.0302 61.0596 27.2202 61.0996 27.4402C61.1396 27.6602 61.0996 27.8102 61.1496 28.0002H18.3396C18.3553 27.8005 18.3553 27.5999 18.3396 27.4002C18.303 27.2357 18.2796 27.0685 18.2696 26.9002C18.2096 26.4902 18.1196 26.1202 18.0596 25.7102C17.993 25.5401 17.9492 25.3619 17.9296 25.1802C17.8096 24.7702 17.6796 24.3302 17.5196 23.9302C17.4933 23.7996 17.4531 23.6722 17.3996 23.5502C17.3996 23.5502 17.3296 23.4602 17.3296 23.4302ZM50.4396 4.07021L53.9196 7.51021H50.4396V4.07021ZM7.55961 16.0702C7.55956 15.4442 7.80619 14.8433 8.24606 14.3978C8.68593 13.9523 9.28361 13.6981 9.90961 13.6902H12.4496V18.4502C12.4496 18.7287 12.5602 18.9958 12.7571 19.1927C12.9541 19.3896 13.2211 19.5002 13.4996 19.5002C13.7781 19.5002 14.0452 19.3896 14.2421 19.1927C14.439 18.9958 14.5496 18.7287 14.5496 18.4502V2.57021H48.3096V8.57021C48.3096 8.71026 48.3373 8.84892 48.3912 8.97818C48.4451 9.10744 48.5241 9.22474 48.6236 9.32331C48.7231 9.42187 48.8411 9.49974 48.9709 9.55241C49.1007 9.60509 49.2396 9.63153 49.3796 9.63021H55.4596V18.4302C55.4452 18.5787 55.462 18.7286 55.509 18.8703C55.556 19.0119 55.632 19.1422 55.7323 19.2527C55.8326 19.3632 55.9549 19.4515 56.0914 19.5119C56.2278 19.5723 56.3754 19.6035 56.5246 19.6035C56.6738 19.6035 56.8214 19.5723 56.9579 19.5119C57.0943 19.4515 57.2166 19.3632 57.3169 19.2527C57.4172 19.1422 57.4933 19.0119 57.5402 18.8703C57.5872 18.7286 57.604 18.5787 57.5896 18.4302V13.6802H60.0896C60.72 13.6828 61.3238 13.9344 61.7696 14.3802C62.2154 14.826 62.467 15.4298 62.4696 16.0602V21.3002H15.6496L15.2996 21.3902L7.58961 24.9302L7.55961 16.0702ZM7.84961 27.1302C8.30969 28.3758 8.30969 29.7447 7.84961 30.9902L3.64961 29.0802L7.84961 27.1302ZM15.2696 36.7202C15.3942 36.7806 15.5311 36.8114 15.6696 36.8102H62.4696V51.3602H7.55961V33.1702L15.2696 36.7202ZM7.12961 53.4902H62.8796L67.1096 61.0002H2.92961L7.12961 53.4902ZM67.8196 65.3002C67.8209 65.5755 67.7678 65.8484 67.6634 66.1031C67.559 66.3578 67.4052 66.5894 67.211 66.7845C67.0168 66.9797 66.786 67.1345 66.5317 67.2402C66.2775 67.3458 66.0049 67.4002 65.7296 67.4002H4.30961C4.03168 67.4029 3.75597 67.3506 3.49831 67.2463C3.24066 67.1421 3.00613 66.988 2.80821 66.7928C2.61029 66.5977 2.45287 66.3654 2.34499 66.1092C2.23712 65.8531 2.18091 65.5782 2.17961 65.3002V63.1702H67.8196V65.3002Z",fill:s})})},sn=function(e){var t=e.width,n=void 0===t?30:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsx)("svg",{width:n,height:o,fill:s,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",children:(0,a.jsx)("path",{d:"M 25.875 3.40625 C 21.203125 3.492188 18.21875 5.378906 16.9375 8.3125 C 15.714844 11.105469 15.988281 14.632813 16.875 18.28125 C 16.398438 18.839844 16.019531 19.589844 16.15625 20.71875 C 16.304688 21.949219 16.644531 22.824219 17.125 23.4375 C 17.390625 23.773438 17.738281 23.804688 18.0625 23.96875 C 18.238281 25.015625 18.53125 26.0625 18.96875 26.9375 C 19.21875 27.441406 19.503906 27.90625 19.78125 28.28125 C 19.90625 28.449219 20.085938 28.546875 20.21875 28.6875 C 20.226563 29.921875 20.230469 30.949219 20.125 32.25 C 19.800781 33.035156 19.042969 33.667969 17.8125 34.28125 C 16.542969 34.914063 14.890625 35.5 13.21875 36.21875 C 11.546875 36.9375 9.828125 37.8125 8.46875 39.1875 C 7.109375 40.5625 6.148438 42.449219 6 44.9375 L 5.9375 46 L 46.0625 46 L 46 44.9375 C 45.851563 42.449219 44.886719 40.5625 43.53125 39.1875 C 42.175781 37.8125 40.476563 36.9375 38.8125 36.21875 C 37.148438 35.5 35.515625 34.914063 34.25 34.28125 C 33.035156 33.671875 32.269531 33.054688 31.9375 32.28125 C 31.828125 30.964844 31.835938 29.933594 31.84375 28.6875 C 31.976563 28.542969 32.15625 28.449219 32.28125 28.28125 C 32.554688 27.902344 32.816406 27.4375 33.0625 26.9375 C 33.488281 26.0625 33.796875 25.011719 33.96875 23.96875 C 34.28125 23.804688 34.617188 23.765625 34.875 23.4375 C 35.355469 22.824219 35.695313 21.949219 35.84375 20.71875 C 35.976563 19.625 35.609375 18.902344 35.15625 18.34375 C 35.644531 16.757813 36.269531 14.195313 36.0625 11.5625 C 35.949219 10.125 35.582031 8.691406 34.71875 7.5 C 33.929688 6.40625 32.648438 5.609375 31.03125 5.28125 C 29.980469 3.917969 28.089844 3.40625 25.90625 3.40625 Z M 25.90625 5.40625 C 25.917969 5.40625 25.925781 5.40625 25.9375 5.40625 C 27.949219 5.414063 29.253906 6.003906 29.625 6.65625 L 29.875 7.0625 L 30.34375 7.125 C 31.734375 7.316406 32.53125 7.878906 33.09375 8.65625 C 33.65625 9.433594 33.96875 10.519531 34.0625 11.71875 C 34.25 14.117188 33.558594 16.910156 33.125 18.21875 L 32.875 19 L 33.5625 19.40625 C 33.519531 19.378906 33.945313 19.667969 33.84375 20.5 C 33.726563 21.480469 33.492188 21.988281 33.3125 22.21875 C 33.132813 22.449219 33.039063 22.4375 33.03125 22.4375 L 32.1875 22.5 L 32.09375 23.3125 C 32 24.175781 31.652344 25.234375 31.25 26.0625 C 31.046875 26.476563 30.839844 26.839844 30.65625 27.09375 C 30.472656 27.347656 30.28125 27.488281 30.375 27.4375 L 29.84375 27.71875 L 29.84375 28.3125 C 29.84375 29.761719 29.785156 30.949219 29.9375 32.625 L 29.9375 32.75 L 30 32.875 C 30.570313 34.410156 31.890625 35.367188 33.34375 36.09375 C 34.796875 36.820313 36.464844 37.355469 38.03125 38.03125 C 39.597656 38.707031 41.03125 39.515625 42.09375 40.59375 C 42.9375 41.449219 43.46875 42.582031 43.75 44 L 8.25 44 C 8.53125 42.585938 9.058594 41.449219 9.90625 40.59375 C 10.972656 39.515625 12.425781 38.707031 14 38.03125 C 15.574219 37.355469 17.230469 36.820313 18.6875 36.09375 C 20.144531 35.367188 21.492188 34.410156 22.0625 32.875 L 22.125 32.625 C 22.277344 30.949219 22.21875 29.761719 22.21875 28.3125 L 22.21875 27.71875 L 21.6875 27.4375 C 21.777344 27.484375 21.5625 27.347656 21.375 27.09375 C 21.1875 26.839844 20.957031 26.476563 20.75 26.0625 C 20.335938 25.234375 19.996094 24.167969 19.90625 23.3125 L 19.8125 22.5 L 18.96875 22.4375 C 18.960938 22.4375 18.867188 22.449219 18.6875 22.21875 C 18.507813 21.988281 18.273438 21.480469 18.15625 20.5 C 18.058594 19.667969 18.480469 19.378906 18.4375 19.40625 L 19.09375 19 L 18.90625 18.28125 C 17.964844 14.65625 17.800781 11.363281 18.78125 9.125 C 19.757813 6.894531 21.75 5.492188 25.90625 5.40625 Z"})})},ln=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M46.123 5.066H42.658V2C42.658 0.897 41.761 0 40.658 0H37.163C36.06 0 35.163 0.897 35.163 2V5.066H14.838V2C14.838 0.897 13.941 0 12.838 0H9.34198C8.23898 0 7.34198 0.897 7.34198 2V5.066H3.87698C2.18898 5.066 0.815979 6.439 0.815979 8.127V46.939C0.815979 48.627 2.18898 50 3.87698 50H46.123C47.811 50 49.184 48.627 49.184 46.939V8.127C49.184 6.439 47.811 5.066 46.123 5.066ZM37.163 2H40.658L40.659 10.132H37.163V2ZM9.34198 2H12.838L12.839 10.132H9.34198V2ZM3.87698 7.066H7.34198V10.132C7.34198 11.235 8.23898 12.132 9.34198 12.132H12.838C13.941 12.132 14.838 11.235 14.838 10.132V7.066H35.164V10.132C35.164 11.235 36.061 12.132 37.164 12.132H40.659C41.762 12.132 42.659 11.235 42.659 10.132V7.066H46.124C46.709 7.066 47.185 7.542 47.185 8.127V17.088H2.81598V8.127C2.81598 7.542 3.29198 7.066 3.87698 7.066ZM46.123 48H3.87698C3.29198 48 2.81598 47.524 2.81598 46.939V19.088H47.184V46.939C47.184 47.524 46.708 48 46.123 48Z",fill:"black"}),(0,a.jsx)("path",{d:"M14.383 22.583H9.51398C8.41098 22.583 7.51398 23.48 7.51398 24.583V29.796C7.51398 30.899 8.41098 31.796 9.51398 31.796H14.383C15.486 31.796 16.383 30.899 16.383 29.796V24.583C16.383 23.48 15.486 22.583 14.383 22.583ZM9.51398 29.796V24.583H14.383L14.384 29.796H9.51398Z",fill:"black"}),(0,a.jsx)("path",{d:"M27.435 22.583H22.566C21.463 22.583 20.566 23.48 20.566 24.583V29.796C20.566 30.899 21.463 31.796 22.566 31.796H27.435C28.538 31.796 29.435 30.899 29.435 29.796V24.583C29.435 23.48 28.537 22.583 27.435 22.583ZM22.566 29.796V24.583H27.435L27.436 29.796H22.566Z",fill:"black"}),(0,a.jsx)("path",{d:"M40.487 22.583H35.618C34.515 22.583 33.618 23.48 33.618 24.583V29.796C33.618 30.899 34.515 31.796 35.618 31.796H40.487C41.59 31.796 42.487 30.899 42.487 29.796V24.583C42.487 23.48 41.589 22.583 40.487 22.583ZM35.617 29.796V24.583H40.486L40.487 29.796H35.617Z",fill:"black"}),(0,a.jsx)("path",{d:"M14.383 34.948H9.51398C8.41098 34.948 7.51398 35.845 7.51398 36.948V42.161C7.51398 43.264 8.41098 44.161 9.51398 44.161H14.383C15.486 44.161 16.383 43.264 16.383 42.161V36.948C16.383 35.845 15.486 34.948 14.383 34.948ZM9.51398 42.161V36.948H14.383L14.384 42.161H9.51398Z",fill:"black"}),(0,a.jsx)("path",{d:"M27.435 34.948H22.566C21.463 34.948 20.566 35.845 20.566 36.948V42.161C20.566 43.264 21.463 44.161 22.566 44.161H27.435C28.538 44.161 29.435 43.264 29.435 42.161V36.948C29.435 35.845 28.537 34.948 27.435 34.948ZM22.566 42.161V36.948H27.435L27.437 42.161H22.566Z",fill:"black"}),(0,a.jsx)("path",{d:"M40.487 34.948H35.618C34.515 34.948 33.618 35.845 33.618 36.948V42.161C33.618 43.264 34.515 44.161 35.618 44.161H40.487C41.59 44.161 42.487 43.264 42.487 42.161V36.948C42.487 35.845 41.589 34.948 40.487 34.948ZM35.617 42.161V36.948H40.486L40.488 42.161H35.617Z",fill:"black"})]})},cn=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 60 54",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M60 27C60 27.3 59.9 27.5 59.7 27.7L46.3 41.1C46.1 41.3 45.8 41.4 45.6 41.4C45.4 41.4 45.1 41.3 44.9 41.1C44.5 40.7 44.5 40.1 44.9 39.7L56.6 28H22.4C21.8 28 21.4 27.6 21.4 27C21.4 26.4 21.8 26 22.4 26H56.6L44.9 14.3C44.5 13.9 44.5 13.3 44.9 12.9C45.3 12.5 45.9 12.5 46.3 12.9L59.7 26.3C59.9 26.5 60 26.7 60 27ZM36.8 48.9C36.8 50.4 35.6 51.7 34 51.7H4.8C3.3 51.7 2 50.5 2 48.9V5.09999C2 3.59999 3.2 2.29999 4.8 2.29999H34C35.5 2.29999 36.8 3.49999 36.8 5.09999V24H38.8V5.09999C38.8 2.49999 36.7 0.299988 34 0.299988H4.8C2.2 0.299988 0 2.39999 0 5.09999V49C0 51.6 2.1 53.8 4.8 53.8H34C36.6 53.8 38.8 51.7 38.8 49V30H36.8V48.9Z",fill:"black"})})},un=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?16:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 88 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M86.18 1.76999L86.12 1.68999C85.5475 1.12375 84.8173 0.743496 84.0252 0.598976C83.233 0.454456 82.4156 0.552399 81.68 0.879992L3.12 35.76C2.40488 36.0612 1.79279 36.5638 1.35832 37.2067C0.923844 37.8496 0.685742 38.605 0.673023 39.3809C0.660304 40.1567 0.873518 40.9195 1.28669 41.5763C1.69985 42.2331 2.29514 42.7556 3 43.08L24.42 53.81V75.5C24.4206 76.3489 24.6912 77.1757 25.1928 77.8606C25.6943 78.5456 26.4008 79.0532 27.21 79.31C27.6148 79.4357 28.0362 79.4998 28.46 79.5C29.0938 79.4943 29.7171 79.3382 30.2787 79.0443C30.8403 78.7505 31.324 78.3274 31.69 77.81L42.33 62.81L53.33 68.29C54.1611 68.6965 55.0749 68.9052 56 68.9C56.7162 68.8997 57.4268 68.7745 58.1 68.53C58.8795 68.2477 59.5921 67.807 60.1928 67.2356C60.7935 66.6642 61.2692 65.9745 61.59 65.21L87 6.07999C87.306 5.36123 87.3914 4.56772 87.2454 3.8003C87.0994 3.03288 86.7286 2.32618 86.18 1.76999ZM2.71 39.41C2.71228 39.0191 2.82904 38.6375 3.04587 38.3122C3.26269 37.987 3.57007 37.7324 3.93 37.58L82.47 2.67999C82.8509 2.5022 83.2802 2.45645 83.69 2.54999L25.28 52L3.84 41.29C3.48898 41.1208 3.19503 40.8527 2.99428 40.5187C2.79354 40.1847 2.69473 39.7994 2.71 39.41ZM30.06 76.65C29.8162 76.9994 29.4671 77.2617 29.0637 77.3988C28.6604 77.536 28.2237 77.5407 27.8175 77.4124C27.4112 77.284 27.0566 77.0293 26.8052 76.6853C26.5538 76.3413 26.4189 75.926 26.42 75.5V54.81L40.52 61.81L30.06 76.65ZM85.12 5.28999L59.78 64.42C59.5655 64.935 59.2456 65.3995 58.8409 65.7836C58.4362 66.1676 57.9556 66.4627 57.43 66.65C56.9078 66.8418 56.3519 66.9248 55.7964 66.8938C55.2409 66.8628 54.6977 66.7186 54.2 66.47L27.23 53L85.23 3.91999C85.3676 4.37417 85.3283 4.86358 85.12 5.28999Z",fill:s})})},dn=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?16:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 37 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M34.9 11.9L19.7 1.3C18.7 0.600002 17.4 0.600002 16.4 1.3L1.1 11.9C0.4 12.4 0 13.2 0 14V32.6C0 34 1.1 35.2 2.6 35.2H33.5C34.9 35.2 36.1 34.1 36.1 32.6V14C36 13.2 35.6 12.4 34.9 11.9ZM17.5 3C17.7 2.9 17.8 2.8 18 2.8C18.2 2.8 18.4 2.9 18.5 3L33 13L18.5 23.1C18.2 23.3 17.8 23.3 17.6 23.1L3 13L17.5 3ZM33.4 33.2H2.6C2.3 33.2 2 33 2 32.6V14.8L16.4 24.8C16.9 25.1 17.4 25.3 18 25.3C18.6 25.3 19.1 25.1 19.6 24.8L34 14.8V32.6C34 32.9 33.8 33.2 33.4 33.2Z",fill:s})})},fn=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?30:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 51 79",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M32.417 78.439C30.074 78.439 27.983 77.044 27.09 74.886L19.837 57.375L11.53 66.958C10.084 68.626 8.579 69.472 7.058 69.472C6.007 69.472 2.562 68.962 2.343 62.396L0.507001 7.441C0.421001 4.856 0.958 2.944 2.105 1.759C2.863 0.975001 3.839 0.560001 4.927 0.560001C6.596 0.560001 8.351 1.532 10.143 3.449L47.705 43.607C51.02 47.152 50.676 49.615 50.176 50.768C49.724 51.81 48.343 53.605 44.434 53.328L31.785 52.425L39.039 69.936C39.626 71.353 39.624 72.917 39.034 74.339C38.444 75.762 37.339 76.868 35.922 77.454L34.609 78C33.91 78.292 33.172 78.439 32.417 78.439ZM21.488 50.909L30.785 73.356C31.054 74.003 31.709 74.439 32.416 74.439C32.643 74.439 32.865 74.395 33.076 74.307L34.391 73.761C34.823 73.583 35.159 73.245 35.339 72.81C35.519 72.374 35.521 71.898 35.343 71.469L26.043 49.021L28.543 48.62C29.786 48.421 30.948 48.357 32.02 48.434L44.717 49.34C44.897 49.353 45.071 49.36 45.235 49.36C46.25 49.36 46.543 49.119 46.546 49.117C46.534 49.025 46.351 48.019 44.783 46.343L7.222 6.183C6.023 4.9 5.197 4.562 4.927 4.562C4.844 4.65 4.442 5.414 4.505 7.309L6.341 62.264C6.418 64.559 7 65.4 7.151 65.499C7.183 65.467 7.721 65.247 8.507 64.339L16.845 54.72C17.544 53.912 18.416 53.128 19.437 52.391L21.488 50.909Z",fill:s})})},pn=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?30:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("mask",{id:"mask0_152_26",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:(0,a.jsx)("path",{d:"M0 0H24V24H0V0Z",fill:"white"})}),(0,a.jsxs)("g",{mask:"url(#mask0_152_26)",children:[(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.25 5.25C7.25 2.62665 9.37665 0.5 12 0.5C14.6234 0.5 16.75 2.62665 16.75 5.25C16.75 7.87335 14.6234 10 12 10C9.37665 10 7.25 7.87335 7.25 5.25ZM12 2.5C10.4812 2.5 9.25 3.73122 9.25 5.25C9.25 6.76878 10.4812 8 12 8C13.5188 8 14.75 6.76878 14.75 5.25C14.75 3.73122 13.5188 2.5 12 2.5Z",fill:s}),(0,a.jsx)("path",{d:"M1.5 18.5C1.5 16.2774 4.13498 12 12 12C12.5523 12 13 12.4477 13 13C13 13.5523 12.5523 14 12 14C4.86502 14 3.5 17.7226 3.5 18.5C3.5 19.0228 3.66989 19.3807 3.89461 19.6054C4.11933 19.8301 4.47725 20 5 20H11C11.5523 20 12 20.4477 12 21C12 21.5523 11.5523 22 11 22H5C4.02275 22 3.13067 21.6699 2.48039 21.0196C1.83011 20.3693 1.5 19.4772 1.5 18.5Z",fill:s}),(0,a.jsx)("path",{d:"M22.7071 14.2929C23.0976 14.6834 23.0976 15.3166 22.7071 15.7071L20.4142 18L22.7071 20.2929C23.0976 20.6834 23.0976 21.3166 22.7071 21.7071C22.3166 22.0976 21.6834 22.0976 21.2929 21.7071L19 19.4142L16.7071 21.7071C16.3166 22.0976 15.6834 22.0976 15.2929 21.7071C14.9024 21.3166 14.9024 20.6834 15.2929 20.2929L17.5858 18L15.2929 15.7071C14.9024 15.3166 14.9024 14.6834 15.2929 14.2929C15.6834 13.9024 16.3166 13.9024 16.7071 14.2929L19 16.5858L21.2929 14.2929C21.6834 13.9024 22.3166 13.9024 22.7071 14.2929Z",fill:s})]})]})},hn=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?30:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 378 338",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M337.038 337.205H40.961C26.5 337.205 13.55 329.728 6.31999 317.205C-0.910008 304.682 -0.910008 289.728 6.31999 277.205L154.358 20.795C161.588 8.272 174.539 0.794998 188.999 0.794998C203.459 0.794998 216.409 8.272 223.639 20.795L371.678 277.205C378.908 289.728 378.908 304.682 371.678 317.205C364.448 329.728 351.499 337.205 337.038 337.205ZM171.679 30.795L23.641 287.205C20.026 293.467 20.026 300.943 23.641 307.205C27.256 313.467 33.731 317.205 40.961 317.205H337.038C344.268 317.205 350.744 313.467 354.359 307.205C357.974 300.943 357.974 293.467 354.359 287.205L206.32 30.795C202.705 24.533 196.23 20.795 189 20.795C181.77 20.795 175.294 24.533 171.679 30.795Z",fill:s}),(0,a.jsx)("path",{d:"M189 233.485C183.477 233.485 179 229.007 179 223.485V124.464C179 118.941 183.477 114.464 189 114.464C194.522 114.464 199 118.941 199 124.464V223.485C199 229.008 194.522 233.485 189 233.485Z",fill:s}),(0,a.jsx)("path",{d:"M189 276.555C195.534 276.555 200.83 271.259 200.83 264.725C200.83 258.191 195.534 252.895 189 252.895C182.466 252.895 177.17 258.191 177.17 264.725C177.17 271.259 182.466 276.555 189 276.555Z",fill:s})]})},mn=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?30:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M20 10C20 12.6522 18.9464 15.1957 17.0711 17.0711C15.1957 18.9464 12.6522 20 10 20C9.73479 20 9.48043 19.8946 9.2929 19.7071C9.10536 19.5196 9 19.2652 9 19C9 18.7348 9.10536 18.4804 9.2929 18.2929C9.48043 18.1054 9.73479 18 10 18C12.1217 18 14.1566 17.1571 15.6569 15.6569C17.1572 14.1566 18 12.1217 18 10C18 7.87827 17.1572 5.84344 15.6569 4.34315C14.1566 2.84285 12.1217 2 10 2C9.73479 2 9.48043 1.89464 9.2929 1.70711C9.10536 1.51957 9 1.26522 9 1C9 0.734784 9.10536 0.48043 9.2929 0.292893C9.48043 0.105357 9.73479 0 10 0C11.3132 0 12.6136 0.258658 13.8268 0.761205C15.0401 1.26375 16.1425 2.00035 17.0711 2.92893C17.9997 3.85752 18.7363 4.95991 19.2388 6.17317C19.7413 7.38642 20 8.68678 20 10ZM3.64 4.63C3.90234 4.6289 4.15374 4.52474 4.34001 4.34C4.95275 3.73057 5.66239 3.22706 6.44 2.85C6.6787 2.7333 6.86126 2.52657 6.94753 2.27527C7.0338 2.02397 7.0167 1.74869 6.9 1.51C6.78331 1.27131 6.57657 1.08874 6.32527 1.00248C6.07398 0.91621 5.7987 0.933305 5.56001 1.05C4.59142 1.52776 3.70663 2.15928 2.94001 2.92C2.75375 3.10736 2.64921 3.36081 2.64921 3.625C2.64921 3.88919 2.75375 4.14264 2.94001 4.33C3.12464 4.51841 3.37624 4.62624 3.64 4.63ZM6.44 17.15C5.66366 16.7716 4.957 16.2644 4.35001 15.65C4.1617 15.4617 3.90631 15.3559 3.64 15.3559C3.3737 15.3559 3.11831 15.4617 2.93 15.65C2.7417 15.8383 2.63591 16.0937 2.63591 16.36C2.63591 16.6263 2.7417 16.8817 2.93 17.07C3.6938 17.8545 4.58255 18.5067 5.56001 19C5.69714 19.0664 5.84764 19.1006 6.00001 19.1C6.22671 19.1009 6.44701 19.0248 6.62477 18.8841C6.80253 18.7434 6.9272 18.5465 6.97835 18.3256C7.0295 18.1048 7.00408 17.8731 6.90626 17.6685C6.80845 17.464 6.64404 17.2988 6.44 17.2V17.15ZM1.79001 6.15C1.66527 6.10764 1.53339 6.09035 1.40195 6.09911C1.2705 6.10787 1.14209 6.14252 1.02408 6.20106C0.906064 6.2596 0.800781 6.34089 0.714277 6.44024C0.627773 6.53959 0.561751 6.65506 0.520005 6.78C-0.17305 8.85704 -0.17305 11.103 0.520005 13.18C0.589584 13.387 0.725 13.5655 0.905571 13.6883C1.08614 13.8111 1.30194 13.8714 1.52001 13.86C1.62839 13.8573 1.73596 13.8405 1.84001 13.81C1.96495 13.7683 2.08041 13.7022 2.17977 13.6157C2.27912 13.5292 2.3604 13.4239 2.41894 13.3059C2.47748 13.1879 2.51213 13.0595 2.52089 12.9281C2.52966 12.7966 2.51236 12.6647 2.47 12.54C1.90913 10.8794 1.90913 9.08058 2.47 7.42C2.50829 7.29329 2.52103 7.16023 2.5075 7.02856C2.49397 6.89688 2.45443 6.7692 2.39117 6.65293C2.32792 6.53665 2.2422 6.43409 2.13901 6.35119C2.03581 6.26829 1.91718 6.2067 1.79001 6.17V6.15ZM14.71 8C14.8983 7.8117 15.0041 7.5563 15.0041 7.29C15.0041 7.0237 14.8983 6.7683 14.71 6.58C14.5217 6.3917 14.2663 6.28591 14 6.28591C13.7337 6.28591 13.4783 6.3917 13.29 6.58L8.5 11.38L6.71001 9.58C6.5217 9.3917 6.26631 9.28591 6.00001 9.28591C5.7337 9.28591 5.47831 9.3917 5.29001 9.58C5.1017 9.7683 4.99591 10.0237 4.99591 10.29C4.99591 10.4219 5.02189 10.5524 5.07235 10.6742C5.12281 10.7961 5.19677 10.9068 5.29001 11L7.79001 13.5C7.88297 13.5937 7.99357 13.6681 8.11543 13.7189C8.23729 13.7697 8.36799 13.7958 8.5 13.7958C8.63202 13.7958 8.76272 13.7697 8.88458 13.7189C9.00644 13.6681 9.11704 13.5937 9.21 13.5L14.71 8Z",fill:s})})},gn=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?30:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsx)("svg",{width:n,height:o,viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M21.4 9.654C21.125 9.679 20.922 9.922 20.947 10.197C21.237 13.425 19.936 16.6 17.468 18.693C13.28 22.242 6.98299 21.723 3.43299 17.535C-0.118006 13.347 0.401994 7.051 4.59099 3.5C6.61999 1.78 9.20099 0.956002 11.848 1.172C14.412 1.384 16.741 2.555 18.448 4.467L16.962 4.306C16.692 4.271 16.441 4.475 16.411 4.749C16.381 5.023 16.58 5.27 16.854 5.3L19.596 5.597C19.614 5.599 19.632 5.6 19.65 5.6C19.768 5.6 19.882 5.558 19.973 5.481C20.077 5.393 20.141 5.265 20.149 5.128L20.305 2.374C20.321 2.098 20.11 1.862 19.834 1.847C19.562 1.834 19.322 2.042 19.307 2.318L19.221 3.832C17.341 1.71 14.765 0.410002 11.93 0.176002C9.00699 -0.0639979 6.17699 0.845002 3.94399 2.738C-0.665006 6.644 -1.23701 13.573 2.66999 18.182C4.83499 20.736 7.92599 22.05 11.037 22.05C13.541 22.05 16.059 21.198 18.114 19.456C20.83 17.154 22.262 13.659 21.943 10.107C21.918 9.832 21.688 9.621 21.4 9.654Z",fill:s})})},vn=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?20:r,i=e.fill,s=void 0===i?"black":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 512 512",fill:s,xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M153.527,138.934c-0.29,0-0.581,0.088-0.826,0.258L0.641,242.995C0.238,243.27,0,243.721,0,244.213v27.921 c0,0.484,0.238,0.943,0.641,1.21l152.06,103.811c0.246,0.17,0.536,0.258,0.826,0.258c0.238,0,0.468-0.064,0.686-0.169 c0.484-0.258,0.782-0.758,0.782-1.306v-44.478c0-0.476-0.238-0.936-0.641-1.202L48.769,258.166l105.585-72.068 c0.403-0.282,0.641-0.734,0.641-1.226V140.41c0-0.548-0.298-1.049-0.782-1.299C153.995,138.991,153.765,138.934,153.527,138.934z"}),(0,a.jsx)("path",{d:"M511.358,242.995l-152.06-103.803c-0.246-0.169-0.536-0.258-0.827-0.258c-0.238,0-0.467,0.056-0.685,0.177 c-0.484,0.25-0.782,0.751-0.782,1.299v44.478c0,0.484,0.238,0.936,0.641,1.21l105.586,72.068l-105.586,72.092 c-0.403,0.266-0.641,0.725-0.641,1.217v44.462c0,0.548,0.298,1.049,0.782,1.306c0.218,0.105,0.448,0.169,0.685,0.169 c0.291,0,0.581-0.088,0.827-0.258l152.06-103.811c0.404-0.267,0.642-0.726,0.642-1.21v-27.921 C512,243.721,511.762,243.27,511.358,242.995z"}),(0,a.jsx)("path",{d:"M325.507,114.594h-42.502c-0.629,0-1.186,0.395-1.387,0.984l-96.517,279.885 c-0.153,0.443-0.08,0.943,0.194,1.322c0.278,0.387,0.722,0.621,1.198,0.621h42.506c0.625,0,1.182-0.395,1.387-0.992l96.513-279.868 c0.153-0.452,0.081-0.952-0.193-1.339C326.427,114.828,325.982,114.594,325.507,114.594z"})]})},yn=function(e){var t=e.width,n=void 0===t?20:t,r=e.height,o=void 0===r?14:r,i=e.fill,s=void 0===i?"#000":i;return(0,a.jsxs)("svg",{width:n,height:o,viewBox:"0 0 84 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M62.3 19.3L61 20.7C65.1 24.3 67.4 29.5 67.4 35C67.4 40.5 65 45.6 61 49.3L62.3 50.8C66.8 46.8 69.4 41.1 69.4 35.1C69.4 29.1 66.8 23.2 62.3 19.3Z",fill:s}),(0,a.jsx)("path",{d:"M73.3 12.1L72 13.6C78 19.1 81.4 26.9 81.4 35C81.4 43.1 78 50.9 72 56.4L73.4 57.9C79.7 52 83.4 43.7 83.4 35C83.4 26.3 79.7 18 73.3 12.1Z",fill:s}),(0,a.jsx)("path",{d:"M51.7 0.500006C51.4 0.300006 51 0.300006 50.7 0.500006L19.3 18.9H1.59998C0.999976 18.9 0.599976 19.3 0.599976 19.9V50.2C0.599976 50.8 0.999976 51.2 1.59998 51.2H19.3L50.6 69.6C50.8 69.7 50.9 69.7 51.1 69.7C51.3 69.7 51.4 69.7 51.6 69.6C51.9 69.4 52.1 69.1 52.1 68.7V1.30001C52.2 1.00001 52 0.600006 51.7 0.500006ZM2.59998 20.9H18.6V49.2H2.59998V20.9ZM50.2 66.9L20.1 49.3C20 49.2 19.9 49.2 19.7 49.2H20.6V20.4L50.1 3.10001V66.9H50.2Z",fill:s}),(0,a.jsx)("path",{d:"M43.5754 14.8696L31.2859 22.1798L32.3083 23.8986L44.5978 16.5884L43.5754 14.8696Z",fill:s})]})};function bn(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:(0,a.jsx)("path",{d:"M18.1969 10.4L12.9969 15.6L7.79688 10.4",stroke:"currentColor","stroke-width":"1.73222","stroke-linecap":"round","stroke-linejoin":"round"})}))}function wn(e){var t=(0,r.Z)({},e);return(0,a.jsx)("svg",(0,i.Z)((0,o.Z)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 22 22",fill:"none"},t),{children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.75 21.5C4.81294 21.5 0 16.6871 0 10.75C0 4.81294 4.81294 0 10.75 0C16.6871 0 21.5 4.81294 21.5 10.75C21.5 16.6871 16.6871 21.5 10.75 21.5ZM15.1901 8.64829C15.6861 8.40536 15.8912 7.80634 15.6483 7.31036C15.4053 6.81437 14.8063 6.60923 14.3103 6.85216C12.3545 7.81011 10.8402 9.4539 9.8372 10.7938C9.4896 11.2581 9.1962 11.6957 8.96026 12.071C8.68112 11.8292 8.40583 11.6289 8.16316 11.4689C7.88562 11.2859 7.63935 11.1481 7.45963 11.0548C7.36951 11.008 7.29538 10.9719 7.24153 10.9466C7.21458 10.934 7.19265 10.924 7.17625 10.9166L7.15586 10.9076L7.14888 10.9046L7.14622 10.9034L7.14412 10.9025C7.14388 10.9024 7.14412 10.9025 6.7502 11.8217L7.14412 10.9025C6.63649 10.685 6.04861 10.9201 5.83106 11.4277C5.61392 11.9344 5.84809 12.5211 6.3537 12.7397L6.35473 12.7401L6.35829 12.7417C6.3643 12.7444 6.37547 12.7495 6.3913 12.7569C6.423 12.7718 6.47309 12.7961 6.53765 12.8296C6.66731 12.897 6.85228 13.0002 7.06224 13.1387C7.49104 13.4214 7.97956 13.8217 8.33097 14.3237C8.53389 14.6136 8.8749 14.7746 9.2277 14.7472C9.5803 14.7198 9.8924 14.5078 10.0482 14.1902L10.0508 14.1851L10.0653 14.1563C10.079 14.1295 10.1005 14.0879 10.1297 14.0332C10.1882 13.9235 10.2772 13.7614 10.3954 13.56C10.6323 13.1564 10.9838 12.5994 11.4382 11.9924C12.3602 10.7609 13.6459 9.4046 15.1901 8.64829Z",fill:"currentColor"})}))}function Cn(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none"},t),{children:[(0,a.jsx)("path",{d:"M14.9994 15L9 9M9.00064 15L15 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeWidth:"1.5"})]}))}function xn(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({},t),{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 14 18",fill:"none",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.08464 7.74977C9.08464 6.59871 8.15194 5.66602 7.00173 5.66602C5.85067 5.66602 4.91797 6.59871 4.91797 7.74977C4.91797 8.89999 5.85067 9.83268 7.00173 9.83268C8.15194 9.83268 9.08464 8.89999 9.08464 7.74977Z",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.99959 16.5C6.00086 16.5 0.75 12.2486 0.75 7.80274C0.75 4.3222 3.54758 1.5 6.99959 1.5C10.4516 1.5 13.25 4.3222 13.25 7.80274C13.25 12.2486 7.99832 16.5 6.99959 16.5Z",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})]}))}function kn(e){var t=(0,r.Z)({},e);return(0,a.jsxs)("svg",(0,i.Z)((0,o.Z)({width:"1em",height:"1em",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{children:[(0,a.jsx)("path",{d:"M5.76465 10.8828L5.76465 8.41222",stroke:"currentColor",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M9.05859 10.8828L9.05859 8.41222",stroke:"currentColor",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M0 4.29297H14.8235V4.29297C14.3863 4.29297 14.1676 4.29297 13.9854 4.32702C13.1737 4.47876 12.5387 5.11376 12.387 5.92547C12.3529 6.10764 12.3529 6.32628 12.3529 6.76356V10.9988C12.3529 12.8845 12.3529 13.8273 11.7672 14.4131C11.1814 14.9989 10.2386 14.9989 8.35294 14.9989H6.47059C4.58497 14.9989 3.64216 14.9989 3.05637 14.4131C2.47059 13.8273 2.47059 12.8845 2.47059 10.9989V6.76356C2.47059 6.32628 2.47059 6.10764 2.43653 5.92547C2.2848 5.11376 1.6498 4.47876 0.838088 4.32702C0.655916 4.29297 0.437277 4.29297 0 4.29297V4.29297Z",stroke:"currentColor",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M5.8206 1.30519C5.91444 1.21764 6.12122 1.14027 6.40887 1.08509C6.69652 1.02991 7.04896 1 7.41153 1C7.77411 1 8.12655 1.02991 8.4142 1.08509C8.70185 1.14027 8.90863 1.21764 9.00247 1.30519",stroke:"currentColor",strokeLinecap:"round"})]}))}},49535:function(e,t,n){"use strict";n.d(t,{T:function(){return o},U:function(){return i}});var r=n(42760);function o(e){var t=(0,r.C)((function(e){var t;return null===(t=e.settingsData)||void 0===t?void 0:t.addons})),n=null===t||void 0===t?void 0:t.find((function(t){return(null===t||void 0===t?void 0:t.slug)==e}));try{return n?JSON.parse(null===n||void 0===n?void 0:n.setting):null}catch(o){return null}}function i(e){var t=(0,r.C)((function(e){var t;return null===(t=e.settingsData)||void 0===t?void 0:t.addons}));return(null===t||void 0===t?void 0:t.find((function(t){return(null===t||void 0===t?void 0:t.slug)==e})))||null}},77862:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ht}});var r=n(57135),o=n(72006),i=n(4405),a=n(59072),s=n(9970),l=n(56871),c=n(11527),u=n(54185),d=n.n(u),f=(n(38825),n(81438)),p=n(35892),h=n.n(p),m=(n(83153),n(27599),n(7943),n(42413),n(47301),n(65313),n(33226),n(1339),n(71195),n(73967),n(50959)),g=n(15154),v=n.n(g),y=n(56009),b=n.n(y),w=n(27777),C=n(88176),x=n.n(C),k=n(13567),_=n.n(k),S=n(94285),E=n(28384),M=n(38832),L=n(40873),N=n(67635),O=class extends N.l{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const r=t.queryKey,o=t.queryHash??(0,E.Rm)(r,t);let i=this.get(o);return i||(i=new M.A({cache:this,queryKey:r,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(i)),i}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){L.V.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>(0,E._x)(t,e)))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>(0,E._x)(e,t))):t}notify(e){L.V.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){L.V.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){L.V.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}},A=n(72194),j=n(39873),T=class extends A.F{#t;#n;#r;constructor(e){super(),this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter((t=>t!==e)),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||("pending"===this.state.status?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){this.#r=(0,j.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#o({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const t="pending"===this.state.status,n=!this.#r.canStart();try{if(!t){this.#o({type:"pending",variables:e,isPaused:n}),await(this.#n.config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&this.#o({type:"pending",context:t,variables:e,isPaused:n})}const r=await this.#r.start();return await(this.#n.config.onSuccess?.(r,e,this.state.context,this)),await(this.options.onSuccess?.(r,e,this.state.context)),await(this.#n.config.onSettled?.(r,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(r,null,e,this.state.context)),this.#o({type:"success",data:r}),r}catch(r){try{throw await(this.#n.config.onError?.(r,e,this.state.context,this)),await(this.options.onError?.(r,e,this.state.context)),await(this.#n.config.onSettled?.(void 0,r,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,r,e,this.state.context)),r}finally{this.#o({type:"error",error:r})}}finally{this.#n.runNext(this)}}#o(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),L.V.batch((()=>{this.#t.forEach((t=>{t.onMutationUpdate(e)})),this.#n.notify({mutation:this,type:"updated",action:e})}))}};var Z=class extends N.l{constructor(e={}){super(),this.config=e,this.#i=new Map,this.#a=Date.now()}#i;#a;build(e,t,n){const r=new T({mutationCache:this,mutationId:++this.#a,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){const t=P(e),n=this.#i.get(t)??[];n.push(e),this.#i.set(t,n),this.notify({type:"added",mutation:e})}remove(e){const t=P(e);if(this.#i.has(t)){const n=this.#i.get(t)?.filter((t=>t!==e));n&&(0===n.length?this.#i.delete(t):this.#i.set(t,n))}this.notify({type:"removed",mutation:e})}canRun(e){const t=this.#i.get(P(e))?.find((e=>"pending"===e.state.status));return!t||t===e}runNext(e){const t=this.#i.get(P(e))?.find((t=>t!==e&&t.state.isPaused));return t?.continue()??Promise.resolve()}clear(){L.V.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}getAll(){return[...this.#i.values()].flat()}find(e){const t={exact:!0,...e};return this.getAll().find((e=>(0,E.X7)(t,e)))}findAll(e={}){return this.getAll().filter((t=>(0,E.X7)(e,t)))}notify(e){L.V.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){const e=this.getAll().filter((e=>e.state.isPaused));return L.V.batch((()=>Promise.all(e.map((e=>e.continue().catch(E.ZT))))))}};function P(e){return e.options.scope?.id??String(e.mutationId)}var R=n(75215),I=n(27339);function D(e){return{onFetch:(t,n)=>{const r=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],a=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let n=!1;const c=(0,E.cG)(t.options,t.fetchOptions),u=async(e,r,o)=>{if(n)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);const i={queryKey:t.queryKey,pageParam:r,direction:o?"backward":"forward",meta:t.options.meta};var a;a=i,Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",(()=>{n=!0})),t.signal)});const s=await c(i),{maxPages:l}=t.options,u=o?E.Ht:E.VX;return{pages:u(e.pages,s,l),pageParams:u(e.pageParams,r,l)}};if(o&&i.length){const e="backward"===o,t={pages:i,pageParams:a},n=(e?H:z)(r,t);s=await u(t,n,e)}else{const t=e??i.length;do{const e=0===l?a[0]??r.initialPageParam:z(r,s);if(l>0&&null==e)break;s=await u(s,e),l++}while(l<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function z(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function H(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var B=n(66014),F=n(66517),V=n(76536),q=n(82313),U=n(98037),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"},W=n(86383),K=function(e,t){return m.createElement(W.Z,(0,U.Z)((0,U.Z)({},e),{},{ref:t,icon:$}))};var G=m.forwardRef(K),Y=n(40697),J=n(81316),X=n(61828),Q=function(){(0,g.useRouter)();var e=(0,f.$G)().t,t=(0,X.Z)(),n=t.openOrCloseFileModal,r=t.type,o=t.changeModalType;return(0,c.jsx)(c.Fragment,{children:(0,c.jsxs)("div",{className:"_modal_gallery_top",children:[(0,c.jsxs)("ul",{className:"_modal_gallery_top_ul",children:["video"==r&&(0,c.jsx)("li",{className:"video"==r?"_modal_gallery_top_li _modal_gallery_top_li_active":"_modal_gallery_top_li",onClick:function(){o("video")},children:(0,c.jsxs)("a",{className:"_modal_gallery_top_a",children:[(0,c.jsx)("span",{className:"_modal_gallery_top_ic",children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"12",fill:"none",viewBox:"0 0 16 12",children:[(0,c.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"M2.5 10.832h7.667a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H2.5a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2Z"}),(0,c.jsx)("circle",{cx:"3.417",cy:"3.749",r:".417",stroke:"#fff",strokeLinejoin:"round"}),(0,c.jsx)("path",{stroke:"#fff",strokeLinejoin:"round",d:"m12.168 4.164 3.333-2.5v8.333l-3.333-2.5"})]})}),e("Video")]})}),"image"==r&&(0,c.jsx)("li",{className:"image"==r?"_modal_gallery_top_li _modal_gallery_top_li_active":"_modal_gallery_top_li",onClick:function(){o("image")},children:(0,c.jsxs)("a",{className:"_modal_gallery_top_a",children:[(0,c.jsx)("span",{className:"_modal_gallery_top_ic",children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 18 18",children:[(0,c.jsx)("path",{stroke:"#fff",d:"M1 8.915c0-3.689 0-5.533 1.125-6.696.03-.032.062-.063.094-.094C3.382 1 5.226 1 8.915 1c3.688 0 5.532 0 6.695 1.125.032.03.064.062.095.094 1.125 1.163 1.125 3.007 1.125 6.696v.17c0 3.689 0 5.533-1.125 6.696a4.223 4.223 0 0 1-.095.094C14.447 17 12.603 17 8.915 17c-3.689 0-5.533 0-6.696-1.125a4.123 4.123 0 0 1-.094-.094C1 14.618 1 12.774 1 9.085v-.17Z"}),(0,c.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"m14.825 10.708-.011-.011-.07-.071c-.492-.498-.829-.838-1.21-1.025a2.5 2.5 0 0 0-2.2 0c-.381.187-.717.527-1.21 1.025l-.07.07c-.202.205-.337.341-.445.437a.685.685 0 0 1-.17.126.5.5 0 0 1-.527-.1.68.68 0 0 1-.112-.18c-.065-.13-.14-.307-.252-.571l-.05-.12-.01-.02c-.256-.606-.461-1.089-.652-1.458-.194-.373-.4-.683-.683-.907a2.5 2.5 0 0 0-2.268-.435c-.346.104-.652.315-.97.59-.26.226-.557.52-.915.88v.146c0 .463 0 .886.002 1.274l.463-.468c.482-.487.824-.832 1.105-1.075.28-.244.458-.346.602-.389a1.5 1.5 0 0 1 1.36.261c.118.093.245.254.416.584.171.33.361.777.629 1.408l.05.119.006.015c.105.246.192.452.273.614.083.165.18.328.321.46a1.5 1.5 0 0 0 1.578.303c.18-.071.33-.186.468-.31.136-.12.293-.279.481-.469l.011-.011c.59-.596.8-.799 1.009-.9a1.5 1.5 0 0 1 1.32 0c.209.101.42.304 1.009.9l.688.696c.02-.405.029-.862.034-1.388Z",clipRule:"evenodd"}),(0,c.jsx)("ellipse",{cx:"12.874",cy:"4.997",fill:"#fff",rx:"1.319",ry:"1.333"})]})}),"Images"]})}),"audio"==r&&(0,c.jsx)("li",{className:"audio"==r?"_modal_gallery_top_li _modal_gallery_top_li_active":"_modal_gallery_top_li",onClick:function(){o("audio")},children:(0,c.jsxs)("a",{className:"_modal_gallery_top_a",children:[(0,c.jsx)("span",{className:"_modal_gallery_top_ic",children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",viewBox:"0 0 16 16",children:[(0,c.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"M1 12.53V7.919c0-1.835.738-3.594 2.05-4.892A7.043 7.043 0 0 1 8 1c1.857 0 3.638.729 4.95 2.026a6.877 6.877 0 0 1 2.051 4.892v4.613"}),(0,c.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"M15.001 13.352c0 .437-.163.856-.455 1.165a1.513 1.513 0 0 1-1.1.483h-.778c-.413 0-.808-.174-1.1-.483a1.698 1.698 0 0 1-.456-1.165v-2.47c0-.437.164-.856.456-1.165a1.513 1.513 0 0 1 1.1-.483H15v4.118ZM1 13.352c0 .437.164.856.456 1.165.291.31.687.483 1.1.483h.778c.412 0 .808-.174 1.1-.483.291-.309.455-.728.455-1.165v-2.47c0-.437-.164-.856-.455-1.165a1.513 1.513 0 0 0-1.1-.483H1v4.118Z"})]})}),e("Audio")]})}),"file"==r&&(0,c.jsx)("li",{className:"file"==r?"_modal_gallery_top_li _modal_gallery_top_li_active":"_modal_gallery_top_li",onClick:function(){o("file")},children:(0,c.jsxs)("a",{className:"_modal_gallery_top_a",children:[(0,c.jsx)("span",{className:"_modal_gallery_top_ic",children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"17",fill:"none",viewBox:"0 0 14 17",children:[(0,c.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"M8.5 1h-6A1.5 1.5 0 0 0 1 2.5v12A1.5 1.5 0 0 0 2.5 16h9a1.5 1.5 0 0 0 1.5-1.5v-9L8.5 1Z"}),(0,c.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"M8.5 1v4.5H13m-2.996 3.746h-6m6 3.004h-6m1.5-6.008h-1.5"})]})}),e("File or Doc")]})})]}),(0,c.jsx)("div",{className:"_modal_gallery_top_close_btn_wrap",children:(0,c.jsx)("button",{className:"_modal_gallery_top_close_btn",onClick:function(){n(null)},children:(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",fill:"none",viewBox:"0 0 15 15",children:(0,c.jsx)("path",{stroke:"#707070",strokeLinecap:"round",strokeWidth:"1.5",d:"m1 1.39 12.329 12.462M1 13.852 13.329 1.39"})})})})]})})},ee=n(65452),te=n(89553),ne=n(78681),re=n(84715),oe=function(){(0,g.useRouter)();var e=(0,f.$G)().t,t=(0,X.Z)(),n=t.file_props,r=t.error_msg,a=t.type,s=t.uploadLink,l=t.linkChange,u=t.setFileName,d=t.link,p=t.file_name;return(0,c.jsx)("div",{className:"_modal_file_upload_wrap",children:(0,c.jsx)("div",{className:"_modal_file_upload_inner",children:(0,c.jsx)("div",{className:"row justify-content-center",children:"youtube"!=a&&"vimeo"!=a&&"coustom"!=a?(0,c.jsx)(c.Fragment,{children:(0,c.jsxs)("div",{className:"col-xl-7 col-lg-6 col-md-6 col-sm-12",children:[(0,c.jsx)("div",{className:"_modal_file_upload_space_wrap _modal_file_upload_space_wrap2",children:(0,c.jsx)("div",{className:"_modal_file_upload_space_inner",children:(0,c.jsxs)("div",{className:"_modal_file_upload_space",children:[(0,c.jsx)("div",{className:"_modal_file_upload_space_ic",children:(0,c.jsxs)(ee.Z.Dragger,(0,i.Z)((0,o.Z)({},n),{children:[(0,c.jsx)("p",{className:"ant-upload-drag-icon",children:(0,c.jsx)(re.e6D,{})}),(0,c.jsx)("p",{className:"ant-upload-text",children:e("Choose files")}),(0,c.jsxs)("p",{className:"ant-upload-hint",children:["(",e("max size")," 100MB)"]})]}))}),(0,c.jsxs)("h4",{className:"_modal_file_upload_space_txt",children:["Drag And Drop Your ",a]})]})})}),(0,c.jsxs)("div",{className:"_modal_file_upload_status _mar_t20",children:[(0,c.jsx)("div",{className:"_modal_file_upload_format",children:(0,c.jsxs)("p",{className:"_modal_file_upload_format_txt",children:[e("You can upload files with the extensions"),":","image"==a?"png, jpeg, jpg, gif, webp":"video"==a?"mp4":"file"==a?"doc , docx ,pdf ,xls,ppt,xlsx,txt,pptx,html":"mp3, m4a, wav"]})}),r&&(0,c.jsx)("div",{className:"_modal_file_upload_status_error",children:(0,c.jsx)("p",{className:"_modal_file_upload_status_error_txt",children:r})})]})]})}):(0,c.jsx)("div",{className:"col-xl-7 col-lg-6 col-md-6 col-sm-12 col-6",children:(0,c.jsxs)("div",{className:"_modal_file_upload_space_wrap",children:[(0,c.jsxs)("div",{className:"_modal_file_upload_space_inner",children:[(0,c.jsxs)("label",{children:[" ",a.toUpperCase()," link"]}),(0,c.jsx)(te.Z.TextArea,{value:d,onChange:function(e){l(e.target.value)},rows:4,placeholder:"provide a link",className:"_crtCrse_intro_txtarea_inpt _inpt1"}),(0,c.jsx)("label",{children:" Name"}),(0,c.jsx)(te.Z.TextArea,{value:p,onChange:function(e){u(e.target.value)},rows:1,placeholder:"name",className:"_crtCrse_intro_txtarea_inpt _inpt1"})]}),(0,c.jsx)(ne.Z,{onClick:function(){s()},children:"add"})]})})})})})},ie=n(33389),ae=n(97664),se=function(){(0,g.useRouter)();var e=(0,f.$G)().t,t=(0,X.Z)(),n=t.selected_ids,r=t.gallery_data,o=t.setMark,i=t.SelectAllSelectedItems,a=t.DeleteselectAllSelectedItems;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(ne.Z,{onClick:function(){i()},children:e("Select")}),(0,c.jsx)(ne.Z,{disabled:!n.length,onClick:function(){a(n)},children:e("Delete")}),(0,c.jsx)("div",{className:"row",children:r&&r.data&&r.data.map((function(e,t){return(0,c.jsx)("div",{className:"col-xl-3 col-lg-6 col-md-6 col-sm-6 col-12 _mar_b20",children:(0,c.jsxs)("div",{className:"_modal_gallery_item_wrap _modal_gallery_item_marked _modal_gallery_video_item_wrap _modal_gallery_audio_item_wrap",children:[e.marked&&(0,c.jsx)("div",{className:"_modal_gallery_item_marked_ic",children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"none",viewBox:"0 0 26 26",children:[(0,c.jsx)("circle",{cx:"13",cy:"13",r:"12",fill:"#3CB733",stroke:"#fff",strokeWidth:"2"}),(0,c.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:"2",d:"m9.001 14.316 1.788 1.386a1 1 0 0 0 1.397-.17L17.356 9"})]})}),(0,c.jsx)("div",{className:"_modal_gallery_item_inner _modal_gallery_video_item_inner _modal_gallery_audio_item_inner",onClick:function(){o(t)},children:(0,c.jsx)("div",{className:"_modal_gallery_item_bottom _modal_gallery_video_item_bottom _modal_gallery_audio_item_bottom",children:(0,c.jsxs)("div",{className:"_modal_gallery_item_txt _modal_gallery_video_item_txt _modal_gallery_audio_item_txt",children:[(0,c.jsx)("h3",{className:"_modal_gallery_item_name _modal_gallery_video_item_name _modal_gallery_audio_item_name",children:e.original_name?e.original_name:e.file_name}),(0,c.jsx)("iframe",{width:"100",height:"100",src:"".concat(e.meta.file_link,"&rel=0")})]})})})]})},t)}))})]})},le=x()((function(){return n.e(58179).then(n.bind(n,58179))}),{loadableGenerated:{webpack:function(){return[58179]}}}),ce=x()((function(){return n.e(96934).then(n.bind(n,96934))}),{loadableGenerated:{webpack:function(){return[96934]}}}),ue=x()((function(){return n.e(74918).then(n.bind(n,74918))}),{loadableGenerated:{webpack:function(){return[74918]}}}),de=x()((function(){return n.e(50396).then(n.bind(n,50396))}),{loadableGenerated:{webpack:function(){return[50396]}}});var fe=function(){(0,g.useRouter)();var e=(0,f.$G)().t,t=(0,X.Z)(),n=t.type,r=t.searchFiles,o=t.str,i=t.getAllFiles,a=t.currentPage,s=t.pageSize,l=t.gallery_data,u=t.onPaginationChange,d=t.onSizeChanged;return(0,m.useEffect)((function(){i(n,a,s,o)}),[o,s,a]),(0,c.jsx)("div",{className:"_modal_upload_gallery_wrap",children:(0,c.jsxs)(ie.Z,{children:[(0,c.jsxs)("div",{className:"_modal_upload_gallery_inner",children:[(0,c.jsxs)("div",{className:"_modal_upload_gallery_top",children:[(0,c.jsx)("div",{className:"_modal_upload_gallery_title",children:(0,c.jsx)("h3",{className:"_modal_upload_gallery_title_txt",children:e("Upload From Gallery")})}),(0,c.jsx)("div",{className:"_modal_upload_gallery_search_wrap",children:(0,c.jsxs)("form",{className:"_modal_upload_gallery_search_form",children:[(0,c.jsx)("input",{className:"_modal_upload_gallery_search_input",onChange:function(e){r(e.target.value,n)},placeholder:"".concat(e("Search"),"...")}),(0,c.jsx)("button",{className:"_modal_upload_gallery_search_btn",children:(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",fill:"none",viewBox:"0 0 15 15",children:[(0,c.jsx)("circle",{cx:"6",cy:"6",r:"5",stroke:"#707584",strokeWidth:"1.2"}),(0,c.jsx)("path",{stroke:"#707584",strokeLinecap:"round",strokeWidth:"1.2",d:"M13.5 13.5 11 11"})]})})]})})]}),(0,c.jsxs)("div",{className:"_modal_upload_gallery_main",children:["image"==n&&(0,c.jsx)(de,{}),"video"==n&&(0,c.jsx)(le,{}),"audio"==n&&(0,c.jsx)(ce,{}),"file"==n&&(0,c.jsx)(ue,{}),("youtube"==n||"vimeo"==n||"coustom"==n)&&(0,c.jsx)(se,{})]})]}),(0,c.jsx)("div",{className:"_modal_upload_pagination _dis_flex_all",children:(0,c.jsx)(ae.Z,{defaultCurrent:a,total:l.meta.total,onChange:u,onShowSizeChange:d,pageSize:s,showSizeChanger:!0,pageSizeOptions:[5,10,15,20,30,50]})})]})})},pe=function(){var e=(0,a.Z)(m.useState(!1),2),t=e[0],n=e[1],r=((0,g.useRouter)(),(0,f.$G)().t);return(0,c.jsx)("div",{className:"",children:(0,c.jsxs)("div",{className:"_modal_gallery_wrapper _modal_gallery_wrapper1",children:[(0,c.jsx)("div",{className:"_modal_gallery_bg_overlay"}),(0,c.jsx)("div",{className:"_modal_gallery_wrap _modal_gallery_wrap2",children:(0,c.jsxs)("div",{className:"_modal_gallery_inner",children:[(0,c.jsx)("div",{className:"_modal_gallery_top_inner",children:(0,c.jsx)(Q,{})}),t?(0,c.jsx)(ne.Z,{className:"_btn2 _mar_t20 _mar_l20",onClick:function(){return n(!1)},children:"Close"}):(0,c.jsx)(ne.Z,{className:"_btn2 _mar_t20 _mar_l20",onClick:function(){return n(!0)},children:r("Upload")}),t&&(0,c.jsx)("div",{className:"_modal_file_upload_wrapper",children:(0,c.jsx)(oe,{})}),(0,c.jsx)("div",{className:"_modal_upload_gallery_wrapper",children:(0,c.jsx)(fe,{})})]})})]})})},he=n(42760),me=n(6449),ge=n.n(me),ve=n(59426),ye=n(52588),be=n(36947),we=function(){var e,t=ve.Z.Option,n=(0,m.useState)(!1),r=n[0],o=n[1],i=(0,he.C)((function(e){return null===e||void 0===e?void 0:e.settingsData}))||{},a=i||{},l=a.interval,c=a.is_agency,u=a.is_site_builder,d=a.agency_settings,f=a.agency_id,p=(a.addons,a.allow_agency_transactional_email),h=a.is_revenue_partner,v=null===(e=i.addons)||void 0===e?void 0:e.filter((function(e){return"/dashboard/myaddons/marketplace"!==e.slug})),y=(0,he.C)((function(e){return e.user.info})),b=[],w=!0,C=!1,x=void 0;try{for(var k,_=v[Symbol.iterator]();!(w=(k=_.next()).done);w=!0){var S=k.value;b.push({name:S.addon_name,link:S.slug})}}catch(U){C=!0,x=U}finally{try{w||null==_.return||_.return()}finally{if(C)throw x}}var E=(0,he.C)((function(e){var t;return null===(t=e.user.info)||void 0===t?void 0:t.user_type}));E=c?"AGENCY_OWNER":u?"SITE_BUILDER":E;var M=[{name:"Dashboard",icon:ye.J.dashboardOutline,activeIcon:ye.J.dashboardSolid,isOpen:!0,link:"/dashboard",submenu:[],canAccess:["SITE_OWNER","SITE_ADMIN","REVENUE_PARTNER","TEACHER"]},!f&&{name:"Analytics",icon:ye.J.analyticsOutline,activeIcon:ye.J.analyticsSolid,isOpen:!1,canAccess:["SITE_OWNER","SITE_ADMIN","REVENUE_PARTNER"],submenu:[{name:"Overview",link:"/dashboard/analytics"},{name:"Realtime",link:"/dashboard/analytics/realtime-analytics"},{name:"Students History",link:"/dashboard/analytics/students-history"}]},{name:"Earnings",icon:ye.J.earnMoneyOutline,activeIcon:ye.J.earnMoneySolid,isOpen:!1,canAccess:["AGENCY_OWNER"],submenu:[{name:"Earnings",link:"/dashboard/earnings"},{name:"Earning Transactions",link:"/dashboard/earning-transactions"}]},{name:"Websites",icon:ye.J.webbuilderOutline,activeIcon:ye.J.webbuilderSolid,isOpen:!0,link:"/dashboard/websites",submenu:[],canAccess:["AGENCY_OWNER"]},{name:"Affiliate Dashboard",icon:ye.J.earnMoneyOutline,activeIcon:ye.J.earnMoneySolid,isOpen:!0,link:"/dashboard/affiliate-dashboard",submenu:[],canAccess:["AFFILIATE_USER"]},{name:"My Affiliates",icon:ye.J.usersOutline,activeIcon:ye.J.usersSolid,isOpen:!0,link:"/dashboard/affiliate-dashboard/affiliate-level",submenu:[],canAccess:["AFFILIATE_USER"]},{name:"Coin History",icon:ye.J.earnMoneyOutline,activeIcon:ye.J.earnMoneySolid,isOpen:!1,link:"/dashboard/coin-history",submenu:[],canAccess:["TEACHER"]},{name:"Website Builder",icon:ye.J.webbuilderOutline,activeIcon:ye.J.webbuilderSolid,isOpen:!1,canAccess:["SITE_OWNER","SITE_ADMIN","DEVELOPER","AGENCY_OWNER","SITE_BUILDER"],submenu:[{name:"Pages",link:"/dashboard/pages"},{name:"Menus",link:"/dashboard/site-menu"},{name:"Color Scheme",link:"/dashboard/color-schema"},{name:"Custom CSS",link:"/dashboard/custom-css"},{name:"Global JS Code",link:"/dashboard/global-javascript"},{name:"Global JS Script",link:"/dashboard/global-js-script"},{name:"Font Settings",link:"/dashboard/settings/fonts"},{name:"Language Settings",link:"/dashboard/language"}]},{name:"Courses",icon:ye.J.coursesOutline,activeIcon:ye.J.coursesSolid,isOpen:!1,submenu:[{name:"All Courses",link:"/dashboard/mycourses"},{name:"Categories",link:"/dashboard/category"},{name:"Certificates",link:"/dashboard/certificates"},{name:"Question Bank",callback:function(){return o(!0)},isNotHref:!0},{name:"Import Questions",link:"/dashboard/import-questions"},{name:"Reviews",link:"/dashboard/reviews"},{name:"Quiz Submissions",link:"/dashboard/quiz-submissions"},{name:"Assignment Submissions",link:"/dashboard/assignment"},{name:"Survey Submissions",link:"/dashboard/surveys"}],canAccess:["SITE_OWNER","SITE_ADMIN","TEACHER","REVENUE_PARTNER"]},{name:"Products & Services",icon:ye.J.productsServicesOutline,activeIcon:ye.J.productsServicesSolid,isOpen:!1,canAccess:["SITE_OWNER","SITE_ADMIN","TEACHER","REVENUE_PARTNER"],submenu:[{name:"Digital products",link:"/dashboard/products?is_digital=1"},{name:"Physical products",link:"/dashboard/products?is_digital=0"},{name:"Product Categories",link:"/dashboard/products/categories"},{name:"Appointments",link:"/dashboard/appointments"},{name:"Communities",link:"/dashboard/communities"},{name:"Group Chats",link:"/dashboard/groups"},{name:"Private Chat",link:"/dashboard/private-chat-settings"},{name:"Video Library",link:"/dashboard/video-gallery"},{name:"Video Categories",link:"/dashboard/video-category"},{name:"Audio Library",link:"/dashboard/video-gallery?is_audio=1"},{name:"Audio Categories",link:"/dashboard/video-category?is_audio=1"},{name:"Events",link:"/dashboard/event-create"},{name:"Membership",link:"/dashboard/membership"},{name:"Live Streams",link:"/dashboard/live"},{name:"Meetings",link:"/dashboard/meeting"}]},{name:"Marketplace",icon:ye.J.marketplaceOutline,activeIcon:ye.J.marketplaceSolid,isOpen:!1,isNew:!0,submenu:[{name:"Dashboard",link:"/dashboard/myaddons/marketplace"},{name:"Settings",link:"/dashboard/myaddons/marketplace/settings"},{name:"Seller",link:"/dashboard/myaddons/marketplace/seller"},{name:"Billings",link:"/dashboard/myaddons/marketplace/billings"}],canAccess:["SITE_OWNER","SITE_ADMIN"]},{name:"Users",icon:ye.J.usersOutline,activeIcon:ye.J.usersSolid,isOpen:!1,canAccess:["SITE_OWNER","SITE_ADMIN"],submenu:[{name:"Students",link:"/dashboard/students"},{name:"Developers",link:"/dashboard/developers"},{name:"Teachers",link:"/dashboard/instructors"},{name:"Revenue Partners",link:"/dashboard/revenue_share"},{name:"Site Admins",link:"/dashboard/site_admins"}]},{name:"Deals & Sales",icon:ye.J.dealsSalesOutline,activeIcon:ye.J.dealsSalesSolid,isOpen:!1,submenu:[{name:"Order Bumps",link:"/dashboard/upsells"},{name:"Upsells",link:"/dashboard/one-click-upsells"},{name:"Bonus Items",link:"/dashboard/bonus-items"},{name:"Coupons",link:"/dashboard/coupons"},{name:"Orders",link:"/dashboard/orders"},{name:"Pre-orders",link:"/dashboard/preorders"},{name:"Manual Orders",link:"/dashboard/manual-orders"},{name:"Purchase Requests",link:"/dashboard/requests"},{name:"Checkout Statistics",link:"/dashboard/magic-checkouts/statistics"},{name:"Affiliate Users",link:"/dashboard/affiliate-users"},{name:"Affiliate Default Settings",link:"/dashboard/affiliate-settings"},{name:"Affiliate Transactions",link:"/dashboard/affiliate-users/all-transactions"}],canAccess:["SITE_OWNER","SITE_ADMIN"]},{name:"Marketing & Contacts",icon:ye.J.marketingOutline,activeIcon:ye.J.marketingSolid,isOpen:!1,submenu:[{name:"Email Statistics",link:"/dashboard/email/statistics"},{name:"Campaigns",link:"/dashboard/campaigns"},{name:"Push notifications",link:"/dashboard/push-notifications"},{name:"Forms & Contacts",link:"/dashboard/custom-forms"},{name:"Templates",link:"/dashboard/email-templates"},{name:"Automation & Sequences",link:"/dashboard/email-automation"},{name:"Tags",link:"/dashboard/tags"},{name:"White Label Settings",link:"/dashboard/email-settings",cantAccess:["REVENUE_PARTNER"]}],canAccess:["SITE_OWNER","SITE_ADMIN","REVENUE_PARTNER"]},{icon:ye.J.siteSettingsOutline,activeIcon:ye.J.siteSettingsSolid,isOpen:!1,canAccess:["AGENCY_OWNER"],submenu:[],name:"Email white label setting",link:"/dashboard/email-settings"},{icon:ye.J.siteSettingsOutline,activeIcon:ye.J.siteSettingsSolid,isOpen:!1,canAccess:["AGENCY_OWNER"],submenu:[],name:"White label Transactional Email settings",link:"/dashboard/email-setup"},{name:"Site Settings",icon:ye.J.siteSettingsOutline,activeIcon:ye.J.siteSettingsSolid,isOpen:!1,canAccess:["AGENCY_OWNER"],link:"/dashboard/settings",submenu:[]},{name:"Site Settings",icon:ye.J.siteSettingsOutline,activeIcon:ye.J.siteSettingsSolid,isOpen:!1,canAccess:["SITE_OWNER","SITE_ADMIN","SITE_BUILDER"],submenu:[{name:"General Settings",link:"/dashboard/settings"},{name:"Global Settings",link:"/dashboard/global-settings"},{name:"Checkout",link:"/dashboard/settings/checkout"},{name:"Transactional Emails",link:"/dashboard/email"},{name:"Toggle Emails On/Off",link:"/dashboard/settings/email"},{name:"White Label Emails",link:"/dashboard/email-setup",cantAccess:f&&d&&(null===d||void 0===d?void 0:d.allow_agency_transactional_email)||p||!f&&"commission"!=l?["SITE_BUILDER"]:["SITE_OWNER","SITE_ADMIN","SITE_BUILDER"]},{name:"Student Dashboard",link:"/dashboard/settings/student-dashboard-settings"},{name:"Login Sessions",link:"/dashboard/settings/login-sessions"},{name:"Gamification",link:"/dashboard/gamification"},{name:"Leaderboard",link:"/dashboard/gamification/leaderboard"},{name:"Video Editor",link:"/dashboard/video-data"},{name:"Webhook (Data-in)",link:"/dashboard/web-hook/data-in"},{name:"Webhook (Data-out)",link:"/dashboard/web-hook/data-out"}]},{name:"Services",link:"/dashboard/products-and-services/services",icon:ye.J.productsServicesOutline,activeIcon:ye.J.productsServicesSolid,isOpen:!1,canAccess:["AGENCY_OWNER"],submenu:[]},{name:"Your plans",icon:ye.J.earnMoneySolid,activeIcon:ye.J.earnMoneySolid,isOpen:!1,canAccess:["AGENCY_OWNER"],link:"/dashboard/agency/plans",submenu:[]},!f&&{name:"Addons",icon:ye.J.addonsOutline,activeIcon:ye.J.addonsSolid,isOpen:!1,canAccess:["SITE_OWNER","SITE_ADMIN","REVENUE_PARTNER"],submenu:[{name:"+ Get More Add-ons",link:"/dashboard/all-addons"}].concat((0,s.Z)(b))},f&&{name:"Addons",icon:ye.J.addonsOutline,activeIcon:ye.J.addonsSolid,isOpen:!1,canAccess:["SITE_OWNER","SITE_ADMIN","REVENUE_PARTNER"],submenu:(0,s.Z)(b)},{name:"Blogs",icon:ye.J.blogOutline,activeIcon:ye.J.blogSolid,isOpen:!1,submenu:[{name:"Blog Posts",link:"/dashboard/blogs"},{name:"Categories",link:"/dashboard/blogs/categories"},{name:"One time pricing",link:"/dashboard/blogs/membership-one-time-pricing"},{name:"Subscription pricing",link:"/dashboard/blogs/membership-subscription-pricing"}],canAccess:["SITE_OWNER","SITE_ADMIN","TEACHER","REVENUE_PARTNER","AGENCY_OWNER"]}];y&&"TEACHER"===y.user_type&&h&&M.push({name:"Payments Owed",icon:ye.J.commissionOutline,activeIcon:ye.J.commissionSolid,isOpen:!1,link:"/dashboard/revenue-owns",submenu:[],canAccess:["TEACHER","REVENUE_PARTNER"]}),y&&1===y.school_id&&M.push({name:"Admin Invoice Transaction",icon:ye.J.commissionOutline,activeIcon:ye.J.commissionSolid,isOpen:!1,link:"/dashboard/transaction-plans",submenu:[],canAccess:["SITE_OWNER","SITE_ADMIN","TEACHER","REVENUE_PARTNER"]}),y&&1===y.school_id&&M.push({name:"Commission Transactions",icon:ye.J.commissionOutline,activeIcon:ye.J.commissionSolid,isOpen:!1,link:"/dashboard/commission-transactions",submenu:[],canAccess:["SITE_OWNER","SITE_ADMIN","TEACHER","REVENUE_PARTNER"]}),y&&1===y.school_id&&M.push({name:"Commission List",icon:ye.J.commissionOutline,activeIcon:ye.J.commissionSolid,isOpen:!1,link:"/dashboard/commission-total",submenu:[],canAccess:["SITE_OWNER","SITE_ADMIN","TEACHER","REVENUE_PARTNER"]}),y&&1==y.can_write_doc?1==y.school_id?M.push({name:"Documentation",icon:ye.J.documentationOutline,activeIcon:ye.J.documentationSolid,isOpen:!1,submenu:[{name:"Docs",link:"/dashboard/new-features"},{name:"Docs categories",link:"/dashboard/new-features/categories"},{name:"Docs sub categories",link:"/dashboard/new-features/document-sub-categories"}],canAccess:["SITE_OWNER","SITE_ADMIN","TEACHER","REVENUE_PARTNER"]}):M.push({name:"Documentation",icon:ye.J.documentationOutline,activeIcon:ye.J.documentationSolid,isOpen:!1,submenu:[{name:"Docs",link:"/dashboard/new-features"}],canAccess:["SITE_OWNER","SITE_ADMIN","TEACHER","REVENUE_PARTNER"]}):1==(null===y||void 0===y?void 0:y.school_id)&&M.push({name:"Documentation",icon:ye.J.documentationOutline,activeIcon:ye.J.documentationSolid,isOpen:!1,submenu:[{name:"Docs",link:"/dashboard/new-features"},{name:"Docs categories",link:"/dashboard/new-features/categories"},{name:"Docs sub categories",link:"/dashboard/new-features/document-sub-categories"}],canAccess:["SITE_OWNER","SITE_ADMIN","TEACHER","REVENUE_PARTNER"]}),1==(null===y||void 0===y?void 0:y.school_id)&&M.push({name:"Translation",icon:ye.J.translationOutline,activeIcon:ye.J.translationSolid,isOpen:!1,submenu:[{name:"Add translation",link:"/dashboard/translation/add"}],canAccess:["SITE_OWNER","SITE_ADMIN"]}),1==c||f||M.push({name:"Earn money",icon:ye.J.earnMoneyOutline,activeIcon:ye.J.earnMoneySolid,isOpen:!1,link:"/dashboard/affiliate-partner",submenu:[],canAccess:["SITE_OWNER"]});var L=M.filter((function(e){var t;return null===e||void 0===e||null===(t=e.canAccess)||void 0===t?void 0:t.includes(E)})),N=L.filter((function(e){var t;return(null===e||void 0===e||null===(t=e.submenu)||void 0===t?void 0:t.length)&&(e.submenu=e.submenu.filter((function(e){var t;if(!(null===(t=e.cantAccess)||void 0===t?void 0:t.includes(E))&&!(null===e||void 0===e?void 0:e.hidden))return e}))),e})),O=(0,m.useState)(N),A=O[0],j=O[1],T=(0,m.useState)(0),Z=T[0],P=T[1],R=(0,m.useState)(null),I=R[0],D=R[1],z=(0,m.useState)([]),H=z[0],B=z[1],F=(0,g.useRouter)(),V=window.location.hostname&&"localhost"!==window.location.hostname,q=F.query.onepass;return{leftMenus:1===(null===y||void 0===y?void 0:y.school_id)&&V&&q!==be.fe.toLowerCase()?A.filter((function(e){return["Dashboard","Analytics","Admin Invoice Transaction","Commission Transactions","Commission List","Documentation","Translation"].includes(e.name)})):A,toggleSubMenu:function(e){if(I!==e){D(e);var t=(0,s.Z)(A);t[Z].isOpen=!1,P(e),t[e].isOpen=!A[e].isOpen,j(t)}else D(null)},stopPro:function(e){e.stopPropagation()},filterMenu:function(e){var t=N.flatMap((function(e){var t;return(null===e||void 0===e||null===(t=e.submenu)||void 0===t?void 0:t.length)?(0,s.Z)(e.submenu):(delete e.submenu,{name:e.name,link:e.link})})),n=t.filter((function(t){return t.name.toLowerCase().includes(e.toLowerCase())}));return B(n)},menuInd:I,Option:t,searchData:H,isQBankOpen:r,setIsQBankOpen:o}},Ce=n(54420),xe=n(85423),ke=n(49659),_e=n(77637);function Se(e){var t,n=e.className,r=e.isOpen,a=(0,_e.Z)(e,["className","isOpen"]),s=(0,m.useRef)(null),l=null===(t=s.current)||void 0===t?void 0:t.scrollHeight;return(0,c.jsx)("div",(0,i.Z)((0,o.Z)({style:{height:r?l:0},ref:s},a),{className:(0,ke.cn)("dropdown_menu_collaps overflow-hidden transition-all duration-300 ease-in-out",n)}))}function Ee(e){var t=e.className,n=e.index,r=e.mainMenu,o=e.submenuItem,i=(0,g.useRouter)();return(0,c.jsxs)("div",{"aria-label":"Dropdown item",className:(0,ke.cn)("dropdown_submenu_item relative cursor-pointer rounded px-[1rem] py-1.5 text-white transition-none hover:bg-white/5 hover:text-white",t,{"bg-white/25 hover:bg-white/25":i.asPath==o.link}),children:[(0,c.jsx)("span",{"aria-label":"Tree curve",className:"absolute -left-3.5 bottom-[calc(50%-2px)] inline-block h-1/2 w-3.5 rounded-bl-[0.625rem] border-b-2 border-l-2 border-[#585d68]"}),r.submenu.length-1!==n&&(0,c.jsx)("span",{"aria-label":"Tree straight line",className:"absolute -left-3.5 inline-block h-full w-[0.125rem] bg-[#585d68]"}),(0,c.jsx)("p",{className:(0,ke.cn)("text-[15px] leading-normal text-white/75",{"text-white":i.asPath==o.link}),children:o.name})]})}var Me=function(){var e=(0,g.useRouter)(),t=(0,he.T)(),n=(0,he.C)((function(e){return e.settingsData.siteMenuVisibility})),r=(0,he.C)((function(e){return e.settingsData.logo})),o=(0,he.C)((function(e){var t;return null===(t=e.settingsData)||void 0===t?void 0:t.current_plan})),i=(0,he.C)((function(e){return e.settingsData}))||{},a=i.agency_settings,s=i.is_agency,l=i.logo,u=i.interval,d=i.is_elite,f=i.is_over_ride_ezy_course_logo,p=["year","commission"].includes(u)&&d&&"vip"===o,h=!!f,v=we(),y=v.leftMenus,b=v.toggleSubMenu,w=v.stopPro,C=v.menuInd,x=v.isQBankOpen,k=v.setIsQBankOpen;return(0,m.useEffect)((function(){var t=null===e||void 0===e?void 0:e.pathname;if(t){var n=y.findIndex((function(e){return e.link===t}));-1==n&&(n=y.findIndex((function(e){var n;return null===(n=e.submenu)||void 0===n?void 0:n.find((function(e){return e.link===t}))}))),-1!=n&&b(n)}}),[]),(0,c.jsxs)("aside",{"aria-label":"Dashboard left sidebar",children:[n&&(0,c.jsx)("div",{"aria-label":"Mobile menu overlay",onClick:function(){return t((0,Ce.W9)(!1))},className:"fixed left-0 top-0 z-[101] h-screen w-full bg-black/50"}),(0,c.jsx)("div",{className:(0,ke.cn)("left_sidebar fixed left-0 z-[102] flex w-[300px] -translate-x-full flex-col transition-transform xl:w-[275px] xl:translate-x-0",{"translate-x-0":n}),children:(0,c.jsxs)("div",{className:"relative flex grow flex-col overflow-x-hidden",children:[(0,c.jsxs)("div",{"aria-label":"Leftbar top for mobile",className:"flex h-[62px] items-center justify-between gap-x-3 bg-white pl-[0.75rem] xl:hidden",children:[(0,c.jsx)("div",{"aria-label":"Logo",className:"grow",children:(null===a||void 0===a?void 0:a.logo)?(0,c.jsx)("img",{src:null===a||void 0===a?void 0:a.logo,alt:"Logo",className:"max-h-[56px] w-full max-w-[170px] object-contain"}):s?(0,c.jsx)("img",{src:l,alt:"Logo",className:"max-h-[56px] w-full max-w-[170px] object-contain"}):(0,c.jsx)("img",{src:p||h?r:"https://letcheck.b-cdn.net/ezycourseAssets/ezycourse_logo.svg",alt:"Logo",className:"max-h-[56px] w-full max-w-[170px] object-contain"})}),(0,c.jsx)("div",{"aria-label":"Close",className:"flex shrink-0 items-center justify-center",children:(0,c.jsx)("span",{role:"button",onClick:function(){return t((0,Ce.W9)(!1))},className:"inline-flex text-[2rem] leading-none text-black",children:(0,c.jsx)(re.lx$,{})})})]}),(0,c.jsx)("div",{className:"show_scrollbar_onHover h-[calc(100vh-62px)] overflow-y-auto bg-[#14264a] py-[1rem] pl-1.5 pr-3.5",children:(0,c.jsx)("ul",{className:"flex flex-col",children:y.map((function(e,n){return(null===e||void 0===e?void 0:e.isNotHref)?(0,c.jsx)("li",{className:(0,ke.cn)("relative border-b border-b-[#00000033] opacity-80 transition last:border-b-0 hover:opacity-100",{"opacity-100":e.isOpen&&C===n}),onClick:function(){var r;b(n),(null===(r=e.submenu)||void 0===r?void 0:r.length)||t((0,Ce.W9)(!1)),e.callback()},children:(0,c.jsxs)("div",{"aria-label":"Sidebar item without href","aria-owns":"dropdown-menu",className:"flex cursor-pointer items-center gap-x-3 px-2.5 py-3.5 pr-0 text-white",children:[(0,c.jsx)("span",{"aria-label":"Icon",className:"inline-flex h-6 w-6 shrink-0",dangerouslySetInnerHTML:{__html:e.isOpen&&C===n?e.activeIcon:e.icon}}),(0,c.jsx)("div",{"aria-label":"Text",className:"flex grow items-center",children:(0,c.jsx)("p",{className:"text-[17px] leading-snug",children:e.name})})]})},n):(0,c.jsxs)("li",{className:(0,ke.cn)("relative border-b border-b-[#00000033] opacity-80 transition last:border-b-0 hover:opacity-100",{"opacity-100":e.isOpen&&C===n}),onClick:function(){var r;b(n),(null===(r=e.submenu)||void 0===r?void 0:r.length)||t((0,Ce.W9)(!1))},children:[(0,c.jsx)("span",{className:"_left_sidebar_itm_new",children:(null===e||void 0===e?void 0:e.isNew)&&"New"}),!(null===e||void 0===e?void 0:e.link)&&Array.isArray(null===e||void 0===e?void 0:e.submenu)?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{"aria-label":"Sidebar item","aria-owns":"dropdown-menu",className:"flex cursor-pointer items-center gap-x-3 px-2.5 py-3.5 pr-0 text-white",children:[(0,c.jsx)("span",{"aria-label":"Icon",className:"inline-flex h-6 w-6 shrink-0",dangerouslySetInnerHTML:{__html:e.isOpen&&C===n?e.activeIcon:e.icon}}),(0,c.jsxs)("div",{"aria-label":"Text",className:"flex grow items-center justify-between gap-x-[0.75rem]",children:[(0,c.jsx)("p",{className:(0,ke.cn)("select-none text-[17px] font-normal leading-[1.3]",{"font-semibold":e.isOpen&&C===n}),children:e.name}),(0,c.jsx)("span",{"aria-label":"Arrow icon",className:"inline-flex",children:(0,c.jsx)(re.OH8,{})})]})]}),(0,c.jsx)(Se,{isOpen:e.isOpen&&C===n,children:(0,c.jsx)("div",{"aria-expanded":e.isOpen&&C===n,id:"dropdown-menu",className:"pb-3.5 pl-[34px]",children:(0,c.jsx)("ul",{className:"flex flex-col text-white",children:e.submenu.map((function(r,o){return(null===r||void 0===r?void 0:r.isNotHref)?(0,c.jsx)("li",{"aria-label":"Dropdown item without href",className:"",onClick:function(){r.callback()},children:(0,c.jsx)(Ee,{index:o,submenuItem:r,mainMenu:e})},n):(0,c.jsx)("li",{onClick:w,children:(0,c.jsx)(ge(),{href:r.link,children:(0,c.jsx)("a",{className:"text-inherit",onClick:function(e){w(e),t((0,Ce.W9)(!1))},children:(0,c.jsx)(Ee,{index:o,submenuItem:r,mainMenu:e})})})},o)}))})})})]}):(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(ge(),{href:e.link,children:(0,c.jsx)("a",{target:e.target,children:(0,c.jsxs)("div",{"aria-label":"Sidebar item","aria-owns":"dropdown-menu",className:"flex cursor-pointer items-center gap-x-3 px-2.5 py-3.5 pr-0 text-white",children:[(0,c.jsx)("span",{"aria-label":"Icon",className:"inline-flex h-6 w-6 shrink-0",dangerouslySetInnerHTML:{__html:e.isOpen&&C===n?e.activeIcon:e.icon}}),(0,c.jsx)("div",{"aria-label":"Text",className:"flex grow items-center",children:(0,c.jsx)("p",{className:"text-lg",children:e.name})})]})})})})]},n)}))})})]})}),x&&(0,c.jsx)(xe.default,{is_open:x,setIsOpen:k})]})},Le=x()((function(){return Promise.all([n.e(77799),n.e(46663),n.e(4603),n.e(19658),n.e(5914)]).then(n.bind(n,5914))}),{loadableGenerated:{webpack:function(){return[5914]}}}),Ne=x()((function(){return Promise.all([n.e(77799),n.e(46663),n.e(19658),n.e(31460),n.e(37970),n.e(15620)]).then(n.bind(n,15620))}),{loadableGenerated:{webpack:function(){return[15620]}}}),Oe=new Date(2023,11,22)>new Date;function Ae(e){var t=e.children,n=(0,g.useRouter)(),r=(0,he.C)((function(e){return e.gallery_store.gallery_modal})),o=(0,he.C)((function(e){return e.siteMenu.currentMenu})),i=(0,he.C)((function(e){return e.settingsData})),a=(0,m.useState)(Oe),s=a[0],l=a[1],u=(0,m.useState)(!0),d=(u[0],u[1]),f=(0,m.useState)(!1),p=f[0],h=f[1];return(0,m.useEffect)((function(){var e=new Date("2023-11-22"),t=new Date;if(t<e){var n=e.getTime()-t.getTime(),r=setTimeout((function(){d(!1)}),n);return function(){return clearTimeout(r)}}}),[]),(0,m.useEffect)((function(){!p&&n.pathname.startsWith("/dashboard")&&i.agency_id}),[n.pathname]),(0,c.jsxs)("div",{className:"".concat(p?"_dashboard_body":""),children:[n.pathname.startsWith("/messenger/chat")?(0,c.jsx)(Ne,{}):n.pathname.startsWith("/dashboard/courses/[course_id]")||n.pathname.startsWith("/student/courses/[course_id]/watch")||n.pathname.startsWith("/dashboard/courses/[course_id]/watch/[lesson_id]")?null:!n.pathname.startsWith("/dashboard")||n.pathname.startsWith("/dashboard/courses/create")||n.pathname.startsWith("/dashboard/bundle-courses/create")?!!(null===o||void 0===o?void 0:o.id)&&(0,c.jsx)(Ne,{}):(0,c.jsx)(Le,{show:p&&!n.pathname.startsWith("/dashboard/membership"),setShow:h,showMaintenanceModeBanner:s,setShowMaintenanceModeBanner:l}),r&&(0,c.jsx)(pe,{}),t,n.pathname.startsWith("/dashboard")&&!n.pathname.startsWith("/dashboard/courses/create")&&!n.pathname.startsWith("/dashboard/courses")&&!n.pathname.startsWith("/dashboard/bundle-courses")&&!n.pathname.startsWith("/dashboard/pages/design")&&!n.pathname.startsWith("/messenger/chat")&&!n.pathname.startsWith("/dashboard/membership")&&"free"!==(null===i||void 0===i?void 0:i.current_plan)&&(0,c.jsx)(Me,{})]})}!Oe&&new Date(2023,11,22)>new Date&&(Oe=!0);var je=n(17896),Te=n(39148),Ze=n(61981),Pe=n(40958),Re=x()((function(){return n.e(46831).then(n.bind(n,43011))}),{loadableGenerated:{webpack:function(){return[43011]}}}),Ie=x()((function(){return Promise.all([n.e(77799),n.e(4603),n.e(50355),n.e(45120),n.e(31642),n.e(36338)]).then(n.bind(n,36338))}),{loadableGenerated:{webpack:function(){return[36338]}}}),De=function(){var e=(0,he.T)(),t=(0,Pe.Z)(),n=t.replayBox,r=t.singleChat,o=t.replayLists,i=t.tab,a=t.meetingBox,s=t.closeMeetingListBox;if((0,g.useRouter)().pathname.startsWith("/messenger/chat"))return(0,c.jsx)(c.Fragment,{});return(0,c.jsx)(c.Fragment,{children:r&&(0,c.jsxs)("div",{className:"_ezycourse_chatbox_window_wrap",children:[(0,c.jsx)("span",{className:"_ezycourse_chatbox_window_close",onClick:function(){e((0,Ze.f5)()),e((0,Ze._C)()),s()},children:(0,c.jsx)(re.tps,{})}),n&&o&&2==i||a?(0,c.jsx)(Ie,{}):(0,c.jsx)(Re,{})]})})},ze=n(63773),He=n(9881),Be=n(85850),Fe=n(4523),Ve=n(52825),qe=n(82058),Ue=n(64379),$e=(n(85995),n(84796)),We=n(82546),Ke=n(65714),Ge=n(98777),Ye=n.n(Ge),Je=n(25229),Xe=n(68699);function Qe(e){var t=e.expiryTimestamp,n=(0,m.useState)(!1),r=(n[0],n[1]),o=(0,Xe.useTimer)({expiryTimestamp:t,onExpire:function(){return r(!0)}}),i=o.seconds,a=o.minutes,s=o.hours,l=o.days;o.isRunning,o.start,o.pause,o.resume,o.restart;return(0,c.jsx)("div",{style:{textAlign:"center"},children:(0,c.jsxs)("div",{className:"_timer_box_crd _dis_flex",children:[(0,c.jsxs)("span",{className:"_timer_box",children:[l,"d"]}),(0,c.jsxs)("span",{className:"_timer_box",children:[s,"h"]}),(0,c.jsxs)("span",{className:"_timer_box",children:[a,"m"]}),(0,c.jsxs)("span",{className:"_timer_box",children:[i,"s"]})]})})}function et(e){var t=e.endTime;return t.setSeconds(t.getSeconds()),(0,c.jsx)("div",{children:(0,c.jsx)(Qe,{expiryTimestamp:t})})}var tt=n(72563),nt=function(e){var t=e.user,n=(0,g.useRouter)().pathname,r=(0,m.useState)(!1),o=r[0],i=r[1],a=(0,he.C)((function(e){return e.settingsData}));return(0,m.useEffect)((function(){(null===t||void 0===t?void 0:t.id)&&"SITE_OWNER"===t.user_type&&n.startsWith("/dashboard")&&(0,$e.Z)("/teacher/setting/check-force-to-update-custom-domain").then((function(e){if(null===e||void 0===e?void 0:e.force_update){var t=window.location.hostname;if(t.includes(".ezycourse.com"))i(!0);else{var n=window.location.href.replace(t,a.sub_domain_name+".ezycourse.com");window.location.href=n}}}))}),[]),(0,c.jsx)(Ue.Z,{width:800,open:o,closable:!1,maskClosable:!1,footer:null,children:(0,c.jsxs)("div",{className:"_stdntPrfl_edit_frm w-100",children:[(0,c.jsx)("h3",{className:"mb-3",children:"You must update your custom domain"}),(0,c.jsx)(tt.Z,{})]})})},rt=n(58199);function ot(e,t,n){return e.clearRect(0,0,100,100),e.fillStyle=n,e.fillText(t,0,0),e.getImageData(0,0,1,1).data.join(",")}function it(e){const t=function(){const e=document.createElement("canvas");e.width=e.height=1;const t=e.getContext("2d",{willReadFrequently:!0});return t.textBaseline="top",t.font='100px "Twemoji Mozilla","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji","EmojiOne Color","Android Emoji",sans-serif',t.scale(.01,.01),t}(),n=ot(t,e,"#fff"),r=ot(t,e,"#000");return r===n&&!r.startsWith("0,0,0,")}function at(e="Twemoji Country Flags",t="https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2"){if(typeof window<"u"&&it("\ud83d\ude0a")&&!it("\ud83c\udde8\ud83c\udded")){const n=document.createElement("style");return n.textContent=`@font-face {\n      font-family: "${e}";\n      unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067,\n        U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;\n      src: url('${t}') format('woff2');\n      font-display: swap;\n    }`,document.head.appendChild(n),!0}return!1}var st=n(96336),lt=n(9532),ct=function(){(0,g.useRouter)();var e=(0,he.C)((function(e){return e.user})).info,t=(0,m.useState)(""),n=t[0],a=t[1],s=(0,m.useState)(!1),u=s[0],d=s[1],p=(0,m.useState)(!1),h=p[0],v=p[1],y=(0,m.useState)(null),b=y[0],w=y[1],C=(0,m.useState)(""),x=C[0],k=C[1],_=(0,m.useState)(""),S=_[0],E=_[1],M=(0,m.useState)(!1),L=M[0],N=M[1],O=(0,he.T)();(0,m.useEffect)((function(){N(0===e.is_2fa_enabled)}),[e.is_2fa_enabled]);var A=function(){var e=(0,r.Z)((function(){var e,t;return(0,l.__generator)(this,(function(n){switch(n.label){case 0:return d(!0),[4,(0,$e.Z)("/student/auth/enable2fa","get")];case 1:return e=n.sent(),d(!1),e&&(k(e.secret.secret),E(e.svg),t=Math.floor(1e5+9e5*Math.random()),w(t)),[2]}}))}));return function(){return e.apply(this,arguments)}}(),j=function(){var t=(0,r.Z)((function(){var t;return(0,l.__generator)(this,(function(r){switch(r.label){case 0:return v(!0),[4,(0,$e.Z)("/student/auth/save2FA","post",{code:n,secrete:x,backup_code_2fa:b})];case 1:return t=r.sent(),v(!1),t&&((0,Be.s)("Congratulations! You have successfully enabled 2FA authentication!"),O((0,J.av)((0,i.Z)((0,o.Z)({},e),{is_2fa_enabled:1}))),N(!1)),[2]}}))}));return function(){return t.apply(this,arguments)}}(),T=(0,f.$G)().t;return(0,c.jsx)(Ue.Z,{className:"_ftre_new_mdl",width:610,open:L,closable:!1,footer:null,centered:!0,children:(0,c.jsxs)("div",{className:"_stng_crd1_top d-flex flex-col items-center",children:[(0,c.jsx)("h2",{className:"_titl2",children:T("Please enable Two Factor Authentication for enhanced security")}),(0,c.jsx)("p",{className:"_mar_t15",children:T("For enhanced security and to protect your personal information, this site now requires all users to enable Two-Factor Authentication (2FA).")}),(0,c.jsx)("div",{className:"_st_prfl_info _mar_t15 _pad_12 _b_radious3",children:(0,c.jsxs)("p",{children:[T("You can use any of the following applications for authentication"),":",(0,c.jsx)("br",{}),(0,c.jsxs)("b",{children:[T("Authy"),":"]})," ",T("iPhone"),","," ",T("Android"),", ",T("Chrome"),", ",T("Linux"),","," ",T("OS X"),", ",T("BlackBerry"),".",(0,c.jsx)("br",{}),(0,c.jsxs)("b",{children:[T("Google Authenticator"),":"]})," ",T("iPhone"),","," ",T("Android"),".",(0,c.jsx)("br",{}),(0,c.jsxs)("b",{children:[T("Microsoft Authenticator"),":"]})," ",T("Windows Phone"),", ",T("Android"),"."]})}),(0,c.jsx)("div",{className:"_mar_t20",children:""===x?(0,c.jsx)(ne.Z,{loading:u,className:"_btn1",onClick:A,children:T("Enable 2FA")}):(0,c.jsxs)("div",{children:[(0,c.jsxs)("p",{children:[T("Scan this QR Code in your preferred authenticator app"),"."]}),(0,c.jsx)("img",{className:"qrcode",src:S,alt:""}),(0,c.jsxs)("div",{className:"_mar_t20",children:[(0,c.jsxs)("p",{children:[T("Once you have scanned the QR code, you will see a code. Please enter that code below and hit save"),"."]}),(0,c.jsx)(te.Z,{onChange:function(e){return a(e.target.value)},placeholder:"Enter 2FA code",className:"_inpt1"})]}),(0,c.jsx)("div",{className:"_mar_t20",children:(0,c.jsxs)("p",{children:["Your backup code (please save this code somewhere safe):"," ",b]})}),(0,c.jsx)("div",{className:"_mar_t20",children:(0,c.jsx)(ne.Z,{loading:h,className:"_btn1",onClick:j,children:T("Save 2FA")})})]})})]})})},ut=n(49535),dt=x()((function(){return n.e(49754).then(n.bind(n,49754))}),{loadableGenerated:{webpack:function(){return[49754]}},ssr:!1}),ft=x()((function(){return n.e(78324).then(n.bind(n,78324))}),{loadableGenerated:{webpack:function(){return[78324]}},ssr:!1});function pt(e){var t,n,a,s,u,f=e.Component,p=e.pageProps,h=(0,m.useState)((function(){return new class{#s;#n;#l;#c;#u;#d;#f;#p;constructor(e={}){this.#s=e.queryCache||new O,this.#n=e.mutationCache||new Z,this.#l=e.defaultOptions||{},this.#c=new Map,this.#u=new Map,this.#d=0}mount(){this.#d++,1===this.#d&&(this.#f=R.j.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#s.onFocus())})),this.#p=I.N.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#s.onOnline())})))}unmount(){this.#d--,0===this.#d&&(this.#f?.(),this.#f=void 0,this.#p?.(),this.#p=void 0)}isFetching(e){return this.#s.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#n.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#s.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(void 0===t)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=this.#s.build(this,n);return e.revalidateIfStale&&r.isStaleByTime((0,E.KC)(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return this.#s.findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=this.#s.get(r.queryHash)?.state.data,i=(0,E.SE)(t,o);if(void 0!==i)return this.#s.build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return L.V.batch((()=>this.#s.findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#s.get(t.queryHash)?.state}removeQueries(e){const t=this.#s;L.V.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const n=this.#s,r={type:"active",...e};return L.V.batch((()=>(n.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries(r,t))))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=L.V.batch((()=>this.#s.findAll(e).map((e=>e.cancel(n)))));return Promise.all(r).then(E.ZT).catch(E.ZT)}invalidateQueries(e={},t={}){return L.V.batch((()=>{if(this.#s.findAll(e).forEach((e=>{e.invalidate()})),"none"===e.refetchType)return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)}))}refetchQueries(e={},t){const n={...t,cancelRefetch:t?.cancelRefetch??!0},r=L.V.batch((()=>this.#s.findAll(e).filter((e=>!e.isDisabled())).map((e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(E.ZT)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(r).then(E.ZT)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=this.#s.build(this,t);return n.isStaleByTime((0,E.KC)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(E.ZT).catch(E.ZT)}fetchInfiniteQuery(e){return e.behavior=D(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(E.ZT).catch(E.ZT)}ensureInfiniteQueryData(e){return e.behavior=D(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return I.N.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#s}getMutationCache(){return this.#n}getDefaultOptions(){return this.#l}setDefaultOptions(e){this.#l=e}setQueryDefaults(e,t){this.#c.set((0,E.Ym)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#c.values()];let n={};return t.forEach((t=>{(0,E.to)(e,t.queryKey)&&(n={...n,...t.defaultOptions})})),n}setMutationDefaults(e,t){this.#u.set((0,E.Ym)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#u.values()];let n={};return t.forEach((t=>{(0,E.to)(e,t.mutationKey)&&(n={...n,...t.defaultOptions})})),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#l.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,E.Rm)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),!0!==t.enabled&&t.queryFn===E.CN&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#l.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#s.clear(),this.#n.clear()}}({defaultOptions:{queries:{staleTime:2e4,refetchOnWindowFocus:!1,refetchOnMount:!1}}})}))[0],v=(0,he.C)((function(e){return e.siteCourse.colorSchema})),y=(0,ut.T)("/dashboard/analytics/realtime-analytics"),C=(0,he.C)((function(e){var t;return null===(t=e.settingsData)||void 0===t?void 0:t.allow_plural}));globalThis.app={allow_plural:C},Object.freeze(globalThis.app);var x=(null===p||void 0===p||null===(t=p.siteGlobalCss)||void 0===t?void 0:t.custom_script)?JSON.parse(null===p||void 0===p||null===(n=p.siteGlobalCss)||void 0===n?void 0:n.custom_script):{header_script:"",footer_script:""},k=(0,he.C)((function(e){var t,n;return null===(t=e.settingsData)||void 0===t||null===(n=t.siteGlobalCss)||void 0===n?void 0:n.custom_css})),M=(null===p||void 0===p||null===(a=p.siteGlobalCss)||void 0===a?void 0:a.custom_css)||k,N=null===p||void 0===p||null===(s=p.siteGlobalCss)||void 0===s?void 0:s.custom_javascript,A=(0,w.ZP)((null===x||void 0===x?void 0:x.header_script)||""),j=(0,w.ZP)((null===x||void 0===x?void 0:x.footer_script)||""),T=(0,g.useRouter)(),P=(null===v||void 0===v?void 0:v.Primary_button_text_color)||"#ffffff",z=(0,he.T)(),H=(0,m.useState)([]),U=H[0],$=H[1],W=(0,he.C)((function(e){return e.settingsData.favico_icon})),K=(0,he.C)((function(e){return e.settingsData})),Y=K.addons,J=null===Y||void 0===Y?void 0:Y.find((function(e){return"Web Push Notification"==(null===e||void 0===e?void 0:e.addon_name)})),X=(0,o.Z)({},J);X.setting&&(X.setting=JSON.parse(X.setting));var Q=(null===K||void 0===K?void 0:K.agency_settings)?K.agency_settings.favico_icon:"https://letcheck.b-cdn.net/1/cln5q0v2204whum8z5iy4fsa6.png",ee=(0,qe.NE)(K.current_plan||"free"),te=(0,he.C)((function(e){var t;return null===(t=e.chat)||void 0===t?void 0:t.isChatPoup})),ne=(0,he.C)((function(e){return e.user.info}))||{},re=(0,he.C)((function(e){var t;return null===(t=e.chat)||void 0===t?void 0:t.singleChat})),oe=(0,he.C)((function(e){var t;return null===(t=e.user)||void 0===t?void 0:t.online})),ie=(0,he.C)((function(e){var t,n;return null===e||void 0===e||null===(t=e.settingsData)||void 0===t||null===(n=t.global_settings)||void 0===n?void 0:n.keyboard_shortcut_keys_disabled})),ae=(0,he.C)((function(e){var t,n;return null===e||void 0===e||null===(t=e.user)||void 0===t||null===(n=t.info)||void 0===n?void 0:n.is_2fa_enabled})),se=(0,he.C)((function(e){var t,n;return null===e||void 0===e||null===(t=e.settingsData)||void 0===t||null===(n=t.global_settings)||void 0===n?void 0:n.mandatory_two_factor_auth})),le=(0,m.useState)(!1),ce=le[0],ue=le[1],de=(0,m.useState)("app"==T.query.source),fe=de[0];de[1];(0,m.useEffect)((function(){"STUDENT"!==(null===ne||void 0===ne?void 0:ne.user_type)||!se||ae||fe||ue(!0),"SITE_OWNER"!==(null===ne||void 0===ne?void 0:ne.user_type)&&"SITE_ADMIN"!==(null===ne||void 0===ne?void 0:ne.user_type)&&"/dashboard/revenue_share"===T.pathname&&T.push("/404")}),[T.pathname]),(0,m.useEffect)((function(){var e,t;window&&(null===ne||void 0===ne?void 0:ne.id)&&((null===(e=window.user)||void 0===e?void 0:e.id)||(window.user={id:ne.id,email:ne.email,full_name:ne.full_name,user_type:ne.user_type,profile_pic:ne.profile_pic,first_name:ne.first_name,last_name:ne.last_name}),(null===window||void 0===window||null===(t=window.myMemberships)||void 0===t?void 0:t.length)||(window.myMemberships=(null===p||void 0===p?void 0:p.myMemberships)||[]))}),[ne]),(0,m.useEffect)((function(){if(!window.location.hostname.includes("localhost")&&(null===y||void 0===y?void 0:y.enabled)){var e="last_ping_time",t=setInterval((function(){var t=Date.now();t-parseInt(localStorage.getItem(e)||"0")>=1e4&&(localStorage.setItem(e,t.toString()),fetch("https://scfs.ezycourse.net/api/ping",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({school_id:null===K||void 0===K?void 0:K.id})}).catch(console.error))}),1e4);return function(){clearInterval(t)}}}),[]);var pe=(0,Fe.Z)().getSingleChats;(0,m.useEffect)((function(){(0,$e.Z)("/").then((function(){})),ne&&"STUDENT"===ne.user_type&&(0,$e.Z)("community-seen-unseen/student-community-unread-count").then((function(e){return z((0,Ke.BF)(e.unread_count))})),(null===ne||void 0===ne?void 0:ne.id)&&"SITE_OWNER"==ne.user_type&&(0,$e.Z)("/teacher/new-features/getRecentFeature").then((function(e){$(e)})),at&&at()}),[]),(0,m.useEffect)((function(){if((!(null===ne||void 0===ne?void 0:ne.id)||"STUDENT"===(null===ne||void 0===ne?void 0:ne.user_type))&&ie){var e=function(e){"F12"!==e.key&&123!==e.keyCode||e.preventDefault(),!e.ctrlKey&&!e.metaKey||"a"!==e.key&&"A"!==e.key||e.preventDefault(),!e.ctrlKey&&!e.metaKey||"c"!==e.key&&"C"!==e.key||e.preventDefault(),!e.ctrlKey&&!e.metaKey||"p"!==e.key&&"P"!==e.key||e.preventDefault()},t=function(e){e.preventDefault()};return window.addEventListener("keydown",e),window.addEventListener("contextmenu",t),function(){window.removeEventListener("keydown",e),window.removeEventListener("contextmenu",t)}}}),[ne]),(0,m.useEffect)((function(){var e=T.asPath.split("/")[1];document.body.className=e+" "+T.asPath.replace("/","").replace(/\//g,"_")||"home"}),[T.asPath]),(0,m.useEffect)((function(){return ne&&ne.id&&(He.Wb.on("notification_".concat(ne.id),(function(e){if("feed_reaction"==e.noti_type)(0,Be.n)(e.noti_meta.full_name+" "+e.noti_meta.action_text,"bottomLeft",(0,c.jsx)(F.Z,{}));else if("comment_like"==e.noti_type)(0,Be.n)(e.noti_meta.full_name+" "+e.noti_meta.action_text,"bottomLeft",(0,c.jsx)(F.Z,{}));else if("new_feed"==e.noti_type)(0,Be.n)(e.noti_meta.full_name+" "+e.noti_meta.action_text,"bottomLeft",(0,c.jsx)(V.Z,{}));else if("feed_mention"==e.noti_type)(0,Be.n)(e.noti_meta.full_name+" "+e.noti_meta.action_text,"bottomLeft",(0,c.jsx)(q.Z,{}));else if("feed_comment"==e.noti_type)(0,Be.n)(e.name+" "+e.noti_meta.action_text,"bottomLeft",(0,c.jsx)(G,{}));else if("student_requested_to_join"==e.noti_type)(0,Be.n)("A new student requested to join your school","bottomLeft",(0,c.jsx)(q.Z,{}));else if("comment_mention"==e.noti_type)(0,Be.n)(e.name+" "+e.noti_meta.action_text,"bottomLeft",(0,c.jsx)(q.Z,{}));else if("gifted_coin"==e.noti_type)(0,Be.n)("Coin Gift Recieved","bottomLeft",(0,c.jsx)(q.Z,{}));else if("notify_cdn"==e.noti_type&&"STUDENT"==ne.user_type)(0,Be.n)("Video processing is completed","bottomLeft",(0,c.jsx)(q.Z,{}),!1),z((0,We.Yo)({page:1,pageSize:23,str:""}));else{if("new_msg"==e.noti_type)return void(re?(!T.pathname.startsWith("/messenger/chat")&&(null===re||void 0===re?void 0:re.inbox_key)&&(null===re||void 0===re?void 0:re.inbox_key)==e.data.inbox_key?z((0,Ze.P6)(e.data)):z((0,ze.yM)()),"/messenger/chat?tab=2"==T.asPath?re.id==e.data.chat_group_id&&z((0,Ze.P6)(e.data)):(T.pathname.startsWith("/messenger/chat?tab=1")||T.pathname.startsWith("/messenger/chat"))&&1==e.tab&&re.inbox_key==e.data.inbox_key&&z((0,Ze.P6)(e.data))):(z((0,Ze.gR)(e.data.user)),T.pathname.startsWith("/messenger/chat")||te||z((0,Ze.rf)(e.data.user))));if("group_msg"==e.noti_type)return T.pathname.startsWith("/messenger/chat")||te?re?re.id==e.data.chat_group_id&&(z((0,Ze.P6)(e.data)),z((0,Ze.or)(!1))):(pe(e.group,null),z((0,Ze.gR)(e.group)),T.pathname.startsWith("/messenger/chat")||(z((0,Ze.gR)(e.group)),z((0,Ze.rf)((0,i.Z)((0,o.Z)({},e),{muteSound:!0,open:!0}))))):(pe(e.group,null),z((0,Ze.gR)(e.group)),z((0,Ze.rf)((0,i.Z)((0,o.Z)({},e),{muteSound:!0,open:!0})))),void z((0,ze.yM)());"typing"==e.noti_type&&re&&re.inbox_key==e.data.inbox_key&&(z((0,Ze.or)(!0)),setTimeout((function(){z((0,Ze.or)(!1))}),3e3))}["typing","typing_group"].includes(e.noti_type)||z((0,ze.K5)())})),He.Wb.on("notification_school_".concat(ne.school_id),(function(e){"STUDENT"!=ne.user_type&&"notify_cdn"==e.noti_type&&"STUDENT"!=ne.user_type&&((0,Be.n)("Video processing is completed","bottomLeft",(0,c.jsx)(q.Z,{}),!1),z((0,We.Yo)({page:1,pageSize:23,str:""})))})),He.Wb.on("notification_group_typing",(function(e){re&&ne.id!=e.from_id&&"typing_group"==e.noti_type&&re.id==e.group_id&&(z((0,Ze.or)(!0)),setTimeout((function(){z((0,Ze.or)(!1))}),3e3))}))),function(){He.Wb.off("notification_".concat(null===ne||void 0===ne?void 0:ne.id)),He.Wb.off("notification_school_".concat(ne.school_id)),He.Wb.off("notification_group_typing")}}),[re]),(0,m.useEffect)((function(){K.ga4_code&&"accepted"==localStorage.getItem("cookieAccepted")&&!T.asPath.startsWith("/dashboard")&&S.ZP.initialize(K.ga4_code),S.ZP.initialize("G-8RQEBBFXT4"),S.ZP.initialize("G-2GTJRTXZ4D")}),[K]);var me,ge=function(e,t){},ve=new Date("2023-05-31 23:59:00"),ye=(0,m.useState)(!1),be=ye[0],we=ye[1],Ce=null!==(me=f.getLayout)&&void 0!==me?me:function(e){return(0,c.jsx)(c.Fragment,{children:(0,c.jsxs)(Ae,{children:[(0,c.jsxs)(b(),{children:[(0,c.jsx)("link",{rel:"shortcut icon",href:T.asPath.startsWith("/dashboard")?Q:W}),(0,c.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap",rel:"stylesheet"}),(null===p||void 0===p?void 0:p.google_no_index)?(0,c.jsx)("meta",{name:"robots googlebot",content:"noindex, nofollow"}):null]}),(0,c.jsx)(_(),{}),e,te&&(0,c.jsx)(De,{}),("STUDENT"===(null===ne||void 0===ne?void 0:ne.user_type)||!(null===ne||void 0===ne?void 0:ne.id))&&(0,c.jsx)(ft,{}),0==ee&&!T.asPath.startsWith("/dashboard")&&(0,c.jsx)(Ve.Z,{})]})})};(0,m.useEffect)((function(){var e=T.query.ref_id;e&&(0,$e.Z)("/teacher/settings/bootstrap-data?ref_id=".concat(e),"get").then((function(){}))}),[T.query]),(0,m.useEffect)((function(){if(void 0!==document&&N){var e=document.createElement("script");return e.id="customGlobalJS",e.innerHTML="(async () => {"+N+"})();",e.async=!0,document.body.appendChild(e),function(){try{e&&e.parentNode&&e.parentNode.removeChild(e)}catch(t){console.error(t)}}}}),[T.asPath]),(0,m.useEffect)((function(){if((0,st.i)())return T.events.on("routeChangeStart",_e),function(){T.events.off("routeChangeStart",_e)}}),[T]),(0,m.useEffect)((function(){(null===ne||void 0===ne?void 0:ne.id)&&(ke(),xe())}),[]);var xe=function(){var e=(0,r.Z)((function(){var e;return(0,l.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,$e.Z)("/student/notifications/notificationsIntializations?type=chat")];case 1:return(e=t.sent())&&z((0,ze.kf)(e.total)),[2]}}))}));return function(){return e.apply(this,arguments)}}(),ke=function(){var e=(0,r.Z)((function(){var e;return(0,l.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,$e.Z)("/student/notifications/notificationsIntializations?type=normal")];case 1:return(e=t.sent())&&z((0,ze.AY)(e.total)),[2]}}))}));return function(){return e.apply(this,arguments)}}();function _e(e){return Se.apply(this,arguments)}function Se(){return(Se=(0,r.Z)((function(e){return(0,l.__generator)(this,(function(t){return document.title?((0,$e.Z)("/links","post",{url:e,title:document.title}),[2]):[2]}))}))).apply(this,arguments)}(0,m.useEffect)((function(){if(!window.location.hostname.includes("localhost")){var e={page_title:(null===document||void 0===document?void 0:document.title)||"",school_id:null===K||void 0===K?void 0:K.id,url:window.location.href||void 0};"STUDENT"===(null===ne||void 0===ne?void 0:ne.user_type)&&(e.user={id:null===ne||void 0===ne?void 0:ne.id,full_name:null===ne||void 0===ne?void 0:ne.full_name,dp:null===ne||void 0===ne?void 0:ne.profile_pic}),lt.Z.post("https://scfs.ezycourse.net/api/online",e).catch((function(e){}))}}),[T]),(0,m.useEffect)((function(){window.location.hostname.includes("localhost")||["Unknown","direct"].includes(oe.referer)||lt.Z.post("https://scfs.ezycourse.net/api/online",oe.payload,{headers:{"User-Agent":null===oe||void 0===oe?void 0:oe.userAgent,"refer-from-v2":null===oe||void 0===oe?void 0:oe.referer}}).catch((function(e){}))}),[]);var Ee,Me,Le=T.asPath.split("/")[1],Ne=(0,he.C)((function(e){var t,n;return null===e||void 0===e||null===(t=e.settingsData)||void 0===t||null===(n=t.font_settings)||void 0===n?void 0:n.google_fonts_link_global})),Oe=(0,he.C)((function(e){var t,n;return null===e||void 0===e||null===(t=e.settingsData)||void 0===t||null===(n=t.font_settings)||void 0===n?void 0:n.custom_fonts_styles_global}));return Ce((0,c.jsxs)(B.aH,{client:h,children:[ce&&(0,c.jsx)(ct,{}),null!=v&&!(T.pathname.startsWith("/dashboard")||T.pathname.startsWith("/sitebuilder/page/[page_id]"))&&(0,c.jsx)(d(),{id:"fff40b47603469ce",dynamic:[null===v||void 0===v?void 0:v.Primary,null===v||void 0===v?void 0:v.Primary,null!==(Ee=null===v||void 0===v?void 0:v.Primary_button_text_color)&&void 0!==Ee?Ee:"#ffffff",null===v||void 0===v?void 0:v.Primary_hover,null===v||void 0===v?void 0:v.Primary_button_hover_text_color,null===v||void 0===v?void 0:v.Navbar_background,null===v||void 0===v?void 0:v.Navbar_item_text_color,null===v||void 0===v?void 0:v.Navbar_item_text_hover_color,null===v||void 0===v?void 0:v.Primary,null===v||void 0===v?void 0:v.Primary,null===v||void 0===v?void 0:v.Primary_button_text_color,null===v||void 0===v?void 0:v.Primary,null===v||void 0===v?void 0:v.Primary_hover,null===v||void 0===v?void 0:v.Primary_button_hover_text_color,null===v||void 0===v?void 0:v.Primary_hover,null===v||void 0===v?void 0:v.Secondary_button_background,null===v||void 0===v?void 0:v.Secondary_button_text_color,null===v||void 0===v?void 0:v.Secondary_button_text_color,null===v||void 0===v?void 0:v.Secondary_button_hover_background,null===v||void 0===v?void 0:v.Secondary_button_hover_text_color,null===v||void 0===v?void 0:v.Secondary_button_hover_text_color,null===v||void 0===v?void 0:v.Headings_primary,null===v||void 0===v?void 0:v.Headings_primary,null===v||void 0===v?void 0:v.Link_text_color,null===v||void 0===v?void 0:v.Link_text_hover_color,null===v||void 0===v?void 0:v.Navbar_background,null===v||void 0===v?void 0:v.Navbar_item_text_color,null===v||void 0===v?void 0:v.Headings_banner,null===v||void 0===v?void 0:v.Primary,null===v||void 0===v?void 0:v.Primary_button_text_color,null===v||void 0===v?void 0:v.Primary_hover,null===v||void 0===v?void 0:v.Primary_button_hover_text_color,null===v||void 0===v?void 0:v.Navbar_background,null===v||void 0===v?void 0:v.Primary_button_text_color,null===v||void 0===v?void 0:v.Secondary_button_background,null===v||void 0===v?void 0:v.Secondary_button_text_color,null===v||void 0===v?void 0:v.Primary,null===v||void 0===v?void 0:v.Primary_button_text_color,null===v||void 0===v?void 0:v.Primary_hover,null===v||void 0===v?void 0:v.Primary_button_hover_text_color,null===v||void 0===v?void 0:v.Primary,null===v||void 0===v?void 0:v.Primary,P,null===v||void 0===v?void 0:v.Primary,null===v||void 0===v?void 0:v.Primary,P,null===v||void 0===v?void 0:v.Primary,null===v||void 0===v?void 0:v.Primary_button_text_color,null===v||void 0===v?void 0:v.Primary_hover,null===v||void 0===v?void 0:v.Primary_button_hover_text_color,null===v||void 0===v?void 0:v.Navbar_item_text_color,null===v||void 0===v?void 0:v.Navbar_background,null===v||void 0===v?void 0:v.Navbar_item_text_color,null===v||void 0===v?void 0:v.Navbar_background,null===v||void 0===v?void 0:v.Navbar_background,null===v||void 0===v?void 0:v.Navbar_item_text_color,null===v||void 0===v?void 0:v.Navbar_background,null===v||void 0===v?void 0:v.Navbar_item_text_color,null===v||void 0===v?void 0:v.Primary,null===v||void 0===v?void 0:v.Primary_button_text_color,null===v||void 0===v?void 0:v.Primary,null===v||void 0===v?void 0:v.Primary_button_text_color],children:":root{--primary:".concat(null===v||void 0===v?void 0:v.Primary,";--ezyPrimary:").concat(null===v||void 0===v?void 0:v.Primary,";--ezyPrimaryfg:").concat(null!==(Me=null===v||void 0===v?void 0:v.Primary_button_text_color)&&void 0!==Me?Me:"#ffffff",";--ezyPrimaryHover:").concat(null===v||void 0===v?void 0:v.Primary_hover,";--ezyPrimaryHoverfg:").concat(null===v||void 0===v?void 0:v.Primary_button_hover_text_color,"}._stMenu{background:").concat(null===v||void 0===v?void 0:v.Navbar_background,"}._stMenu_mdl_li1 a{color:").concat(null===v||void 0===v?void 0:v.Navbar_item_text_color,"}._stMenu_mdl_li1 a:hover{color:").concat(null===v||void 0===v?void 0:v.Navbar_item_text_hover_color,"}._crseDtls1_bnr_sec{background:").concat(null===v||void 0===v?void 0:v.Primary,"}._btn1{background:").concat(null===v||void 0===v?void 0:v.Primary,";color:").concat(null===v||void 0===v?void 0:v.Primary_button_text_color,";border-color:").concat(null===v||void 0===v?void 0:v.Primary,"}._btn1:hover{background:").concat(null===v||void 0===v?void 0:v.Primary_hover,";color:").concat(null===v||void 0===v?void 0:v.Primary_button_hover_text_color,";border-color:").concat(null===v||void 0===v?void 0:v.Primary_hover,"}._btn2{background:").concat(null===v||void 0===v?void 0:v.Secondary_button_background,";color:").concat(null===v||void 0===v?void 0:v.Secondary_button_text_color,";border:1px solid ").concat(null===v||void 0===v?void 0:v.Secondary_button_text_color,"}._btn2:hover{background:").concat(null===v||void 0===v?void 0:v.Secondary_button_hover_background,";color:").concat(null===v||void 0===v?void 0:v.Secondary_button_hover_text_color,";border:1px solid ").concat(null===v||void 0===v?void 0:v.Secondary_button_hover_text_color,"}._titl1,._titl2,._titl3,._titl4,._titl_clr{color:").concat(null===v||void 0===v?void 0:v.Headings_primary,"!important}._st_crse_nnr_txt{color:").concat(null===v||void 0===v?void 0:v.Headings_primary,"}._link_clr{color:").concat(null===v||void 0===v?void 0:v.Link_text_color,"}._link_clr:hover{color:").concat(null===v||void 0===v?void 0:v.Link_text_hover_color,"}._st_drpdwn_box{background:").concat(null===v||void 0===v?void 0:v.Navbar_background,"}._stMenu_mdl_li1 ._lndng_nav_spn_arrow{color:").concat(null===v||void 0===v?void 0:v.Navbar_item_text_color,"}._bnr_titl{color:").concat(null===v||void 0===v?void 0:v.Headings_banner,"}._sign_btn{background:").concat(null===v||void 0===v?void 0:v.Primary,";color:").concat(null===v||void 0===v?void 0:v.Primary_button_text_color,"}._sign_btn:hover{background:").concat(null===v||void 0===v?void 0:v.Primary_hover,";color:").concat(null===v||void 0===v?void 0:v.Primary_button_hover_text_color,"}._mbl_mnuStdnt_top{background:").concat(null===v||void 0===v?void 0:v.Navbar_background,";color:").concat(null===v||void 0===v?void 0:v.Primary_button_text_color,"}._mbl_mnuStdnt_top_login_li:nth-child(2) ._mbl_mnuStdnt_top_login_txt{background:").concat(null===v||void 0===v?void 0:v.Secondary_button_background,";color:").concat(null===v||void 0===v?void 0:v.Secondary_button_text_color,"}._mbl_mnuStdnt_top_login_li:nth-child(1) ._mbl_mnuStdnt_top_login_txt{background:").concat(null===v||void 0===v?void 0:v.Primary,";color:").concat(null===v||void 0===v?void 0:v.Primary_button_text_color,"}._blogDtls_bnr{background:").concat(null===v||void 0===v?void 0:v.Primary,"}._blog_card3_number_wrap{background:").concat(null===v||void 0===v?void 0:v.Primary,"}.selected a{color:").concat(P,";background:").concat(null===v||void 0===v?void 0:v.Primary,"}.blog_navbar_item a:hover{background:").concat(null===v||void 0===v?void 0:v.Primary,";color:").concat(P,"}._courseporium_social_top_menu_btn._active{background:").concat(null===v||void 0===v?void 0:v.Primary,";color:").concat(null===v||void 0===v?void 0:v.Primary_button_text_color,"}._courseporium_social_top_menu_btn:hover{background:").concat(null===v||void 0===v?void 0:v.Primary_hover,";color:").concat(null===v||void 0===v?void 0:v.Primary_button_hover_text_color,"}._mbl_mnuStdnt_mdl_itm_txt:hover{color:").concat(null===v||void 0===v?void 0:v.Navbar_item_text_color,";background:").concat(null===v||void 0===v?void 0:v.Navbar_background,"}._mbl_mnuStdnt_btm_li:hover{color:").concat(null===v||void 0===v?void 0:v.Navbar_item_text_color,";background:").concat(null===v||void 0===v?void 0:v.Navbar_background,"}._right_friendlist_title{color:var(--black)!important}._mbl_mnuStdnt_mdl_itm_ul ._active ._mbl_mnuStdnt_mdl_itm_txt:after{background:").concat(null===v||void 0===v?void 0:v.Navbar_background,"}._mbl_mnuStdnt_mdl_itm_ul ._active ._mbl_mnuStdnt_mdl_itm_txt{color:").concat(null===v||void 0===v?void 0:v.Navbar_item_text_color,"}._mbl_mnuStdnt_mdl_drpdwn_txt1:hover{color:").concat(null===v||void 0===v?void 0:v.Navbar_background,"}._mbl_mnuStdnt_mdl_itm_ul ._active ._mbl_mnuStdnt_mdl_itm_arrow svg path{fill:").concat(null===v||void 0===v?void 0:v.Navbar_item_text_color,"}._Tlogin_btn1 ._btn1{background:").concat(null===v||void 0===v?void 0:v.Primary,";color:").concat(null===v||void 0===v?void 0:v.Primary_button_text_color,"}.ant-pagination-item-active a{background:").concat(null===v||void 0===v?void 0:v.Primary,";color:").concat(null===v||void 0===v?void 0:v.Primary_button_text_color,"}")}),(0,c.jsxs)(b(),{children:[T.asPath.startsWith("/dashboard")||T.asPath.startsWith("/sitebuilder")?null:A,!(T.asPath.startsWith("/dashboard")&&"/dashboard/courses/[course_id]/watch/[lesson_id]"!==T.pathname)&&(0,c.jsxs)(c.Fragment,{children:[M&&(0,c.jsx)("style",{global:!0,id:"custom_css",children:"\n                  ".concat(M,"\n                ")}),Oe&&(0,c.jsx)("style",{global:!0,id:"customFontsStylesGlobal",children:"\n                  ".concat(Oe,"\n                ")}),Ne&&(0,c.jsx)("link",{href:Ne,rel:"stylesheet",id:"googleFontsLinkGlobal"})]}),"dashboard"!==Le?(0,c.jsx)("link",{href:"/api/public/setting/custom/font",rel:"stylesheet"}):null]}),(0,c.jsx)(f,(0,o.Z)({},p)),te&&(0,c.jsx)(De,{}),(null===X||void 0===X||null===(u=X.setting)||void 0===u?void 0:u.pushNotificationEnabled)&&ne.id&&!ne.webpushsub&&(0,c.jsx)(dt,{}),(null===K||void 0===K?void 0:K.agency_id)||0===U.length?null:(0,c.jsx)("div",{className:"_new_feature",children:(0,c.jsxs)(Ue.Z,{className:"_ftre_new_mdl",width:600,okText:"View All",cancelText:"Close",title:"What's New",open:!0,onOk:function(){$([]),window.open("https://help.ezycourse.com/","_blank")},onCancel:function(){return $([])},children:[(0,c.jsx)("p",{className:"_mar_b10 _font_size14",children:"New features, bug fixes, and content you might've missed"}),U.length>0&&U.map((function(e){return(0,c.jsx)(c.Fragment,{children:(0,c.jsxs)("div",{className:"_box1 _pad_16 _mar_b16",children:[(0,c.jsxs)("div",{className:"_dis_flex",children:[(0,c.jsx)("h4",{className:"_nw_ftre_mdl_titl _mar_b10 _font_size14 _fw_600 _text_black",children:e.title}),(0,c.jsx)("p",{className:"_b_radious35 _nw_ftre_mdl_spn _text_green _mar_l5 _font_size12 _h_fit_content",children:e.category_name})]}),(0,c.jsx)("p",{className:"_nw_ftre_mdl_txt _font_size14 _text_gray_700",children:e.short_desc}),(0,c.jsxs)("div",{className:"_mar_t10 _dis_flex justify-content-between align-items-center",children:[(0,c.jsx)("p",{className:"_nw_ftre_mdl_tym _text_gray_600 _font_size14",children:Ye()(e.created_at).format("LLL")}),(0,c.jsx)("a",{href:"https://help.ezycourse.com/article/".concat(e.slug),target:"_blank",className:"_nw_ftre_mdl_link _font_size14 _text_decoration_hover_underline _transition3",rel:"noreferrer",children:"Learn more"})]})]})})}))]})}),!(!be||!T.pathname.startsWith("/dashboard"))&&(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(Ue.Z,{className:"_sprt_mblapp_mdl",width:1200,open:be,onOk:function(){we(!1)},footer:null,onCancel:function(){we(!1)},children:(0,c.jsxs)("div",{className:"_sprt_mblapp_mdl_crd1_sec",children:[(0,c.jsx)("div",{className:"_text_center _mar_b20",children:(0,c.jsx)(et,{endTime:ve})}),(0,c.jsxs)("div",{className:"row",children:[(0,c.jsx)("div",{className:"col-12 col-md-6 col-lg-6 col-xl-6",children:(0,c.jsxs)("div",{className:"_sprt_mblapp_mdl_crd1 _pad_20 _b_radious10",children:[(0,c.jsx)("div",{className:"_sprt_mblapp_mdl_crd1_top",children:(0,c.jsx)("img",{src:"https://letcheck.b-cdn.net/ezycourseAssets/mobileApp_screen1.png",alt:"image",className:"_sprt_mblapp_mdl_crd1_top_img _object_fit_contain"})}),(0,c.jsxs)("div",{className:"_text_center",children:[(0,c.jsx)("h2",{className:"_sprt_mblapp_crd1_titl _titl2 _mar_t20 _text_white",children:"Get your own white label branded apps"}),(0,c.jsxs)("p",{className:"_sprt_mblapp_mdl_crd1_paymnt _mar_t20 _font_size30 _fw_600",children:[(0,c.jsx)("del",{className:"_font_size16 _fw_400",children:"$449"})," $299/y"]}),(0,c.jsx)("a",{href:"https://buy.stripe.com/6oE9CXcs0eMzfzG001",children:(0,c.jsx)("button",{className:"_mar_t25 _sprt_mblapp_mdl_btn1 _btn1 _b_radious35",children:"Get started"})})]})]})}),(0,c.jsx)("div",{className:"col-12 col-md-6 col-lg-6 col-xl-6",children:(0,c.jsxs)("div",{className:"_sprt_mblapp_mdl_crd1 _pad_20 _b_radious10",children:[(0,c.jsx)("div",{className:"_sprt_mblapp_mdl_crd1_top",children:(0,c.jsx)("img",{src:"https://letcheck.b-cdn.net/ezycourseAssets/support_img.svg",alt:"image",className:"_sprt_mblapp_mdl_crd1_top_img _object_fit_contain"})}),(0,c.jsxs)("div",{className:"_text_center",children:[(0,c.jsx)("h2",{className:"_titl2 _mar_t20 _text_white _sprt_mblapp_crd1_titl",children:"Receive exclusive VIP support tailored to your needs."}),(0,c.jsxs)("p",{className:"_sprt_mblapp_mdl_crd1_paymnt _mar_t20 _font_size30 _fw_600",children:[(0,c.jsx)("del",{className:"_font_size16 _fw_400",children:"$399"})," $299 one time"]}),(0,c.jsx)("a",{href:"https://buy.stripe.com/6oE9CXajSfQD73a6oq",children:(0,c.jsx)("button",{className:"_mar_t25 _sprt_mblapp_mdl_btn1 _btn1 _mar_t10 _b_radious35",children:"Purchase"})})]})]})})]}),(0,c.jsx)("div",{className:"_mar_t20 _text_center",children:(0,c.jsx)("button",{className:"_btn2 _bg_gray_400",onClick:function(){"undefined"!==typeof localStorage?localStorage.setItem("dontShowAgain","true"):ge("dontShowAgain","true"),we(!1)},children:"Don't show this message again"})})]})})}),(0,c.jsx)(nt,{user:ne}),T.asPath.startsWith("/dashboard")||T.asPath.startsWith("/sitebuilder")?null:j]}))}pt.getInitialProps=Y.YS.getInitialAppProps((function(e){var t=e.getState,n=e.dispatch;return function(){var e=(0,r.Z)((function(e){var r,c,u,d,f,p,h,m,g,y,b,w,C,x,k,_,S,E,M,L,N,O,A,j,T,Z,P,R,I,D,z,H,B,F,V,q,U,$,W,K,G,Y,X,Q,ee,te,ne,re,oe,ie,ae;return(0,l.__generator)(this,(function(l){switch(l.label){case 0:return r=e.Component,c=e.ctx,u=e.router,d=c.req?"https://".concat(c.req.headers.host,"/api"):"https://".concat(window.location.hostname,"/api"),c.req?[3,6]:(p={},h=[{}],r.getInitialProps?[4,r.getInitialProps(c)]:[3,4]);case 1:return(g=null===(f=l.sent())||void 0===f?void 0:f.initialProps)?[3,3]:[4,r.getInitialProps(c)];case 2:g=l.sent(),l.label=3;case 3:return m=g,[3,5];case 4:m={},l.label=5;case 5:return[2,(p.pageProps=i.Z.apply(void 0,[o.Z.apply(void 0,h.concat(m)),{pathname:c.pathname,base_url:d}]),p)];case 6:if("/404"!==c.pathname)return[3,16];l.label=7;case 7:return l.trys.push([7,9,,10]),[4,(0,je.Z)(c,"/teacher/settings/school-info")];case 8:return b=l.sent(),w=b.data,n((0,Ce.G_)(w)),[3,10];case 9:return l.sent(),n((0,Ce.G_)({})),[3,10];case 10:return C={},x=[{}],r.getInitialProps?[4,r.getInitialProps(c)]:[3,14];case 11:return(_=null===(y=l.sent())||void 0===y?void 0:y.initialProps)?[3,13]:[4,r.getInitialProps(c)];case 12:_=l.sent(),l.label=13;case 13:return k=_,[3,15];case 14:k={},l.label=15;case 15:return[2,(C.pageProps=i.Z.apply(void 0,[o.Z.apply(void 0,x.concat(k)),{pathname:c.pathname,base_url:d}]),C)];case 16:return l.trys.push([16,25,,26]),[4,Promise.all([(0,je.Z)(c,"/teacher/settings/get-initial-site-data"),(0,je.Z)(c,"/teacher/setting/get-language-list"),(0,je.Z)(c,"teacher/password/password-setting")])];case 17:return R=a.Z.apply(void 0,[l.sent(),3]),I=R[0],D=R[1],z=R[2],H=I.data,c.req&&"demo2.ezycourse.com"===(null===(B=c.req)||void 0===B||null===(F=B.headers)||void 0===F?void 0:F.host)&&(null===H||void 0===H||null===(V=H.authUser)||void 0===V?void 0:V.id)&&c.res.setHeader("Set-Cookie","demo_user_id=".concat(null===H||void 0===H||null===(q=H.authUser)||void 0===q?void 0:q.id)),n((0,J.av)((null===H||void 0===H?void 0:H.authUser)||null)),n((0,Ze.c5)(null===H||void 0===H?void 0:H.gamification)),n((0,Ce.G_)((0,i.Z)((0,o.Z)({},(null===H||void 0===H?void 0:H.siteSettings)||{}),{siteGlobalCss:null===H||void 0===H?void 0:H.siteGlobalCss,passwordSetting:(null===z||void 0===z?void 0:z.data.data)||{}}))),n((0,Te.qi)(null===H||void 0===H?void 0:H.paymentSettings)),n((0,rt.YT)((null===D||void 0===D?void 0:D.data)||[])),U={init:!0,school_id:null===H||void 0===H||null===(S=H.siteSettings)||void 0===S?void 0:S.id,url:"https://"+c.req.headers.host+("default"===u.locale?"":"/"+u.locale)+c.asPath||0},"STUDENT"===(null===H||void 0===H||null===(E=H.authUser)||void 0===E?void 0:E.user_type)&&(U.user={id:null===H||void 0===H||null===($=H.authUser)||void 0===$?void 0:$.id,full_name:null===H||void 0===H||null===(W=H.authUser)||void 0===W?void 0:W.full_name,dp:null===H||void 0===H||null===(K=H.authUser)||void 0===K?void 0:K.profile_pic}),G=c.req.headers.referer||"Unknown",G.includes(c.req.headers.host)&&(G="direct"),Y=c.req.headers["user-agent"],n((0,J.VT)({referer:G,userAgent:Y,payload:U})),X=(null===(M=H.siteGlobalCss)||void 0===M?void 0:M.color_schema)&&"NULL"!=(null===(L=H.siteGlobalCss)||void 0===L?void 0:L.color_schema)?JSON.parse(null===(N=H.siteGlobalCss)||void 0===N?void 0:N.color_schema):null,n((0,Je.fO)(X)),2342!=(null===H||void 0===H||null===(O=H.siteSettings)||void 0===O?void 0:O.id)||c.asPath.includes("university-coming-soon")?"ACTIVE"===(null===H||void 0===H||null===(A=H.siteSettings)||void 0===A?void 0:A.current_plan_status)||c.asPath.includes("suspended")?"free"==(null===H||void 0===H||null===(j=H.siteSettings)||void 0===j?void 0:j.current_plan)&&c.pathname.startsWith("/dashboard")&&"/dashboard/update-plan"!==c.pathname?(c.res?(c.res.writeHead(302,{Location:"/dashboard/update-plan"}),c.res.end()):v().push("/dashboard/update-plan"),[2]):(Q=null===(T=t())||void 0===T||null===(Z=T.user)||void 0===Z||null===(P=Z.info)||void 0===P?void 0:P.id,ee=[],Q?[4,(0,je.Z)(c,"/student/membership/get-enrolled-memberships")]:[3,19]):(c.res?(c.res.writeHead(302,{Location:"/suspended"}),c.res.end()):v().push("/suspended"),[2]):(c.res?(c.res.writeHead(302,{Location:"/university-coming-soon"}),c.res.end()):v().push("/university-coming-soon"),[2]);case 18:ne=l.sent(),(te=ee).push.apply(te,(0,s.Z)(ne.data)),l.label=19;case 19:return re={},oe=[{}],r.getInitialProps?[4,r.getInitialProps(c)]:[3,23];case 20:return(ae=l.sent().initialProps)?[3,22]:[4,r.getInitialProps(c)];case 21:ae=l.sent(),l.label=22;case 22:return ie=ae,[3,24];case 23:ie={},l.label=24;case 24:return[2,(re.pageProps=i.Z.apply(void 0,[o.Z.apply(void 0,oe.concat(ie)),{pathname:c.pathname,google_no_index:null===H||void 0===H?void 0:H.siteSettings.google_no_index,siteGlobalCss:null===H||void 0===H?void 0:H.siteGlobalCss,base_url:d,myMemberships:ee}]),re)];case 25:return l.sent(),c.res?(c.res.writeHead(302,{Location:"/404"}),c.res.end()):v().push("/404"),[2];case 26:return[2]}}))}));return function(t){return e.apply(this,arguments)}}()}));var ht=Y.YS.withRedux((0,f.Jc)(pt,h()))},69320:function(e,t,n){"use strict";n.d(t,{$K:function(){return je},AA:function(){return m},AO:function(){return he},Ac:function(){return Z},Ai:function(){return P},B:function(){return j},Bc:function(){return xe},D4:function(){return te},Di:function(){return Se},EP:function(){return Le},El:function(){return ce},Fs:function(){return k},Ji:function(){return _e},Jq:function(){return h},L4:function(){return me},LG:function(){return Ne},LX:function(){return g},Lq:function(){return re},OY:function(){return ke},Oi:function(){return E},Om:function(){return ee},P7:function(){return q},P9:function(){return K},QM:function(){return ye},QO:function(){return De},RD:function(){return C},RH:function(){return Me},RU:function(){return we},TG:function(){return z},VP:function(){return D},WJ:function(){return Ee},Wf:function(){return N},X6:function(){return U},XJ:function(){return Ae},XN:function(){return $},Ym:function(){return w},Ys:function(){return H},ZK:function(){return Te},Zz:function(){return Re},_y:function(){return Pe},bE:function(){return F},bN:function(){return ge},bh:function(){return Oe},cI:function(){return Ie},cO:function(){return I},cl:function(){return _},dm:function(){return J},dx:function(){return pe},eK:function(){return Q},eR:function(){return se},ek:function(){return M},fk:function(){return T},gK:function(){return fe},hK:function(){return ne},hv:function(){return O},iv:function(){return ae},kO:function(){return be},kf:function(){return V},kt:function(){return G},mq:function(){return Ze},nD:function(){return ve},nQ:function(){return oe},oX:function(){return L},oo:function(){return de},pT:function(){return R},sP:function(){return A},sW:function(){return B},tM:function(){return X},u9:function(){return le},uo:function(){return S},uq:function(){return Y},w:function(){return x},wX:function(){return Ce},xK:function(){return ue},yX:function(){return ie},z6:function(){return W}});var r=n(57135),o=n(57389),i=n(72006),a=n(4405),s=n(9970),l=n(56871),c=n(768),u=n(5185),d=n(84796),f=n(82058),p={nodeTreeIDS:[],nodes:{},selectedNode:null,selectedSection:null,selectedNodeControls:null,media:{currentMode:"desktop"},contextMenu:{visibility:!1,currentNode:null,position:{x:0,y:0}},currentLeftPanelTab:"widgets",rowModalVisibility:!1,currentRowAlignment:{horizontal:"start",vertical:"start"},rowParentNode:null,pageSavingState:!1,pageSettings:{globalStyles:""},pages:[],modals:[],currentPage:null,productList:{},upsellProductList:[],saveAsTemplateModalVisibility:null,menuMode:!1,templateMarketVisibility:!1,textInlineEditMode:null,expandedLayerTree:null,rowAddPosition:-1,siteFontFamilies:["Arial","Comic Sans MS","Courier New","Georgia","Helvetica","Impact","Lucida Console","Lucida Sans Unicode","Palatino Linotype","Tahoma","Times New Roman","Trebuchet MS","Verdana"],siteFontFamiliesSettings:[]},h=(0,c.hg)("builder/savePage",function(){var e=(0,r.Z)((function(e,t){var n,r,o,i;return(0,l.__generator)(this,(function(a){switch(a.label){case 0:return n=e.pageID,r=t.getState,o=r(),i=[],o.builder.present.nodeTreeIDS.forEach((function(e,t){i.push({order_number:t,page_id:Number(n),page_block_id:o.builder.present.nodes[e].rootNodeId,stringified_block_data:JSON.stringify(o.builder.present.nodes[e]),id:o.builder.present.nodes[e].id||null})})),i.length?[4,(0,d.Z)("/teacher/pageblock/createOrUpdateMultiplePageBlock","post",{page_id:n,dataArr:i})]:[2];case 1:return[2,a.sent()]}}))}));return function(t,n){return e.apply(this,arguments)}}()),m=(0,c.hg)("builder/removeSectionWithDB",function(){var e=(0,r.Z)((function(e,t){var n,r,o;return(0,l.__generator)(this,(function(i){switch(i.label){case 0:return n=t.getState,(r=n()).builder.present.nodes[e]&&r.builder.present.nodes[e].id?[4,(0,d.Z)("/teacher/pageblock/deletePageBlock?id=".concat(r.builder.present.nodes[e].id),"post",{})]:[2,{rootId:e,isDeleted:1}];case 1:return[2,{isDeleted:(o=i.sent())&&o[0],rootId:e}]}}))}));return function(t,n){return e.apply(this,arguments)}}()),g=(0,c.hg)("builder/loadProduct",(0,r.Z)((function(){return(0,l.__generator)(this,(function(e){return[2,(0,d.Z)("/teacher/products/get-grouped-products-list-v2")]}))}))),v=(0,c.hg)("builder/loadUpsellProduct",(0,r.Z)((function(){return(0,l.__generator)(this,(function(e){return[2,(0,d.Z)("/teacher/upsells/get-one-click-upsell-list")]}))}))),y=(0,c.oM)({name:"builder",initialState:p,reducers:{sectionUpdate:function(e,t){var n=t.payload;e.nodes[n].updated=!0},updateNodeSettings:function(e,t){var n=t.payload.node;e.selectedNode=n,e.nodes[e.selectedNode.rootId].data[e.selectedNode.id]=n,y.caseReducers.sectionUpdate(e,{payload:e.selectedNode.rootId,type:"builder/sectionUpdate"})},addNodeTree:function(e,t){var n=t.payload,r=n.rootNodeId,i=n.node,a=n.index;e.nodeTreeIDS.splice(a,0,r),e.nodes[r]={rootNodeId:r,data:(0,o.Z)({},r,i),blockSettings:{css:""},updated:!1},e.selectedSection=null,y.caseReducers.sectionUpdate(e,{payload:r,type:"builder/sectionUpdate"})},addNewBlankSection:function(e,t){var n=t.payload,r=n.sectionId,s=n.blockData,l=n.position;e.nodes=(0,a.Z)((0,i.Z)({},e.nodes),(0,o.Z)({},r,s)),e.nodeTreeIDS.splice(l,0,r)},addRowWithColumn:function(e,t){var n=t.payload,r=n.nodesData,a=n.position,s=n.parentId,l=n.rootNodeId,c=n.rowId;s?(e.rowAddPosition>-1?e.nodes[l].data[s].nodes.splice(e.rowAddPosition,0,c):e.nodes[l].data[s].nodes.push(c),e.rowAddPosition=-1):(e.nodeTreeIDS.splice(a,0,l),e.nodes[l]={rootNodeId:l,data:(0,o.Z)({},l,r[l]),blockSettings:{css:""},updated:!0}),e.nodes[l].data=(0,i.Z)({},e.nodes[l].data,r),y.caseReducers.sectionUpdate(e,{payload:l,type:"builder/sectionUpdate"})},setRowAddPosition:function(e,t){e.rowAddPosition=t.payload},addSectionWithData:function(e,t){var n=t.payload,r=n.rootId,o=n.nodes;if(e.selectedSection){var a=e.nodeTreeIDS.indexOf(e.selectedSection);e.nodeTreeIDS.splice(a+1,0,r),e.selectedSection=null}else e.nodeTreeIDS.push(r);e.nodes=(0,i.Z)({},e.nodes,o),y.caseReducers.sectionUpdate(e,{payload:r,type:"builder/sectionUpdate"})},removeSection:function(e,t){var n=t.payload.rootId,r=e.nodeTreeIDS.indexOf(n);r>-1&&(e.nodeTreeIDS.splice(r,1),delete e.nodes[n])},removeNodeWithChildren:function(e,t){var n=t.payload,r=n.nodeId,o=n.rootNodeId,i=e.nodes[o].data,a=i[r],s=a.parent,l=i[s].nodes.indexOf(r);l>-1&&i[s].nodes.splice(l,1);var c=function(e){e.forEach((function(e){var t,n;(null===(t=i[e])||void 0===t||null===(n=t.nodes)||void 0===n?void 0:n.length)&&c(i[e].nodes),delete i[e]}))};if(a.nodes.length&&c(a.nodes),delete i[r],e.selectedNode){var u=e.selectedNode.id,d=e.selectedNode.rootId;d==o&&(e.currentLeftPanelTab="widgets",e.selectedNode=null),r!=u&&d!=o||(e.currentLeftPanelTab="widgets",e.selectedNode=null)}y.caseReducers.sectionUpdate(e,{payload:o,type:"builder/sectionUpdate"})},addNodeItem:function(e,t){var n=t.payload,r=n.rootNodeId,o=n.parentID,a=n.nodeItem,s=n.index;e.nodes[r].data[a.id]=a,o&&e.nodes[r].data[o]&&(s>-1?e.nodes[r].data[o].nodes.splice(s,0,a.id):e.nodes[r].data[o].nodes.push(a.id)),"Container"==n.nodeItem.type&&(e.currentLeftPanelTab="widgets"),"ListItem"!=a.componentName&&(e.currentLeftPanelTab="controls",e.selectedNode=(0,i.Z)({},n.nodeItem)),y.caseReducers.sectionUpdate(e,{payload:r,type:"builder/sectionUpdate"})},sortSections:function(e,t){var n=t.payload,r=n.fromID,o=n.toID;if(e.nodeTreeIDS.includes(r)&&e.nodeTreeIDS.includes(o)){var i=e.nodeTreeIDS.indexOf(r),a=e.nodeTreeIDS.indexOf(o);e.nodeTreeIDS[i]=o,e.nodeTreeIDS[a]=r,y.caseReducers.sectionUpdate(e,{payload:o,type:"builder/sectionUpdate"}),y.caseReducers.sectionUpdate(e,{payload:r,type:"builder/sectionUpdate"})}},sortItem:function(e,t){var n=t.payload,r=n.source,o=n.hovered,i=n.isTop,a=e.nodes[r.rootId].data[r.parent].nodes;if(a.includes(r.id)&&a.includes(o.id)){var s=a.indexOf(r.id);a.splice(s,1);var l=i?0:1,c=a.indexOf(o.id);a.splice(c+l,0,r.id),y.caseReducers.sectionUpdate(e,{payload:r.rootId,type:"builder/sectionUpdate"})}},moveItem:function(e,t){var n,r=t.payload,o=r.source,s=r.target,l=r.targetIndex;if(o.id!=s.id){var c,u=e.nodes[o.rootId].data,d=e.nodes[s.rootId].data,f=u[o.id],p=null===(n=u[o.parent])||void 0===n?void 0:n.nodes.indexOf(o.id),h=function(e){e.forEach((function(e){u[e].nodes.length&&h(u[e].nodes);var t=(0,a.Z)((0,i.Z)({},u[e]),{parent:s.id,rootId:s.rootId});o.rootId!==s.rootId&&delete u[e],d[e]=t}))};if(p>-1)u[o.parent].nodes.splice(p,1),f.parent=s.id,f.rootId=s.rootId,d[o.id]=f,"undefined"!==typeof l?(f.parent=s.parent,d[s.parent].nodes.splice(l,0,o.id)):d[s.id].nodes.push(o.id),(null===(c=f.nodes)||void 0===c?void 0:c.length)&&h(f.nodes),o.rootId!==s.rootId&&delete u[o.id];y.caseReducers.sectionUpdate(e,{payload:o.rootId,type:"builder/sectionUpdate"}),y.caseReducers.sectionUpdate(e,{payload:s.rootId,type:"builder/sectionUpdate"})}},addColumn:function(e,t){var n=t.payload.node,r=e.nodes[n.rootId].data[n.parent],o=e.nodes[n.rootId].data[n.parent].nodes.indexOf(n.id),i={id:(0,u.Z)(),isDroppzone:!0,rootId:n.rootId,parent:n.parent,componentName:"Div",type:"Column",settings:{className:"auto"},nodes:[]};e.nodes[n.rootId].data[i.id]=i,r.nodes.splice(o+1,0,i.id),y.caseReducers.sectionUpdate(e,{payload:n.rootId,type:"builder/sectionUpdate"})},duplicateSection:function(e,t){var n,r,s,l=t.payload.copiedNode,c=null===(n=e.nodes[l.rootId])||void 0===n?void 0:n.data;if(l.id==l.rootId){s=(0,u.Z)(),r=(0,a.Z)((0,i.Z)({},l),{rootId:s,parent:null,id:s}),e.nodes[s]={rootNodeId:s,data:(0,o.Z)({},s,r),updated:!1};var d=e.nodeTreeIDS.indexOf(l.rootId);d>-1&&e.nodeTreeIDS.splice(d+1,0,r.id)}else if(l.parent){s=l.rootId,r=(0,a.Z)((0,i.Z)({},l),{id:(0,u.Z)()}),e.nodes[r.rootId].data[r.id]=r;var f=e.nodes[r.rootId].data[r.parent].nodes.indexOf(l.id);f>-1&&e.nodes[r.rootId].data[r.parent].nodes.splice(f+1,0,r.id)}var p=function(t){var n=t.nodes,o=void 0===n?[]:n;if("Tab"===t.componentName){var l=t.settings.tabs;Object.keys(l).forEach((function(n){t.settings.tabs[n].nodes.forEach((function(r,o){var l;if(null===(l=c[r])||void 0===l?void 0:l.type){var d,f=(0,a.Z)((0,i.Z)({},c[r]),{id:(0,u.Z)(),parent:t.id,rootId:s});e.nodes[s].data[f.id]=f;var h=JSON.parse(JSON.stringify(e.nodes[s].data[t.id]));h.settings.tabs[n].nodes[o]=f.id,e.nodes[s].data[t.id]=h,(null===(d=f.nodes)||void 0===d?void 0:d.length)>0&&p(f)}}))})),e.nodes[s].data[t.id].nodes=e.nodes[s].data[t.id].settings.tabs[t.settings.selectedTab].nodes}else o.filter((function(e){return!!(null===c||void 0===c?void 0:c[e])})).forEach((function(n,o){var l,d,f=(0,u.Z)(),h=(0,a.Z)((0,i.Z)({},c[n]),{id:f,parent:t.id,rootId:s}),m=e.nodes[r.rootId].data[t.id].nodes.slice(0);m[o]=f,e.nodes[r.rootId].data[t.id].nodes=m,e.nodes[r.rootId].data[f]=h,(null===(l=e.nodes[r.rootId].data[f])||void 0===l||null===(d=l.nodes)||void 0===d?void 0:d.length)&&p(e.nodes[r.rootId].data[f])}))};r.nodes.length&&p(r),y.caseReducers.sectionUpdate(e,{payload:r.rootId,type:"builder/sectionUpdate"})},copyNode:function(e,t){var n=t.payload,r=n.rootId,o={};o[r]={rootNodeId:r,updated:!0,id:r,blockSettings:(0,i.Z)({},e.nodes[r].blockSettings),data:{},copiedNodeId:n.id};var a=function(t){o[r].data[t.id]=t;var n=t.nodes;if("Tab"==t.type){var i=t.settings.tabs;Object.keys(i).forEach((function(n){t.settings.tabs[n].nodes.forEach((function(t){e.nodes[r].data[t]&&a(e.nodes[r].data[t])}))}))}else n.length&&n.forEach((function(t){e.nodes[r].data[t]&&a(e.nodes[r].data[t])}))};a(n),navigator.clipboard.writeText(JSON.stringify(o))},pasteNode2:function(e,t){var n,r,s=t.payload,l=s.parentNode,c=s.mainNodes,d=Object.keys(c)[0],f=null===c||void 0===c||null===(n=c[d])||void 0===n?void 0:n.copiedNodeId;if(f){var p,h,m,g=c[d].data[f];if("Section"===g.type){h=null,m=p=(0,u.Z)();var v=e.nodeTreeIDS.indexOf(l.rootId);-1==v&&(v=e.nodeTreeIDS.length-1),e.nodeTreeIDS.splice(v+1,0,p),e.nodes[p]={rootNodeId:p,updated:!0,blockSettings:(0,i.Z)({},e.nodes[d].blockSettings),data:(0,o.Z)({},p,(0,a.Z)((0,i.Z)({},g),{id:m,rootId:p,parent:null,nodes:[]}))}}else if("Root"===l.type){var y=(0,u.Z)();p=y;var b={id:y,rootId:y,parent:null,type:"Section",isDroppzone:!0,componentName:"Section",nodes:[],settings:{classNames:"",className:"section-class"}};e.nodes[y]={rootNodeId:y,updated:!0,blockSettings:(0,i.Z)({},e.nodes[d].blockSettings),data:(0,o.Z)({},y,b)},e.nodeTreeIDS.push(y),m=(0,u.Z)(),e.nodes[y].data[m]=(0,a.Z)((0,i.Z)({},g),{id:m,parent:y,rootId:p,nodes:[]}),e.nodes[y].data[y].nodes.push(m)}else{if(m=(0,u.Z)(),p=l.rootId,e.nodes[p].updated=!0,l.isDroppzone)h=l.id,e.nodes[p].data[h].nodes.push(m);else{h=l.parent;var w=e.nodes[p].data[h].nodes.indexOf(l.id);e.nodes[p].data[h].nodes.splice(w+1,0,m)}e.nodes[p].data[m]=(0,a.Z)((0,i.Z)({},g),{id:m,parent:h,rootId:p,nodes:[]})}var C=function(t){var n=t.nodes,r=void 0===n?[]:n;if("Tab"===t.componentName){var o=t.settings.tabs;Object.keys(o).forEach((function(n){t.settings.tabs[n].nodes.forEach((function(r,o){var s;if(null===(s=c[d].data[r])||void 0===s?void 0:s.type){var l,f=(0,a.Z)((0,i.Z)({},c[d].data[r]),{id:(0,u.Z)(),parent:t.id,rootId:p});e.nodes[p].data[f.id]=f,e.nodes[p].data[t.id].settings.tabs[n].nodes[o]=f.id,(null===(l=f.nodes)||void 0===l?void 0:l.length)>0&&C(f)}}))})),e.nodes[p].data[t.id].nodes=e.nodes[p].data[t.id].settings.tabs[t.settings.selectedTab].nodes}else r.forEach((function(n,r){var o;if(null===(o=c[d].data[n])||void 0===o?void 0:o.type){var s,l=(0,a.Z)((0,i.Z)({},c[d].data[n]),{id:(0,u.Z)(),parent:t.id,rootId:p});e.nodes[p].data[l.id]=l,e.nodes[p].data[t.id].nodes[r]=l.id,(null===(s=l.nodes)||void 0===s?void 0:s.length)>0&&C(l)}}))};(null===(r=g.nodes)||void 0===r?void 0:r.length)>0&&C((0,a.Z)((0,i.Z)({},g),{id:m,parent:h,rootId:p}))}},pasteNode:function(e,t){var n,r,s,l=t.payload,c=l.copiedNode,d=l.parentNode,f=null===(n=e.nodes[c.rootId])||void 0===n?void 0:n.data;if("Section"==c.componentName){var p,h;if(r=(0,u.Z)(),s=(0,a.Z)((0,i.Z)({},c),{id:r,rootId:r}),"Root"==d.type)e.nodeTreeIDS.push(s.rootId);else{var m=e.nodeTreeIDS.indexOf(d.rootId);e.nodeTreeIDS.splice(m+1,0,s.rootId)}e.nodes[s.rootId]={rootNodeId:r,data:(0,a.Z)((0,i.Z)({},null===(p=e.nodes[s.rootId])||void 0===p?void 0:p.data),(h={},(0,o.Z)(h,c.id,void 0),(0,o.Z)(h,r,s),h)),updated:!0}}else if(["Section","Container","Row","Column","Box"].includes(d.type))r=d.rootId,s=(0,a.Z)((0,i.Z)({},c),{id:(0,u.Z)(),parent:d.id,rootId:r}),e.nodes[s.rootId].data[s.id]=s,e.nodes[s.rootId].data[d.id].nodes.push(s.id);else if("Root"!=d.type)r=d.rootId,s=(0,a.Z)((0,i.Z)({},c),{id:(0,u.Z)(),parent:d.id,rootId:r}),e.nodes[s.rootId].data[s.id]=s,e.nodes[s.rootId].data[d.parent].nodes.push(s.id);else{r=(0,u.Z)(),s=(0,a.Z)((0,i.Z)({},c),{id:(0,u.Z)(),rootId:r});var g={rootNodeId:r,data:(0,o.Z)({},r,{id:r,type:"Section",isDroppzone:!0,componentName:"Section",nodes:[],settings:{classNames:"",className:"section-class"},rootId:r}),updated:!0};if("Container"==c.type&&"Section"==e.nodes[c.rootId].data[c.parent].type)s.parent=r,g.data[r].nodes.push(s.id),g.data[s.id]=s;else{var v=(0,u.Z)(),b={id:v,type:"Container",isDroppzone:!0,componentName:"Container",nodes:[],settings:{className:"container"},rootId:r,parent:r};if("Row"==c.type)s.parent=v,b.nodes.push(s.id),g.data[r].nodes.push(v),g.data[v]=b,g.data[s.id]=s;else{var w=(0,u.Z)(),C={id:w,type:"Row",isDroppzone:!0,componentName:"Div",nodes:[],settings:{classNames:"",general:{className:"row",horizontalAlignment:"start",verticalAlignment:"start"}},rootId:r,parent:v};if("Column"==c.type)s.parent=w,C.nodes.push(s.id),b.nodes.push(w),g.data[r].nodes.push(v),g.data[v]=b,g.data[w]=C,g.data[s.id]=s;else{var x=(0,u.Z)(),k={id:x,type:"Column",isDroppzone:!0,componentName:"Div",nodes:[],settings:{classNames:"",className:"col",general:{colSize:{desktop:"auto",tablet:"auto",mobile:"auto"}}},rootId:r,parent:w};s.parent=x,k.nodes.push(s.id),C.nodes.push(x),b.nodes.push(w),g.data[r].nodes.push(v),g.data[v]=b,g.data[w]=C,g.data[x]=k,g.data[s.id]=s}}}e.nodeTreeIDS.push(r),e.nodes[r]=g}var _=function(t){t.nodes.filter((function(e){return!!(null===f||void 0===f?void 0:f[e])})).forEach((function(n,o){var s,l,c,d,p=(0,u.Z)(),h=(0,a.Z)((0,i.Z)({},f[n]),{id:p,parent:t.id,rootId:r}),m=(null===(s=e.nodes[r].data[t.id])||void 0===s||null===(l=s.nodes)||void 0===l?void 0:l.slice(0))||[];m.length&&(m[o]=p,e.nodes[r].data[t.id].nodes=m),e.nodes[r].data[p]=h,(null===(c=e.nodes[r].data[p])||void 0===c||null===(d=c.nodes)||void 0===d?void 0:d.length)&&_(e.nodes[r].data[p])}))};s.nodes.length&&_(s),y.caseReducers.sectionUpdate(e,{payload:s.rootId,type:"builder/sectionUpdate"})},resetBuilderState:function(){return p},clearAllSections:function(e){e.nodeTreeIDS=[],e.nodes={},e.selectedSection=null},updateMediaMode:function(e,t){e.media.currentMode=t.payload},setSelectedNode:function(e,t){var n,r=t.payload;if(e.contextMenu.visibility=!1,r.id!==(null===(n=e.selectedNode)||void 0===n?void 0:n.id)){for(var o,i=e.expandedLayerTree||[],a=null===(o=e.nodes[r.rootId])||void 0===o?void 0:o.data[r.id].parent;a&&!i.includes(a);)i.push(a),a=e.nodes[r.rootId].data[a].parent;e.expandedLayerTree=i}e.selectedNode=r},setSelectedSection:function(e,t){var n=t.payload;e.selectedSection=n},setSelectedNodeControls:function(e,t){var n=t.payload;e.selectedNodeControls=n},setCurrentLeftPanelTab:function(e,t){var n=t.payload;e.currentLeftPanelTab=n},setInitialJSON:function(e,t){var n=t.payload;e.nodeTreeIDS=Object.keys(n),e.nodes=(0,i.Z)({},n)},updateContentSettings:function(e,t){var n=t.payload;if("general"in e.selectedNode.settings==0&&(e.nodes[e.selectedNode.rootId].data[e.selectedNode.id].settings.general=e.selectedNode.settings.general={}),e.selectedNode.settings.general[n.key]=n.value,e.nodes[e.selectedNode.rootId].data[e.selectedNode.id].settings.general[n.key]=n.value,y.caseReducers.sectionUpdate(e,{payload:e.selectedNode.rootId,type:"builder/sectionUpdate"}),"isSlider"==n.key){var r=e.nodes[e.selectedNode.rootId].data[e.selectedNode.id].nodes,o=!0,i=!1,a=void 0;try{for(var s,l=r[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){var c=s.value;e.nodes[e.selectedNode.rootId].data[c]&&e.nodes[e.selectedNode.rootId].data[c].settings.general&&(e.nodes[e.selectedNode.rootId].data[c].settings.general[n.key]=n.value)}}catch(u){i=!0,a=u}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}}},updateContentSettingsByNode:function(e,t){var n,r=t.payload;(null===(n=e.selectedNode)||void 0===n?void 0:n.id)===r.nodeId&&(e.selectedNode.settings.general[r.key]=r.value),e.nodes[r.rootId].data[r.nodeId].settings.general[r.key]=r.value,y.caseReducers.sectionUpdate(e,{payload:r.rootId,type:"builder/sectionUpdate"})},updateSectionCSS:function(e,t){var n=t.payload,r=n.rootId,o=n.css;e.nodes[r].blockSettings?e.nodes[r].blockSettings.css=o:e.nodes[r].blockSettings={css:o},y.caseReducers.sectionUpdate(e,{payload:e.selectedNode.rootId,type:"builder/sectionUpdate"})},updateSettings:function(e,t){var n=t.payload,r=n.key,o=n.value;e.selectedNode.settings[r]=o,e.nodes[e.selectedNode.rootId].data[e.selectedNode.id].settings[r]=o,y.caseReducers.sectionUpdate(e,{payload:e.selectedNode.rootId,type:"builder/sectionUpdate"})},updateStyleSettings:function(e,t){var n=t.payload;e.selectedNode.settings.style=n,e.nodes[e.selectedNode.rootId].data[e.selectedNode.id].settings.style=n,y.caseReducers.sectionUpdate(e,{payload:e.selectedNode.rootId,type:"builder/sectionUpdate"})},updateNodeStyle:function(e,t){var n,r=t.payload,o=r.rootId,i=r.nodeId,a=r.style;(null===(n=e.selectedNode)||void 0===n?void 0:n.id)===i&&(e.selectedNode.settings.style=a),e.nodes[o].data[i].settings.style=a,y.caseReducers.sectionUpdate(e,{payload:o,type:"builder/sectionUpdate"})},updatePageSettings:function(e,t){var n=t.payload;e.pageSettings[n.key]=n.value},setContextNode:function(e,t){var n=t.payload;e.contextMenu.currentNode=n},showContextMenu:function(e){e.contextMenu.visibility=!0},hideContextMenu:function(e){e.contextMenu.visibility=!1},setContextPosition:function(e,t){var n=t.payload;e.contextMenu.position=n},showRowModal:function(e){e.rowModalVisibility=!0,e.currentRowAlignment={horizontal:"start",vertical:"start"}},setCurrentRowAlignment:function(e,t){var n=t.payload;e.currentRowAlignment[n.key]=n.value},hideRowModal:function(e){e.rowModalVisibility=!1,e.rowParentNode=null},setRowParentNode:function(e,t){var n=t.payload;e.rowParentNode=n},setRowParentById:function(e,t){e.rowParentNode=e.nodes[t.payload.rootId].data[t.payload.nodeId]},loadPageData:function(e,t){t.payload.forEach((function(t){try{var n=JSON.parse(t.stringified_block_data);e.nodeTreeIDS.push(n.rootNodeId),e.nodes[n.rootNodeId]=n,e.nodes[n.rootNodeId].updated=!1,e.nodes[n.rootNodeId].id=t.id}catch(r){}}))},loadPageInitialData:function(e,t){var n=t.payload;e.nodeTreeIDS=[],e.nodes={},n.forEach((function(t){var n=JSON.parse(t.stringified_block_data);e.nodeTreeIDS.push(n.rootNodeId),e.nodes[n.rootNodeId]=n,e.nodes[n.rootNodeId].updated=!1,e.nodes[n.rootNodeId].id=t.id}))},loadPageModalData:function(e,t){t.payload.forEach((function(t){try{var n=JSON.parse(t.stringified_block_data);if(e.nodeTreeIDS.includes(n.rootNodeId))return;e.nodeTreeIDS.push(n.rootNodeId),e.nodes[n.rootNodeId]=n,e.nodes[n.rootNodeId].updated=!1,e.nodes[n.rootNodeId].id=t.id,e.nodes[n.rootNodeId].data[n.rootNodeId].isPageDefaultModal=!0}catch(r){}}))},loadTemplateData:function(e,t){var n=t.payload;e.nodeTreeIDS=[],e.nodes={},n.blocks_data.forEach((function(t){var n=JSON.parse(t.block_data);e.nodeTreeIDS.push(n.rootNodeId),e.nodes[n.rootNodeId]=n,e.nodes[n.rootNodeId].id=t.id}))},loadBlockData:function(e,t){var n=t.payload;e.nodeTreeIDS=[],e.nodes={};var r=JSON.parse(n.block_data);r=Object.values(r)[0],e.nodeTreeIDS.push(r.rootNodeId),e.nodes[r.rootNodeId]=r,e.nodes[r.rootNodeId].id=n.id},changeColumnSize:function(e,t){var n,r=t.payload,s=r.node,l=r.size;e.nodes[s.rootId].data[s.id].settings.className=l,e.nodes[s.rootId].data[s.id].settings.general=(0,a.Z)((0,i.Z)({},e.nodes[s.rootId].data[s.id].settings.general),{colSize:(0,a.Z)((0,i.Z)({},null===(n=e.nodes[s.rootId].data[s.id].settings.general)||void 0===n?void 0:n.colSize),(0,o.Z)({},e.media.currentMode,l))}),y.caseReducers.sectionUpdate(e,{payload:s.rootId,type:"builder/sectionUpdate"})},updateLegacyColumnSize:function(e,t){var n=t.payload,r=n.node,o=n.size;e.nodes[r.rootId].data[r.id].settings.general={colSize:{desktop:o,tablet:o,mobile:o}},y.caseReducers.sectionUpdate(e,{payload:r.rootId,type:"builder/sectionUpdate"})},loadPageList:function(e,t){var n=t.payload;e.pages=n},loadModalList:function(e,t){var n=t.payload;e.modals=n},setCurrentPage:function(e,t){var n=t.payload;e.currentPage=n,n.page_settings&&(e.pageSettings=JSON.parse(n.page_settings))},setSaveAsTemplateModalVisibility:function(e,t){var n=t.payload;e.saveAsTemplateModalVisibility=n},setMenuMode:function(e,t){var n=t.payload;e.menuMode=n},setTemplateMarketVisibility:function(e,t){var n=t.payload;e.templateMarketVisibility=n},setTextInlineEditMode:function(e,t){var n=t.payload;e.textInlineEditMode=n},updatePageBlocksWithDB:function(e,t){t.payload.dataArr.forEach((function(t){e.nodes[t.page_block_id].updated=!1,e.nodes[t.page_block_id].id=t.id}))},setExpandedLayerTree:function(e,t){var n=t.payload;e.expandedLayerTree=n},updateNodeLocaleContent:function(e,t){var n,r=t.payload,o=r.node,i=r.locale,a=r.value;(null===(n=e.selectedNode)||void 0===n?void 0:n.id)===o.id&&(e.selectedNode.settings.content||(e.selectedNode.settings.content={}),e.selectedNode.settings.content[i]=a),e.nodes[o.rootId].data[o.id].settings.content||(e.nodes[o.rootId].data[o.id].settings.content={}),e.nodes[o.rootId].data[o.id].settings.content[i]=a,"Signup1"===(null===o||void 0===o?void 0:o.type)&&(e.nodes[o.rootId].data[o.id].settings.general.form.signupButton.content[i]=a),"Signin1"===(null===o||void 0===o?void 0:o.type)&&(e.nodes[o.rootId].data[o.id].settings.general.form.signinButton.content[i]=a),y.caseReducers.sectionUpdate(e,{payload:o.rootId,type:"builder/sectionUpdate"})},deleteNodeLocaleContent:function(e,t){var n,r,o,i,a,s,l,c,u,d=t.payload,f=d.node,p=d.locale,h=(d.value,d.index),m=d.type;if("List"===(null===f||void 0===f?void 0:f.type))(null===(r=null===(n=null===e||void 0===e?void 0:e.nodes[f.rootId])||void 0===n?void 0:n.data[f.id])||void 0===r||null===(o=r.settings)||void 0===o||null===(i=o.general)||void 0===i?void 0:i.collection)&&(null===(u=null===(s=null===(a=null===e||void 0===e?void 0:e.nodes[f.rootId])||void 0===a?void 0:a.data[f.id])||void 0===s||null===(l=s.settings)||void 0===l||null===(c=l.general)||void 0===c?void 0:c.collection[h])||void 0===u||delete u.text[p]);else if("Accordion"===(null===f||void 0===f?void 0:f.type)){var g,v,b,w,C,x,k,_,S;if(null===(v=null===(g=null===e||void 0===e?void 0:e.nodes[f.rootId])||void 0===g?void 0:g.data[f.id])||void 0===v||null===(b=v.settings)||void 0===b||null===(w=b.general)||void 0===w?void 0:w.collection)if("text"===m)null===(S=null===(x=null===(C=null===e||void 0===e?void 0:e.nodes[f.rootId])||void 0===C?void 0:C.data[f.id])||void 0===x||null===(k=x.settings)||void 0===k||null===(_=k.general)||void 0===_?void 0:_.collection[h])||void 0===S||delete S.text[p];else if("title"===m){var E,M,L,N,O;null===(O=null===(M=null===(E=null===e||void 0===e?void 0:e.nodes[f.rootId])||void 0===E?void 0:E.data[f.id])||void 0===M||null===(L=M.settings)||void 0===L||null===(N=L.general)||void 0===N?void 0:N.collection[h])||void 0===O||delete O.title[p]}}else if("Signup1"===(null===f||void 0===f?void 0:f.type)){var A,j,T,Z,P,R,I,D,z,H,B,F,V;if(null===(j=null===(A=null===e||void 0===e?void 0:e.nodes[f.rootId])||void 0===A?void 0:A.data[f.id])||void 0===j||null===(T=j.settings)||void 0===T||null===(Z=T.general)||void 0===Z||null===(P=Z.form)||void 0===P||null===(R=P.signupButton)||void 0===R||null===(I=R.content)||void 0===I?void 0:I[p])null===(z=null===(D=null===e||void 0===e?void 0:e.nodes[f.rootId])||void 0===D?void 0:D.data[f.id])||void 0===z||null===(H=z.settings)||void 0===H||null===(B=H.general)||void 0===B||null===(F=B.form)||void 0===F||null===(V=F.signupButton)||void 0===V||delete V.content[p]}else if("Signin1"===(null===f||void 0===f?void 0:f.type)){var q,U,$,W,K,G,Y,J,X,Q,ee,te,ne;if(null===(U=null===(q=null===e||void 0===e?void 0:e.nodes[f.rootId])||void 0===q?void 0:q.data[f.id])||void 0===U||null===($=U.settings)||void 0===$||null===(W=$.general)||void 0===W||null===(K=W.form)||void 0===K||null===(G=K.signinButton)||void 0===G||null===(Y=G.content)||void 0===Y?void 0:Y[p])null===(X=null===(J=null===e||void 0===e?void 0:e.nodes[f.rootId])||void 0===J?void 0:J.data[f.id])||void 0===X||null===(Q=X.settings)||void 0===Q||null===(ee=Q.general)||void 0===ee||null===(te=ee.form)||void 0===te||null===(ne=te.signinButton)||void 0===ne||delete ne.content[p]}else{var re,oe,ie,ae;(null===(oe=null===(re=null===e||void 0===e?void 0:e.nodes[f.rootId])||void 0===re?void 0:re.data[f.id])||void 0===oe||null===(ie=oe.settings)||void 0===ie||null===(ae=ie.content)||void 0===ae?void 0:ae[p])&&delete e.nodes[f.rootId].data[f.id].settings.content[p]}y.caseReducers.sectionUpdate(e,{payload:f.rootId,type:"builder/sectionUpdate"})},updateFAQLocaleContent:function(e,t){var n=t.payload,r=n.node,o=n.locale,i=n.key,a=n.value;e.selectedNode.settings[i]||(e.selectedNode.settings[i]={},e.selectedNode.settings[i][o]||(e.selectedNode.settings[i][o]={})),e.selectedNode.settings[i][o]=a,e.nodes[r.rootId].data[r.id].settings[i]||(e.nodes[r.rootId].data[r.id].settings[i]||(e.nodes[r.rootId].data[r.id].settings[i]={}),e.nodes[r.rootId].data[r.id].settings[i]={}),e.nodes[r.rootId].data[r.id].settings[i][o]=a,y.caseReducers.sectionUpdate(e,{payload:r.rootId,type:"builder/sectionUpdate"})},setSiteFontFamilies:function(e,t){e.siteFontFamilies=(0,s.Z)(e.siteFontFamilies).concat((0,s.Z)(t.payload)).filter((function(e,t,n){return n.indexOf(e)===t})).sort()},setSiteFontFamiliesSettings:function(e,t){e.siteFontFamiliesSettings=t.payload.filter((function(e,t,n){return n.indexOf(e)===t})).sort()},updateCountdownLocaleContent:function(e,t){var n;if("Countdown"===(null===(n=e.selectedNode)||void 0===n?void 0:n.type)){var r=t.payload,o=r.locale,i=r.value,a=r.key;e.selectedNode.settings.content||(e.selectedNode.settings.content={}),e.selectedNode.settings.content[o]||(e.selectedNode.settings.content[o]={}),e.selectedNode.settings.content[o][a]=i;var s=e.nodes[e.selectedNode.rootId].data[e.selectedNode.id];s.settings.content||(s.settings.content={}),s.settings.content[o]||(s.settings.content[o]={}),s.settings.content[o][a]=i,y.caseReducers.sectionUpdate(e,{payload:e.selectedNode.rootId,type:"builder/sectionUpdate"})}},updateCountdownPropStyles:function(e,t){var n=t.payload,r=n.prop,o=n.media,i=n.key,a=n.value;e.selectedNode.settings.propStyle||(e.selectedNode.settings.propStyle={}),e.selectedNode.settings.propStyle[r]||(e.selectedNode.settings.propStyle[r]={}),e.selectedNode.settings.propStyle[r][o]||(e.selectedNode.settings.propStyle[r][o]={}),e.selectedNode.settings.propStyle[r][o][i]=a;var s=e.nodes[e.selectedNode.rootId].data[e.selectedNode.id];s.settings.propStyle||(s.settings.propStyle={}),s.settings.propStyle[r]||(s.settings.propStyle[r]={}),s.settings.propStyle[r][o]||(s.settings.propStyle[r][o]={}),s.settings.propStyle[r][o][i]=a,y.caseReducers.sectionUpdate(e,{payload:e.selectedNode.rootId,type:"builder/sectionUpdate"})},updateNodeLocaleProductTitle:function(e,t){var n=t.payload,r=n.locale,o=n.value;e.selectedNode.settings.general.content||(e.selectedNode.settings.general.content={}),e.selectedNode.settings.general.content[r]=o;var i=e.nodes[e.selectedNode.rootId].data[e.selectedNode.id];i.settings.general.content||(i.settings.general.content={}),i.settings.general.content[r]=o,y.caseReducers.sectionUpdate(e,{payload:e.selectedNode.rootId,type:"builder/sectionUpdate"})},addTabItem:function(e,t){var n;if("Tab"===(null===(n=e.selectedNode)||void 0===n?void 0:n.type)){var r=t.payload,o=r.node,i=r.tabData,a=o.id,s=o.rootId,l=i.id;e.selectedNode.settings.tabs[l]=i,e.nodes[s].data[a].settings.tabs[l]=i,y.caseReducers.sectionUpdate(e,{payload:s,type:"builder/sectionUpdate"})}},deleteTabItem:function(e,t){var n;if("Tab"===(null===(n=e.selectedNode)||void 0===n?void 0:n.type)){var r=t.payload,o=r.tabID,i=r.nextId,a=e.selectedNode,s=a.id,l=a.rootId;e.selectedNode.nodes=e.selectedNode.settings.tabs[i].nodes,e.nodes[l].data[s].nodes=e.selectedNode.settings.tabs[i].nodes,e.selectedNode.settings.selectedTab=i,e.nodes[l].data[s].settings.selectedTab=i,delete e.selectedNode.settings.tabs[o],delete e.nodes[l].data[s].settings.tabs[o],y.caseReducers.sectionUpdate(e,{payload:l,type:"builder/sectionUpdate"})}},selectTabItem:function(e,t){var n;if("Tab"===(null===(n=e.selectedNode)||void 0===n?void 0:n.type)){var r=t.payload.tabID,o=e.selectedNode,i=o.id,a=o.rootId;e.selectedNode.settings.selectedTab=r,e.selectedNode.nodes=e.selectedNode.settings.tabs[r].nodes,e.nodes[a].data[i].settings.selectedTab=r,e.nodes[a].data[i].nodes=e.selectedNode.settings.tabs[r].nodes,y.caseReducers.sectionUpdate(e,{payload:a,type:"builder/sectionUpdate"})}},updateTabTitle:function(e,t){var n;if("Tab"===(null===(n=e.selectedNode)||void 0===n?void 0:n.type)){var r=t.payload,o=r.tabID,i=r.locale,a=r.value,s=e.selectedNode,l=s.id,c=s.rootId;e.selectedNode.settings.tabs[o].title[i]=a,e.nodes[c].data[l].settings.tabs[o].title[i]=a,y.caseReducers.sectionUpdate(e,{payload:c,type:"builder/sectionUpdate"})}},syncTabNodesData:function(e,t){var n=t.payload.tabNode,r=n.id,o=n.rootId,i=e.nodes[o].data[r];i.settings.tabs[i.settings.selectedTab].nodes=n.nodes,y.caseReducers.sectionUpdate(e,{payload:o,type:"builder/sectionUpdate"})},updateTabPosition:function(e,t){var n=t.payload,r=n.node,o=r.id,i=r.rootId,a=n.sourceIndex,s=n.destIndex,l=(0,f.gb)(e.selectedNode.settings.tabs||{},a,s);e.selectedNode.settings.tabs=l,e.nodes[i].data[o].settings.tabs=l,y.caseReducers.sectionUpdate(e,{payload:i,type:"builder/sectionUpdate"})},selectDefaultTab:function(e,t){var n;if("Tab"===(null===(n=e.selectedNode)||void 0===n?void 0:n.type)){var r=t.payload.tabID,o=e.selectedNode,i=o.id,a=o.rootId;e.selectedNode.settings.selectedTab=r,e.nodes[a].data[i].nodes=e.nodes[a].data[i].settings.tabs[r].nodes,e.nodes[a].data[i].settings.selectedTab=r}},updateTabTitleStyleSettings:function(e,t){var n=t.payload;e.selectedNode.settings.general.tabTitle.style=n,e.nodes[e.selectedNode.rootId].data[e.selectedNode.id].settings.general.tabTitle.style=n,y.caseReducers.sectionUpdate(e,{payload:e.selectedNode.rootId,type:"builder/sectionUpdate"})},updateTabBodyStyleSettings:function(e,t){var n=t.payload;e.selectedNode.settings.general.tabBody.style=n,e.nodes[e.selectedNode.rootId].data[e.selectedNode.id].settings.general.tabBody.style=n,y.caseReducers.sectionUpdate(e,{payload:e.selectedNode.rootId,type:"builder/sectionUpdate"})},updateTabNavStyleSettings:function(e,t){var n=t.payload;e.selectedNode.settings.general.tabNav.style=n,e.nodes[e.selectedNode.rootId].data[e.selectedNode.id].settings.general.tabNav.style=n,y.caseReducers.sectionUpdate(e,{payload:e.selectedNode.rootId,type:"builder/sectionUpdate"})}},extraReducers:function(e){e.addCase(h.pending,(function(e){e.pageSavingState=!0})).addCase(h.rejected,(function(e){e.pageSavingState=!1})).addCase(h.fulfilled,(function(e,t){var n=t.payload;n&&n.dataArr.forEach((function(t){e.nodes[t.page_block_id].updated=!1,e.nodes[t.page_block_id].id=t.id})),e.pageSavingState=!1})).addCase(m.fulfilled,(function(e,t){var n=t.payload,r=n.rootId,o=n.isDeleted,i=e.nodeTreeIDS.indexOf(r);i>-1&&o&&(e.nodeTreeIDS.splice(i,1),delete e.nodes[r]),e.selectedNode&&e.selectedNode.rootId==r&&(e.currentLeftPanelTab="widgets",e.selectedNode=null)})).addCase(g.fulfilled,(function(e,t){var n=t.payload;e.productList=n})).addCase(v.fulfilled,(function(e,t){var n=t.payload;e.upsellProductList=n}))}}),b=y.actions,w=b.addNodeTree,C=(b.resetBuilderState,b.addNodeItem),x=b.sortItem,k=b.addSectionWithData,_=b.sortSections,S=b.moveItem,E=b.removeSection,M=b.removeNodeWithChildren,L=b.loadPageInitialData,N=b.addColumn,O=b.pasteNode,A=b.duplicateSection,j=b.updateMediaMode,T=b.setSelectedNode,Z=b.setSelectedSection,P=b.setContextNode,R=b.showContextMenu,I=b.hideContextMenu,D=b.setContextPosition,z=b.setInitialJSON,H=b.setSelectedNodeControls,B=b.setCurrentLeftPanelTab,F=b.updateContentSettings,V=b.updateStyleSettings,q=b.showRowModal,U=b.hideRowModal,$=b.setRowParentNode,W=b.loadPageData,K=b.changeColumnSize,G=b.updatePageSettings,Y=b.updateSettings,J=b.updateSectionCSS,X=b.setCurrentRowAlignment,Q=b.loadPageList,ee=b.loadModalList,te=b.setCurrentPage,ne=b.loadTemplateData,re=b.loadBlockData,oe=b.updateNodeSettings,ie=b.setSaveAsTemplateModalVisibility,ae=b.clearAllSections,se=b.setMenuMode,le=b.setTemplateMarketVisibility,ce=b.updateContentSettingsByNode,ue=b.setTextInlineEditMode,de=b.updateNodeStyle,fe=b.addNewBlankSection,pe=b.updatePageBlocksWithDB,he=b.setExpandedLayerTree,me=(b.sectionUpdate,b.addRowWithColumn),ge=b.setRowParentById,ve=b.setRowAddPosition,ye=b.updateNodeLocaleContent,be=b.deleteNodeLocaleContent,we=b.setSiteFontFamilies,Ce=b.setSiteFontFamiliesSettings,xe=b.copyNode,ke=b.pasteNode2,_e=b.updateFAQLocaleContent,Se=b.updateCountdownLocaleContent,Ee=b.loadPageModalData,Me=b.updateCountdownPropStyles,Le=b.updateNodeLocaleProductTitle,Ne=b.addTabItem,Oe=b.deleteTabItem,Ae=b.selectTabItem,je=b.updateTabTitle,Te=b.syncTabNodesData,Ze=b.updateTabPosition,Pe=b.updateTabTitleStyleSettings,Re=b.updateTabBodyStyleSettings,Ie=b.selectDefaultTab,De=b.updateTabNavStyleSettings;t.ZP=y.reducer},17896:function(e,t,n){"use strict";var r=n(57135),o=n(56871),i=n(9532),a=n(65171);a.env.NEXT_PUBLIC_BASE_URL&&a.env.NEXT_PUBLIC_BASE_URL;i.Z.defaults.withCredentials=!0;var s=function(){var e=(0,r.Z)((function(e,t){var n,r,s,l,c,u,d,f,p,h,m,g=arguments;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return n=g.length>2&&void 0!==g[2]?g[2]:"get",r=g.length>3&&void 0!==g[3]?g[3]:null,s=!(g.length>4&&void 0!==g[4])||g[4],"/"!==t.charAt(0)&&(t="/"+t),u=t,d=void 0,e.req?((f=a.env.NEXT_PUBLIC_BACKEND_PORT)&&console.warn("Backend port:",f),u="http://localhost:".concat(f||3333)+t,d={EzyHost:e.req.headers.host}):u="https://".concat(window.location.hostname,"/api")+t,(null===e||void 0===e||null===(l=e.req)||void 0===l||null===(c=l.headers)||void 0===c?void 0:c.cookie)&&(void 0==d&&(d={}),d.Cookie=e.req.headers.cookie),s?[3,2]:[4,(0,i.Z)({method:n,url:u,headers:d,withCredentials:!0,data:r||null})];case 1:return[2,o.sent()];case 2:return o.trys.push([2,4,,5]),[4,(0,i.Z)({method:n,url:u,headers:d,withCredentials:!0,data:r||null})];case 3:return[2,{data:o.sent().data}];case 4:if(p=o.sent(),s)if(453===(null===p||void 0===p||null===(h=p.response)||void 0===h?void 0:h.status)&&(null===e||void 0===e?void 0:e.asPath))e.res.writeHead(302,{Location:(null===e||void 0===e?void 0:e.asPath)||"/"}),e.res.end();else if(453===(null===p||void 0===p||null===(m=p.response)||void 0===m?void 0:m.status)&&(null===e||void 0===e?void 0:e.resolvedUrl))return[2,{redirect:{destination:(null===e||void 0===e?void 0:e.resolvedUrl)||"/",permanent:!1}}];return[3,5];case 5:return[2]}}))}));return function(t,n){return e.apply(this,arguments)}}();t.Z=s},84796:function(e,t,n){"use strict";n.d(t,{_:function(){return c}});var r=n(57135),o=n(56871),i=n(9532),a=n(85850),s=n(65171),l={},c=s.env.NEXT_PUBLIC_BASE_URL?s.env.NEXT_PUBLIC_BASE_URL:"http://localhost:3333/";i.Z.defaults.withCredentials=!0;var u=function(){var e=(0,r.Z)((function(e){var t,n,r,s,c,u,d,f,p,h,m,g,v,y,b,w,C,x,k,_,S,E,M,L,N=arguments;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:if(t=N.length>1&&void 0!==N[1]?N[1]:"get",n=N.length>2&&void 0!==N[2]?N[2]:null,r=N.length>3&&void 0!==N[3]&&N[3],s=!(N.length>4&&void 0!==N[4])||N[4],c=N.length>5&&void 0!==N[5]?N[5]:null,u=Date.now(),d="".concat(t,":").concat(e),l[d]||(l[d]={count:0,lastAccess:u}),f=l[d],p=f.count,h=f.lastAccess,l[d]=u-h>=3e3?{count:1,lastAccess:u}:{count:p+1,lastAccess:h},l[d].count>20&&(b="There is an issue occurred, page will reload.",(null===window||void 0===window||null===(m=window.location)||void 0===m||null===(g=m.pathname)||void 0===g?void 0:g.startsWith("/sitebuilder"))&&(b+=" However, your work will be saved before reloading"),i.Z.post("/api/public/miscellaneous/send-error-log",{url:e,method:t,source:null===window||void 0===window||null===(v=window.location)||void 0===v?void 0:v.href,payload:n}),null===window||void 0===window||window.alert(b),null===window||void 0===window||null===(y=window.location)||void 0===y||y.reload(),l[d]={count:1,lastAccess:Date.now()}),"/"!==e.charAt(0)&&(e="/"+e),w=e,w="https://".concat(window.location.hostname,"/api")+e,!s)return[3,5];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,(0,i.Z)({url:w,method:t,data:n})];case 2:return[2,o.sent().data];case 3:return C=o.sent(),r?[2,null===C||void 0===C?void 0:C.response]:(C.response?400===(null===C||void 0===C||null===(x=C.response)||void 0===x?void 0:x.status)||401===(null===C||void 0===C||null===(k=C.response)||void 0===k?void 0:k.status)?c?a.e(c((null===(S=C.response.data)||void 0===S?void 0:S.msg)||(null===(E=C.response.data)||void 0===E?void 0:E.message)||"Something went wrong")):a.e((null===(M=C.response.data)||void 0===M?void 0:M.msg)||(null===(L=C.response.data)||void 0===L?void 0:L.message)||"Something went wrong"):422===C.response.status?a.p(C.response,c):C.response.data.msg||C.response.data.message?c?a.e(c(C.response.data.msg||C.response.data.message)):a.e(C.response.data.msg||C.response.data.message):100===(null===C||void 0===C||null===(_=C.response)||void 0===_?void 0:_.status)?c?a.i(c(C.response.data.msg||C.response.data.message)):a.i(C.response.data.msg||C.response.data.message):a.h(c):a.h(c),r?c?[2,c(null===C||void 0===C?void 0:C.response)]:[2,null===C||void 0===C?void 0:C.response]:[2,!1]);case 4:return[3,7];case 5:return[4,(0,i.Z)({url:w,method:t,data:n})];case 6:return[2,o.sent().data];case 7:return[2]}}))}));return function(t){return e.apply(this,arguments)}}();t.Z=u},49659:function(e,t,n){"use strict";n.d(t,{cn:function(){return J}});var r=n(4814);const o=e=>{const t=l(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),i(n,t)||s(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},i=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?i(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const a=e.join("-");return t.validators.find((({validator:e})=>e(a)))?.classGroupId},a=/^\[(.+)\]$/,s=e=>{if(a.test(e)){const t=a.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},l=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return f(Object.entries(e.classGroups),n).forEach((([e,n])=>{c(n,r,e,t)})),r},c=(e,t,n,r)=>{e.forEach((e=>{if("string"!==typeof e){if("function"===typeof e)return d(e)?void c(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{c(o,u(t,e),n,r)}))}else{(""===e?t:u(t,e)).classGroupId=n}}))},u=(e,t)=>{let n=e;return t.split("-").forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n},d=e=>e.isThemeGetter,f=(e,t)=>t?e.map((([e,n])=>[e,n.map((e=>"string"===typeof e?t+e:"object"===typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))])):e,p=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},h=e=>{const{separator:t,experimentalParseClassName:n}=e,r=1===t.length,o=t[0],i=t.length,a=e=>{const n=[];let a,s=0,l=0;for(let d=0;d<e.length;d++){let c=e[d];if(0===s){if(c===o&&(r||e.slice(d,d+i)===t)){n.push(e.slice(l,d)),l=d+i;continue}if("/"===c){a=d;continue}}"["===c?s++:"]"===c&&s--}const c=0===n.length?e:e.substring(l),u=c.startsWith("!");return{modifiers:n,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}};return n?e=>n({className:e,parseClassName:a}):a},m=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t},g=/\s+/;function v(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=y(e))&&(r&&(r+=" "),r+=t);return r}const y=e=>{if("string"===typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=y(e[r]))&&(n&&(n+=" "),n+=t);return n};function b(e,...t){let n,r,i,a=function(l){const c=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:p(e.cacheSize),parseClassName:h(e),...o(e)}))(c),r=n.cache.get,i=n.cache.set,a=s,s(l)};function s(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(g);let s="";for(let l=a.length-1;l>=0;l-=1){const e=a[l],{modifiers:t,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:d}=n(e);let f=Boolean(d),p=r(f?u.substring(0,d):u);if(!p){if(!f){s=e+(s.length>0?" "+s:s);continue}if(p=r(u),!p){s=e+(s.length>0?" "+s:s);continue}f=!1}const h=m(t).join(":"),g=c?h+"!":h,v=g+p;if(i.includes(v))continue;i.push(v);const y=o(p,f);for(let n=0;n<y.length;++n){const e=y[n];i.push(g+e)}s=e+(s.length>0?" "+s:s)}return s})(e,n);return i(e,o),o}return function(){return a(v.apply(null,arguments))}}const w=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},C=/^\[(?:([a-z-]+):)?(.+)\]$/i,x=/^\d+\/\d+$/,k=new Set(["px","full","screen"]),_=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,S=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,L=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>A(e)||k.has(e)||x.test(e),O=e=>q(e,"length",U),A=e=>Boolean(e)&&!Number.isNaN(Number(e)),j=e=>q(e,"number",A),T=e=>Boolean(e)&&Number.isInteger(Number(e)),Z=e=>e.endsWith("%")&&A(e.slice(0,-1)),P=e=>C.test(e),R=e=>_.test(e),I=new Set(["length","size","percentage"]),D=e=>q(e,I,$),z=e=>q(e,"position",$),H=new Set(["image","url"]),B=e=>q(e,H,K),F=e=>q(e,"",W),V=()=>!0,q=(e,t,n)=>{const r=C.exec(e);return!!r&&(r[1]?"string"===typeof t?r[1]===t:t.has(r[1]):n(r[2]))},U=e=>S.test(e)&&!E.test(e),$=()=>!1,W=e=>M.test(e),K=e=>L.test(e),G=(Symbol.toStringTag,()=>{const e=w("colors"),t=w("spacing"),n=w("blur"),r=w("brightness"),o=w("borderColor"),i=w("borderRadius"),a=w("borderSpacing"),s=w("borderWidth"),l=w("contrast"),c=w("grayscale"),u=w("hueRotate"),d=w("invert"),f=w("gap"),p=w("gradientColorStops"),h=w("gradientColorStopPositions"),m=w("inset"),g=w("margin"),v=w("opacity"),y=w("padding"),b=w("saturate"),C=w("scale"),x=w("sepia"),k=w("skew"),_=w("space"),S=w("translate"),E=()=>["auto",P,t],M=()=>[P,t],L=()=>["",N,O],I=()=>["auto",A,P],H=()=>["","0",P],q=()=>[A,P];return{cacheSize:500,separator:":",theme:{colors:[V],spacing:[N,O],blur:["none","",R,P],brightness:q(),borderColor:[e],borderRadius:["none","","full",R,P],borderSpacing:M(),borderWidth:L(),contrast:q(),grayscale:H(),hueRotate:q(),invert:H(),gap:M(),gradientColorStops:[e],gradientColorStopPositions:[Z,O],inset:E(),margin:E(),opacity:q(),padding:M(),saturate:q(),scale:q(),sepia:H(),skew:q(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",P]}],container:["container"],columns:[{columns:[R]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",P]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,P]}],basis:[{basis:E()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",P]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",T,P]}],"grid-cols":[{"grid-cols":[V]}],"col-start-end":[{col:["auto",{span:["full",T,P]},P]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[V]}],"row-start-end":[{row:["auto",{span:[T,P]},P]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",P]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",P]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",P,t]}],"min-w":[{"min-w":[P,t,"min","max","fit"]}],"max-w":[{"max-w":[P,t,"none","full","min","max","fit","prose",{screen:[R]},R]}],h:[{h:[P,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[P,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[P,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[P,t,"auto","min","max","fit"]}],"font-size":[{text:["base",R,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",j]}],"font-family":[{font:[V]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",P]}],"line-clamp":[{"line-clamp":["none",A,j]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,P]}],"list-image":[{"list-image":["none",P]}],"list-style-type":[{list:["none","disc","decimal",P]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,O]}],"underline-offset":[{"underline-offset":["auto",N,P]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",P]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",P]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",z]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",D]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},B]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[N,P]}],"outline-w":[{outline:[N,O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[N,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",R,F]}],"shadow-color":[{shadow:[V]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",R,P]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",P]}],duration:[{duration:q()}],ease:[{ease:["linear","in","out","in-out",P]}],delay:[{delay:q()}],animate:[{animate:["none","spin","ping","pulse","bounce",P]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[T,P]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",P]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",P]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",P]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,O,j]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}),Y=b(G);function J(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Y((0,r.W)(t))}},36947:function(e,t,n){"use strict";n.d(t,{CT:function(){return a},Gg:function(){return r},YS:function(){return s},TU:function(){return i},fe:function(){return l}});var r="closeModal",o=n(65171),i="production",a=o.env.NEXT_PUBLIC_BASE_URL||"http://localhost:3333/",s="NEXT_LOCALE_V2",l="SakibErJonnoPatriChai"},96336:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(59072);function o(){var e=document.cookie.split(";").map((function(e){return e.trim().split("=")})),t=e.find((function(e){return"vssi"===(0,r.Z)(e,1)[0]}));return!!(t?t[1]:null)}},9881:function(e,t,n){"use strict";n.d(t,{nk:function(){return Pe},Co:function(){return Ne},x7:function(){return Oe},Sv:function(){return Re},pE:function(){return He},fA:function(){return De},Gz:function(){return ze},mD:function(){return Ze},KM:function(){return Le},$W:function(){return Ae},YR:function(){return Me},LP:function(){return Te},lV:function(){return je},Wb:function(){return Ie},Lq:function(){return Ee}});var r={};n.r(r),n.d(r,{Decoder:function(){return ge},Encoder:function(){return he},PacketType:function(){return pe},protocol:function(){return fe}});const o=Object.create(null);o.open="0",o.close="1",o.ping="2",o.pong="3",o.message="4",o.upgrade="5",o.noop="6";const i=Object.create(null);Object.keys(o).forEach((e=>{i[o[e]]=e}));const a={type:"error",data:"parser error"},s="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),l="function"===typeof ArrayBuffer,c=e=>"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,u=({type:e,data:t},n,r)=>s&&t instanceof Blob?n?r(t):d(t,r):l&&(t instanceof ArrayBuffer||c(t))?n?r(t):d(new Blob([t]),r):r(o[e]+(t||"")),d=(e,t)=>{const n=new FileReader;return n.onload=function(){const e=n.result.split(",")[1];t("b"+(e||""))},n.readAsDataURL(e)};function f(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let p;const h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m="undefined"===typeof Uint8Array?[]:new Uint8Array(256);for(let Fe=0;Fe<h.length;Fe++)m[h.charCodeAt(Fe)]=Fe;const g="function"===typeof ArrayBuffer,v=(e,t)=>{if("string"!==typeof e)return{type:"message",data:b(e,t)};const n=e.charAt(0);if("b"===n)return{type:"message",data:y(e.substring(1),t)};return i[n]?e.length>1?{type:i[n],data:e.substring(1)}:{type:i[n]}:a},y=(e,t)=>{if(g){const n=(e=>{let t,n,r,o,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);const c=new ArrayBuffer(a),u=new Uint8Array(c);for(t=0;t<s;t+=4)n=m[e.charCodeAt(t)],r=m[e.charCodeAt(t+1)],o=m[e.charCodeAt(t+2)],i=m[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|o>>2,u[l++]=(3&o)<<6|63&i;return c})(e);return b(n,t)}return{base64:!0,data:e}},b=(e,t)=>"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer,w=String.fromCharCode(30);function C(){return new TransformStream({transform(e,t){!function(e,t){s&&e.data instanceof Blob?e.data.arrayBuffer().then(f).then(t):l&&(e.data instanceof ArrayBuffer||c(e.data))?t(f(e.data)):u(e,!1,(e=>{p||(p=new TextEncoder),t(p.encode(e))}))}(e,(n=>{const r=n.length;let o;if(r<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,r);else if(r<65536){o=new Uint8Array(3);const e=new DataView(o.buffer);e.setUint8(0,126),e.setUint16(1,r)}else{o=new Uint8Array(9);const e=new DataView(o.buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(r))}e.data&&"string"!==typeof e.data&&(o[0]|=128),t.enqueue(o),t.enqueue(n)}))}})}let x;function k(e){return e.reduce(((e,t)=>e+t.length),0)}function _(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let o=0;o<t;o++)n[o]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function S(e){if(e)return function(e){for(var t in S.prototype)e[t]=S.prototype[t];return e}(e)}S.prototype.on=S.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},S.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},S.prototype.off=S.prototype.removeListener=S.prototype.removeAllListeners=S.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},S.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},S.prototype.emitReserved=S.prototype.emit,S.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},S.prototype.hasListeners=function(e){return!!this.listeners(e).length};const E="undefined"!==typeof self?self:"undefined"!==typeof window?window:Function("return this")();function M(e,...t){return t.reduce(((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{})}const L=E.setTimeout,N=E.clearTimeout;function O(e,t){t.useNativeTimers?(e.setTimeoutFn=L.bind(E),e.clearTimeoutFn=N.bind(E)):(e.setTimeoutFn=E.setTimeout.bind(E),e.clearTimeoutFn=E.clearTimeout.bind(E))}class A extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class j extends S{constructor(e){super(),this.writable=!1,O(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,t,n){return super.emitReserved("error",new A(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=v(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return-1===e.indexOf(":")?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(e){const t=function(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}(e);return t.length?"?"+t:""}}const T="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Z={};let P,R=0,I=0;function D(e){let t="";do{t=T[e%64]+t,e=Math.floor(e/64)}while(e>0);return t}function z(){const e=D(+new Date);return e!==P?(R=0,P=e):e+"."+D(R++)}for(;I<64;I++)Z[T[I]]=I;let H=!1;try{H="undefined"!==typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(Be){}const B=H;function F(e){const t=e.xdomain;try{if("undefined"!==typeof XMLHttpRequest&&(!t||B))return new XMLHttpRequest}catch(n){}if(!t)try{return new(E[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(n){}}function V(){}const q=null!=new F({xdomain:!1}).responseType;class U extends S{constructor(e,t){super(),O(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.data=void 0!==t.data?t.data:null,this.create()}create(){var e;const t=M(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd;const n=this.xhr=new F(t);try{n.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&n.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(r){}if("POST"===this.method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(r){}try{n.setRequestHeader("Accept","*/*")}catch(r){}null===(e=this.opts.cookieJar)||void 0===e||e.addCookies(n),"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{var e;3===n.readyState&&(null===(e=this.opts.cookieJar)||void 0===e||e.parseCookies(n)),4===n.readyState&&(200===n.status||1223===n.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"===typeof n.status?n.status:0)}),0))},n.send(this.data)}catch(r){return void this.setTimeoutFn((()=>{this.onError(r)}),0)}"undefined"!==typeof document&&(this.index=U.requestsCount++,U.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if("undefined"!==typeof this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=V,e)try{this.xhr.abort()}catch(t){}"undefined"!==typeof document&&delete U.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(U.requestsCount=0,U.requests={},"undefined"!==typeof document)if("function"===typeof attachEvent)attachEvent("onunload",$);else if("function"===typeof addEventListener){addEventListener("onpagehide"in E?"pagehide":"unload",$,!1)}function $(){for(let e in U.requests)U.requests.hasOwnProperty(e)&&U.requests[e].abort()}const W="function"===typeof Promise&&"function"===typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),K=E.WebSocket||E.MozWebSocket;n(94569).Buffer;const G="undefined"!==typeof navigator&&"string"===typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();const Y={websocket:class extends j{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,n=G?{}:M(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=G?new K(e,t,n):t?new K(e,t):new K(e)}catch(Be){return this.emitReserved("error",Be)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],r=t===e.length-1;u(n,this.supportsBinary,(e=>{try{this.ws.send(e)}catch(t){}r&&W((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){"undefined"!==typeof this.ws&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=z()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!K}},webtransport:class extends j{get name(){return"webtransport"}doOpen(){"function"===typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then((()=>{this.onClose()})).catch((e=>{this.onError("webtransport error",e)})),this.transport.ready.then((()=>{this.transport.createBidirectionalStream().then((e=>{const t=function(e,t){x||(x=new TextDecoder);const n=[];let r=0,o=-1,i=!1;return new TransformStream({transform(s,l){for(n.push(s);;){if(0===r){if(k(n)<1)break;const e=_(n,1);i=128===(128&e[0]),o=127&e[0],r=o<126?3:126===o?1:2}else if(1===r){if(k(n)<2)break;const e=_(n,2);o=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),r=3}else if(2===r){if(k(n)<8)break;const e=_(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),i=t.getUint32(0);if(i>Math.pow(2,21)-1){l.enqueue(a);break}o=i*Math.pow(2,32)+t.getUint32(4),r=3}else{if(k(n)<o)break;const e=_(n,o);l.enqueue(v(i?e:x.decode(e),t)),r=0}if(0===o||o>e){l.enqueue(a);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),r=C();r.readable.pipeTo(e.writable),this.writer=r.writable.getWriter();const o=()=>{n.read().then((({done:e,value:t})=>{e||(this.onPacket(t),o())})).catch((e=>{}))};o();const i={type:"open"};this.query.sid&&(i.data=`{"sid":"${this.query.sid}"}`),this.writer.write(i).then((()=>this.onOpen()))}))})))}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],r=t===e.length-1;this.writer.write(n).then((()=>{r&&W((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){var e;null===(e=this.transport)||void 0===e||e.close()}},polling:class extends j{constructor(e){if(super(e),this.polling=!1,"undefined"!==typeof location){const t="https:"===location.protocol;let n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!==typeof location&&e.hostname!==location.hostname||n!==e.port}const t=e&&e.forceBase64;this.supportsBinary=q&&!t,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(e++,this.once("pollComplete",(function(){--e||t()}))),this.writable||(e++,this.once("drain",(function(){--e||t()})))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){((e,t)=>{const n=e.split(w),r=[];for(let o=0;o<n.length;o++){const e=v(n[o],t);if(r.push(e),"error"===e.type)break}return r})(e,this.socket.binaryType).forEach((e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,((e,t)=>{const n=e.length,r=new Array(n);let o=0;e.forEach(((e,i)=>{u(e,!1,(e=>{r[i]=e,++o===n&&t(r.join(w))}))}))})(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=z()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new U(this.uri(),e)}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}},J=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,X=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Q(e){if(e.length>2e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let o=J.exec(e||""),i={},a=14;for(;a--;)i[X[a]]=o[a]||"";return-1!=n&&-1!=r&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=function(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");"/"!=t.slice(0,1)&&0!==t.length||r.splice(0,1);"/"==t.slice(-1)&&r.splice(r.length-1,1);return r}(0,i.path),i.queryKey=function(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,r){t&&(n[t]=r)})),n}(0,i.query),i}class ee extends S{constructor(e,t={}){super(),this.binaryType="arraybuffer",this.writeBuffer=[],e&&"object"===typeof e&&(t=e,e=null),e?(e=Q(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=Q(t.host).host),O(this,t),this.secure=null!=t.secure?t.secure:"undefined"!==typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!==typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!==typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"===typeof this.opts.query&&(this.opts.query=function(e){let t={},n=e.split("&");for(let r=0,o=n.length;r<o;r++){let e=n[r].split("=");t[decodeURIComponent(e[0])]=decodeURIComponent(e[1])}return t}(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"===typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new Y[e](n)}open(){let e;if(this.opts.rememberUpgrade&&ee.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(t){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(e){let t=this.createTransport(e),n=!1;ee.priorWebsocketSuccess=!1;const r=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",(e=>{if(!n)if("pong"===e.type&&"probe"===e.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;ee.priorWebsocketSuccess="websocket"===t.name,this.transport.pause((()=>{n||"closed"!==this.readyState&&(c(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}))}else{const e=new Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}})))};function o(){n||(n=!0,c(),t.close(),t=null)}const i=e=>{const n=new Error("probe error: "+e);n.transport=t.name,o(),this.emitReserved("upgradeError",n)};function a(){i("transport closed")}function s(){i("socket closed")}function l(e){t&&e.name!==t.name&&o()}const c=()=>{t.removeListener("open",r),t.removeListener("error",i),t.removeListener("close",a),this.off("close",s),this.off("upgrading",l)};t.once("open",r),t.once("error",i),t.once("close",a),this.once("close",s),this.once("upgrading",l),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn((()=>{n||t.open()}),200):t.open()}onOpen(){if(this.readyState="open",ee.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),this.resetPingTimeout(),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((()=>{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let n=0;n<this.writeBuffer.length;n++){const r=this.writeBuffer[n].data;if(r&&(e+="string"===typeof(t=r)?function(e){let t=0,n=0;for(let r=0,o=e.length;r<o;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}(t):Math.ceil(1.33*(t.byteLength||t.size))),n>0&&e>this.maxPayload)return this.writeBuffer.slice(0,n);e+=2}var t;return this.writeBuffer}write(e,t,n){return this.sendPacket("message",e,t,n),this}send(e,t,n){return this.sendPacket("message",e,t,n),this}sendPacket(e,t,n,r){if("function"===typeof t&&(r=t,t=void 0),"function"===typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;const o={type:e,data:t,options:n};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?n():e()})):this.upgrading?n():e()),this}onError(e){ee.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"===typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let n=0;const r=e.length;for(;n<r;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}ee.protocol=4;ee.protocol;const te="function"===typeof ArrayBuffer,ne=Object.prototype.toString,re="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===ne.call(Blob),oe="function"===typeof File||"undefined"!==typeof File&&"[object FileConstructor]"===ne.call(File);function ie(e){return te&&(e instanceof ArrayBuffer||(e=>"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer)(e))||re&&e instanceof Blob||oe&&e instanceof File}function ae(e,t){if(!e||"object"!==typeof e)return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t<n;t++)if(ae(e[t]))return!0;return!1}if(ie(e))return!0;if(e.toJSON&&"function"===typeof e.toJSON&&1===arguments.length)return ae(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&ae(e[n]))return!0;return!1}function se(e){const t=[],n=e.data,r=e;return r.data=le(n,t),r.attachments=t.length,{packet:r,buffers:t}}function le(e,t){if(!e)return e;if(ie(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=le(e[r],t);return n}if("object"===typeof e&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=le(e[r],t));return n}return e}function ce(e,t){return e.data=ue(e.data,t),delete e.attachments,e}function ue(e,t){if(!e)return e;if(e&&!0===e._placeholder){if("number"===typeof e.num&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=ue(e[n],t);else if("object"===typeof e)for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=ue(e[n],t));return e}const de=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],fe=5;var pe;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(pe||(pe={}));class he{constructor(e){this.replacer=e}encode(e){return e.type!==pe.EVENT&&e.type!==pe.ACK||!ae(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===pe.EVENT?pe.BINARY_EVENT:pe.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}encodeAsString(e){let t=""+e.type;return e.type!==pe.BINARY_EVENT&&e.type!==pe.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=se(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}}function me(e){return"[object Object]"===Object.prototype.toString.call(e)}class ge extends S{constructor(e){super(),this.reviver=e}add(e){let t;if("string"===typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const n=t.type===pe.BINARY_EVENT;n||t.type===pe.BINARY_ACK?(t.type=n?pe.EVENT:pe.ACK,this.reconstructor=new ve(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!ie(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const n={type:Number(e.charAt(0))};if(void 0===pe[n.type])throw new Error("unknown packet type "+n.type);if(n.type===pe.BINARY_EVENT||n.type===pe.BINARY_ACK){const r=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const o=e.substring(r,t);if(o!=Number(o)||"-"!==e.charAt(t))throw new Error("Illegal attachments");n.attachments=Number(o)}if("/"===e.charAt(t+1)){const r=t+1;for(;++t;){if(","===e.charAt(t))break;if(t===e.length)break}n.nsp=e.substring(r,t)}else n.nsp="/";const r=e.charAt(t+1);if(""!==r&&Number(r)==r){const r=t+1;for(;++t;){const n=e.charAt(t);if(null==n||Number(n)!=n){--t;break}if(t===e.length)break}n.id=Number(e.substring(r,t+1))}if(e.charAt(++t)){const r=this.tryParse(e.substr(t));if(!ge.isPayloadValid(n.type,r))throw new Error("invalid payload");n.data=r}return n}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(t){return!1}}static isPayloadValid(e,t){switch(e){case pe.CONNECT:return me(t);case pe.DISCONNECT:return void 0===t;case pe.CONNECT_ERROR:return"string"===typeof t||me(t);case pe.EVENT:case pe.BINARY_EVENT:return Array.isArray(t)&&("number"===typeof t[0]||"string"===typeof t[0]&&-1===de.indexOf(t[0]));case pe.ACK:case pe.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class ve{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=ce(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function ye(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const be=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class we extends S{constructor(e,t,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[ye(e,"open",this.onopen.bind(this)),ye(e,"packet",this.onpacket.bind(this)),ye(e,"error",this.onerror.bind(this)),ye(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(be.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const n={type:pe.EVENT,data:t,options:{}};if(n.options.compress=!1!==this.flags.compress,"function"===typeof t[t.length-1]){const e=this.ids++,r=t.pop();this._registerAckCallback(e,r),n.id=e}const r=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!r||!this.connected)||(this.connected?(this.notifyOutgoingListeners(n),this.packet(n)):this.sendBuffer.push(n)),this.flags={},this}_registerAckCallback(e,t){var n;const r=null!==(n=this.flags.timeout)&&void 0!==n?n:this._opts.ackTimeout;if(void 0===r)return void(this.acks[e]=t);const o=this.io.setTimeoutFn((()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,new Error("operation has timed out"))}),r),i=(...e)=>{this.io.clearTimeoutFn(o),t.apply(this,e)};i.withError=!0,this.acks[e]=i}emitWithAck(e,...t){return new Promise(((n,r)=>{const o=(e,t)=>e?r(e):n(t);o.withError=!0,t.push(o),this.emit(e,...t)}))}_addToQueue(e){let t;"function"===typeof e[e.length-1]&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push(((e,...r)=>{if(n!==this._queue[0])return;return null!==e?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue()})),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth((e=>{this._sendConnectPacket(e)})):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:pe.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach((e=>{if(!this.sendBuffer.some((t=>String(t.id)===e))){const t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,new Error("socket has been disconnected"))}}))}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case pe.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case pe.EVENT:case pe.BINARY_EVENT:this.onevent(e);break;case pe.ACK:case pe.BINARY_ACK:this.onack(e);break;case pe.DISCONNECT:this.ondisconnect();break;case pe.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&"string"===typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...r){n||(n=!0,t.packet({type:pe.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];"function"===typeof t&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>{this.notifyOutgoingListeners(e),this.packet(e)})),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:pe.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const n of t)n.apply(this,e.data)}}}function Ce(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Ce.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},Ce.prototype.reset=function(){this.attempts=0},Ce.prototype.setMin=function(e){this.ms=e},Ce.prototype.setMax=function(e){this.max=e},Ce.prototype.setJitter=function(e){this.jitter=e};class xe extends S{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"===typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,O(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=t.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new Ce({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const o=t.parser||r;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new ee(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const r=ye(t,"open",(function(){n.onopen(),e&&e()})),o=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},i=ye(t,"error",o);if(!1!==this._timeout){const e=this._timeout,n=this.setTimeoutFn((()=>{r(),o(new Error("timeout")),t.close()}),e);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}return this.subs.push(r),this.subs.push(i),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(ye(e,"ping",this.onping.bind(this)),ye(e,"data",this.ondata.bind(this)),ye(e,"error",this.onerror.bind(this)),ye(e,"close",this.onclose.bind(this)),ye(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){W((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new we(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const n of t){if(this.nsps[n].active)return}this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;n<t.length;n++)this.engine.write(t[n],e.options)}cleanup(){this.subs.forEach((e=>e())),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn((()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()})))}),t);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const ke={};function _e(e,t){"object"===typeof e&&(t=e,e=void 0);const n=function(e,t="",n){let r=e;n=n||"undefined"!==typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"===typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e="undefined"!==typeof n?n.protocol+"//"+e:"https://"+e),r=Q(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const o=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),r=n.source,o=n.id,i=n.path,a=ke[o]&&i in ke[o].nsps;let s;return t.forceNew||t["force new connection"]||!1===t.multiplex||a?s=new xe(r,t):(ke[o]||(ke[o]=new xe(r,t)),s=ke[o]),n.query&&!t.query&&(t.query=n.queryKey),s.socket(n.path,t)}Object.assign(_e,{Manager:xe,Socket:we,io:_e,connect:_e});var Se=n(85850),Ee=function(e){return globalThis.app.allow_plural&&e>1?"s":""},Me=function(e,t){return 1===e?t.substring(0,t.length-1):t},Le=function(e){if(e>=11&&e<=13)return e+"th";switch(e%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd";default:return e+"th"}},Ne=function(e){return e?Intl.NumberFormat("en-US").format(e.toFixed(2)):e},Oe=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},Ae=function(e){var t=(null===e||void 0===e?void 0:e.replace(/<\/?[^>]+(>|$)/g,"").replace(/style="[^"]*"/g,"")).split(/\s+/).length;return Math.ceil(t/200)},je=function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").substring(0,100)};function Te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{return JSON.parse(e||JSON.stringify(t))}catch(n){return console.error("Failed to parse JSON:",n),t}}var Ze=function(e){var t=e.lastIndexOf(".");return t>0?e.substring(t+1):""},Pe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"0",t=arguments.length>1?arguments[1]:void 0;if("unlimited"===e.toLowerCase())return!0;var n=parseInt(e);return t<n},Re=function(e){if(null===e||void 0===e?void 0:e.includes("ezy-scorm-files")){var t=e.replace(/(\/)?ezy-scorm-files(\/)?/g,"");window.open("https://staticwebsitesforezy.blob.core.windows.net/".concat(t),"_blank")}else try{window.open(new URL(e).href,"_blank")}catch(n){return void(0,Se.e)("Could not download the file: ".concat(e," (").concat(n.message,")"))}},Ie=_e("https://ezysocket.webpubsub.azure.com",{path:"/clients/socketio/hubs/Hub"}),De=function(e){var t=e.match(/(\d+)$/);return t?t[0]:e},ze=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t){var n=new Date(e),r=n.getUTCHours().toString().padStart(2,"0"),o=n.getUTCMinutes().toString().padStart(2,"0");return"".concat(r,":").concat(o)}var i=new Date(e),a=i.getUTCDate().toString().padStart(2,"0"),s=i.getUTCHours().toString().padStart(2,"0");return"".concat(a,"-").concat(s,"h")},He=function(e){return e.replaceAll(/([\uE000-\uF8FF]|\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDDFF])/g,"")}},82058:function(e,t,n){"use strict";n.d(t,{$o:function(){return u.$o},AJ:function(){return L},BG:function(){return H},DR:function(){return S},Dc:function(){return j},Ds:function(){return v},GN:function(){return R},H8:function(){return z},HP:function(){return m},Jv:function(){return P},LU:function(){return D},NE:function(){return O},Qq:function(){return N},V8:function(){return _},ZS:function(){return A},_z:function(){return Z},cx:function(){return k},fY:function(){return M},fm:function(){return x},gb:function(){return g},jL:function(){return w},jU:function(){return y},k6:function(){return C},nH:function(){return b},pF:function(){return E},qQ:function(){return u.qQ},rQ:function(){return I},ve:function(){return T}});var r=n(72006),o=n(4405),i=n(59072),a=n(66154),s=n.n(a),l=n(77689),c=n.n(l),u=n(31247),d=n(28786),f=n.n(d),p=n(81438),h=n(9881),m=function(e,t,n){var r=Array.from(e),o=(0,i.Z)(r.splice(t,1),1)[0];return void 0!==o&&r.splice(n,0,o),r},g=function(e,t,n){var a=Object.values(e).sort((function(e,t){return e.position-t.position})),s=(0,i.Z)(a.splice(t,1),1)[0];return a.splice(n,0,s),a.reduce((function(e,t,n){return e[t.id]=(0,o.Z)((0,r.Z)({},t),{position:n}),e}),{})};function v(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,r=this;return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];clearTimeout(t),t=setTimeout((function(){e.apply(r,i)}),n)}}function y(e){return(Math.round(100*e)/100).toFixed(2)}var b=function(e){var t=e%3600,n=t%60;return{h:Math.floor(e/3600),m:Math.floor(t/60),s:Math.ceil(n)}};function w(e){if("string"===typeof e&&""!==e){var t=e.match(/^([-.\d]+(?:\.\d+)?)(.*)$/);return{value:t[1].trim(),unit:t[2].trim()}}return{value:e,unit:""}}function C(e){return e=(0,h.pE)(e),c()(e,{replacement:"-",remove:/[*+~.()'"!:@?#/\\^]/g,lower:!0,trim:!0})}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Number(e).toFixed(t)}function k(e){var t=e.currency,n=e.price_type,r=e.price,o=e.interval,i=e.interval_count;if("ONE_TIME"===n)return"".concat(t).concat(r);if("FREE"===n)return"Free";var a="".concat(t).concat(r,"/");return a+=i>1?" ".concat(i," ").concat(f()(o),"s"):" ".concat(f()(o))}function _(e){e.currency;var t=e.price,n=e.interval,r=e.interval_count,o=e.price_type,i=e.strike_through_price,a=void 0===i?"":i,s=(0,p.$G)().t,l=["","",""];if("ONE_TIME"===o)l[0]="".concat(t),l[1]="".concat(s("One time")),l[2]=a||null;else if("FREE"!==o&&o){if("SUBSCRIPTION"===o){if("day"===(null===n||void 0===n?void 0:n.toLowerCase())&&r%7===0){var c=r/7;if(c%2===0)return["".concat(t),"/".concat(c>1?"".concat(c," "):"","week").concat(c>1?"s":""),a||null]}var u="/".concat(r>1?r+" ":"").concat(null===n||void 0===n?void 0:n.toLowerCase()).concat(r>1?"s":"");l=["".concat(t),u,a||null]}}else l[0]="Free",l[2]=a||null;return l}var S="https://letcheck.b-cdn.net/ezycourseAssets/no-image.jpeg";function E(e,t){var n=[{value:1,symbol:""},{value:1e3,symbol:"k"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}].slice().reverse().find((function(t){return e>=t.value}));return n?(e/n.value).toFixed(t).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+n.symbol:"0"}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"29280";return["youtube","vimeo","embedded"].includes(null===e||void 0===e?void 0:e.file_type)?e.file_link:"https://iframe.mediadelivery.net/embed/".concat(t,"/").concat(null===e||void 0===e?void 0:e.videoID,"?autoplay=true")}function L(e){return["youtube","vimeo","embedded"].includes(null===e||void 0===e?void 0:e.file_type)?e.thumbnail_link:e.webp_link}function N(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.reduce((function(e,o,i){return r&&"undefined"===typeof e[o]&&i+1!==t.length?(e[o]={},e[o]):i+1===t.length?(e[o]=n,n):e[o]}),e)}function O(e){return{free:0,basic:1,pro:2,business:3,vip:4}[e.toLowerCase()]}function A(e){var t=e.plan,n=e.userType,r=e.current_period_end,o=e.is_private_chat_enabled,i=e.chatAddons,a={is_notification_fetch:0,is_chat_icon_available:0};if("STUDENT"==n){if(a.is_notification_fetch=2,"free"==t)a.is_chat_icon_available=0;else if("ACTIVE"===(null===i||void 0===i?void 0:i.status))a.is_chat_icon_available=2;else{if(r&&new Date>=new Date(r))return a.is_chat_icon_available=0,a;a.is_chat_icon_available="business"==t||"vip"==t?2:1}o&&void 0!=o&&0!=o&&null!=o||2!=a.is_chat_icon_available||(a.is_chat_icon_available=1)}else if("SITE_OWNER"!==n&&"STUDENT"!==n)if(a.is_chat_icon_available=2,"free"==t)a.is_notification_fetch=0;else if("vip"==t)a.is_notification_fetch=2;else if("ACTIVE"===(null===i||void 0===i?void 0:i.status))a.is_notification_fetch=2;else{if(r&&new Date>=new Date(r))return a.is_notification_fetch=0,a;a.is_notification_fetch=1}else if("SITE_OWNER"==n){if("business"==t||"vip"==t||"ACTIVE"===(null===i||void 0===i?void 0:i.status))return a.is_chat_icon_available=2,a.is_notification_fetch=2,a;if("pro"===t||"basic"===t)return a.is_chat_icon_available=1,a.is_notification_fetch=2,a}return a}function j(e){return new Promise((function(t){return setTimeout(t,e)}))}var T=function(e,t){return new Promise((function(n){var r=document.createElement("script");return r.src=e,(null===t||void 0===t?void 0:t.async)&&(r.async=t.async),(null===t||void 0===t?void 0:t.defer)&&(r.defer=t.defer),(null===t||void 0===t?void 0:t.crossorigin)&&(r.crossOrigin=t.crossorigin),r.onload=function(){return n(!0)},r.onerror=function(){return n(!1)},document.body.appendChild(r),r}))};function Z(e){for(var t=0;e.offsetParent;)t+=e.offsetTop,e=e.offsetParent;return t}function P(e){var t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView;return t.top>=0&&t.left>=0&&t.bottom<=(n.innerHeight||document.documentElement.clientHeight)&&t.right<=(n.innerWidth||document.documentElement.clientWidth)}function R(e){new Audio(e).play()}function I(e){var t=new(s());return t.setUA(e),t.getResult()}function D(e){if(0===(e=Math.ceil(e)))return"00:00";var t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=e%60,o=function(e){return e<10?"0".concat(e):"".concat(e)},i=o(t),a=o(n),s=o(r);return t>0?"".concat(i,":").concat(a,":").concat(s):"".concat(a,":").concat(s)}function z(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2,o={Bit:1/8,Byte:1,KB:1024,MB:1048576,GB:1073741824},i=n*o[e]/o[t];return parseFloat(i.toFixed(r))}function H(e,t,n){var r={millisecond:.001,second:1,minute:60,hour:3600,day:86400,week:604800,month:2592e3,year:31536e3};return n*r[e]/r[t]}},31247:function(e,t,n){"use strict";n.d(t,{$o:function(){return i},dZ:function(){return a},qQ:function(){return o}});var r=n(76784);function o(e,t){if(!window.localStorage)return!1;try{return window.localStorage.setItem(e,JSON.stringify(t)),!0}catch(n){return console.error('Error setting localStorage item "'.concat(e,'":'),n),!1}}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!window.localStorage)return t;var n=window.localStorage.getItem(e);return(0,r.Z)(n,t)}function a(e){return!!window.localStorage&&(window.localStorage.removeItem(e),!0)}},20083:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(81962),o=n(59072);function i(e){var t=new URLSearchParams;return Object.entries(e).forEach((function(e){var n=(0,o.Z)(e,2),i=n[0],a=n[1];(0,r.Z)(a,Array)||Array.isArray(a)?a.forEach((function(e){e&&t.append(i+"[]",e)})):"string"===typeof a?a&&t.set(i,a):"number"===typeof a&&t.set(i,String(a))})),t.toString()}},85850:function(e,t,n){"use strict";n.d(t,{e:function(){return a},h:function(){return u},i:function(){return c},n:function(){return d},p:function(){return f},s:function(){return s},w:function(){return l}});var r=n(85554),o=n(82058),i=n(81438),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8;e&&""!=e&&r.Z.error({message:e,description:t,duration:n})},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8;e&&""!=e&&r.Z.success({message:e,description:t,duration:n})},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8;e&&""!=e&&r.Z.warning({message:e,description:t,duration:n})},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8;e&&""!=e&&r.Z.info({message:e,description:t,duration:n})},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e?r.Z.error({message:e("Something went wrong!"),description:"Please try again later",duration:8}):r.Z.error({message:"Something went wrong!",description:"Please try again later",duration:8})},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bottomLeft",n=arguments.length>2?arguments[2]:void 0,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=(0,i.$G)(),l=s.t;a&&(0,o.GN)("https://letcheck.b-cdn.net/salman-cademys/cla5fl91x0008c31z59rgb1t7.mp3"),r.Z.info({message:l("New notification"),description:l(e),placement:t,icon:n,duration:8})},f=function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(o)if(null===(t=e.data)||void 0===t?void 0:t.errors){var i=!0,a=!1,s=void 0;try{for(var l,c=e.data.errors[Symbol.iterator]();!(i=(l=c.next()).done);i=!0){var d=l.value;r.Z.error({message:o(d.message),description:"",duration:8})}}catch(y){a=!0,s=y}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}}else u(o);else if(null===(n=e.data)||void 0===n?void 0:n.errors){var f=!0,p=!1,h=void 0;try{for(var m,g=e.data.errors[Symbol.iterator]();!(f=(m=g.next()).done);f=!0){var v=m.value;r.Z.error({message:v.message,description:"",duration:8})}}catch(y){p=!0,h=y}finally{try{f||null==g.return||g.return()}finally{if(p)throw h}}}else u(o)}},76784:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(81962);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"!==typeof e)return t;try{var n=JSON.parse(e);return n}catch(o){return(0,r.Z)(o,SyntaxError)?console.error("JSON parsing error:",o.message):console.error("Unexpected error during JSON parsing:",o),t}}},52588:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r={dashboardOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M2 6C2 4.11438 2 3.17157 2.58579 2.58579C3.17157 2 4.11438 2 6 2C7.88562 2 8.82843 2 9.41421 2.58579C10 3.17157 10 4.11438 10 6V8C10 9.88562 10 10.8284 9.41421 11.4142C8.82843 12 7.88562 12 6 12C4.11438 12 3.17157 12 2.58579 11.4142C2 10.8284 2 9.88562 2 8V6Z" stroke="#E7EAF0" stroke-width="1.3"/>\n  <path d="M2 19C2 18.0681 2 17.6022 2.15224 17.2346C2.35523 16.7446 2.74458 16.3552 3.23463 16.1522C3.60218 16 4.06812 16 5 16H7C7.93188 16 8.39782 16 8.76537 16.1522C9.25542 16.3552 9.64477 16.7446 9.84776 17.2346C10 17.6022 10 18.0681 10 19C10 19.9319 10 20.3978 9.84776 20.7654C9.64477 21.2554 9.25542 21.6448 8.76537 21.8478C8.39782 22 7.93188 22 7 22H5C4.06812 22 3.60218 22 3.23463 21.8478C2.74458 21.6448 2.35523 21.2554 2.15224 20.7654C2 20.3978 2 19.9319 2 19Z" stroke="#E7EAF0" stroke-width="1.3"/>\n  <path d="M14 16C14 14.1144 14 13.1716 14.5858 12.5858C15.1716 12 16.1144 12 18 12C19.8856 12 20.8284 12 21.4142 12.5858C22 13.1716 22 14.1144 22 16V18C22 19.8856 22 20.8284 21.4142 21.4142C20.8284 22 19.8856 22 18 22C16.1144 22 15.1716 22 14.5858 21.4142C14 20.8284 14 19.8856 14 18V16Z" stroke="#E7EAF0" stroke-width="1.3"/>\n  <path d="M14 5C14 4.06812 14 3.60218 14.1522 3.23463C14.3552 2.74458 14.7446 2.35523 15.2346 2.15224C15.6022 2 16.0681 2 17 2H19C19.9319 2 20.3978 2 20.7654 2.15224C21.2554 2.35523 21.6448 2.74458 21.8478 3.23463C22 3.60218 22 4.06812 22 5C22 5.93188 22 6.39782 21.8478 6.76537C21.6448 7.25542 21.2554 7.64477 20.7654 7.84776C20.3978 8 19.9319 8 19 8H17C16.0681 8 15.6022 8 15.2346 7.84776C14.7446 7.64477 14.3552 7.25542 14.1522 6.76537C14 6.39782 14 5.93188 14 5Z" stroke="#E7EAF0" stroke-width="1.3"/>\n  </svg>',dashboardSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M6.05203 1.25C6.9505 1.24997 7.69971 1.24995 8.29448 1.32991C8.92228 1.41432 9.48908 1.59999 9.94455 2.05546C10.4 2.51093 10.5857 3.07773 10.6701 3.70552C10.7501 4.3003 10.75 5.04951 10.75 5.94798V8.052C10.75 8.95047 10.7501 9.69971 10.6701 10.2945C10.5857 10.9223 10.4 11.4891 9.94455 11.9445C9.48908 12.4 8.92228 12.5857 8.29448 12.6701C7.69971 12.7501 6.9505 12.75 6.05203 12.75H5.94801C5.04954 12.75 4.3003 12.7501 3.70552 12.6701C3.07773 12.5857 2.51093 12.4 2.05546 11.9445C1.59999 11.4891 1.41432 10.9223 1.32991 10.2945C1.24995 9.69971 1.24997 8.9505 1.25 8.05203V5.948C1.24997 5.04954 1.24995 4.3003 1.32991 3.70552C1.41432 3.07773 1.59999 2.51093 2.05546 2.05546C2.51093 1.59999 3.07773 1.41432 3.70552 1.32991C4.3003 1.24995 5.04951 1.24997 5.94797 1.25H6.05203Z" fill="white"/>\n  <path d="M7.02526 15.25C7.46972 15.25 7.84075 15.25 8.14537 15.2708C8.46247 15.2924 8.76199 15.339 9.05238 15.4593C9.72621 15.7384 10.2616 16.2738 10.5407 16.9476C10.661 17.238 10.7076 17.5375 10.7292 17.8546C10.75 18.1592 10.75 18.5303 10.75 18.9747V19.0253C10.75 19.4697 10.75 19.8408 10.7292 20.1454C10.7076 20.4625 10.661 20.762 10.5407 21.0524C10.2616 21.7262 9.72621 22.2616 9.05238 22.5407C8.76199 22.661 8.46247 22.7076 8.14537 22.7292C7.84075 22.75 7.46972 22.75 7.02526 22.75H4.97474C4.53028 22.75 4.15925 22.75 3.85464 22.7292C3.53754 22.7076 3.23801 22.661 2.94762 22.5407C2.27379 22.2616 1.73844 21.7262 1.45933 21.0524C1.33905 20.762 1.29241 20.4625 1.27077 20.1454C1.24999 19.8408 1.24999 19.4697 1.25 19.0253V18.9747C1.24999 18.5303 1.24999 18.1592 1.27077 17.8546C1.29241 17.5375 1.33905 17.238 1.45933 16.9476C1.73844 16.2738 2.27379 15.7384 2.94762 15.4593C3.23801 15.339 3.53754 15.2924 3.85464 15.2708C4.15925 15.25 4.53028 15.25 4.97474 15.25H7.02526Z" fill="white"/>\n  <path d="M18.052 11.25C18.9505 11.25 19.6997 11.2499 20.2945 11.3299C20.9223 11.4143 21.4891 11.6 21.9445 12.0555C22.4 12.5109 22.5857 13.0777 22.6701 13.7055C22.7501 14.3003 22.75 15.0495 22.75 15.948V18.052C22.75 18.9505 22.7501 19.6997 22.6701 20.2945C22.5857 20.9223 22.4 21.4891 21.9445 21.9445C21.4891 22.4 20.9223 22.5857 20.2945 22.6701C19.6997 22.7501 18.9505 22.75 18.052 22.75H17.948C17.0495 22.75 16.3003 22.7501 15.7055 22.6701C15.0777 22.5857 14.5109 22.4 14.0555 21.9445C13.6 21.4891 13.4143 20.9223 13.3299 20.2945C13.2499 19.6997 13.25 18.9505 13.25 18.052V15.948C13.25 15.0495 13.2499 14.3003 13.3299 13.7055C13.4143 13.0777 13.6 12.5109 14.0555 12.0555C14.5109 11.6 15.0777 11.4143 15.7055 11.3299C16.3003 11.2499 17.0495 11.25 17.948 11.25H18.052Z" fill="white"/>\n  <path d="M19.0253 1.25C19.4697 1.24999 19.8408 1.24999 20.1454 1.27077C20.4625 1.29241 20.762 1.33905 21.0524 1.45933C21.7262 1.73844 22.2616 2.27379 22.5407 2.94762C22.661 3.23801 22.7076 3.53754 22.7292 3.85464C22.75 4.15925 22.75 4.53028 22.75 4.97474V5.02526C22.75 5.46972 22.75 5.84075 22.7292 6.14537C22.7076 6.46247 22.661 6.76199 22.5407 7.05238C22.2616 7.72621 21.7262 8.26156 21.0524 8.54067C20.762 8.66095 20.4625 8.7076 20.1454 8.72923C19.8408 8.75001 19.4697 8.75001 19.0253 8.75H16.9747C16.5303 8.75001 16.1592 8.75001 15.8546 8.72923C15.5375 8.7076 15.238 8.66095 14.9476 8.54067C14.2738 8.26156 13.7384 7.72621 13.4593 7.05238C13.339 6.76199 13.2924 6.46247 13.2708 6.14537C13.25 5.84075 13.25 5.46972 13.25 5.02526V4.97475C13.25 4.53029 13.25 4.15925 13.2708 3.85464C13.2924 3.53754 13.339 3.23801 13.4593 2.94762C13.7384 2.27379 14.2738 1.73844 14.9476 1.45933C15.238 1.33905 15.5375 1.29241 15.8546 1.27077C16.1592 1.24999 16.5303 1.24999 16.9747 1.25H19.0253Z" fill="white"/>\n  </svg>\n  ',analyticsOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M7 17V13" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  <path d="M12 17V7" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  <path d="M17 17V11" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  <path d="M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z" stroke="#E7EAF0" stroke-width="1.5" stroke-linejoin="round"/>\n  </svg>',analyticsSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M17.312 1.93059C15.9686 1.74998 14.2479 1.74999 12.0572 1.75H11.9428C9.75212 1.74999 8.03144 1.74998 6.68802 1.93059C5.31137 2.11568 4.21911 2.50271 3.36091 3.36091C2.50271 4.21911 2.11568 5.31137 1.93059 6.68802C1.74998 8.03144 1.74999 9.75212 1.75 11.9428V12.0572C1.74999 14.2479 1.74998 15.9686 1.93059 17.312C2.11568 18.6886 2.50271 19.7809 3.36091 20.6391C4.21911 21.4973 5.31137 21.8843 6.68802 22.0694C8.03144 22.25 9.7521 22.25 11.9428 22.25H12.0572C14.2479 22.25 15.9686 22.25 17.312 22.0694C18.6886 21.8843 19.7809 21.4973 20.6391 20.6391C21.4973 19.7809 21.8843 18.6886 22.0694 17.312C22.25 15.9686 22.25 14.2479 22.25 12.0572V11.9428C22.25 9.7521 22.25 8.03144 22.0694 6.68802C21.8843 5.31137 21.4973 4.21911 20.6391 3.36091C19.7809 2.50271 18.6886 2.11568 17.312 1.93059ZM7.75 13C7.75 12.5858 7.41421 12.25 7 12.25C6.58579 12.25 6.25 12.5858 6.25 13V17C6.25 17.4142 6.58579 17.75 7 17.75C7.41421 17.75 7.75 17.4142 7.75 17V13ZM12 6.25C12.4142 6.25 12.75 6.58579 12.75 7V17C12.75 17.4142 12.4142 17.75 12 17.75C11.5858 17.75 11.25 17.4142 11.25 17V7C11.25 6.58579 11.5858 6.25 12 6.25ZM17.75 11C17.75 10.5858 17.4142 10.25 17 10.25C16.5858 10.25 16.25 10.5858 16.25 11V17C16.25 17.4142 16.5858 17.75 17 17.75C17.4142 17.75 17.75 17.4142 17.75 17V11Z" fill="white"/>\n  </svg>',webbuilderOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z" stroke="#E7EAF0" stroke-width="1.5"/>\n  <path d="M2.5 9H21.5" stroke="#E7EAF0" stroke-width="1.5" stroke-linejoin="round"/>\n  <path d="M13 13H17" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M13 17H15" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M7 6H7.00898" stroke="#E7EAF0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M11 6H11.009" stroke="#E7EAF0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M9 9V21.5" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  </svg>',webbuilderSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M11.9435 1.75H12.0579C14.2486 1.74999 15.9693 1.74998 17.3127 1.93059C18.6893 2.11568 19.7816 2.50272 20.6398 3.36091C21.498 4.21911 21.885 5.31137 22.0701 6.68802C22.1095 6.98118 22.1403 7.29229 22.1644 7.62234C22.1856 7.91313 22.1963 8.05853 22.1073 8.15427C22.0183 8.25 21.8698 8.25 21.5728 8.25H2.42863C2.13164 8.25 1.98315 8.25 1.89415 8.15427C1.80515 8.05853 1.81576 7.91313 1.83698 7.62234C1.86107 7.29229 1.89188 6.98118 1.9313 6.68802C2.11638 5.31137 2.50342 4.21911 3.36161 3.36091C4.21981 2.50272 5.31207 2.11568 6.68872 1.93059C8.03214 1.74998 9.75282 1.74999 11.9435 1.75ZM22.1566 9.83722C22.2444 9.92444 22.2452 10.0638 22.2469 10.3424C22.25 10.8458 22.25 11.3787 22.25 11.9428V12.0572C22.25 14.2479 22.25 15.9686 22.0694 17.312C21.8843 18.6886 21.4973 19.7809 20.6391 20.6391C19.7809 21.4973 18.6886 21.8843 17.312 22.0694C15.9686 22.25 14.2479 22.25 12.0572 22.25H11.9428C11.3789 22.25 10.8456 22.25 10.3424 22.2469C10.0638 22.2452 9.92444 22.2444 9.83722 22.1566C9.75 22.0689 9.75 21.9289 9.75 21.649V10.35C9.75 10.0672 9.75 9.92574 9.83787 9.83787C9.92574 9.75 10.0672 9.75 10.35 9.75H21.649C21.9289 9.75 22.0689 9.75 22.1566 9.83722ZM7.65 9.75C7.93284 9.75 8.07426 9.75 8.16213 9.83787C8.25 9.92574 8.25 10.0672 8.25 10.35V21.5721C8.25 21.8691 8.25 22.0176 8.15427 22.1066C8.05853 22.1956 7.91313 22.1849 7.62234 22.1637C7.29229 22.1396 6.98118 22.1088 6.68802 22.0694C5.31137 21.8843 4.21911 21.4973 3.36091 20.6391C2.50272 19.7809 2.11568 18.6886 1.93059 17.312C1.74998 15.9686 1.74999 14.2479 1.75 12.0572V11.9428C1.75 11.3788 1.74999 10.8457 1.75307 10.3424C1.75478 10.0638 1.75563 9.92444 1.84339 9.83722C1.93114 9.75 2.07108 9.75 2.35096 9.75H7.65ZM12.25 13C12.25 12.5858 12.5858 12.25 13 12.25H17C17.4142 12.25 17.75 12.5858 17.75 13C17.75 13.4142 17.4142 13.75 17 13.75H13C12.5858 13.75 12.25 13.4142 12.25 13ZM13 16.25C12.5858 16.25 12.25 16.5858 12.25 17C12.25 17.4142 12.5858 17.75 13 17.75H15C15.4142 17.75 15.75 17.4142 15.75 17C15.75 16.5858 15.4142 16.25 15 16.25H13ZM6 5C6 4.44772 6.44571 4 6.99553 4H7.00447C7.55429 4 8 4.44772 8 5C8 5.55228 7.55429 6 7.00447 6H6.99553C6.44571 6 6 5.55228 6 5ZM10.9955 4C10.4457 4 10 4.44772 10 5C10 5.55228 10.4457 6 10.9955 6H11.0045C11.5543 6 12 5.55228 12 5C12 4.44772 11.5543 4 11.0045 4H10.9955Z" fill="white"/>\n  </svg>',coursesOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M12 22L10 16H2L4 22H12ZM12 22H16" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M12 13V12.5C12 10.6144 12 9.67157 11.4142 9.08579C10.8284 8.5 9.88562 8.5 8 8.5C6.11438 8.5 5.17157 8.5 4.58579 9.08579C4 9.67157 4 10.6144 4 12.5V13" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M19 13C19 14.1046 18.1046 15 17 15C15.8954 15 15 14.1046 15 13C15 11.8954 15.8954 11 17 11C18.1046 11 19 11.8954 19 13Z" stroke="#E7EAF0" stroke-width="1.5"/>\n  <path d="M10 4C10 5.10457 9.10457 6 8 6C6.89543 6 6 5.10457 6 4C6 2.89543 6.89543 2 8 2C9.10457 2 10 2.89543 10 4Z" stroke="#E7EAF0" stroke-width="1.5"/>\n  <path d="M14 17.5H20C21.1046 17.5 22 18.3954 22 19.5V20C22 21.1046 21.1046 22 20 22H19" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  </svg>',coursesSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M8 7.75C8.89848 7.74997 9.6997 7.74995 10.2945 7.82991C10.9223 7.91432 11.4891 8.09999 11.9445 8.55546C12.4 9.01093 12.5857 9.57773 12.6701 10.2055C12.7501 10.8003 12.75 11.5495 12.75 12.448V13C12.75 13.4142 12.4142 13.75 12 13.75H4C3.58579 13.75 3.25 13.4142 3.25 13V12.448C3.24997 11.5495 3.24995 10.8003 3.32991 10.2055C3.41432 9.57773 3.59999 9.01093 4.05546 8.55546C4.51093 8.09999 5.07773 7.91432 5.70552 7.82991C6.3003 7.74995 7.10152 7.74997 8 7.75Z" fill="white"/>\n  <path d="M14.25 13C14.25 11.4812 15.4812 10.25 17 10.25C18.5188 10.25 19.75 11.4812 19.75 13C19.75 14.5188 18.5188 15.75 17 15.75C15.4812 15.75 14.25 14.5188 14.25 13Z" fill="white"/>\n  <path d="M5.25 4C5.25 2.48122 6.48122 1.25 8 1.25C9.51878 1.25 10.75 2.48122 10.75 4C10.75 5.51878 9.51878 6.75 8 6.75C6.48122 6.75 5.25 5.51878 5.25 4Z" fill="white"/>\n  <path d="M1.43448 15.6393C1.61815 15.3949 1.91314 15.25 2.22728 15.25H10.0455C10.4661 15.25 10.8396 15.5082 10.9726 15.891L12.7044 20.875H15.5227C16.0625 20.875 16.5 21.2947 16.5 21.8125C16.5 22.3303 16.0625 22.75 15.5227 22.75H3.47745L1.30016 16.484C1.20082 16.1981 1.2508 15.8838 1.43448 15.6393Z" fill="white"/>\n  <path d="M12.9766 17.5938C12.9766 17.076 13.4141 16.6562 13.9538 16.6562H19.8175C21.4367 16.6562 22.7493 17.9154 22.7493 19.4688V19.9375C22.7493 21.4908 21.4367 22.75 19.8175 22.75H18.9766C18.4368 22.75 17.9993 22.3303 17.9993 21.8125C17.9993 21.2947 18.4368 20.875 18.9766 20.875H19.8175C20.3572 20.875 20.7948 20.4553 20.7948 19.9375V19.4688C20.7948 18.951 20.3572 18.5312 19.8175 18.5312H13.9538C13.4141 18.5312 12.9766 18.1115 12.9766 17.5938Z" fill="white"/>\n  </svg>',productsServicesOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M2 13.4286V8H22V13.4286C22 17.4692 22 19.4895 20.6983 20.7447C19.3965 22 17.3014 22 13.1111 22H10.8889C6.69863 22 4.6035 22 3.30175 20.7447C2 19.4895 2 17.4692 2 13.4286Z" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M2 8L2.96154 5.69231C3.70726 3.90257 4.08013 3.0077 4.8359 2.50385C5.59167 2 6.56112 2 8.5 2H15.5C17.4389 2 18.4083 2 19.1641 2.50385C19.9199 3.0077 20.2927 3.90257 21.0385 5.69231L22 8" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  <path d="M12 8V2" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  <path d="M10 12H14" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  </svg>',productsServicesSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M8.52755 1.25H15.4724C16.3754 1.24998 17.1309 1.24996 17.75 1.31454C18.4047 1.38284 18.9966 1.53023 19.5432 1.87979C20.0898 2.22936 20.4593 2.69681 20.7768 3.2503C21.0771 3.77368 21.3676 4.44256 21.7149 5.24222L22.6746 7.45172C22.7397 7.60176 22.7612 7.75879 22.7446 7.9098C22.7482 7.93937 22.75 7.96947 22.75 8V13.4872C22.75 15.4578 22.75 17.0159 22.5801 18.2347C22.4051 19.4901 22.037 20.4957 21.2189 21.2846C20.4045 22.0699 19.3729 22.4198 18.0843 22.5869C16.8258 22.75 15.2146 22.75 13.1662 22.75H10.8338C8.78537 22.75 7.17418 22.75 5.9157 22.5869C4.6271 22.4198 3.59552 22.0699 2.78115 21.2846C1.96296 20.4957 1.59493 19.4901 1.41991 18.2347C1.24997 17.0159 1.24998 15.4578 1.25 13.4872V8C1.25 7.96947 1.25182 7.93937 1.25537 7.90979C1.23877 7.75879 1.26026 7.60176 1.32543 7.45172L2.28512 5.24222C2.63242 4.44256 2.92293 3.77368 3.22319 3.2503C3.54072 2.69681 3.91021 2.22936 4.45681 1.87979C5.0034 1.53023 5.59532 1.38284 6.25004 1.31454C6.86913 1.24996 7.62453 1.24998 8.52755 1.25ZM3.53042 7.25H11V3.12494H8.57963C7.61098 3.12494 6.96239 3.12622 6.46133 3.17849C5.98402 3.22828 5.73295 3.31706 5.54097 3.43984C5.34898 3.56262 5.16699 3.75079 4.9355 4.1543C4.69249 4.57789 4.4418 5.15172 4.06924 6.00946L3.53042 7.25ZM13 7.25H20.4696L19.9308 6.00946C19.5582 5.15172 19.3075 4.57789 19.0645 4.1543C18.833 3.75079 18.651 3.56262 18.459 3.43984C18.2671 3.31706 18.016 3.22828 17.5387 3.17849C17.0376 3.12622 16.389 3.12494 15.4204 3.12494H13V7.25ZM9 12C9 11.4477 9.44772 11 10 11H14C14.5523 11 15 11.4477 15 12C15 12.5523 14.5523 13 14 13H10C9.44772 13 9 12.5523 9 12Z" fill="white"/>\n  </svg>',usersOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M20.774 18C21.5233 18 22.1193 17.5285 22.6545 16.8691C23.7499 15.5194 21.9513 14.4408 21.2654 13.9126C20.568 13.3756 19.7894 13.0714 19 13M18 11C19.3807 11 20.5 9.88071 20.5 8.5C20.5 7.11929 19.3807 6 18 6" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  <path d="M3.22596 18C2.47666 18 1.88067 17.5285 1.34555 16.8691C0.250087 15.5194 2.04867 14.4408 2.73465 13.9126C3.43197 13.3756 4.21058 13.0714 5 13M5.5 11C4.11929 11 3 9.88071 3 8.5C3 7.11929 4.11929 6 5.5 6" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  <path d="M8.0838 15.1112C7.06203 15.743 4.38299 17.0331 6.0147 18.6474C6.81178 19.436 7.69952 20 8.81563 20H15.1844C16.3005 20 17.1882 19.436 17.9853 18.6474C19.617 17.0331 16.938 15.743 15.9162 15.1112C13.5201 13.6296 10.4799 13.6296 8.0838 15.1112Z" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M15.5 7.5C15.5 9.433 13.933 11 12 11C10.067 11 8.5 9.433 8.5 7.5C8.5 5.567 10.067 4 12 4C13.933 4 15.5 5.567 15.5 7.5Z" stroke="#E7EAF0" stroke-width="1.5"/>\n  </svg>',usersSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M7.50337 13.1474C7.21627 13.3013 6.93491 13.4624 6.72814 13.5903C6.23354 13.8795 5.30191 14.4241 4.62889 15.1082C4.19456 15.5497 3.6236 16.2837 3.51733 17.2933C3.48451 17.6051 3.49934 17.9036 3.55304 18.1871C3.60678 18.4709 3.63366 18.6128 3.56186 18.6872C3.49006 18.7616 3.37042 18.7434 3.13114 18.707C2.10732 18.5512 1.41543 17.9931 0.847642 17.3845C0.423078 16.9295 0.203787 16.4061 0.258175 15.8464C0.30924 15.3208 0.59019 14.8976 0.871177 14.5882C1.31466 14.0998 1.96834 13.686 2.35981 13.4381C2.44345 13.3852 2.51514 13.3398 2.57023 13.3029C4.04765 12.3132 5.8097 12.0212 7.45505 12.427C7.84296 12.5226 8.03691 12.5704 8.05406 12.7068C8.0712 12.8431 7.88193 12.9445 7.50337 13.1474Z" fill="white"/>\n  <path d="M6.48741 5.28631C6.67712 5.31484 6.77197 5.3291 6.8207 5.4079C6.86944 5.48671 6.83547 5.59136 6.76754 5.80068C6.59386 6.33583 6.5 6.90695 6.5 7.5C6.5 8.73995 6.91032 9.88407 7.60259 10.804C7.73465 10.9795 7.80068 11.0672 7.78033 11.1575C7.75999 11.2478 7.67509 11.2922 7.5053 11.3811C7.05526 11.6167 6.5432 11.75 6 11.75C4.20507 11.75 2.75 10.2949 2.75 8.5C2.75 6.70507 4.20507 5.25 6 5.25C6.16566 5.25 6.32842 5.26239 6.48741 5.28631Z" fill="white"/>\n  <path d="M16.4971 13.1474C16.7842 13.3013 17.0656 13.4624 17.2723 13.5903C17.767 13.8795 18.6986 14.4241 19.3716 15.1082C19.8059 15.5497 20.3769 16.2837 20.4832 17.2933C20.516 17.6051 20.5011 17.9036 20.4474 18.1871C20.3937 18.4709 20.3668 18.6128 20.4386 18.6872C20.5104 18.7616 20.6301 18.7434 20.8694 18.707C21.8932 18.5512 22.5851 17.9931 23.1528 17.3845C23.5774 16.9295 23.7967 16.4061 23.7423 15.8464C23.6912 15.3208 23.4103 14.8976 23.1293 14.5882C22.6858 14.0998 22.0322 13.686 21.6407 13.4381C21.557 13.3852 21.4853 13.3398 21.4303 13.3029C19.9528 12.3132 18.1908 12.0212 16.5454 12.427C16.1575 12.5226 15.9636 12.5704 15.9464 12.7068C15.9293 12.8431 16.1186 12.9445 16.4971 13.1474Z" fill="white"/>\n  <path d="M16.4001 10.804C16.268 10.9795 16.202 11.0672 16.2224 11.1575C16.2427 11.2478 16.3276 11.2922 16.4974 11.3811C16.9474 11.6167 17.4595 11.75 18.0027 11.75C19.7976 11.75 21.2527 10.2949 21.2527 8.5C21.2527 6.70507 19.7976 5.25 18.0027 5.25C17.837 5.25 17.6743 5.26239 17.5153 5.28631C17.3256 5.31484 17.2307 5.3291 17.182 5.4079C17.1333 5.48671 17.1672 5.59136 17.2352 5.80068C17.4088 6.33583 17.5027 6.90695 17.5027 7.5C17.5027 8.73995 17.0924 9.88407 16.4001 10.804Z" fill="white"/>\n  <path d="M7.68951 14.4733C10.3272 12.8422 13.673 12.8422 16.3107 14.4733C16.3885 14.5214 16.487 14.579 16.6002 14.6452C17.1125 14.945 17.9256 15.4208 18.4806 15.9849C18.8291 16.3391 19.1767 16.8221 19.24 17.4242C19.3079 18.0683 19.0345 18.6646 18.5129 19.1806C17.6513 20.033 16.5839 20.75 15.1845 20.75H8.81578C7.41632 20.75 6.34899 20.033 5.48737 19.1806C4.9658 18.6646 4.6924 18.0683 4.7602 17.4242C4.82358 16.8221 5.17118 16.3391 5.5197 15.9849C6.0746 15.4208 6.88779 14.945 7.40006 14.6452C7.51323 14.579 7.61175 14.5214 7.68951 14.4733Z" fill="white"/>\n  <path d="M7.75 7.5C7.75 5.15279 9.65279 3.25 12.0001 3.25C14.3472 3.25 16.2501 5.15279 16.2501 7.5C16.2501 9.84721 14.3472 11.75 12.0001 11.75C9.65279 11.75 7.75 9.84721 7.75 7.5Z" fill="white"/>\n  </svg>',marketingOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M14.9263 4.41103L8.27352 7.60452C7.76151 7.85029 7.21443 7.91187 6.65675 7.78693C6.29177 7.70517 6.10926 7.66429 5.9623 7.64751C4.13743 7.43912 3 8.88342 3 10.5443V11.4557C3 13.1166 4.13743 14.5609 5.9623 14.3525C6.10926 14.3357 6.29178 14.2948 6.65675 14.2131C7.21443 14.0881 7.76151 14.1497 8.27352 14.3955L14.9263 17.589C16.4534 18.3221 17.217 18.6886 18.0684 18.4029C18.9197 18.1172 19.2119 17.5041 19.7964 16.278C21.4012 12.9112 21.4012 9.08885 19.7964 5.72196C19.2119 4.49586 18.9197 3.88281 18.0684 3.5971C17.217 3.3114 16.4534 3.67794 14.9263 4.41103Z" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M13 17V17.5C13 18.7841 13 19.4261 12.776 19.7886C12.4773 20.2719 11.9312 20.545 11.3653 20.4939C10.9409 20.4557 10.4273 20.0704 9.4 19.3L8.2 18.4C7.22253 17.6669 7 17.2218 7 16V14.5" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M7.5 14V8" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  </svg>',marketingSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M8.25 6.25013C8.25 5.94617 8.25 5.79419 8.32601 5.67259C8.40202 5.55098 8.53863 5.48439 8.81186 5.35122L15.1701 2.25213C16.8246 1.44574 17.6518 1.04254 18.5741 1.35681C19.4964 1.67109 19.8129 2.34544 20.4461 3.69416C22.1846 7.39773 22.1846 11.6023 20.4461 15.3058C19.8129 16.6546 19.4964 17.3289 18.5741 17.6432C17.6518 17.9575 16.8246 17.5543 15.1701 16.7479L8.81186 13.6488C8.53863 13.5156 8.40202 13.449 8.32601 13.3274C8.25 13.2058 8.25 13.0538 8.25 12.7499V6.25013Z" fill="white"/>\n  <path d="M6.75 6.57854C6.75 6.50527 6.75 6.46863 6.7485 6.44931C6.73013 6.2127 6.62495 6.0809 6.3983 6.01051C6.3798 6.00476 6.32369 5.992 6.21148 5.96647C5.81616 5.87656 5.61835 5.83156 5.45916 5.81311C3.48222 5.58388 2.25 7.17262 2.25 8.99954V10.0021C2.25 11.829 3.48222 13.4178 5.45916 13.1885C5.61835 13.1701 5.81606 13.1251 6.21136 13.0352C6.32367 13.0097 6.37983 12.9969 6.39837 12.9911C6.62494 12.9207 6.73009 12.789 6.74849 12.5524C6.75 12.5331 6.75 12.4964 6.75 12.423V6.57854Z" fill="white"/>\n  <path d="M9.91624 15.9033C10.3623 16.6113 10.9223 17.1232 11.6033 17.5693C12.8574 18.3907 13.2525 20.2631 11.9346 21.3493L10.4433 22.5784C10.1704 22.8033 9.77737 22.807 9.50025 22.5872C7.76024 21.2072 6.87686 20.0933 6.50219 18.5783C6.32275 17.8528 6.26814 17.0682 6.25385 16.1787C6.24665 15.7305 6.25085 15.1153 6.25593 14.5413C6.25715 14.4029 6.35339 14.2836 6.48834 14.2529C6.81637 14.1783 7.11787 14.2135 7.41494 14.3583L9.48067 15.3651C9.56867 15.408 9.61268 15.4295 9.64628 15.4614C9.67989 15.4934 9.70534 15.5396 9.75623 15.6319C9.80817 15.7261 9.86154 15.8165 9.91624 15.9033Z" fill="white"/>\n  </svg>',dealsSalesOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M10.9961 10H11.0111M10.9998 16H11.0148" stroke="#E7EAF0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M7 13H15" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M17.5 5C18.3284 5 19 5.67157 19 6.5C19 7.32843 18.3284 8 17.5 8C16.6716 8 16 7.32843 16 6.5C16 5.67157 16.6716 5 17.5 5Z" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M2.77423 11.1439C1.77108 12.2643 1.7495 13.9546 2.67016 15.1437C4.49711 17.5033 6.49674 19.5029 8.85633 21.3298C10.0454 22.2505 11.7357 22.2289 12.8561 21.2258C15.8979 18.5022 18.6835 15.6559 21.3719 12.5279C21.6377 12.2187 21.8039 11.8397 21.8412 11.4336C22.0062 9.63798 22.3452 4.46467 20.9403 3.05974C19.5353 1.65481 14.362 1.99377 12.5664 2.15876C12.1603 2.19608 11.7813 2.36233 11.472 2.62811C8.34412 5.31646 5.49781 8.10211 2.77423 11.1439Z" stroke="#E7EAF0" stroke-width="1.5"/>\n  </svg>\n  ',dealsSalesSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M21.4705 2.5294C20.9663 2.0252 20.2081 1.74401 19.4595 1.57208C18.6861 1.39446 17.8009 1.30725 16.9309 1.27116C15.1884 1.19887 13.4078 1.32827 12.4977 1.4119C11.9298 1.46408 11.4053 1.69644 10.9831 2.05931C7.83082 4.76863 4.9611 7.57712 2.21543 10.6436C0.959114 12.0467 0.945789 14.1417 2.07709 15.6028C3.94283 18.0125 5.98744 20.0571 8.39712 21.9228C9.85825 23.0541 11.9532 23.0408 13.3563 21.7845C16.4228 19.0388 19.2313 16.1691 21.9406 13.0168C22.3035 12.5946 22.5359 12.0702 22.588 11.5022C22.6717 10.5921 22.8011 8.81159 22.7288 7.06907C22.6927 6.19907 22.6055 5.3138 22.4279 4.54046C22.2559 3.79184 21.9747 3.0336 21.4705 2.5294ZM10.9961 8C10.4438 8 9.99609 8.44771 9.99609 9C9.99609 9.55228 10.4438 10 10.9961 10H11.0111C11.5633 10 12.0111 9.55228 12.0111 9C12.0111 8.44771 11.5633 8 11.0111 8H10.9961ZM10.9998 16C10.4475 16 9.9998 16.4477 9.9998 17C9.9998 17.5523 10.4475 18 10.9998 18H11.0148C11.5671 18 12.0148 17.5523 12.0148 17C12.0148 16.4477 11.5671 16 11.0148 16H10.9998ZM6 13C6 12.4477 6.44772 12 7 12H15C15.5523 12 16 12.4477 16 13C16 13.5523 15.5523 14 15 14H7C6.44772 14 6 13.5523 6 13ZM17.5 5C18.3284 5 19 5.67157 19 6.5C19 7.32843 18.3284 8 17.5 8C16.6716 8 16 7.32843 16 6.5C16 5.67157 16.6716 5 17.5 5Z" fill="white"/>\n  </svg>',siteSettingsOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M2.25416 15.6322C2.28812 15.309 2.52233 15.0485 2.99076 14.5276L4.02183 13.3749C4.27386 13.0558 4.45271 12.5 4.45271 11.9998C4.45271 11.5 4.2738 10.944 4.0218 10.625L2.99076 9.47231C2.52233 8.95137 2.28811 8.6909 2.25416 8.36768C2.2202 8.04446 2.39516 7.74083 2.74507 7.13358L3.23865 6.27698C3.61195 5.62915 3.79859 5.30523 4.11617 5.17607C4.43375 5.0469 4.79291 5.14883 5.51125 5.35267L6.73148 5.69637C7.19009 5.80212 7.67124 5.74213 8.08999 5.52698L8.42687 5.33261C8.78595 5.10262 9.06215 4.76352 9.21503 4.36493L9.54899 3.36754C9.76856 2.70753 9.87835 2.37752 10.1397 2.18876C10.4011 2 10.7483 2 11.4426 2H12.5574C13.2518 2 13.599 2 13.8603 2.18876C14.1217 2.37752 14.2315 2.70753 14.4511 3.36754L14.785 4.36493C14.9379 4.76352 15.2141 5.10262 15.5732 5.33261L15.9101 5.52698C16.3288 5.74213 16.81 5.80212 17.2686 5.69637L18.4888 5.35267C19.2071 5.14883 19.5663 5.0469 19.8839 5.17607C20.2015 5.30523 20.3881 5.62915 20.7614 6.27698L21.255 7.13358C21.6049 7.74083 21.7798 8.04446 21.7459 8.36768C21.7119 8.6909 21.4777 8.95137 21.0093 9.47231L19.9782 10.625C19.7263 10.944 19.5473 11.5 19.5473 11.9998C19.5473 12.5 19.7262 13.0558 19.9782 13.3749L21.0093 14.5276C21.4777 15.0485 21.7119 15.309 21.7459 15.6322C21.7798 15.9555 21.6049 16.2591 21.255 16.8663L20.7614 17.7229C20.3881 18.3707 20.2015 18.6947 19.8839 18.8238C19.5663 18.953 19.2071 18.8511 18.4888 18.6472L17.2686 18.3035C16.8099 18.1977 16.3287 18.2578 15.9099 18.473L15.5731 18.6674C15.214 18.8974 14.9379 19.2364 14.7851 19.635L14.4511 20.6325C14.2315 21.2925 14.1217 21.6225 13.8603 21.8112C13.599 22 13.2518 22 12.5574 22H11.4426C10.7483 22 10.4011 22 10.1397 21.8112C9.87835 21.6225 9.76856 21.2925 9.54899 20.6325" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  <path d="M2.7389 18.7798C3.8189 17.6998 7.49091 14.0638 7.85091 13.6438C8.23148 13.1998 7.92291 12.5998 8.10651 10.7398C8.19534 9.8398 8.38894 9.16555 8.94291 8.6638C9.60291 8.0398 10.1429 8.0398 12.0029 7.99781C13.6229 8.0398 13.8149 7.8598 13.9829 8.27981C14.1029 8.57981 13.7429 8.7598 13.3109 9.23981C12.3509 10.1998 11.7869 10.6798 11.7329 10.9798C11.3429 12.2998 12.8789 13.0798 13.7189 12.2398C14.0366 11.9221 15.5069 10.4398 15.6509 10.3198C15.7589 10.2238 16.0175 10.2284 16.1429 10.3798C16.2509 10.4859 16.2629 10.4998 16.2509 10.9798C16.2398 11.4241 16.2448 12.062 16.2461 12.7198C16.2479 13.5721 16.2029 14.5198 15.8429 14.9998C15.1229 16.0798 13.9229 16.1398 12.8429 16.1878C11.8229 16.2478 10.9829 16.1398 10.7189 16.3318C10.5029 16.4398 9.36291 17.6398 7.98291 19.0198L5.52291 21.4798C3.48291 23.0998 1.23891 20.5798 2.7389 18.7798Z" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  </svg>',siteSettingsSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M11.414 1.25001H12.586C12.8889 1.24994 13.1924 1.24988 13.4503 1.2794C13.7451 1.31314 14.0762 1.39358 14.3889 1.61948C14.7013 1.84526 14.8818 2.13435 15.0067 2.40349L15.6386 4.20475C15.7122 4.3869 15.8386 4.5423 16.0012 4.65093L16.2831 4.81368C16.477 4.90844 16.6967 4.93578 16.9076 4.89153L18.0712 4.5636L18.0722 4.56331C18.3859 4.47417 18.74 4.37358 19.0128 4.33024C19.324 4.28081 19.6874 4.27083 20.0685 4.42591C20.4494 4.58092 20.7027 4.84176 20.8912 5.09424C21.0566 5.31577 21.7438 6.50931 21.9069 6.7925C22.0596 7.05762 22.2124 7.32284 22.3164 7.56297C22.435 7.83719 22.5311 8.16642 22.4906 8.55233C22.45 8.93829 22.2877 9.24036 22.1146 9.48392C21.963 9.69712 21.7584 9.92467 21.554 10.1521L20.5472 11.2781C20.4615 11.4005 20.3485 11.7044 20.3485 11.9998C20.3485 12.2956 20.4615 12.5994 20.5472 12.7218C20.7516 12.9492 21.963 14.3028 22.1146 14.516C22.2877 14.7596 22.45 15.0616 22.4906 15.4476C22.5311 15.8335 22.435 16.1627 22.3163 16.437C22.2124 16.6771 22.0596 16.9423 21.9069 17.2074C21.9069 17.2074 21.0566 18.6841 20.8912 18.9057C20.7027 19.1581 20.4494 19.419 20.0685 19.574C19.6874 19.7291 19.3239 19.7191 19.0128 19.6697C18.7399 19.6263 18.4274 19.5375 18.1137 19.4484L16.9076 19.1083C16.6967 19.0641 16.4769 19.0914 16.283 19.1862L16.0011 19.349C15.8386 19.4576 15.7122 19.613 15.6386 19.7952L15.3077 20.7842C15.3077 20.7842 15.1161 21.3608 15.0067 21.5965C14.8819 21.8657 14.7013 22.1547 14.3889 22.3805C14.0762 22.6064 13.7451 22.6869 13.4503 22.7206C13.1924 22.7501 12.8889 22.7501 12.586 22.75H11.414C11.1111 22.7501 10.8076 22.7501 10.5497 22.7206C10.2549 22.6869 9.92375 22.6064 9.61112 22.3805C9.29866 22.1547 9.11815 21.8657 8.99325 21.5965C8.88387 21.3608 8.67917 20.7447 8.67917 20.7447C8.50889 20.2326 8.78579 19.6793 9.29764 19.5089C9.8095 19.3386 10.3625 19.6156 10.5328 20.1278C10.6471 20.4716 10.7084 20.6513 10.7651 20.7734C11.1267 20.7734 13.0951 20.794 13.2283 20.7787L13.8083 19.1115C14.0321 18.5275 14.4367 18.0303 14.963 17.6929L15.3724 17.4567C15.9866 17.1408 16.6926 17.0527 17.3655 17.208C17.7392 17.3141 19.1759 17.7166 19.3191 17.7393L20.5226 15.6488C20.444 15.5382 20.3173 15.395 20.0734 15.1236L19.0261 13.9494C18.6205 13.4356 18.395 12.6677 18.395 11.9998C18.395 11.3322 18.6206 10.5642 19.0262 10.0505L20.5226 8.35115C20.3285 8.01403 19.4131 6.3804 19.3261 6.26383L17.3655 6.79192C16.6927 6.94715 15.9868 6.85906 15.3727 6.54335L14.9633 6.3071C14.4368 5.96971 14.0321 5.47248 13.8083 4.88844C13.6939 4.5446 13.2916 3.34875 13.2349 3.22659C12.8733 3.22659 10.9049 3.20604 10.7717 3.22128L10.1917 4.88844C9.96785 5.47248 9.56324 5.96971 9.03675 6.3071L8.62728 6.54335C8.01315 6.85906 7.30732 6.94715 6.63452 6.79192C6.26083 6.68581 4.82407 6.28335 4.68089 6.2606L3.47739 8.35115C3.55599 8.46173 4.72993 9.77913 4.97382 10.0505C5.37938 10.5642 5.60497 11.3322 5.60497 11.9998C5.60497 12.6677 5.37948 13.4356 4.97385 13.9494L3.9283 15.1217L3.92659 15.1236C3.6827 15.395 3.52534 15.5843 3.44674 15.6949C3.36989 16.2093 2.90079 16.5765 2.37877 16.5216C1.84228 16.4652 1.45307 15.9844 1.50943 15.4476C1.54995 15.0616 1.71233 14.7596 1.88544 14.516C2.03699 14.3028 2.24157 14.0752 2.44602 13.8479L3.45282 12.7218C3.53851 12.5994 3.65149 12.2956 3.65149 11.9998C3.65149 11.7044 3.53848 11.4005 3.45279 11.2781C3.24834 11.0507 2.03699 9.69713 1.88544 9.48392C1.71233 9.24036 1.54995 8.9383 1.50943 8.55234C1.46891 8.16642 1.56497 7.83719 1.68365 7.56297C1.78757 7.32285 1.94038 7.05764 2.09313 6.79253L2.61819 5.88081C2.78121 5.5976 2.94344 5.31578 3.10881 5.09424C3.29728 4.84176 3.55062 4.58092 3.93153 4.42591C4.31261 4.27083 4.67604 4.28081 4.98721 4.33024C5.26004 4.37358 5.61423 4.47422 5.92793 4.56336L7.0924 4.89152C7.30334 4.93578 7.52303 4.90844 7.71693 4.81368L7.99885 4.65093C8.16138 4.5423 8.28785 4.3869 8.36142 4.20475L8.67917 3.25525C8.77492 2.96708 8.88387 2.63921 8.99325 2.40349C9.11815 2.13435 9.29865 1.84526 9.61112 1.61948C9.92375 1.39358 10.2549 1.31314 10.5497 1.2794C10.8076 1.24988 11.1111 1.24994 11.414 1.25001Z" fill="white"/>\n  <path d="M15.4689 15.4283C14.7551 16.142 13.4892 16.2054 11.6044 16.2102C11.1937 16.2112 10.9883 16.2117 10.8052 16.2878C10.6222 16.364 10.4781 16.5081 10.1899 16.7962L5.55366 21.4332C4.7979 22.1889 3.57258 22.1889 2.81682 21.4332C2.06106 20.6774 2.06106 19.4521 2.81682 18.6963L7.45389 14.059C7.74201 13.7709 7.88607 13.6268 7.96217 13.4437C8.03826 13.2607 8.03879 13.0554 8.03983 12.6447C8.04463 10.761 8.10804 9.49463 8.82184 8.78095C9.63568 7.96724 9.99512 8.00018 13.6003 8.00018C13.9487 7.99869 14.1241 8.42003 13.8777 8.66638L12.0215 10.5228C11.5503 10.994 11.549 11.7579 12.0203 12.2291C12.4915 12.7002 13.2555 12.7002 13.7267 12.2292L15.5835 10.3732C15.8299 10.1269 16.2513 10.3023 16.2498 10.6506C16.2498 14.2552 16.2827 14.6146 15.4689 15.4283Z" fill="white"/>\n  </svg>',addonsOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M21.6191 2.46562C19.785 0.490413 5.9886 5.32901 6 7.09558C6.0129 9.09884 11.3879 9.71513 12.8777 10.1331C13.7735 10.3844 14.0135 10.6421 14.2201 11.5815C15.1556 15.8362 15.6254 17.9524 16.6959 17.9997C18.4023 18.0751 23.4091 4.39327 21.6191 2.46562Z" stroke="#E7EAF0" stroke-width="1.5"/>\n  <path d="M8.3 17.5H4.7M6.5 19.3V15.7M2 17.5C2 19.9853 4.0147 22 6.5 22C8.9853 22 11 19.9853 11 17.5C11 15.0147 8.9853 13 6.5 13C4.0147 13 2 15.0147 2 17.5Z" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  </svg>',addonsSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M5.5575 6.27536C5.4114 6.46652 5.2478 6.75077 5.25 7.1004C5.2557 7.97857 5.8542 8.58792 6.46 8.98418C7.0804 9.38997 7.8826 9.69253 8.6707 9.92753C9.4687 10.1655 10.3067 10.3496 11.0242 10.4983C11.5259 10.6005 12.4162 10.7826 12.6751 10.8552C13.0988 10.9741 13.2087 11.0567 13.2575 11.1093C13.3098 11.1657 13.3886 11.2923 13.4876 11.7426L13.4896 11.7517C13.9519 13.8541 14.313 15.4964 14.6984 16.613C14.8908 17.1705 15.1108 17.6642 15.3949 18.0329C15.6931 18.42 16.1089 18.7245 16.6628 18.7489C17.0189 18.7647 17.3092 18.6021 17.4993 18.4609C17.7009 18.3112 17.8871 18.113 18.0563 17.9016C18.3968 17.4763 18.7512 16.8921 19.1013 16.2231C19.8056 14.8772 20.5497 13.076 21.1788 11.2251C21.8076 9.3752 22.3326 7.44262 22.5859 5.83323C22.7122 5.03098 22.7756 4.28056 22.7404 3.64796C22.7073 3.05346 22.5804 2.39857 22.1687 1.95526C21.7443 1.49817 21.0894 1.33595 20.4929 1.27845C19.8609 1.21753 19.1089 1.25834 18.3057 1.36369C16.694 1.57509 14.751 2.06371 12.8877 2.66349C11.023 3.26372 9.2032 3.98654 7.8379 4.68051C7.159 5.02559 6.565 5.37727 6.1301 5.71803C5.9137 5.88759 5.7116 6.07373 5.5575 6.27536Z" fill="white"/>\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M6.5 12.25C9.3995 12.25 11.75 14.6005 11.75 17.5C11.75 20.3995 9.3995 22.75 6.5 22.75C3.6005 22.75 1.25 20.3995 1.25 17.5C1.25 14.6005 3.6005 12.25 6.5 12.25ZM5.5008 15.6992C5.5008 15.1469 5.9485 14.6992 6.5008 14.6992C7.0531 14.6992 7.5008 15.1469 7.5008 15.6992V16.4992H8.3008C8.8531 16.4992 9.3008 16.9469 9.3008 17.4992C9.3008 18.0515 8.8531 18.4992 8.3008 18.4992H7.5008V19.2992C7.5008 19.8515 7.0531 20.2992 6.5008 20.2992C5.9485 20.2992 5.5008 19.8515 5.5008 19.2992V18.4992H4.7008C4.1485 18.4992 3.7008 18.0515 3.7008 17.4992C3.7008 16.9469 4.1485 16.4992 4.7008 16.4992H5.5008V15.6992Z" fill="white"/>\n  </svg>',earnMoneyOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M20.9427 16.8354C20.2864 12.8866 18.2432 9.94613 16.467 8.219C15.9501 7.71642 15.6917 7.46513 15.1208 7.23257C14.5499 7 14.0592 7 13.0778 7H10.9222C9.94081 7 9.4501 7 8.87922 7.23257C8.30834 7.46513 8.04991 7.71642 7.53304 8.219C5.75682 9.94613 3.71361 12.8866 3.05727 16.8354C2.56893 19.7734 5.27927 22 8.30832 22H15.6917C18.7207 22 21.4311 19.7734 20.9427 16.8354Z" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M7.25662 4.44287C7.05031 4.14258 6.75128 3.73499 7.36899 3.64205C8.00392 3.54651 8.66321 3.98114 9.30855 3.97221C9.89237 3.96413 10.1898 3.70519 10.5089 3.33548C10.8449 2.94617 11.3652 2 12 2C12.6348 2 13.1551 2.94617 13.4911 3.33548C13.8102 3.70519 14.1076 3.96413 14.6914 3.97221C15.3368 3.98114 15.9961 3.54651 16.631 3.64205C17.2487 3.73499 16.9497 4.14258 16.7434 4.44287L15.8105 5.80064C15.4115 6.38146 15.212 6.67187 14.7944 6.83594C14.3769 7 13.8373 7 12.7582 7H11.2418C10.1627 7 9.6231 7 9.20556 6.83594C8.78802 6.67187 8.5885 6.38146 8.18945 5.80064L7.25662 4.44287Z" stroke="#E7EAF0" stroke-width="1.5" stroke-linejoin="round"/>\n  <path d="M13.6287 12.9181C13.4125 12.12 12.3121 11.3998 10.9912 11.9386C9.67024 12.4773 9.46043 14.2108 11.4585 14.395C12.3615 14.4782 12.9503 14.2984 13.4893 14.8071C14.0284 15.3157 14.1285 16.7303 12.7505 17.1115C11.3725 17.4927 10.008 16.8971 9.85938 16.0512M11.8437 10.9922V11.7526M11.8437 17.2288V17.9922" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  </svg>',earnMoneySolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M11.9998 1.25C11.3525 1.25 10.8875 1.65936 10.6412 1.90644C10.538 2.01 10.4421 2.13129 10.345 2.25393C10.1614 2.48602 9.97396 2.723 9.72609 2.85411C9.4601 2.99481 9.12871 2.89996 8.84338 2.8183C8.79272 2.8038 8.74349 2.78972 8.69636 2.77744C8.39842 2.69989 7.94432 2.58244 7.46313 2.64649C7.25403 2.67432 6.97966 2.74083 6.76709 2.9301C6.51535 3.15425 6.47471 3.43315 6.51152 3.64394C6.55631 3.9004 6.71515 4.11086 6.87107 4.31102L7.76339 5.4599L7.80362 5.51191C8.0202 5.79212 8.23886 6.07503 8.52664 6.28636C8.75302 6.4526 9.03947 6.5 9.32033 6.5H14.6792C14.9601 6.5 15.2465 6.4526 15.4729 6.28636C15.7607 6.07504 15.9793 5.79215 16.1959 5.51194L16.2362 5.4599L17.1285 4.31102C17.2844 4.11086 17.4432 3.90039 17.488 3.64394C17.5248 3.43315 17.4842 3.15425 17.2325 2.9301C17.0199 2.74083 16.7455 2.67432 16.5364 2.64649C16.0552 2.58244 15.6011 2.69989 15.3032 2.77744C15.2561 2.78972 15.2068 2.80381 15.1562 2.81831C14.8708 2.89996 14.5395 2.99481 14.2735 2.85411C14.0256 2.723 13.8381 2.48602 13.6545 2.25393C13.5574 2.13129 13.4615 2.01001 13.3583 1.90644C13.112 1.65936 12.647 1.25 11.9998 1.25ZM21.4341 16.8954C20.8806 13.5816 19.2509 10.4506 16.8357 8.11274C16.735 8.01526 16.6846 7.9665 16.5726 7.88473C16.3475 7.72042 15.9452 7.5576 15.6693 7.51914C15.5319 7.5 15.4331 7.5 15.2356 7.5H8.76433C8.56681 7.5 8.46805 7.5 8.3307 7.51914C8.05471 7.5576 7.6524 7.72042 7.42736 7.88473C7.3232 7.96078 7.23069 8.04847 7.13823 8.13796C5.3201 9.89741 3.23598 12.883 2.56588 16.8954C2.28257 18.5918 2.93732 20.0804 4.06254 21.12C5.17649 22.1493 6.75585 22.75 8.40305 22.75H15.5969C17.2441 22.75 18.8235 22.1493 19.9374 21.12C21.0626 20.0804 21.7174 18.5918 21.4341 16.8954ZM12.663 11.8047C12.663 11.3905 12.3272 11.0547 11.913 11.0547C11.4988 11.0547 11.163 11.3905 11.163 11.8047V11.9182C10.7746 12.0091 10.4162 12.1703 10.115 12.3925C9.62742 12.7523 9.25 13.31 9.25 13.9941C9.25 14.5757 9.46084 15.1396 10.0157 15.5134C10.5072 15.8445 11.169 15.954 11.913 15.954C12.5663 15.954 12.907 16.0546 13.0685 16.1599C13.1625 16.2212 13.25 16.3109 13.25 16.6155C13.25 16.8375 13.1711 16.9552 13.0025 17.0565C12.7884 17.185 12.4211 17.2771 11.913 17.2771C11.3796 17.2771 10.9651 17.1019 10.7472 16.9069C10.4385 16.6307 9.96439 16.657 9.68816 16.9656C9.41192 17.2743 9.43821 17.7484 9.74686 18.0246C10.1231 18.3614 10.619 18.5922 11.163 18.7026V18.8047C11.163 19.2189 11.4988 19.5547 11.913 19.5547C12.3272 19.5547 12.663 19.2189 12.663 18.8047V18.7221C13.0588 18.6605 13.4423 18.5421 13.7749 18.3423C14.3617 17.9899 14.75 17.4018 14.75 16.6155C14.75 15.9119 14.4896 15.2959 13.8879 14.9035C13.3538 14.5551 12.651 14.454 11.913 14.454C11.2657 14.454 10.971 14.3484 10.8538 14.2694C10.8 14.2332 10.75 14.1921 10.75 13.9941C10.75 13.8987 10.8008 13.7506 11.0056 13.5995C11.2101 13.4486 11.5285 13.3326 11.913 13.3326C12.4478 13.3326 12.8287 13.5521 12.9856 13.7585C13.2363 14.0883 13.7068 14.1524 14.0366 13.9018C14.3663 13.6511 14.4304 13.1806 14.1798 12.8508C13.8229 12.3813 13.2755 12.0619 12.663 11.9185V11.8047Z" fill="white"/>\n  </svg>',commissionOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z" stroke="#E7EAF0" stroke-width="1.5" stroke-linejoin="round"/>\n  <path d="M8 16L16 8M10 9C10 9.55228 9.55228 10 9 10C8.44772 10 8 9.55228 8 9C8 8.44772 8.44772 8 9 8C9.55228 8 10 8.44772 10 9ZM16 14.8284C16 15.3807 15.5523 15.8284 15 15.8284C14.4477 15.8284 14 15.3807 14 14.8284C14 14.2761 14.4477 13.8284 15 13.8284C15.5523 13.8284 16 14.2761 16 14.8284Z" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  </svg>',commissionSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M12.0572 1.75C14.2479 1.74999 15.9686 1.74998 17.312 1.93059C18.6886 2.11568 19.7809 2.50272 20.6391 3.36091C21.4973 4.21911 21.8843 5.31137 22.0694 6.68802C22.25 8.03144 22.25 9.7521 22.25 11.9428V12.0572C22.25 14.2479 22.25 15.9686 22.0694 17.312C21.8843 18.6886 21.4973 19.7809 20.6391 20.6391C19.7809 21.4973 18.6886 21.8843 17.312 22.0694C15.9686 22.25 14.2479 22.25 12.0572 22.25H11.9428C9.7521 22.25 8.03144 22.25 6.68802 22.0694C5.31137 21.8843 4.21911 21.4973 3.36091 20.6391C2.50272 19.7809 2.11568 18.6886 1.93059 17.312C1.74998 15.9686 1.74999 14.2479 1.75 12.0572V11.9428C1.74999 9.75212 1.74998 8.03144 1.93059 6.68802C2.11568 5.31137 2.50272 4.21911 3.36091 3.36091C4.21911 2.50272 5.31137 2.11568 6.68802 1.93059C8.03144 1.74998 9.75212 1.74999 11.9428 1.75H12.0572ZM16.7071 7.29289C17.0976 7.68342 17.0976 8.31658 16.7071 8.70711L8.70711 16.7071C8.31658 17.0976 7.68342 17.0976 7.29289 16.7071C6.90237 16.3166 6.90237 15.6834 7.29289 15.2929L15.2929 7.29289C15.6834 6.90237 16.3166 6.90237 16.7071 7.29289ZM9 7.25C8.0335 7.25 7.25 8.0335 7.25 9C7.25 9.9665 8.0335 10.75 9 10.75C9.9665 10.75 10.75 9.9665 10.75 9C10.75 8.0335 9.9665 7.25 9 7.25ZM15 13.0784C14.0335 13.0784 13.25 13.8619 13.25 14.8284C13.25 15.7949 14.0335 16.5784 15 16.5784C15.9665 16.5784 16.75 15.7949 16.75 14.8284C16.75 13.8619 15.9665 13.0784 15 13.0784Z" fill="#E7EAF0"/>\n  </svg>',documentationOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M21 11V10C21 6.22876 21 4.34315 19.7595 3.17157C18.519 2 16.5225 2 12.5294 2H11.4706C7.47752 2 5.48098 2 4.24049 3.17157C3 4.34315 3 6.22876 3 10V14C3 17.7712 3 19.6569 4.24049 20.8284C5.48098 22 7.47751 22 11.4706 22H12" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  <path d="M8 7H16" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  <path d="M8 12H13" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  <path d="M21 20.6471V17C21 15.5706 19.6569 14 18 14C16.3431 14 15 15.5706 15 17V20.5C15 21.2797 15.7326 22 16.6364 22C17.5401 22 18.2727 21.2797 18.2727 20.5V17.7647" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  </svg>',documentationSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M17.875 14.875C18.9796 14.875 19.875 15.7704 19.875 16.875V20.522C19.875 21.0742 20.3227 21.522 20.875 21.522C21.4273 21.522 21.875 21.0742 21.875 20.522V16.875C21.875 14.6659 20.0841 12.875 17.875 12.875C15.6659 12.875 13.875 14.6659 13.875 16.875V20.3749C13.875 21.7556 14.9943 22.8749 16.375 22.8749C17.7557 22.8749 18.875 21.7556 18.875 20.3749V17.875C18.875 17.3227 18.4273 16.875 17.875 16.875C17.3227 16.875 16.875 17.3227 16.875 17.875V20.3749C16.875 20.651 16.6511 20.8749 16.375 20.8749C16.0989 20.8749 15.875 20.651 15.875 20.3749V16.875C15.875 15.7704 16.7704 14.875 17.875 14.875Z" fill="#E7EAF0"/>\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M17.0451 1.2759C15.8591 1.12496 14.3481 1.12498 12.4595 1.125H11.2905C9.40188 1.12498 7.89089 1.12496 6.70492 1.2759C5.48209 1.43154 4.4578 1.76258 3.64002 2.53673C2.81437 3.31833 2.454 4.30995 2.28592 5.49339C2.12495 6.62681 2.12497 8.06642 2.125 9.84534V13.9046C2.12497 15.6836 2.12495 17.1232 2.28592 18.2566C2.454 19.4401 2.81437 20.4317 3.64002 21.2133C4.4578 21.9874 5.48208 22.3185 6.70492 22.4741C7.89089 22.625 9.40189 22.625 11.2905 22.625H12.4595C12.5206 22.625 12.5511 22.625 12.562 22.6242C12.7814 22.6082 12.8997 22.4205 12.8195 22.2156C12.8155 22.2054 12.7985 22.1698 12.7644 22.0985C12.5148 21.5766 12.375 20.9921 12.375 20.3749V16.875C12.375 13.8374 14.8374 11.375 17.875 11.375C18.8294 11.375 19.727 11.6181 20.5093 12.0457C21.0571 12.3452 21.331 12.4949 21.478 12.4078C21.625 12.3206 21.625 12.0377 21.625 11.4718V9.84541C21.625 8.06646 21.6251 6.62682 21.4641 5.49339C21.296 4.30995 20.9356 3.31833 20.11 2.53673C19.2922 1.76258 18.2679 1.43154 17.0451 1.2759ZM6.875 6.875C6.875 6.32272 7.32272 5.875 7.875 5.875H15.875C16.4273 5.875 16.875 6.32272 16.875 6.875C16.875 7.42728 16.4273 7.875 15.875 7.875H7.875C7.32272 7.875 6.875 7.42728 6.875 6.875ZM7.875 10.875C7.32272 10.875 6.875 11.3227 6.875 11.875C6.875 12.4273 7.32272 12.875 7.875 12.875H10.875C11.4273 12.875 11.875 12.4273 11.875 11.875C11.875 11.3227 11.4273 10.875 10.875 10.875H7.875Z" fill="#E7EAF0"/>\n  </svg>',billingOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M20.016 2C18.9026 2 18 4.68629 18 8H20.016C20.9876 8 21.4734 8 21.7741 7.66455C22.0749 7.32909 22.0225 6.88733 21.9178 6.00381C21.6414 3.67143 20.8943 2 20.016 2Z" stroke="#E7EAF0" stroke-width="1.5"/>\n  <path d="M18 8.05426V18.6458C18 20.1575 18 20.9133 17.538 21.2108C16.7831 21.6971 15.6161 20.6774 15.0291 20.3073C14.5441 20.0014 14.3017 19.8485 14.0325 19.8397C13.7417 19.8301 13.4949 19.9768 12.9709 20.3073L11.06 21.5124C10.5445 21.8374 10.2868 22 10 22C9.71321 22 9.45546 21.8374 8.94 21.5124L7.02913 20.3073C6.54415 20.0014 6.30166 19.8485 6.03253 19.8397C5.74172 19.8301 5.49493 19.9768 4.97087 20.3073C4.38395 20.6774 3.21687 21.6971 2.46195 21.2108C2 20.9133 2 20.1575 2 18.6458V8.05426C2 5.20025 2 3.77325 2.87868 2.88663C3.75736 2 5.17157 2 8 2H20" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M6 6H14" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M8 10H6" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M12.5 10.875C11.6716 10.875 11 11.4626 11 12.1875C11 12.9124 11.6716 13.5 12.5 13.5C13.3284 13.5 14 14.0876 14 14.8125C14 15.5374 13.3284 16.125 12.5 16.125M12.5 10.875C13.1531 10.875 13.7087 11.2402 13.9146 11.75M12.5 10.875V10M12.5 16.125C11.8469 16.125 11.2913 15.7598 11.0854 15.25M12.5 16.125V17" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n  </svg>',billingSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M10 22.75C9.7007 22.75 9.44762 22.6611 9.2239 22.5507C9.02352 22.4518 8.80135 22.3117 8.56674 22.1637L6.62905 20.9417C6.37416 20.7809 6.22825 20.6899 6.11404 20.6327C6.0083 20.5747 5.93256 20.6033 5.9079 20.6249C5.7948 20.678 5.64376 20.7696 5.37095 20.9417L4.86225 21.2911C4.65149 21.4359 4.39744 21.6033 4.12709 21.7447C3.65501 21.9917 2.81435 22.3299 2.05584 21.8414C1.54247 21.5107 1.38152 20.9658 1.3149 20.487C1.24992 20.0198 1.24996 19.4095 1.25 18.7008V7.99976C1.24998 6.61906 1.24997 5.50754 1.36641 4.63362C1.48716 3.72735 1.74526 2.96484 2.34597 2.35869C2.94761 1.75161 3.70602 1.48992 4.60737 1.36764C5.47476 1.24997 6.57745 1.24998 7.94463 1.25H10H20.016C20.4911 1.25 20.8802 1.4793 21.1687 1.7609C21.4541 2.03946 21.6847 2.40829 21.8722 2.81006C22.2486 3.61642 22.5188 4.70246 22.6626 5.91555L22.6684 5.96436C22.7158 6.3637 22.7614 6.74778 22.7473 7.07225C22.7309 7.4502 22.6325 7.83058 22.3326 8.16518C22.0239 8.50953 21.6366 8.64316 21.2576 8.69983C20.921 8.75013 20.5084 8.75007 20.0646 8.75001L20.016 8.75H18.75V18.7008C18.75 19.4095 18.7501 20.0198 18.6851 20.487C18.6185 20.9658 18.4575 21.5107 17.9441 21.8414C17.1856 22.3299 16.345 21.9917 15.8729 21.7447C15.6025 21.6033 15.3485 21.4359 15.1377 21.2911L14.629 20.9417C14.3562 20.7696 14.2052 20.678 14.0921 20.6249C14.0674 20.6033 13.9917 20.5747 13.8859 20.6327C13.7717 20.6899 13.6258 20.7809 13.3709 20.9417L11.4333 22.1636C11.1987 22.3116 10.9765 22.4518 10.7761 22.5507C10.5524 22.6611 10.2993 22.75 10 22.75ZM19.8186 2.93803C19.9219 2.80796 19.9892 2.76622 20.0165 2.75367C20.0343 2.76222 20.069 2.78358 20.121 2.83431C20.2313 2.94203 20.3694 3.13683 20.513 3.44447C20.7989 4.05692 21.0404 4.97278 21.173 6.09207C21.2283 6.55875 21.2569 6.81923 21.2487 7.00716C21.2426 7.14751 21.2183 7.16254 21.2153 7.16437C21.2118 7.16832 21.2095 7.17082 21.1969 7.17658C21.1776 7.18544 21.1317 7.20197 21.0358 7.21631C20.8236 7.24804 20.5254 7.25 20.016 7.25H18.7663C18.7682 7.20712 18.7702 7.16442 18.7724 7.12189C18.836 5.88595 19.0311 4.80062 19.3014 3.99624C19.3119 3.96506 19.3224 3.93447 19.333 3.90445C19.4918 3.45423 19.6624 3.13461 19.8186 2.93803ZM6 5.25C5.58579 5.25 5.25 5.58579 5.25 6C5.25 6.41421 5.58579 6.75 6 6.75H14C14.4142 6.75 14.75 6.41421 14.75 6C14.75 5.58579 14.4142 5.25 14 5.25H6ZM8.75 10C8.75 10.4142 8.41422 10.75 8 10.75H6C5.58579 10.75 5.25 10.4142 5.25 10C5.25 9.58579 5.58579 9.25 6 9.25H8C8.41422 9.25 8.75 9.58579 8.75 10ZM13.25 10C13.25 9.58579 12.9142 9.25 12.5 9.25C12.0858 9.25 11.75 9.58579 11.75 10V10.2449C10.916 10.517 10.25 11.2324 10.25 12.1875C10.25 13.4175 11.3546 14.25 12.5 14.25C13.0114 14.25 13.25 14.5928 13.25 14.8125C13.25 15.0322 13.0114 15.375 12.5 15.375C12.1136 15.375 11.8582 15.1608 11.7808 14.9691C11.6256 14.585 11.1885 14.3995 10.8045 14.5546C10.4204 14.7097 10.2348 15.1468 10.3899 15.5309C10.6304 16.1261 11.1404 16.5603 11.75 16.7573V17C11.75 17.4142 12.0858 17.75 12.5 17.75C12.9142 17.75 13.25 17.4142 13.25 17V16.7551C14.084 16.483 14.75 15.7676 14.75 14.8125C14.75 13.5825 13.6454 12.75 12.5 12.75C11.9886 12.75 11.75 12.4072 11.75 12.1875C11.75 11.9678 11.9886 11.625 12.5 11.625C12.8864 11.625 13.1418 11.8392 13.2192 12.0309C13.3744 12.415 13.8115 12.6005 14.1956 12.4454C14.5796 12.2903 14.7652 11.8532 14.6101 11.4691C14.3696 10.8739 13.8596 10.4397 13.25 10.2427V10Z" fill="#E7EAF0"/>\n  </svg>',blogOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M18 15V9C18 6.17157 18 4.75736 17.1213 3.87868C16.2426 3 14.8284 3 12 3H8C5.17157 3 3.75736 3 2.87868 3.87868C2 4.75736 2 6.17157 2 9V15C2 17.8284 2 19.2426 2.87868 20.1213C3.75736 21 5.17157 21 8 21H20" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M6 8H14" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M6 12H14" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M6 16H10" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M18 8H19C20.4142 8 21.1213 8 21.5607 8.43934C22 8.87868 22 9.58579 22 11V19C22 20.1046 21.1046 21 20 21C18.8954 21 18 20.1046 18 19V8Z" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  </svg>\n  ',blogSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M12.069 2.25C13.3923 2.24997 14.4836 2.24994 15.3472 2.36579C16.254 2.48741 17.0548 2.75258 17.696 3.39229C18.3372 4.03199 18.6029 4.83093 18.7249 5.73557C18.7803 6.14683 18.8092 6.60981 18.8244 7.125C18.8244 7.125 20.1147 7.12488 20.5796 7.18724C21.0872 7.25532 21.6079 7.4134 22.0344 7.83893C22.4609 8.26446 22.6194 8.78395 22.6876 9.29033C22.7501 9.75412 22.7501 10.3272 22.75 10.9649V18.825C22.75 20.4404 21.4374 21.75 19.8182 21.75H8.02197C6.69861 21.75 5.60737 21.7501 4.74369 21.6342C3.83695 21.5126 3.03615 21.2474 2.39495 20.6077C1.75375 19.968 1.48797 19.1691 1.36606 18.2644C1.24994 17.4028 1.24997 16.3141 1.25 14.9938V9.00616C1.24997 7.68592 1.24994 6.59721 1.36606 5.73557C1.48797 4.83093 1.75375 4.03199 2.39495 3.39229C3.03615 2.75258 3.83695 2.48741 4.74369 2.36579C5.60735 2.24994 6.6986 2.24997 8.02191 2.25H12.069ZM19.8191 19.8C20.3588 19.8 20.7963 19.3634 20.7963 18.825V11.025C20.7963 10.308 20.7943 9.8683 20.7514 9.55011C20.7137 9.27043 20.6601 9.22373 20.6537 9.2182L20.6528 9.21723C20.6472 9.21089 20.6004 9.15741 20.3201 9.1198C20.0011 9.07702 19.5605 9.07495 18.8418 9.07495V18.825C18.8418 19.3634 19.2793 19.8 19.8191 19.8ZM6 7.25C5.58579 7.25 5.25 7.58579 5.25 8C5.25 8.41421 5.58579 8.75 6 8.75H14C14.4142 8.75 14.75 8.41421 14.75 8C14.75 7.58579 14.4142 7.25 14 7.25H6ZM6 11.25C5.58579 11.25 5.25 11.5858 5.25 12C5.25 12.4142 5.58579 12.75 6 12.75H14C14.4142 12.75 14.75 12.4142 14.75 12C14.75 11.5858 14.4142 11.25 14 11.25H6ZM6 15.25C5.58579 15.25 5.25 15.5858 5.25 16C5.25 16.4142 5.58579 16.75 6 16.75H10C10.4142 16.75 10.75 16.4142 10.75 16C10.75 15.5858 10.4142 15.25 10 15.25H6Z" fill="#E7EAF0"/>\n  </svg>\n  ',translationOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path d="M5 5.96552H8.15M8.15 5.96552H10.25M8.15 5.96552V5M12 5.96552H10.25M10.25 5.96552C9.88076 7.28593 9.10754 8.53411 8.225 9.63103M8.225 9.63103C7.4942 10.5394 6.68843 11.344 5.975 12M8.225 9.63103C7.775 9.10345 7.145 8.24984 6.965 7.86364M8.225 9.63103L9.575 11.0345" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  <path d="M7.02231 16.9777C7.07674 18.6978 7.26397 19.7529 7.90796 20.5376C8.07418 20.7401 8.25989 20.9258 8.46243 21.092C9.56878 22 11.2125 22 14.5 22C17.7875 22 19.4312 22 20.5376 21.092C20.7401 20.9258 20.9258 20.7401 21.092 20.5376C22 19.4312 22 17.7875 22 14.5C22 11.2125 22 9.56878 21.092 8.46243C20.9258 8.25989 20.7401 8.07418 20.5376 7.90796C19.7563 7.26676 18.707 7.07837 17 7.02303M7.02231 16.9777C5.30217 16.9233 4.24713 16.736 3.46243 16.092C3.25989 15.9258 3.07418 15.7401 2.90796 15.5376C2 14.4312 2 12.7875 2 9.5C2 6.21252 2 4.56878 2.90796 3.46243C3.07418 3.25989 3.25989 3.07418 3.46243 2.90796C4.56878 2 6.21252 2 9.5 2C12.7875 2 14.4312 2 15.5376 2.90796C15.7401 3.07418 15.9258 3.25989 16.092 3.46243C16.736 4.24713 16.9233 5.30217 16.9777 7.02231C16.9777 7.02231 16.9777 7.02231 17 7.02303M7.02231 16.9777L17 7.02303" stroke="#E7EAF0" stroke-width="1.5"/>\n  <path d="M13 19L13.8333 17M13.8333 17L15.5 13L17.1667 17M13.8333 17H17.1667M18 19L17.1667 17" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n  </svg>\n  ',translationSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M9.45109 1.25H9.54891C11.1512 1.24999 12.4205 1.24998 13.4248 1.36868C14.4557 1.49054 15.3044 1.74638 16.0134 2.3282C16.2539 2.52558 16.4744 2.74612 16.6718 2.98663C17.4914 3.98526 17.6729 5.27767 17.7273 6.99859C17.7339 7.20563 17.6545 7.40617 17.508 7.55264L7.55264 17.508C7.40617 17.6545 7.20563 17.7339 6.99859 17.7273C5.27767 17.6729 3.98526 17.4914 2.98663 16.6718C2.74612 16.4744 2.52558 16.2539 2.3282 16.0134C1.74638 15.3044 1.49054 14.4557 1.36868 13.4248C1.24998 12.4205 1.24999 11.1512 1.25 9.54891V9.45109C1.24999 7.84882 1.24998 6.57947 1.36868 5.57525C1.49054 4.54428 1.74638 3.69558 2.3282 2.98663C2.52558 2.74612 2.74612 2.52558 2.98663 2.3282C3.69558 1.74638 4.54428 1.49054 5.57525 1.36868C6.57947 1.24998 7.84883 1.24999 9.45109 1.25ZM5.75133 2.85831C4.86197 2.96344 4.33563 3.16158 3.93822 3.48772C3.77366 3.62277 3.62277 3.77366 3.48772 3.93822C3.16158 4.33563 2.96344 4.86197 2.85831 5.75133C2.75123 6.65724 2.75 7.83789 2.75 9.5C2.75 11.1621 2.75123 12.3428 2.85831 13.2487C2.96344 14.138 3.16158 14.6644 3.48772 15.0618C3.62277 15.2263 3.77366 15.3772 3.93822 15.5123C4.47209 15.9504 5.22196 16.1475 6.72361 16.2157L16.2157 6.72361C16.1475 5.22196 15.9504 4.47209 15.5123 3.93822C15.3772 3.77366 15.2263 3.62277 15.0618 3.48772C14.6644 3.16158 14.138 2.96344 13.2487 2.85831C12.3428 2.75123 11.1621 2.75 9.5 2.75C7.83789 2.75 6.65724 2.75123 5.75133 2.85831Z" fill="#E7EAF0"/>\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M8.15 4.25C8.56421 4.25 8.9 4.58579 8.9 5V5.21552H12C12.4142 5.21552 12.75 5.5513 12.75 5.96552C12.75 6.37973 12.4142 6.71552 12 6.71552H10.7973C10.4274 7.74664 9.85464 8.71119 9.21395 9.57728L10.1155 10.5145C10.4027 10.8131 10.3935 11.2879 10.0949 11.575C9.79642 11.8622 9.32163 11.8529 9.03448 11.5544L8.26126 10.7506C7.65985 11.4317 7.04053 12.0391 6.48266 12.5521C6.17775 12.8324 5.7033 12.8126 5.42293 12.5077C5.14256 12.2028 5.16244 11.7283 5.46735 11.4479C6.0382 10.923 6.66238 10.3072 7.2537 9.62414C7.12848 9.4632 7.00289 9.29589 6.88542 9.13299C6.64973 8.80615 6.40843 8.44486 6.28521 8.18047C6.11023 7.80503 6.27273 7.35883 6.64817 7.18384C7.02361 7.00886 7.46981 7.17137 7.64479 7.5468C7.70157 7.66862 7.86527 7.92724 8.10208 8.25565C8.13755 8.30483 8.1738 8.35441 8.21052 8.40399C8.59222 7.85898 8.92551 7.29315 9.18194 6.71552H5C4.58579 6.71552 4.25 6.37973 4.25 5.96552C4.25 5.5513 4.58579 5.21552 5 5.21552H7.4V5C7.4 4.58579 7.73579 4.25 8.15 4.25Z" fill="#E7EAF0"/>\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M17.0032 6.27383C16.7959 6.26711 16.5951 6.34649 16.4485 6.49311L6.4931 16.4485C6.34663 16.595 6.26726 16.7955 6.27381 17.0025C6.32827 18.7235 6.50977 20.0159 7.32932 21.0145C7.52671 21.255 7.74724 21.4755 7.98775 21.6729C8.6967 22.2547 9.5454 22.5106 10.5764 22.6324C11.5806 22.7511 12.8499 22.7511 14.4521 22.7511H14.5501C16.1523 22.7511 17.4217 22.7511 18.4259 22.6324C19.4569 22.5106 20.3056 22.2547 21.0145 21.6729C21.2551 21.4755 21.4756 21.255 21.673 21.0145C22.2548 20.3055 22.5106 19.4568 22.6325 18.4259C22.7512 17.4217 22.7512 16.1524 22.7512 14.5502V14.4522C22.7512 12.85 22.7512 11.5806 22.6325 10.5764C22.5106 9.5454 22.2548 8.6967 21.673 7.98776C21.4756 7.74725 21.2551 7.52671 21.0145 7.32933C20.0191 6.5124 18.7095 6.32916 17.0032 6.27383ZM16.1945 12.7115C16.0781 12.4321 15.805 12.25 15.5022 12.25C15.1994 12.25 14.9263 12.4321 14.8099 12.7115L12.3099 18.7115C12.1506 19.0939 12.3314 19.533 12.7137 19.6923C13.0961 19.8516 13.5352 19.6708 13.6945 19.2885L14.3355 17.75H16.6689L17.3099 19.2885C17.4692 19.6708 17.9083 19.8516 18.2907 19.6923C18.673 19.533 18.8538 19.0939 18.6945 18.7115L16.1945 12.7115ZM15.5022 14.95L16.0439 16.25H14.9605L15.5022 14.95Z" fill="#E7EAF0"/>\n  </svg>\n  ',marketplaceOutline:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2.9668 10.4961V15.4979C2.9668 18.3273 2.9668 19.742 3.84548 20.621C4.72416 21.5001 6.13837 21.5001 8.9668 21.5001H14.9668C17.7952 21.5001 19.2094 21.5001 20.0881 20.621C20.9668 19.742 20.9668 18.3273 20.9668 15.4979V10.4961" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n<path d="M14.9668 16.9932C14.2827 17.6004 13.1936 17.9932 11.9668 17.9932C10.74 17.9932 9.65089 17.6004 8.9668 16.9932" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round"/>\n<path d="M10.1038 8.41848C9.82182 9.43688 8.79628 11.1936 6.84777 11.4482C5.12733 11.673 3.82246 10.922 3.48916 10.608C3.12168 10.3534 2.28416 9.53872 2.07906 9.02952C1.87395 8.52032 2.11324 7.41706 2.28416 6.96726L2.96743 4.98888C3.13423 4.49196 3.5247 3.31666 3.92501 2.91913C4.32533 2.5216 5.13581 2.5043 5.4694 2.5043H12.4749C14.2781 2.52978 18.2209 2.48822 19.0003 2.50431C19.7797 2.52039 20.2481 3.17373 20.3848 3.45379C21.5477 6.27061 22 7.88382 22 8.57124C21.8482 9.30456 21.22 10.6873 19.0003 11.2955C16.6933 11.9275 15.3854 10.6981 14.9751 10.2261M9.15522 10.2261C9.47997 10.625 10.4987 11.4279 11.9754 11.4482C13.4522 11.4686 14.7273 10.4383 15.1802 9.92062C15.3084 9.76786 15.5853 9.31467 15.8725 8.41848" stroke="#E7EAF0" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>',marketplaceSolid:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 9.25C3.55229 9.25 4 9.69772 4 10.25V15.25C4 16.6925 4.00213 17.6737 4.10092 18.4086C4.19585 19.1146 4.36322 19.4416 4.58579 19.6642C4.80836 19.8868 5.13538 20.0542 5.84143 20.1491C6.57625 20.2479 7.55752 20.25 9 20.25H15C16.4425 20.25 17.4238 20.2479 18.1586 20.1491C18.8646 20.0542 19.1916 19.8868 19.4142 19.6642C19.6368 19.4416 19.8042 19.1146 19.8991 18.4086C19.9979 17.6737 20 16.6925 20 15.25V10.25C20 9.69772 20.4477 9.25 21 9.25C21.5523 9.25 22 9.69772 22 10.25V15.3205C22 16.6747 22.0001 17.7913 21.8813 18.6751C21.7565 19.6029 21.4845 20.4223 20.8284 21.0784C20.1723 21.7345 19.3529 22.0065 18.4251 22.1312C17.5413 22.2501 16.4247 22.25 15.0706 22.25H8.92943C7.57531 22.25 6.4587 22.2501 5.57494 22.1312C4.64711 22.0065 3.82768 21.7345 3.17158 21.0784C2.51547 20.4223 2.2435 19.6029 2.11875 18.6751C1.99994 17.7913 1.99997 16.6747 2 15.3206V10.25C2 9.69772 2.44772 9.25 3 9.25Z" fill="#E7EAF0"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M8.25214 16.0862C8.61876 15.6731 9.25081 15.6355 9.66385 16.0021C10.1297 16.4156 10.9662 16.75 12 16.75C13.0338 16.75 13.8704 16.4156 14.3362 16.0021C14.7492 15.6355 15.3813 15.6731 15.7479 16.0862C16.1145 16.4992 16.0769 17.1313 15.6639 17.4979C14.7615 18.2989 13.4197 18.75 12 18.75C10.5803 18.75 9.23856 18.2989 8.33617 17.4979C7.92313 17.1313 7.88551 16.4992 8.25214 16.0862Z" fill="#E7EAF0"/>\n<path d="M17.4659 1.75C18.1014 1.74998 18.6428 1.74995 19.0862 1.80238C19.5603 1.85843 19.9974 1.9811 20.3931 2.27649C20.7867 2.57024 21.0328 2.95546 21.2305 3.39554C21.4172 3.811 21.5873 4.33952 21.789 4.96638L22.4853 7.12954L22.5002 7.17604C22.6763 7.72227 22.8175 8.16018 22.7141 8.82232C22.6713 9.09674 22.6166 9.32192 22.5239 9.53046C22.4367 9.72661 22.328 9.87688 22.2446 9.99204L22.2323 10.0092C21.2481 11.3718 19.4436 12.25 17.7543 12.25C16.6746 12.25 15.6772 11.8933 14.8766 11.2923C14.0759 11.8937 13.0789 12.25 11.9989 12.25C10.9195 12.25 9.92238 11.8935 9.12194 11.2928C8.32127 11.8939 7.32456 12.25 6.24489 12.25C4.55562 12.25 2.75108 11.3718 1.76692 10.0092L1.75455 9.99206C1.67123 9.8769 1.56251 9.72662 1.4753 9.53046C1.38259 9.32192 1.32789 9.09674 1.28506 8.82231C1.18173 8.16018 1.32288 7.72227 1.49895 7.17603L1.51393 7.12954L2.19765 5.0053L2.21018 4.9664C2.41192 4.33953 2.58202 3.811 2.76865 3.39554C2.96634 2.95546 3.2125 2.57024 3.60604 2.27649C4.00177 1.9811 4.43892 1.85843 4.91299 1.80238C5.35639 1.74995 5.89776 1.74998 6.53326 1.75H17.4659Z" fill="#E7EAF0"/>\n</svg>'}},94569:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=l(e),a=i[0],s=i[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,l=r-o;s<l;s+=a)i.push(u(e,s,s+a>l?l:s+a));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],r=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function u(e,t,n){for(var r,o=[],i=t;i<n;i+=3)r=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(c(r));return o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},72:function(e,t,n){"use strict";var r=n(675),o=n(783),i="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,n)}function c(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|m(e,t),r=s(n),o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return f(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer))return p(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);var o=function(e){if(l.isBuffer(e)){var t=0|h(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||V(e.length)?s(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(o)return o;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|h(e))}function f(e){for(var t=e.length<0?0:0|h(e.length),n=s(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function p(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function h(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(o)return r?-1:z(e).length;t=(""+t).toLowerCase(),o=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return N(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),V(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){var i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var d=!0,f=0;f<l;f++)if(c(e,i+f)!==c(t,f)){d=!1;break}if(d)return i}return-1}function w(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(V(s))return a;e[n+a]=s}return a}function C(e,t,n,r){return B(z(t,e.length-n),e,n,r)}function x(e,t,n,r){return B(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function k(e,t,n,r){return x(e,t,n,r)}function _(e,t,n,r){return B(H(t),e,n,r)}function S(e,t,n,r){return B(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,c=e[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128===(192&(i=e[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],128===(192&i)&&128===(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128===(192&i)&&128===(192&a)&&128===(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=d}return L(r)}t.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?s(e):void 0!==t?"string"===typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(F(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),F(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(F(i,Uint8Array)&&(i=l.from(i)),!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?M(this,0,e):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,o){if(F(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(r,o),u=e.slice(t,n),d=0;d<s;++d)if(c[d]!==u[d]){i=c[d],a=u[d];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return C(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function L(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}function N(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function A(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=q[e[i]];return o}function j(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function T(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function Z(e,t,n,r,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function P(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,i){return t=+t,n>>>=0,i||P(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function I(e,t,n,r,i){return t=+t,n>>>=0,i||P(e,0,n,8),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUInt8=function(e,t){return e>>>=0,t||T(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||T(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||T(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||T(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||T(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||T(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||T(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||Z(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||Z(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||Z(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||Z(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||Z(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||Z(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||Z(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);Z(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);Z(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||Z(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||Z(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||Z(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||Z(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||Z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return I(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return I(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o=r-n;if(this===e&&"function"===typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,r);else if(this===e&&n<t&&t<r)for(var i=o-1;i>=0;--i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return o},l.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=l.isBuffer(e)?e:l.from(e,r),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var D=/[^+/0-9A-Za-z-_]/g;function z(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function H(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(D,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function B(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function F(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function V(e){return e!==e}var q=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},783:function(e,t){t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?o-1:0,f=n?-1:1,p=e[t+d];for(d+=f,i=p&(1<<-u)-1,p>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=f,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=c}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,d=u>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&s,p+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*m}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(72);e.exports=o}()},83153:function(){},85995:function(){},38825:function(){},42413:function(){},27599:function(){},1339:function(){},33226:function(){},71195:function(){},73967:function(){},65313:function(){},47301:function(){},7943:function(){},78529:function(e){!function(){var t={229:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"===typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&f())}function f(){if(!c){var e=a(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||a(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(229);e.exports=o}()},88176:function(e,t,n){e.exports=n(22852)},56009:function(e,t,n){e.exports=n(95792)},6449:function(e,t,n){e.exports=n(18996)},15154:function(e,t,n){e.exports=n(5342)},13567:function(e,t,n){var r,o=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=e=>i(e,"__esModule",{value:!0}),d=(e,t)=>i(e,"name",{value:t,configurable:!0}),f=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of s(t))!c.call(e,o)&&(n||"default"!==o)&&i(e,o,{get:()=>t[o],enumerable:!(r=a(t,o))||r.enumerable});return e},p=(e,t)=>f(u(i(null!=e?o(l(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),h=(r="undefined"!=typeof WeakMap?new WeakMap:0,(e,t)=>r&&r.get(e)||(t=f(u({}),e,1),r&&r.set(e,t),t)),m={};((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(m,{default:()=>w});var g=p(n(15154)),v=p(n(29981)),y=p(n(40507)),b=p(n(50959));function w({color:e="#29D",startPosition:t=.3,stopDelayMs:n=200,height:r=3,showOnShallow:o=!0,options:i,nonce:a}){let s=null;b.useEffect((()=>(i&&v.configure(i),g.default.events.on("routeChangeStart",l),g.default.events.on("routeChangeComplete",c),g.default.events.on("routeChangeError",c),()=>{g.default.events.off("routeChangeStart",l),g.default.events.off("routeChangeComplete",c),g.default.events.off("routeChangeError",c)})),[]);let l=d(((e,{shallow:n})=>{(!n||o)&&(v.set(t),v.start())}),"routeChangeStart"),c=d(((e,{shallow:t})=>{(!t||o)&&(s&&clearTimeout(s),s=setTimeout((()=>{v.done(!0)}),n))}),"routeChangeEnd");return b.createElement("style",{nonce:a},`\n      #nprogress {\n        pointer-events: none;\n      }\n      #nprogress .bar {\n        background: ${e};\n        position: fixed;\n        z-index: 9999;\n        top: 0;\n        left: 0;\n        width: 100%;\n        height: ${r}px;\n      }\n      #nprogress .peg {\n        display: block;\n        position: absolute;\n        right: 0px;\n        width: 100px;\n        height: 100%;\n        box-shadow: 0 0 10px ${e}, 0 0 5px ${e};\n        opacity: 1;\n        -webkit-transform: rotate(3deg) translate(0px, -4px);\n        -ms-transform: rotate(3deg) translate(0px, -4px);\n        transform: rotate(3deg) translate(0px, -4px);\n      }\n      #nprogress .spinner {\n        display: block;\n        position: fixed;\n        z-index: 1031;\n        top: 15px;\n        right: 15px;\n      }\n      #nprogress .spinner-icon {\n        width: 18px;\n        height: 18px;\n        box-sizing: border-box;\n        border: solid 2px transparent;\n        border-top-color: ${e};\n        border-left-color: ${e};\n        border-radius: 50%;\n        -webkit-animation: nprogresss-spinner 400ms linear infinite;\n        animation: nprogress-spinner 400ms linear infinite;\n      }\n      .nprogress-custom-parent {\n        overflow: hidden;\n        position: relative;\n      }\n      .nprogress-custom-parent #nprogress .spinner,\n      .nprogress-custom-parent #nprogress .bar {\n        position: absolute;\n      }\n      @-webkit-keyframes nprogress-spinner {\n        0% {\n          -webkit-transform: rotate(0deg);\n        }\n        100% {\n          -webkit-transform: rotate(360deg);\n        }\n      }\n      @keyframes nprogress-spinner {\n        0% {\n          transform: rotate(0deg);\n        }\n        100% {\n          transform: rotate(360deg);\n        }\n      }\n    `)}d(w,"NextNProgress"),w.propTypes={color:y.string,startPosition:y.number,stopDelayMs:y.number,height:y.number,showOnShallow:y.bool,options:y.object,nonce:y.string},e.exports=h(m)},29981:function(e,t,n){var r,o;r=function(){var e={version:"0.2.0"},t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function n(e,t,n){return e<t?t:e>n?n:e}function r(e){return 100*(-1+e)}function o(e,n,o){var i;return(i="translate3d"===t.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"}).transition="all "+n+"ms "+o,i}e.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},e.status=null,e.set=function(r){var s=e.isStarted();r=n(r,t.minimum,1),e.status=1===r?null:r;var l=e.render(!s),c=l.querySelector(t.barSelector),u=t.speed,d=t.easing;return l.offsetWidth,i((function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),a(c,o(r,u,d)),1===r?(a(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout((function(){a(l,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){e.remove(),n()}),u)}),u)):setTimeout(n,u)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var n=function(){setTimeout((function(){e.status&&(e.trickle(),n())}),t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var r=e.status;return r?("number"!==typeof t&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,n=0;e.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&e.start(),t++,n++,r.always((function(){0===--n?(t=0,e.done()):e.set((t-n)/t)})),this):this}}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var o=document.createElement("div");o.id="nprogress",o.innerHTML=t.template;var i,s=o.querySelector(t.barSelector),c=n?"-100":r(e.status||0),u=document.querySelector(t.parent);return a(s,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),t.showSpinner||(i=o.querySelector(t.spinnerSelector))&&d(i),u!=document.body&&l(u,"nprogress-custom-parent"),u.appendChild(o),o},e.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var i=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),a=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+i)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function i(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&i(e,n,r);else i(e,o[1],o[2])}}();function s(e,t){return("string"==typeof e?e:u(e)).indexOf(" "+t+" ")>=0}function l(e,t){var n=u(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=u(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function u(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e},void 0===(o="function"===typeof r?r.call(t,n,t,e):r)||(e.exports=o)},74049:function(e,t,n){"use strict";var r=n(36257);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new 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:i,resetWarningCache:o};return n.PropTypes=n,n}},40507:function(e,t,n){e.exports=n(74049)()},36257:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},19075:function(e,t,n){"use strict";n.r(t);var r=n(2053),o=n(57904),i=n(53162),a=n(98037),s=n(73779),l=n(71374),c=n(45675),u=n(36280),d=n(50959),f=n(84875),p=n.n(f),h=function(e){(0,c.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;(0,s.Z)(this,n),(r=t.call(this,e)).handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:(0,a.Z)((0,a.Z)({},r.props),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in e?e.checked:e.defaultChecked;return r.state={checked:o},r}return(0,l.Z)(n,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,s=t.style,l=t.name,c=t.id,u=t.type,f=t.disabled,h=t.readOnly,m=t.tabIndex,g=t.onClick,v=t.onFocus,y=t.onBlur,b=t.onKeyDown,w=t.onKeyPress,C=t.onKeyUp,x=t.autoFocus,k=t.value,_=t.required,S=(0,i.Z)(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),E=Object.keys(S).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=S[t]),e}),{}),M=this.state.checked,L=p()(n,a,(e={},(0,o.Z)(e,"".concat(n,"-checked"),M),(0,o.Z)(e,"".concat(n,"-disabled"),f),e));return d.createElement("span",{className:L,style:s},d.createElement("input",(0,r.Z)({name:l,id:c,type:u,required:_,readOnly:h,disabled:f,tabIndex:m,className:"".concat(n,"-input"),checked:!!M,onClick:g,onFocus:v,onBlur:y,onKeyUp:C,onKeyDown:b,onKeyPress:w,onChange:this.handleChange,autoFocus:x,ref:this.saveInput,value:k},E)),d.createElement("span",{className:"".concat(n,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"checked"in e?(0,a.Z)((0,a.Z)({},t),{},{checked:e.checked}):null}}]),n}(d.Component);h.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},t.default=h},51483:function(e,t,n){"use strict";n.r(t),n.d(t,{Panel:function(){return k},default:function(){return L}});var r=n(2053),o=n(99459),i=n(50959),a=n.t(i,2),s=n(87166),l=n(98037),c=n(84875),u=n.n(c),d=n(23278);var f=0;var p=(0,l.Z)({},a).useId,h=p?function(e){var t=p();return e||t}:function(e){var t=i.useState("ssr-id"),n=(0,o.Z)(t,2),r=n[0],a=n[1];return i.useEffect((function(){var e=f;f+=1,a("rc_unique_".concat(e))}),[]),e||r},m=n(71219),g=n(42361),v=n(37670);function y(e){var t=e.prefixCls,n=e.style,o=e.visible,a=e.maskProps,s=e.motionName;return i.createElement(v.default,{key:"mask",visible:o,motionName:s,leavedClassName:"".concat(t,"-mask-hidden")},(function(e){var o=e.className,s=e.style;return i.createElement("div",(0,r.Z)({style:(0,l.Z)((0,l.Z)({},s),n),className:u()("".concat(t,"-mask"),o)},a))}))}function b(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function w(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!==typeof n){var o=e.document;"number"!==typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}var C=i.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate})),x={width:0,height:0,overflow:"hidden",outline:"none"};var k=i.forwardRef((function(e,t){var n=e.prefixCls,o=e.className,a=e.style,s=e.title,c=e.ariaId,d=e.footer,f=e.closable,p=e.closeIcon,h=e.onClose,m=e.children,g=e.bodyStyle,v=e.bodyProps,y=e.modalRender,b=e.onMouseDown,w=e.onMouseUp,k=e.holderRef,_=e.visible,S=e.forceRender,E=e.width,M=e.height,L=(0,i.useRef)(),N=(0,i.useRef)();i.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=L.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===N.current?L.current.focus():e||t!==L.current||N.current.focus()}}}));var O,A,j,T={};void 0!==E&&(T.width=E),void 0!==M&&(T.height=M),d&&(O=i.createElement("div",{className:"".concat(n,"-footer")},d)),s&&(A=i.createElement("div",{className:"".concat(n,"-header")},i.createElement("div",{className:"".concat(n,"-title"),id:c},s))),f&&(j=i.createElement("button",{type:"button",onClick:h,"aria-label":"Close",className:"".concat(n,"-close")},p||i.createElement("span",{className:"".concat(n,"-close-x")})));var Z=i.createElement("div",{className:"".concat(n,"-content")},j,A,i.createElement("div",(0,r.Z)({className:"".concat(n,"-body"),style:g},v),m),O);return i.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":s?c:null,"aria-modal":"true",ref:k,style:(0,l.Z)((0,l.Z)({},a),T),className:u()(n,o),onMouseDown:b,onMouseUp:w},i.createElement("div",{tabIndex:0,ref:L,style:x,"aria-hidden":"true"}),i.createElement(C,{shouldUpdate:_||S},y?y(Z):Z),i.createElement("div",{tabIndex:0,ref:N,style:x,"aria-hidden":"true"}))})),_=i.forwardRef((function(e,t){var n=e.prefixCls,a=e.title,s=e.style,c=e.className,d=e.visible,f=e.forceRender,p=e.destroyOnClose,h=e.motionName,m=e.ariaId,g=e.onVisibleChanged,y=e.mousePosition,b=(0,i.useRef)(),C=i.useState(),x=(0,o.Z)(C,2),_=x[0],S=x[1],E={};function M(){var e=function(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=w(o),n.top+=w(o,!0),n}(b.current);S(y?"".concat(y.x-e.left,"px ").concat(y.y-e.top,"px"):"")}return _&&(E.transformOrigin=_),i.createElement(v.default,{visible:d,onVisibleChanged:g,onAppearPrepare:M,onEnterPrepare:M,forceRender:f,motionName:h,removeOnLeave:p,ref:b},(function(o,d){var f=o.className,p=o.style;return i.createElement(k,(0,r.Z)({},e,{ref:t,title:a,ariaId:m,prefixCls:n,holderRef:d,style:(0,l.Z)((0,l.Z)((0,l.Z)({},p),s),E),className:u()(c,f)}))}))}));_.displayName="Content";var S=_;function E(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,a=e.zIndex,s=e.visible,c=void 0!==s&&s,f=e.keyboard,p=void 0===f||f,v=e.focusTriggerAfterClose,w=void 0===v||v,C=e.scrollLocker,x=e.wrapStyle,k=e.wrapClassName,_=e.wrapProps,E=e.onClose,M=e.afterClose,L=e.transitionName,N=e.animation,O=e.closable,A=void 0===O||O,j=e.mask,T=void 0===j||j,Z=e.maskTransitionName,P=e.maskAnimation,R=e.maskClosable,I=void 0===R||R,D=e.maskStyle,z=e.maskProps,H=e.rootClassName,B=(0,i.useRef)(),F=(0,i.useRef)(),V=(0,i.useRef)(),q=i.useState(c),U=(0,o.Z)(q,2),$=U[0],W=U[1],K=h();function G(e){null===E||void 0===E||E(e)}var Y=(0,i.useRef)(!1),J=(0,i.useRef)(),X=null;return I&&(X=function(e){Y.current?Y.current=!1:F.current===e.target&&G(e)}),(0,i.useEffect)((function(){return c&&W(!0),function(){}}),[c]),(0,i.useEffect)((function(){return function(){clearTimeout(J.current)}}),[]),(0,i.useEffect)((function(){return $?(null===C||void 0===C||C.lock(),null===C||void 0===C?void 0:C.unLock):function(){}}),[$,C]),i.createElement("div",(0,r.Z)({className:u()("".concat(n,"-root"),H)},(0,g.Z)(e,{data:!0})),i.createElement(y,{prefixCls:n,visible:T&&c,motionName:b(n,Z,P),style:(0,l.Z)({zIndex:a},D),maskProps:z}),i.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:function(e){if(p&&e.keyCode===d.Z.ESC)return e.stopPropagation(),void G(e);c&&e.keyCode===d.Z.TAB&&V.current.changeActive(!e.shiftKey)},className:u()("".concat(n,"-wrap"),k),ref:F,onClick:X,style:(0,l.Z)((0,l.Z)({zIndex:a},x),{},{display:$?null:"none"})},_),i.createElement(S,(0,r.Z)({},e,{onMouseDown:function(){clearTimeout(J.current),Y.current=!0},onMouseUp:function(){J.current=setTimeout((function(){Y.current=!1}))},ref:V,closable:A,ariaId:K,prefixCls:n,visible:c,onClose:G,onVisibleChanged:function(e){if(e){var t;if(!(0,m.Z)(F.current,document.activeElement))B.current=document.activeElement,null===(t=V.current)||void 0===t||t.focus()}else{if(W(!1),T&&B.current&&w){try{B.current.focus({preventScroll:!0})}catch(n){}B.current=null}$&&(null===M||void 0===M||M())}},motionName:b(n,L,N)}))))}var M=function(e){var t=e.visible,n=e.getContainer,a=e.forceRender,l=e.destroyOnClose,c=void 0!==l&&l,u=e.afterClose,d=i.useState(t),f=(0,o.Z)(d,2),p=f[0],h=f[1];return i.useEffect((function(){t&&h(!0)}),[t]),!1===n?i.createElement(E,(0,r.Z)({},e,{getOpenCount:function(){return 2}})):a||!c||p?i.createElement(s.Z,{visible:t,forceRender:a,getContainer:n},(function(t){return i.createElement(E,(0,r.Z)({},e,{destroyOnClose:c,afterClose:function(){null===u||void 0===u||u(),h(!1)}},t))})):null};M.displayName="Dialog";var L=M},27935:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(57904),o=n(98037),i=n(99459),a=n(53162),s=n(50959),l=n(13445),c=n(84875),u=n.n(c),d={adjustX:1,adjustY:1},f=[0,0],p={topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:f},topCenter:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:f},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:f},bottomCenter:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:f},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:f}},h=n(23278),m=n(18912),g=n(68252),v=h.Z.ESC,y=h.Z.TAB;var b=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function w(e,t){var n=e.arrow,c=void 0!==n&&n,d=e.prefixCls,f=void 0===d?"rc-dropdown":d,h=e.transitionName,w=e.animation,C=e.align,x=e.placement,k=void 0===x?"bottomLeft":x,_=e.placements,S=void 0===_?p:_,E=e.getPopupContainer,M=e.showAction,L=e.hideAction,N=e.overlayClassName,O=e.overlayStyle,A=e.visible,j=e.trigger,T=void 0===j?["hover"]:j,Z=e.autoFocus,P=(0,a.Z)(e,b),R=s.useState(),I=(0,i.Z)(R,2),D=I[0],z=I[1],H="visible"in e?A:D,B=s.useRef(null);s.useImperativeHandle(t,(function(){return B.current})),function(e){var t=e.visible,n=e.setTriggerVisible,r=e.triggerRef,o=e.onVisibleChange,i=e.autoFocus,a=s.useRef(!1),l=function(){var e,i,a,s;t&&r.current&&(null===(e=r.current)||void 0===e||null===(i=e.triggerRef)||void 0===i||null===(a=i.current)||void 0===a||null===(s=a.focus)||void 0===s||s.call(a),n(!1),"function"===typeof o&&o(!1))},c=function(){var e,t,n,o,i=(0,g.tS)(null===(e=r.current)||void 0===e||null===(t=e.popupRef)||void 0===t||null===(n=t.current)||void 0===n||null===(o=n.getElement)||void 0===o?void 0:o.call(n))[0];return!!(null===i||void 0===i?void 0:i.focus)&&(i.focus(),a.current=!0,!0)},u=function(e){switch(e.keyCode){case v:l();break;case y:var t=!1;a.current||(t=c()),t?e.preventDefault():l()}};s.useEffect((function(){return t?(window.addEventListener("keydown",u),i&&(0,m.Z)(c,3),function(){window.removeEventListener("keydown",u),a.current=!1}):function(){a.current=!1}}),[t])}({visible:H,setTriggerVisible:z,triggerRef:B,onVisibleChange:e.onVisibleChange,autoFocus:Z});var F=function(){var t=function(){var t=e.overlay;return"function"===typeof t?t():t}();return s.createElement(s.Fragment,null,c&&s.createElement("div",{className:"".concat(f,"-arrow")}),t)},V=L;return V||-1===T.indexOf("contextMenu")||(V=["click"]),s.createElement(l.Z,(0,o.Z)((0,o.Z)({builtinPlacements:S},P),{},{prefixCls:f,ref:B,popupClassName:u()(N,(0,r.Z)({},"".concat(f,"-show-arrow"),c)),popupStyle:O,action:T,showAction:M,hideAction:V||[],popupPlacement:k,popupAlign:C,popupTransitionName:h,popupAnimation:w,popupVisible:H,stretch:function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n}()?"minWidth":"",popup:"function"===typeof e.overlay?F:F(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;z(t),"function"===typeof n&&n(t)},onPopupClick:function(t){var n=e.onOverlayClick;z(!1),n&&n(t)},getPopupContainer:E}),function(){var t=e.children,n=t.props?t.props:{},r=u()(n.className,function(){var t=e.openClassName;return void 0!==t?t:"".concat(f,"-open")}());return H&&t?s.cloneElement(t,{className:r}):t}())}var C=s.forwardRef(w)},22423:function(e,t,n){"use strict";n.r(t),n.d(t,{Field:function(){return Se},FieldContext:function(){return y},FormProvider:function(){return Ie},List:function(){return Me},ListContext:function(){return Ee},default:function(){return Ue},useForm:function(){return Pe},useWatch:function(){return Ve}});var r=n(50959),o=n(2053),i=n(53162),a=n(57904),s=n(98037),l=n(35047),c=n(73779),u=n(71374),d=n(46468),f=n(45675),p=n(36280),h=n(73444),m=n(14032),g="RC_FORM_INTERNAL_HOOKS",v=function(){(0,m.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},y=r.createContext({getFieldValue:v,getFieldsValue:v,getFieldError:v,getFieldWarning:v,getFieldsError:v,isFieldsTouched:v,isFieldTouched:v,isFieldValidating:v,isFieldsValidating:v,resetFields:v,setFields:v,setFieldValue:v,setFieldsValue:v,validateFields:v,submit:v,getInternalHooks:function(){return v(),{dispatch:v,initEntityValue:v,registerField:v,useSubscribe:v,setInitialValues:v,destroyForm:v,setCallbacks:v,registerWatch:v,getFields:v,setValidateMessages:v,setPreserve:v,getInitialValue:v}}});function b(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}var w=n(69501),C=n(81517),x=n(65171);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},k.apply(this,arguments)}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}function E(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(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 M(e,t,n){return M=E()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&S(o,n.prototype),o},M.apply(null,arguments)}function L(e){var t="function"===typeof Map?new Map:void 0;return L=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return M(e,arguments,_(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),S(r,e)},L(e)}var N=/%[sdj%]/g;function O(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function A(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i=n.length;if("function"===typeof e)return e.apply(null,n);if("string"===typeof e){var a=e.replace(N,(function(e){if("%%"===e)return"%";if(o>=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}}));return a}return e}function j(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!==typeof e||e))}function T(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var s=r;r+=1,s<o?t(e[s],i):n([])}}([])}"undefined"!==typeof x&&x.env;var Z=function(e){var t,n;function r(t,n){var r;return(r=e.call(this,"Async Validation Error")||this).errors=t,r.fields=n,r}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n),r}(L(Error));function P(e,t,n,r,o){if(t.first){var i=new Promise((function(t,i){var a=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n]||[])})),t}(e);T(a,n,(function(e){return r(e),e.length?i(new Z(e,O(e))):t(o)}))}));return i.catch((function(e){return e})),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],d=new Promise((function(t,i){var d=function(e){if(u.push.apply(u,e),++c===l)return r(u),u.length?i(new Z(u,O(u))):t(o)};s.length||(r(u),t(o)),s.forEach((function(t){var r=e[t];-1!==a.indexOf(t)?T(r,n,d):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,e||[]),++o===i&&n(r)}e.forEach((function(e){t(e,a)}))}(r,n,d)}))}));return d.catch((function(e){return e})),d}function R(e,t){return function(n){var r,o;return r=e.fullFields?function(e,t){for(var n=e,r=0;r<t.length;r++){if(void 0==n)return n;n=n[t[r]]}return n}(t,e.fullFields):t[n.field||e.fullField],(o=n)&&void 0!==o.message?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:"function"===typeof n?n():n,fieldValue:r,field:n.field||e.fullField}}}function I(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"===typeof r&&"object"===typeof e[n]?e[n]=k({},e[n],r):e[n]=r}return e}var D,z=function(e,t,n,r,o,i){!e.required||n.hasOwnProperty(e.field)&&!j(t,i||e.type)||r.push(A(o.messages.required,e.fullField))},H=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,B=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,F={integer:function(e){return F.number(e)&&parseInt(e,10)===e},float:function(e){return F.number(e)&&!F.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===typeof e&&!F.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&e.length<=320&&!!e.match(H)},url:function(e){return"string"===typeof e&&e.length<=2048&&!!e.match(function(){if(D)return D;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=("\n(?:\n(?:"+r+":){7}(?:"+r+"|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+n+"|:"+r+"|:)|                             // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4\n(?:"+r+":){5}(?::"+n+"|(?::"+r+"){1,2}|:)|                   // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4\n(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4\n(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4\n(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4\n(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){1,7}|:))             // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})?                                             // %eth0            %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),l=function(e){return e&&e.exact?i:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+o+t(e)+")","g")};l.v4=function(e){return e&&e.exact?a:new RegExp(""+t(e)+n+t(e),"g")},l.v6=function(e){return e&&e.exact?s:new RegExp(""+t(e)+o+t(e),"g")};var c=l.v4().source,u=l.v6().source;return D=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+c+"|"+u+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"===typeof e&&!!e.match(B)}},V={required:z,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(A(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t)z(e,t,n,r,o);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?F[i](t)||r.push(A(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(A(o.messages.types[i],e.fullField,e.type))}},range:function(e,t,n,r,o){var i="number"===typeof e.len,a="number"===typeof e.min,s="number"===typeof e.max,l=t,c=null,u="number"===typeof t,d="string"===typeof t,f=Array.isArray(t);if(u?c="number":d?c="string":f&&(c="array"),!c)return!1;f&&(l=t.length),d&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?l!==e.len&&r.push(A(o.messages[c].len,e.fullField,e.len)):a&&!s&&l<e.min?r.push(A(o.messages[c].min,e.fullField,e.min)):s&&!a&&l>e.max?r.push(A(o.messages[c].max,e.fullField,e.max)):a&&s&&(l<e.min||l>e.max)&&r.push(A(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&r.push(A(o.messages.enum,e.fullField,e.enum.join(", ")))},pattern:function(e,t,n,r,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(A(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(A(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},q=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(j(t,i)&&!e.required)return n();V.required(e,t,r,a,o,i),j(t,i)||V.type(e,t,r,a,o)}n(a)},U={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(j(t,"string")&&!e.required)return n();V.required(e,t,r,i,o,"string"),j(t,"string")||(V.type(e,t,r,i,o),V.range(e,t,r,i,o),V.pattern(e,t,r,i,o),!0===e.whitespace&&V.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(j(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&V.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),j(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&(V.type(e,t,r,i,o),V.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(j(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&V.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(j(t)&&!e.required)return n();V.required(e,t,r,i,o),j(t)||V.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(j(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&(V.type(e,t,r,i,o),V.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(j(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&(V.type(e,t,r,i,o),V.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((void 0===t||null===t)&&!e.required)return n();V.required(e,t,r,i,o,"array"),void 0!==t&&null!==t&&(V.type(e,t,r,i,o),V.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(j(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&V.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(j(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&V.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(j(t,"string")&&!e.required)return n();V.required(e,t,r,i,o),j(t,"string")||V.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(j(t,"date")&&!e.required)return n();var a;if(V.required(e,t,r,i,o),!j(t,"date"))a=t instanceof Date?t:new Date(t),V.type(e,a,r,i,o),a&&V.range(e,a.getTime(),r,i,o)}n(i)},url:q,hex:q,email:q,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;V.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(j(t)&&!e.required)return n();V.required(e,t,r,i,o)}n(i)}};function $(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var W=$(),K=function(){function e(e){this.rules=null,this._messages=W,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=I($(),e)),this._messages},t.validate=function(t,n,r){var o=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var i=t,a=n,s=r;if("function"===typeof a&&(s=a,a={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(null,i),Promise.resolve(i);if(a.messages){var l=this.messages();l===W&&(l=$()),I(l,a.messages),a.messages=l}else a.messages=this.messages();var c={};(a.keys||Object.keys(this.rules)).forEach((function(e){var n=o.rules[e],r=i[e];n.forEach((function(n){var a=n;"function"===typeof a.transform&&(i===t&&(i=k({},i)),r=i[e]=a.transform(r)),(a="function"===typeof a?{validator:a}:k({},a)).validator=o.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=o.getType(a),c[e]=c[e]||[],c[e].push({rule:a,value:r,source:i,field:e}))}))}));var u={};return P(c,a,(function(t,n){var r,o=t.rule,s=("object"===o.type||"array"===o.type)&&("object"===typeof o.fields||"object"===typeof o.defaultField);function l(e,t){return k({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function c(r){void 0===r&&(r=[]);var c=Array.isArray(r)?r:[r];!a.suppressWarning&&c.length&&e.warning("async-validator:",c),c.length&&void 0!==o.message&&(c=[].concat(o.message));var d=c.map(R(o,i));if(a.first&&d.length)return u[o.field]=1,n(d);if(s){if(o.required&&!t.value)return void 0!==o.message?d=[].concat(o.message).map(R(o,i)):a.error&&(d=[a.error(o,A(a.messages.required,o.field))]),n(d);var f={};o.defaultField&&Object.keys(t.value).map((function(e){f[e]=o.defaultField})),f=k({},f,t.rule.fields);var p={};Object.keys(f).forEach((function(e){var t=f[e],n=Array.isArray(t)?t:[t];p[e]=n.map(l.bind(null,e))}));var h=new e(p);h.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),h.validate(t.value,t.rule.options||a,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(d)}if(s=s&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)r=o.asyncValidator(o,t.value,c,t.source,a);else if(o.validator){try{r=o.validator(o,t.value,c,t.source,a)}catch(d){null==console.error||console.error(d),a.suppressValidatorError||setTimeout((function(){throw d}),0),c(d.message)}!0===r?c():!1===r?c("function"===typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):r instanceof Array?c(r):r instanceof Error&&c(r.message)}r&&r.then&&r.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){!function(e){var t=[],n={};function r(e){var n;Array.isArray(e)?t=(n=t).concat.apply(n,e):t.push(e)}for(var o=0;o<e.length;o++)r(e[o]);t.length?(n=O(t),s(t,n)):s(null,i)}(e)}),i)},t.getType=function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!U.hasOwnProperty(e.type))throw new Error(A("Unknown rule type %s",e.type));return e.type||"string"},t.getValidationMethod=function(e){if("function"===typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?U.required:U[this.getType(e)]||void 0},e}();K.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");U[e]=t},K.warning=function(){},K.messages=W,K.validators=U;var G="'${name}' is not a valid ${type}",Y={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:G,method:G,array:G,object:G,number:G,date:G,boolean:G,integer:G,float:G,regexp:G,email:G,url:G,hex:G},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},J=n(24744),X=n(80406),Q=n(85840);function ee(e){return Array.isArray(e)?function(e){return e.map((function(e){return ee(e)}))}(e):"object"===(0,J.Z)(e)&&null!==e?function(e){if(Object.getPrototypeOf(e)===Object.prototype){var t={};for(var n in e)t[n]=ee(e[n]);return t}return e}(e):e}var te=ee;function ne(e){return b(e)}function re(e,t){return(0,X.Z)(e,t)}function oe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=(0,Q.Z)(e,t,n,r);return o}function ie(e,t){var n={};return t.forEach((function(t){var r=re(e,t);n=oe(n,t,r)})),n}function ae(e,t){return e&&e.some((function(e){return ue(e,t)}))}function se(e){return"object"===(0,J.Z)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function le(e,t){var n=Array.isArray(e)?(0,l.Z)(e):(0,s.Z)({},e);return t?(Object.keys(t).forEach((function(e){var r=n[e],o=t[e],i=se(r)&&se(o);n[e]=i?le(r,o||{}):te(o)})),n):n}function ce(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return le(e,t)}),e)}function ue(e,t){return!(!e||!t||e.length!==t.length)&&e.every((function(e,n){return t[n]===e}))}function de(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,J.Z)(t.target)&&e in t.target?t.target[e]:t}function fe(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,l.Z)(e.slice(0,n)),[o],(0,l.Z)(e.slice(n,t)),(0,l.Z)(e.slice(t+1,r))):i<0?[].concat((0,l.Z)(e.slice(0,t)),(0,l.Z)(e.slice(t+1,n+1)),[o],(0,l.Z)(e.slice(n+1,r))):e}var pe=K;function he(e,t){return e.replace(/\$\{\w+\}/g,(function(e){var n=e.slice(2,-1);return t[n]}))}var me="CODE_LOGIC_ERROR";function ge(e,t,n,r,o){return ve.apply(this,arguments)}function ve(){return ve=(0,C.Z)((0,w.Z)().mark((function e(t,n,o,i,c){var u,d,f,p,h,m,g,v,y;return(0,w.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete(u=(0,s.Z)({},o)).ruleIndex,u.validator&&(d=u.validator,u.validator=function(){try{return d.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(me)}}),f=null,u&&"array"===u.type&&u.defaultField&&(f=u.defaultField,delete u.defaultField),p=new pe((0,a.Z)({},t,[u])),h=ce({},Y,i.validateMessages),p.messages(h),m=[],e.prev=9,e.next=12,Promise.resolve(p.validate((0,a.Z)({},t,n),(0,s.Z)({},i)));case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(9),e.t0.errors&&(m=e.t0.errors.map((function(e,t){var n=e.message,o=n===me?h.default:n;return r.isValidElement(o)?r.cloneElement(o,{key:"error_".concat(t)}):o})));case 17:if(m.length||!f){e.next=22;break}return e.next=20,Promise.all(n.map((function(e,n){return ge("".concat(t,".").concat(n),e,f,i,c)})));case 20:return g=e.sent,e.abrupt("return",g.reduce((function(e,t){return[].concat((0,l.Z)(e),(0,l.Z)(t))}),[]));case 22:return v=(0,s.Z)((0,s.Z)({},o),{},{name:t,enum:(o.enum||[]).join(", ")},c),y=m.map((function(e){return"string"===typeof e?he(e,v):e})),e.abrupt("return",y);case 25:case"end":return e.stop()}}),e,null,[[9,14]])}))),ve.apply(this,arguments)}function ye(e,t,n,r,o,i){var a,l=e.join("."),c=n.map((function(e,t){var n=e.validator,r=(0,s.Z)((0,s.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Promise.resolve().then((function(){(0,m.ZP)(!o,"Your validator function has already return a promise. `callback` will be ignored."),o||r.apply(void 0,t)}))}));o=i&&"function"===typeof i.then&&"function"===typeof i.catch,(0,m.ZP)(o,"`callback` is deprecated. Please return a promise instead."),o&&i.then((function(){r()})).catch((function(e){r(e||" ")}))}),r})).sort((function(e,t){var n=e.warningOnly,r=e.ruleIndex,o=t.warningOnly,i=t.ruleIndex;return!!n===!!o?r-i:n?1:-1}));if(!0===o)a=new Promise(function(){var e=(0,C.Z)((0,w.Z)().mark((function e(n,o){var a,s,u;return(0,w.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=0;case 1:if(!(a<c.length)){e.next=12;break}return s=c[a],e.next=5,ge(l,t,s,r,i);case 5:if(!(u=e.sent).length){e.next=9;break}return o([{errors:u,rule:s}]),e.abrupt("return");case 9:a+=1,e.next=1;break;case 12:n([]);case 13:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}());else{var u=c.map((function(e){return ge(l,t,e,r,i).then((function(t){return{errors:t,rule:e}}))}));a=(o?function(e){return we.apply(this,arguments)}(u):function(e){return be.apply(this,arguments)}(u)).then((function(e){return Promise.reject(e)}))}return a.catch((function(e){return e})),a}function be(){return(be=(0,C.Z)((0,w.Z)().mark((function e(t){return(0,w.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then((function(e){var t;return(t=[]).concat.apply(t,(0,l.Z)(e))})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(){return(we=(0,C.Z)((0,w.Z)().mark((function e(t){var n;return(0,w.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=0,e.abrupt("return",new Promise((function(e){t.forEach((function(r){r.then((function(r){r.errors.length&&e([r]),(n+=1)===t.length&&e([])}))}))})));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ce=["name"],xe=[];function ke(e,t,n,r,o,i){return"function"===typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var _e=function(e){(0,f.Z)(n,e);var t=(0,p.Z)(n);function n(e){var o;((0,c.Z)(this,n),(o=t.call(this,e)).state={resetCount:0},o.cancelRegisterFunc=null,o.mounted=!1,o.touched=!1,o.dirty=!1,o.validatePromise=null,o.prevValidating=void 0,o.errors=xe,o.warnings=xe,o.cancelRegister=function(){var e=o.props,t=e.preserve,n=e.isListField,r=e.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(n,t,ne(r)),o.cancelRegisterFunc=null},o.getNamePath=function(){var e=o.props,t=e.name,n=e.fieldContext.prefixName,r=void 0===n?[]:n;return void 0!==t?[].concat((0,l.Z)(r),(0,l.Z)(t)):[]},o.getRules=function(){var e=o.props,t=e.rules,n=void 0===t?[]:t,r=e.fieldContext;return n.map((function(e){return"function"===typeof e?e(r):e}))},o.refresh=function(){o.mounted&&o.setState((function(e){return{resetCount:e.resetCount+1}}))},o.triggerMetaEvent=function(e){var t=o.props.onMetaChange;null===t||void 0===t||t((0,s.Z)((0,s.Z)({},o.getMeta()),{},{destroy:e}))},o.onStoreChange=function(e,t,n){var r=o.props,i=r.shouldUpdate,a=r.dependencies,s=void 0===a?[]:a,l=r.onReset,c=n.store,u=o.getNamePath(),d=o.getValue(e),f=o.getValue(c),p=t&&ae(t,u);switch("valueUpdate"===n.type&&"external"===n.source&&d!==f&&(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=xe,o.warnings=xe,o.triggerMetaEvent()),n.type){case"reset":if(!t||p)return o.touched=!1,o.dirty=!1,o.validatePromise=null,o.errors=xe,o.warnings=xe,o.triggerMetaEvent(),null===l||void 0===l||l(),void o.refresh();break;case"remove":if(i)return void o.reRender();break;case"setField":if(p){var h=n.data;return"touched"in h&&(o.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(o.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(o.errors=h.errors||xe),"warnings"in h&&(o.warnings=h.warnings||xe),o.dirty=!0,o.triggerMetaEvent(),void o.reRender()}if(i&&!u.length&&ke(i,e,c,d,f,n))return void o.reRender();break;case"dependenciesUpdate":if(s.map(ne).some((function(e){return ae(n.relatedFields,e)})))return void o.reRender();break;default:if(p||(!s.length||u.length||i)&&ke(i,e,c,d,f,n))return void o.reRender()}!0===i&&o.reRender()},o.validateRules=function(e){var t=o.getNamePath(),n=o.getValue(),r=Promise.resolve().then((function(){if(!o.mounted)return[];var i=o.props,a=i.validateFirst,s=void 0!==a&&a,c=i.messageVariables,u=(e||{}).triggerName,d=o.getRules();u&&(d=d.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||b(t).includes(u)})));var f=ye(t,n,d,e,s,c);return f.catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xe;if(o.validatePromise===r){var t;o.validatePromise=null;var n=[],i=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,r=e.errors,o=void 0===r?xe:r;t?i.push.apply(i,(0,l.Z)(o)):n.push.apply(n,(0,l.Z)(o))})),o.errors=n,o.warnings=i,o.triggerMetaEvent(),o.reRender()}})),f}));return o.validatePromise=r,o.dirty=!0,o.errors=xe,o.warnings=xe,o.triggerMetaEvent(),o.reRender(),r},o.isFieldValidating=function(){return!!o.validatePromise},o.isFieldTouched=function(){return o.touched},o.isFieldDirty=function(){return!(!o.dirty&&void 0===o.props.initialValue)||void 0!==(0,o.props.fieldContext.getInternalHooks(g).getInitialValue)(o.getNamePath())},o.getErrors=function(){return o.errors},o.getWarnings=function(){return o.warnings},o.isListField=function(){return o.props.isListField},o.isList=function(){return o.props.isList},o.isPreserve=function(){return o.props.preserve},o.getMeta=function(){return o.prevValidating=o.isFieldValidating(),{touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath()}},o.getOnlyChild=function(e){if("function"===typeof e){var t=o.getMeta();return(0,s.Z)((0,s.Z)({},o.getOnlyChild(e(o.getControlled(),t,o.props.fieldContext))),{},{isFunction:!0})}var n=(0,h.Z)(e);return 1===n.length&&r.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},o.getValue=function(e){var t=o.props.fieldContext.getFieldsValue,n=o.getNamePath();return re(e||t(!0),n)},o.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.props,n=t.trigger,r=t.validateTrigger,i=t.getValueFromEvent,l=t.normalize,c=t.valuePropName,u=t.getValueProps,d=t.fieldContext,f=void 0!==r?r:d.validateTrigger,p=o.getNamePath(),h=d.getInternalHooks,m=d.getFieldsValue,v=h(g),y=v.dispatch,w=o.getValue(),C=u||function(e){return(0,a.Z)({},c,e)},x=e[n],k=(0,s.Z)((0,s.Z)({},e),C(w));k[n]=function(){var e;o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e=i?i.apply(void 0,n):de.apply(void 0,[c].concat(n)),l&&(e=l(e,w,m(!0))),y({type:"updateValue",namePath:p,value:e}),x&&x.apply(void 0,n)};var _=b(f||[]);return _.forEach((function(e){var t=k[e];k[e]=function(){t&&t.apply(void 0,arguments);var n=o.props.rules;n&&n.length&&y({type:"validateField",namePath:p,triggerName:e})}})),k},e.fieldContext)&&(0,(0,e.fieldContext.getInternalHooks)(g).initEntityValue)((0,d.Z)(o));return o}return(0,u.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.shouldUpdate,n=e.fieldContext;if(this.mounted=!0,n){var r=(0,n.getInternalHooks)(g).registerField;this.cancelRegisterFunc=r(this)}!0===t&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var e,t=this.state.resetCount,n=this.props.children,o=this.getOnlyChild(n),i=o.child;return o.isFunction?e=i:r.isValidElement(i)?e=r.cloneElement(i,this.getControlled(i.props)):((0,m.ZP)(!i,"`children` of Field is not validate ReactElement."),e=i),r.createElement(r.Fragment,{key:t},e)}}]),n}(r.Component);_e.contextType=y,_e.defaultProps={trigger:"onChange",valuePropName:"value"};var Se=function(e){var t=e.name,n=(0,i.Z)(e,Ce),a=r.useContext(y),s=void 0!==t?ne(t):void 0,l="keep";return n.isListField||(l="_".concat((s||[]).join("_"))),r.createElement(_e,(0,o.Z)({key:l,name:s},n,{fieldContext:a}))},Ee=r.createContext(null),Me=function(e){var t=e.name,n=e.initialValue,o=e.children,i=e.rules,a=e.validateTrigger,c=r.useContext(y),u=r.useRef({keys:[],id:0}).current,d=r.useMemo((function(){var e=ne(c.prefixName)||[];return[].concat((0,l.Z)(e),(0,l.Z)(ne(t)))}),[c.prefixName,t]),f=r.useMemo((function(){return(0,s.Z)((0,s.Z)({},c),{},{prefixName:d})}),[c,d]),p=r.useMemo((function(){return{getKey:function(e){var t=d.length,n=e[t];return[u.keys[n],e.slice(t+1)]}}}),[d]);if("function"!==typeof o)return(0,m.ZP)(!1,"Form.List only accepts function as children."),null;return r.createElement(Ee.Provider,{value:p},r.createElement(y.Provider,{value:f},r.createElement(Se,{name:[],shouldUpdate:function(e,t,n){return"internal"!==n.source&&e!==t},rules:i,validateTrigger:a,initialValue:n,isList:!0},(function(e,t){var n=e.value,r=void 0===n?[]:n,i=e.onChange,a=c.getFieldValue,s=function(){return a(d||[])||[]},f={add:function(e,t){var n=s();t>=0&&t<=n.length?(u.keys=[].concat((0,l.Z)(u.keys.slice(0,t)),[u.id],(0,l.Z)(u.keys.slice(t))),i([].concat((0,l.Z)(n.slice(0,t)),[e],(0,l.Z)(n.slice(t))))):(u.keys=[].concat((0,l.Z)(u.keys),[u.id]),i([].concat((0,l.Z)(n),[e]))),u.id+=1},remove:function(e){var t=s(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(u.keys=u.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=s();e<0||e>=n.length||t<0||t>=n.length||(u.keys=fe(u.keys,e,t),i(fe(n,e,t)))}}},p=r||[];return Array.isArray(p)||(p=[]),o(p.map((function(e,t){var n=u.keys[t];return void 0===n&&(u.keys[t]=u.id,n=u.keys[t],u.id+=1),{name:t,key:n,isListField:!0}})),f,t)}))))},Le=n(99459);var Ne="__@field_split__";function Oe(e){return e.map((function(e){return"".concat((0,J.Z)(e),":").concat(e)})).join(Ne)}var Ae=function(){function e(){(0,c.Z)(this,e),this.kvs=new Map}return(0,u.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(Oe(e),t)}},{key:"get",value:function(e){return this.kvs.get(Oe(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(Oe(e))}},{key:"map",value:function(e){return(0,l.Z)(this.kvs.entries()).map((function(t){var n=(0,Le.Z)(t,2),r=n[0],o=n[1],i=r.split(Ne);return e({key:i.map((function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,Le.Z)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o})),value:o})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null})),e}}]),e}(),je=Ae,Te=["name","errors"],Ze=(0,u.Z)((function e(t){var n=this;(0,c.Z)(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(e){return e===g?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):((0,m.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){n.subscribable=e},this.prevWithoutPreserves=null,this.setInitialValues=function(e,t){if(n.initialValues=e||{},t){var r,o=ce({},e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map((function(t){var n=t.key;o=oe(o,n,re(e,n))})),n.prevWithoutPreserves=null,n.updateStore(o)}},this.destroyForm=function(){var e=new je;n.getFieldEntities(!0).forEach((function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)})),n.prevWithoutPreserves=e},this.getInitialValue=function(e){var t=re(n.initialValues,e);return e.length?te(t):t},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.setPreserve=function(e){n.preserve=e},this.watchList=[],this.registerWatch=function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter((function(t){return t!==e}))}},this.notifyWatch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue();n.watchList.forEach((function(n){n(t,e)}))}},this.timeoutId=null,this.warningUnhooked=function(){0},this.updateStore=function(e){n.store=e},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new je;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=ne(e);return t.get(n)||{INVALIDATE_NAME_PATH:ne(e)}}))},this.getFieldsValue=function(e,t){if(n.warningUnhooked(),!0===e&&!t)return n.store;var r=n.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),o=[];return r.forEach((function(n){var r,i="INVALIDATE_NAME_PATH"in n?n.INVALIDATE_NAME_PATH:n.getNamePath();if(e||!(null===(r=n.isListField)||void 0===r?void 0:r.call(n)))if(t){var a="getMeta"in n?n.getMeta():null;t(a)&&o.push(i)}else o.push(i)})),ie(n.store,o.map(ne))},this.getFieldValue=function(e){n.warningUnhooked();var t=ne(e);return re(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:ne(e[n]),errors:[],warnings:[]}}))},this.getFieldError=function(e){n.warningUnhooked();var t=ne(e);return n.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){n.warningUnhooked();var t=ne(e);return n.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o,i=t[0],a=t[1],s=!1;0===t.length?o=null:1===t.length?Array.isArray(i)?(o=i.map(ne),s=!1):(o=null,s=i):(o=i.map(ne),s=a);var c=n.getFieldEntities(!0),u=function(e){return e.isFieldTouched()};if(!o)return s?c.every(u):c.some(u);var d=new je;o.forEach((function(e){d.set(e,[])})),c.forEach((function(e){var t=e.getNamePath();o.forEach((function(n){n.every((function(e,n){return t[n]===e}))&&d.update(n,(function(t){return[].concat((0,l.Z)(t),[e])}))}))}));var f=function(e){return e.some(u)},p=d.map((function(e){return e.value}));return s?p.every(f):p.some(f)},this.isFieldTouched=function(e){return n.warningUnhooked(),n.isFieldsTouched([e])},this.isFieldsValidating=function(e){n.warningUnhooked();var t=n.getFieldEntities();if(!e)return t.some((function(e){return e.isFieldValidating()}));var r=e.map(ne);return t.some((function(e){var t=e.getNamePath();return ae(r,t)&&e.isFieldValidating()}))},this.isFieldValidating=function(e){return n.warningUnhooked(),n.isFieldsValidating([e])},this.resetWithFieldInitialValue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new je,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var o=t.get(r)||new Set;o.add({entity:e,value:n}),t.set(r,o)}}));var o,i=function(r){r.forEach((function(r){if(void 0!==r.props.initialValue){var o=r.getNamePath();if(void 0!==n.getInitialValue(o))(0,m.ZP)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=t.get(o);if(i&&i.size>1)(0,m.ZP)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);e.skipExist&&void 0!==a||n.updateStore(oe(n.store,o,(0,l.Z)(i)[0].value))}}}}))};e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=o).push.apply(n,(0,l.Z)((0,l.Z)(r).map((function(e){return e.entity}))))}))):o=r,i(o)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore(ce({},n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();var r=e.map(ne);r.forEach((function(e){var t=n.getInitialValue(e);n.updateStore(oe(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)},this.setFields=function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach((function(e){var o=e.name,a=(e.errors,(0,i.Z)(e,Te)),s=ne(o);r.push(s),"value"in a&&n.updateStore(oe(n.store,s,a.value)),n.notifyObservers(t,[s],{type:"setField",data:e})})),n.notifyWatch(r)},this.getFields=function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,s.Z)((0,s.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o}))},this.initEntityValue=function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===re(n.store,r)&&n.updateStore(oe(n.store,r,t))}},this.isMergedPreserve=function(e){var t=void 0!==e?e:n.preserve;return null===t||void 0===t||t},this.registerField=function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!ue(e.getNamePath(),t)}))){var s=n.store;n.updateStore(oe(s,t,a,!0)),n.notifyObservers(s,[t],{type:"remove"}),n.triggerDependenciesUpdate(s,t)}}n.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var o=(0,s.Z)((0,s.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,l.Z)(r))}),r},this.updateValue=function(e,t){var r=ne(e),o=n.store;n.updateStore(oe(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(ie(n.store,[r]),n.getFieldsValue());n.triggerOnFieldsChange([r].concat((0,l.Z)(i)))},this.setFieldsValue=function(e){n.warningUnhooked();var t=n.store;if(e){var r=ce(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(e,t){n.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],o=new je;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=ne(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r},this.triggerOnFieldsChange=function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new je;t.forEach((function(e){var t=e.name,n=e.errors;i.set(t,n)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}r(o.filter((function(t){var n=t.name;return ae(e,n)})),o)}},this.validateFields=function(e,t){n.warningUnhooked();var r=!!e,o=r?e.map(ne):[],i=[];n.getFieldEntities(!0).forEach((function(a){if(r||o.push(a.getNamePath()),(null===t||void 0===t?void 0:t.recursive)&&r){var c=a.getNamePath();c.every((function(t,n){return e[n]===t||void 0===e[n]}))&&o.push(c)}if(a.props.rules&&a.props.rules.length){var u=a.getNamePath();if(!r||ae(o,u)){var d=a.validateRules((0,s.Z)({validateMessages:(0,s.Z)((0,s.Z)({},Y),n.validateMessages)},t));i.push(d.then((function(){return{name:u,errors:[],warnings:[]}})).catch((function(e){var t,n=[],r=[];return null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,o=e.errors;t?r.push.apply(r,(0,l.Z)(o)):n.push.apply(n,(0,l.Z)(o))})),n.length?Promise.reject({name:u,errors:n,warnings:r}):{name:u,errors:n,warnings:r}})))}}}));var a=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(i);n.lastValidatePromise=a,a.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var c=a.then((function(){return n.lastValidatePromise===a?Promise.resolve(n.getFieldsValue(o)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(o),errorFields:t,outOfDate:n.lastValidatePromise!==a})}));return c.catch((function(e){return e})),c},this.submit=function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){console.error(r)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))},this.forceRootUpdate=t}));var Pe=function(e){var t=r.useRef(),n=r.useState({}),o=(0,Le.Z)(n,2)[1];if(!t.current)if(e)t.current=e;else{var i=new Ze((function(){o({})}));t.current=i.getForm()}return[t.current]},Re=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Ie=function(e){var t=e.validateMessages,n=e.onFormChange,o=e.onFormFinish,i=e.children,l=r.useContext(Re),c=r.useRef({});return r.createElement(Re.Provider,{value:(0,s.Z)((0,s.Z)({},l),{},{validateMessages:(0,s.Z)((0,s.Z)({},l.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:c.current}),l.triggerFormChange(e,t)},triggerFormFinish:function(e,t){o&&o(e,{values:t,forms:c.current}),l.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(c.current=(0,s.Z)((0,s.Z)({},c.current),{},(0,a.Z)({},e,t))),l.registerForm(e,t)},unregisterForm:function(e){var t=(0,s.Z)({},c.current);delete t[e],c.current=t,l.unregisterForm(e)}})},i)},De=Re,ze=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],He=function(e,t){var n=e.name,a=e.initialValues,c=e.fields,u=e.form,d=e.preserve,f=e.children,p=e.component,h=void 0===p?"form":p,m=e.validateMessages,v=e.validateTrigger,b=void 0===v?"onChange":v,w=e.onValuesChange,C=e.onFieldsChange,x=e.onFinish,k=e.onFinishFailed,_=(0,i.Z)(e,ze),S=r.useContext(De),E=Pe(u),M=(0,Le.Z)(E,1)[0],L=M.getInternalHooks(g),N=L.useSubscribe,O=L.setInitialValues,A=L.setCallbacks,j=L.setValidateMessages,T=L.setPreserve,Z=L.destroyForm;r.useImperativeHandle(t,(function(){return M})),r.useEffect((function(){return S.registerForm(n,M),function(){S.unregisterForm(n)}}),[S,M,n]),j((0,s.Z)((0,s.Z)({},S.validateMessages),m)),A({onValuesChange:w,onFieldsChange:function(e){if(S.triggerFormChange(n,e),C){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];C.apply(void 0,[e].concat(r))}},onFinish:function(e){S.triggerFormFinish(n,e),x&&x(e)},onFinishFailed:k}),T(d);var P,R=r.useRef(null);O(a,!R.current),R.current||(R.current=!0),r.useEffect((function(){return Z}),[]);var I="function"===typeof f;I?P=f(M.getFieldsValue(!0),M):P=f;N(!I);var D=r.useRef();r.useEffect((function(){(function(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||"object"!==(0,J.Z)(e)||"object"!==(0,J.Z)(t))return!1;var n=Object.keys(e),r=Object.keys(t),o=new Set([].concat(n,r));return(0,l.Z)(o).every((function(n){var r=e[n],o=t[n];return"function"===typeof r&&"function"===typeof o||r===o}))})(D.current||[],c||[])||M.setFields(c||[]),D.current=c}),[c,M]);var z=r.useMemo((function(){return(0,s.Z)((0,s.Z)({},M),{},{validateTrigger:b})}),[M,b]),H=r.createElement(y.Provider,{value:z},P);return!1===h?H:r.createElement(h,(0,o.Z)({},_,{onSubmit:function(e){e.preventDefault(),e.stopPropagation(),M.submit()},onReset:function(e){var t;e.preventDefault(),M.resetFields(),null===(t=_.onReset)||void 0===t||t.call(_,e)}}),H)};function Be(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}var Fe=function(){};var Ve=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[0],i=void 0===o?[]:o,a=t[1],s=(0,r.useState)(),l=(0,Le.Z)(s,2),c=l[0],u=l[1],d=(0,r.useMemo)((function(){return Be(c)}),[c]),f=(0,r.useRef)(d);f.current=d;var p=(0,r.useContext)(y),h=a||p,m=h&&h._init,v=ne(i),b=(0,r.useRef)(v);return b.current=v,Fe(v),(0,r.useEffect)((function(){if(m){var e=h.getFieldsValue,t=(0,(0,h.getInternalHooks)(g).registerWatch)((function(e){var t=re(e,b.current),n=Be(t);f.current!==n&&(f.current=n,u(t))})),n=re(e(),b.current);return u(n),t}}),[m]),c},qe=r.forwardRef(He);qe.FormProvider=Ie,qe.Field=Se,qe.List=Me,qe.useForm=Pe,qe.useWatch=Ve;var Ue=qe},26784:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseInput:function(){return f},default:function(){return w}});var r=n(57904),o=n(24744),i=n(50959),a=n(84875),s=n.n(a);function l(e){return!(!e.addonBefore&&!e.addonAfter)}function c(e){return!!(e.prefix||e.suffix||e.allowClear)}function u(e,t,n,r){if(n){var o=t;if("click"===t.type){var i=e.cloneNode(!0);return o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value="",void n(o)}if(void 0!==r)return o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(o);n(o)}}function d(e){return"undefined"===typeof e||null===e?"":String(e)}var f=function(e){var t=e.inputElement,n=e.prefixCls,a=e.prefix,u=e.suffix,d=e.addonBefore,f=e.addonAfter,p=e.className,h=e.style,m=e.affixWrapperClassName,g=e.groupClassName,v=e.wrapperClassName,y=e.disabled,b=e.readOnly,w=e.focused,C=e.triggerFocus,x=e.allowClear,k=e.value,_=e.handleReset,S=e.hidden,E=(0,i.useRef)(null),M=(0,i.cloneElement)(t,{value:k,hidden:S});if(c(e)){var L,N="".concat(n,"-affix-wrapper"),O=s()(N,(L={},(0,r.Z)(L,"".concat(N,"-disabled"),y),(0,r.Z)(L,"".concat(N,"-focused"),w),(0,r.Z)(L,"".concat(N,"-readonly"),b),(0,r.Z)(L,"".concat(N,"-input-with-clear-btn"),u&&x&&k),L),!l(e)&&p,m),A=(u||x)&&i.createElement("span",{className:"".concat(n,"-suffix")},function(){var e;if(!x)return null;var t=!y&&!b&&k,a="".concat(n,"-clear-icon"),l="object"===(0,o.Z)(x)&&null!==x&&void 0!==x&&x.clearIcon?x.clearIcon:"\u2716";return i.createElement("span",{onClick:_,onMouseDown:function(e){return e.preventDefault()},className:s()(a,(e={},(0,r.Z)(e,"".concat(a,"-hidden"),!t),(0,r.Z)(e,"".concat(a,"-has-suffix"),!!u),e)),role:"button",tabIndex:-1},l)}(),u);M=i.createElement("span",{className:O,style:h,hidden:!l(e)&&S,onClick:function(e){var t;null!==(t=E.current)&&void 0!==t&&t.contains(e.target)&&(null===C||void 0===C||C())},ref:E},a&&i.createElement("span",{className:"".concat(n,"-prefix")},a),(0,i.cloneElement)(t,{style:null,value:k,hidden:null}),A)}if(l(e)){var j="".concat(n,"-group"),T="".concat(j,"-addon"),Z=s()("".concat(n,"-wrapper"),j,v),P=s()("".concat(n,"-group-wrapper"),p,g);return i.createElement("span",{className:P,style:h,hidden:S},i.createElement("span",{className:Z},d&&i.createElement("span",{className:T},d),(0,i.cloneElement)(M,{style:null,hidden:null}),f&&i.createElement("span",{className:T},f)))}return M},p=n(35047),h=n(2053),m=n(99459),g=n(53162),v=n(90123),y=n(5481),b=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","inputClassName"],w=(0,i.forwardRef)((function(e,t){var n=e.autoComplete,a=e.onChange,w=e.onFocus,C=e.onBlur,x=e.onPressEnter,k=e.onKeyDown,_=e.prefixCls,S=void 0===_?"rc-input":_,E=e.disabled,M=e.htmlSize,L=e.className,N=e.maxLength,O=e.suffix,A=e.showCount,j=e.type,T=void 0===j?"text":j,Z=e.inputClassName,P=(0,g.Z)(e,b),R=(0,y.Z)(e.defaultValue,{value:e.value}),I=(0,m.Z)(R,2),D=I[0],z=I[1],H=(0,i.useState)(!1),B=(0,m.Z)(H,2),F=B[0],V=B[1],q=(0,i.useRef)(null),U=function(e){q.current&&function(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}(q.current,e)};(0,i.useImperativeHandle)(t,(function(){return{focus:U,blur:function(){var e;null===(e=q.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=q.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=q.current)||void 0===e||e.select()},input:q.current}})),(0,i.useEffect)((function(){V((function(e){return(!e||!E)&&e}))}),[E]);var $=function(t){void 0===e.value&&z(t.target.value),q.current&&u(q.current,t,a)},W=function(e){x&&"Enter"===e.key&&x(e),null===k||void 0===k||k(e)},K=function(e){V(!0),null===w||void 0===w||w(e)},G=function(e){V(!1),null===C||void 0===C||C(e)};return i.createElement(f,(0,h.Z)({},P,{prefixCls:S,className:L,inputElement:function(){var t=(0,v.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName","htmlSize"]);return i.createElement("input",(0,h.Z)({autoComplete:n},t,{onChange:$,onFocus:K,onBlur:G,onKeyDown:W,className:s()(S,(0,r.Z)({},"".concat(S,"-disabled"),E),Z,!l(e)&&!c(e)&&L),ref:q,size:M,type:T}))}(),handleReset:function(e){z(""),U(),q.current&&u(q.current,e,a)},value:d(D),focused:F,triggerFocus:U,suffix:function(){var e=Number(N)>0;if(O||A){var t=d(D),n=(0,p.Z)(t).length,a="object"===(0,o.Z)(A)?A.formatter({value:t,count:n,maxLength:N}):"".concat(n).concat(e?" / ".concat(N):"");return i.createElement(i.Fragment,null,!!A&&i.createElement("span",{className:s()("".concat(S,"-show-count-suffix"),(0,r.Z)({},"".concat(S,"-show-count-has-suffix"),!!O))},a),O)}return null}(),disabled:E}))}))},74564:function(e,t,n){"use strict";n.d(t,{iz:function(){return qe},ck:function(){return W},BW:function(){return Ve},sN:function(){return W},GP:function(){return Ve},Wd:function(){return ye},ZP:function(){return $e},Xl:function(){return R}});var r=n(2053),o=n(57904),i=n(98037),a=n(35047),s=n(99459),l=n(53162),c=n(50959),u=n(84875),d=n.n(u),f=n(50631),p=n.n(f),h=n(5481),m=n(14032),g=n(73589),v=n(73779),y=n(71374),b=n(45675),w=n(36280),C=n(23278),x=n(90123),k=n(57619),_=["children","locked"],S=c.createContext(null);function E(e){var t=e.children,n=e.locked,r=(0,l.Z)(e,_),o=c.useContext(S),a=(0,k.Z)((function(){return function(e,t){var n=(0,i.Z)({},e);return Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n}(o,r)}),[o,r],(function(e,t){return!n&&(e[0]!==t[0]||!p()(e[1],t[1]))}));return c.createElement(S.Provider,{value:a},t)}function M(e,t,n,r){var o=c.useContext(S),i=o.activeKey,a=o.onActive,s=o.onInactive,l={active:i===e};return t||(l.onMouseEnter=function(t){null===n||void 0===n||n({key:e,domEvent:t}),a(e)},l.onMouseLeave=function(t){null===r||void 0===r||r({key:e,domEvent:t}),s(e)}),l}var L=["item"];function N(e){var t=e.item,n=(0,l.Z)(e,L);return Object.defineProperty(n,"item",{get:function(){return(0,m.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}function O(e){var t=e.icon,n=e.props,r=e.children;return("function"===typeof t?c.createElement(t,(0,i.Z)({},n)):t)||r||null}function A(e){var t=c.useContext(S),n=t.mode,r=t.rtl,o=t.inlineIndent;if("inline"!==n)return null;return r?{paddingRight:e*o}:{paddingLeft:e*o}}var j=[],T=c.createContext(null);function Z(){return c.useContext(T)}var P=c.createContext(j);function R(e){var t=c.useContext(P);return c.useMemo((function(){return void 0!==e?[].concat((0,a.Z)(t),[e]):t}),[t,e])}var I=c.createContext(null),D=c.createContext(null);function z(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function H(e){return z(c.useContext(D),e)}var B=c.createContext({}),F=["title","attribute","elementRef"],V=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],q=["active"],U=function(e){(0,b.Z)(n,e);var t=(0,w.Z)(n);function n(){return(0,v.Z)(this,n),t.apply(this,arguments)}return(0,y.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,o=e.elementRef,i=(0,l.Z)(e,F),a=(0,x.Z)(i,["eventKey"]);return(0,m.ZP)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),c.createElement(g.Z.Item,(0,r.Z)({},n,{title:"string"===typeof t?t:void 0},a,{ref:o}))}}]),n}(c.Component),$=function(e){var t,n=e.style,s=e.className,u=e.eventKey,f=(e.warnKey,e.disabled),p=e.itemIcon,h=e.children,m=e.role,g=e.onMouseEnter,v=e.onMouseLeave,y=e.onClick,b=e.onKeyDown,w=e.onFocus,x=(0,l.Z)(e,V),k=H(u),_=c.useContext(S),E=_.prefixCls,L=_.onItemClick,j=_.disabled,T=_.overflowDisabled,Z=_.itemIcon,P=_.selectedKeys,I=_.onActive,D=c.useContext(B)._internalRenderMenuItem,z="".concat(E,"-item"),F=c.useRef(),$=c.useRef(),W=j||f,K=R(u);var G=function(e){return{key:u,keyPath:(0,a.Z)(K).reverse(),item:F.current,domEvent:e}},Y=p||Z,J=M(u,W,g,v),X=J.active,Q=(0,l.Z)(J,q),ee=P.includes(u),te=A(K.length),ne={};"option"===e.role&&(ne["aria-selected"]=ee);var re=c.createElement(U,(0,r.Z)({ref:F,elementRef:$,role:null===m?"none":m||"menuitem",tabIndex:f?null:-1,"data-menu-id":T&&k?null:k},x,Q,ne,{component:"li","aria-disabled":f,style:(0,i.Z)((0,i.Z)({},te),n),className:d()(z,(t={},(0,o.Z)(t,"".concat(z,"-active"),X),(0,o.Z)(t,"".concat(z,"-selected"),ee),(0,o.Z)(t,"".concat(z,"-disabled"),W),t),s),onClick:function(e){if(!W){var t=G(e);null===y||void 0===y||y(N(t)),L(t)}},onKeyDown:function(e){if(null===b||void 0===b||b(e),e.which===C.Z.ENTER){var t=G(e);null===y||void 0===y||y(N(t)),L(t)}},onFocus:function(e){I(u),null===w||void 0===w||w(e)}}),h,c.createElement(O,{props:(0,i.Z)((0,i.Z)({},e),{},{isSelected:ee}),icon:Y}));return D&&(re=D(re,e,{selected:ee})),re};var W=function(e){var t=e.eventKey,n=Z(),r=R(t);return c.useEffect((function(){if(n)return n.registerPath(t,r),function(){n.unregisterPath(t,r)}}),[r]),n?null:c.createElement($,e)},K=n(24744),G=n(73444),Y=["label","children","key","type"];function J(e,t){return(0,G.Z)(e).map((function(e,n){if(c.isValidElement(e)){var r,o,i=e.key,s=null!==(r=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==r?r:i;(null===s||void 0===s)&&(s="tmp_key-".concat([].concat((0,a.Z)(t),[n]).join("-")));var l={key:s,eventKey:s};return c.cloneElement(e,l)}return e}))}function X(e){return(e||[]).map((function(e,t){if(e&&"object"===(0,K.Z)(e)){var n=e.label,o=e.children,i=e.key,a=e.type,s=(0,l.Z)(e,Y),u=null!==i&&void 0!==i?i:"tmp-".concat(t);return o||"group"===a?"group"===a?c.createElement(Ve,(0,r.Z)({key:u},s,{title:n}),X(o)):c.createElement(ye,(0,r.Z)({key:u},s,{title:n}),X(o)):"divider"===a?c.createElement(qe,(0,r.Z)({key:u},s)):c.createElement(W,(0,r.Z)({key:u},s),n)}return null})).filter((function(e){return e}))}function Q(e,t,n){var r=e;return t&&(r=X(t)),J(r,n)}function ee(e){var t=c.useRef(e);t.current=e;var n=c.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return e?n:void 0}var te=["className","children"],ne=function(e,t){var n=e.className,o=e.children,i=(0,l.Z)(e,te),a=c.useContext(S),s=a.prefixCls,u=a.mode,f=a.rtl;return c.createElement("ul",(0,r.Z)({className:d()(s,f&&"".concat(s,"-rtl"),"".concat(s,"-sub"),"".concat(s,"-").concat("inline"===u?"inline":"vertical"),n)},i,{"data-menu-list":!0,ref:t}),o)},re=c.forwardRef(ne);re.displayName="SubMenuList";var oe=re,ie=n(13445),ae=n(18912),se={adjustX:1,adjustY:1},le={topLeft:{points:["bl","tl"],overflow:se,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:se,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:se,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:se,offset:[4,0]}},ce={topLeft:{points:["bl","tl"],overflow:se,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:se,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:se,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:se,offset:[4,0]}};function ue(e,t,n){return t||(n?n[e]||n.other:void 0)}var de={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function fe(e){var t=e.prefixCls,n=e.visible,r=e.children,a=e.popup,l=e.popupClassName,u=e.popupOffset,f=e.disabled,p=e.mode,h=e.onVisibleChange,m=c.useContext(S),g=m.getPopupContainer,v=m.rtl,y=m.subMenuOpenDelay,b=m.subMenuCloseDelay,w=m.builtinPlacements,C=m.triggerSubMenuAction,x=m.forceSubMenuRender,k=m.rootClassName,_=m.motion,E=m.defaultMotions,M=c.useState(!1),L=(0,s.Z)(M,2),N=L[0],O=L[1],A=v?(0,i.Z)((0,i.Z)({},ce),w):(0,i.Z)((0,i.Z)({},le),w),j=de[p],T=ue(p,_,E),Z=(0,i.Z)((0,i.Z)({},T),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),P=c.useRef();return c.useEffect((function(){return P.current=(0,ae.Z)((function(){O(n)})),function(){ae.Z.cancel(P.current)}}),[n]),c.createElement(ie.Z,{prefixCls:t,popupClassName:d()("".concat(t,"-popup"),(0,o.Z)({},"".concat(t,"-rtl"),v),l,k),stretch:"horizontal"===p?"minWidth":null,getPopupContainer:g,builtinPlacements:A,popupPlacement:j,popupVisible:N,popup:a,popupAlign:u&&{offset:u},action:f?[]:[C],mouseEnterDelay:y,mouseLeaveDelay:b,onPopupVisibleChange:h,forceRender:x,popupMotion:Z},r)}var pe=n(37670);function he(e){var t=e.id,n=e.open,o=e.keyPath,a=e.children,l="inline",u=c.useContext(S),d=u.prefixCls,f=u.forceSubMenuRender,p=u.motion,h=u.defaultMotions,m=u.mode,g=c.useRef(!1);g.current=m===l;var v=c.useState(!g.current),y=(0,s.Z)(v,2),b=y[0],w=y[1],C=!!g.current&&n;c.useEffect((function(){g.current&&w(!1)}),[m]);var x=(0,i.Z)({},ue(l,p,h));o.length>1&&(x.motionAppear=!1);var k=x.onVisibleChanged;return x.onVisibleChanged=function(e){return g.current||e||w(!0),null===k||void 0===k?void 0:k(e)},b?null:c.createElement(E,{mode:l,locked:!g.current},c.createElement(pe.default,(0,r.Z)({visible:C},x,{forceRender:f,removeOnLeave:!1,leavedClassName:"".concat(d,"-hidden")}),(function(e){var n=e.className,r=e.style;return c.createElement(oe,{id:t,className:n,style:r},a)})))}var me=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ge=["active"],ve=function(e){var t,n=e.style,a=e.className,u=e.title,f=e.eventKey,p=(e.warnKey,e.disabled),h=e.internalPopupClose,m=e.children,v=e.itemIcon,y=e.expandIcon,b=e.popupClassName,w=e.popupOffset,C=e.onClick,x=e.onMouseEnter,k=e.onMouseLeave,_=e.onTitleClick,L=e.onTitleMouseEnter,j=e.onTitleMouseLeave,T=(0,l.Z)(e,me),Z=H(f),P=c.useContext(S),D=P.prefixCls,z=P.mode,F=P.openKeys,V=P.disabled,q=P.overflowDisabled,U=P.activeKey,$=P.selectedKeys,W=P.itemIcon,K=P.expandIcon,G=P.onItemClick,Y=P.onOpenChange,J=P.onActive,X=c.useContext(B)._internalRenderSubMenuItem,Q=c.useContext(I).isSubPathKey,te=R(),ne="".concat(D,"-submenu"),re=V||p,ie=c.useRef(),ae=c.useRef();var se=v||W,le=y||K,ce=F.includes(f),ue=!q&&ce,de=Q($,f),pe=M(f,re,L,j),ve=pe.active,ye=(0,l.Z)(pe,ge),be=c.useState(!1),we=(0,s.Z)(be,2),Ce=we[0],xe=we[1],ke=function(e){re||xe(e)},_e=c.useMemo((function(){return ve||"inline"!==z&&(Ce||Q([U],f))}),[z,ve,U,Ce,f,Q]),Se=A(te.length),Ee=ee((function(e){null===C||void 0===C||C(N(e)),G(e)})),Me=Z&&"".concat(Z,"-popup"),Le=c.createElement("div",(0,r.Z)({role:"menuitem",style:Se,className:"".concat(ne,"-title"),tabIndex:re?null:-1,ref:ie,title:"string"===typeof u?u:null,"data-menu-id":q&&Z?null:Z,"aria-expanded":ue,"aria-haspopup":!0,"aria-controls":Me,"aria-disabled":re,onClick:function(e){re||(null===_||void 0===_||_({key:f,domEvent:e}),"inline"===z&&Y(f,!ce))},onFocus:function(){J(f)}},ye),u,c.createElement(O,{icon:"horizontal"!==z?le:null,props:(0,i.Z)((0,i.Z)({},e),{},{isOpen:ue,isSubMenu:!0})},c.createElement("i",{className:"".concat(ne,"-arrow")}))),Ne=c.useRef(z);if("inline"!==z&&(Ne.current=te.length>1?"vertical":z),!q){var Oe=Ne.current;Le=c.createElement(fe,{mode:Oe,prefixCls:ne,visible:!h&&ue&&"inline"!==z,popupClassName:b,popupOffset:w,popup:c.createElement(E,{mode:"horizontal"===Oe?"vertical":Oe},c.createElement(oe,{id:Me,ref:ae},m)),disabled:re,onVisibleChange:function(e){"inline"!==z&&Y(f,e)}},Le)}var Ae=c.createElement(g.Z.Item,(0,r.Z)({role:"none"},T,{component:"li",style:n,className:d()(ne,"".concat(ne,"-").concat(z),a,(t={},(0,o.Z)(t,"".concat(ne,"-open"),ue),(0,o.Z)(t,"".concat(ne,"-active"),_e),(0,o.Z)(t,"".concat(ne,"-selected"),de),(0,o.Z)(t,"".concat(ne,"-disabled"),re),t)),onMouseEnter:function(e){ke(!0),null===x||void 0===x||x({key:f,domEvent:e})},onMouseLeave:function(e){ke(!1),null===k||void 0===k||k({key:f,domEvent:e})}}),Le,!q&&c.createElement(he,{id:Me,open:ue,keyPath:te},m));return X&&(Ae=X(Ae,e,{selected:de,active:_e,open:ue,disabled:re})),c.createElement(E,{onItemClick:Ee,mode:"horizontal"===z?"vertical":z,itemIcon:se,expandIcon:le},Ae)};function ye(e){var t,n=e.eventKey,r=e.children,o=R(n),i=J(r,o),a=Z();return c.useEffect((function(){if(a)return a.registerPath(n,o),function(){a.unregisterPath(n,o)}}),[o]),t=a?i:c.createElement(ve,e,i),c.createElement(P.Provider,{value:o},t)}var be=n(68252),we=C.Z.LEFT,Ce=C.Z.RIGHT,xe=C.Z.UP,ke=C.Z.DOWN,_e=C.Z.ENTER,Se=C.Z.ESC,Ee=C.Z.HOME,Me=C.Z.END,Le=[xe,ke,we,Ce];function Ne(e,t){return(0,be.tS)(e,!0).filter((function(e){return t.has(e)}))}function Oe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=Ne(e,t),i=o.length,a=o.findIndex((function(e){return n===e}));return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}function Ae(e,t,n,r,i,a,s,l,u,d){var f=c.useRef(),p=c.useRef();p.current=t;var h=function(){ae.Z.cancel(f.current)};return c.useEffect((function(){return function(){h()}}),[]),function(c){var m=c.which;if([].concat(Le,[_e,Se,Ee,Me]).includes(m)){var g,v,y,b=function(){return g=new Set,v=new Map,y=new Map,a().forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(z(r,e),"']"));t&&(g.add(t),y.set(t,e),v.set(e,t))})),g};b();var w=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(v.get(t),g),C=y.get(w),x=function(e,t,n,r){var i,a,s,l,c="prev",u="next",d="children",f="parent";if("inline"===e&&r===_e)return{inlineTrigger:!0};var p=(i={},(0,o.Z)(i,xe,c),(0,o.Z)(i,ke,u),i),h=(a={},(0,o.Z)(a,we,n?u:c),(0,o.Z)(a,Ce,n?c:u),(0,o.Z)(a,ke,d),(0,o.Z)(a,_e,d),a),m=(s={},(0,o.Z)(s,xe,c),(0,o.Z)(s,ke,u),(0,o.Z)(s,_e,d),(0,o.Z)(s,Se,f),(0,o.Z)(s,we,n?d:f),(0,o.Z)(s,Ce,n?f:d),s);switch(null===(l={inline:p,horizontal:h,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m}["".concat(e).concat(t?"":"Sub")])||void 0===l?void 0:l[r]){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}(e,1===s(C,!0).length,n,m);if(!x&&m!==Ee&&m!==Me)return;(Le.includes(m)||[Ee,Me].includes(m))&&c.preventDefault();var k=function(e){if(e){var t=e,n=e.querySelector("a");(null===n||void 0===n?void 0:n.getAttribute("href"))&&(t=n);var r=y.get(e);l(r),h(),f.current=(0,ae.Z)((function(){p.current===r&&t.focus()}))}};if([Ee,Me].includes(m)||x.sibling||!w){var _,S,E=Ne(_=w&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(w):i.current,g);S=m===Ee?E[0]:m===Me?E[E.length-1]:Oe(_,g,w,x.offset),k(S)}else if(x.inlineTrigger)u(C);else if(x.offset>0)u(C,!0),h(),f.current=(0,ae.Z)((function(){b();var e=w.getAttribute("aria-controls"),t=Oe(document.getElementById(e),g);k(t)}),5);else if(x.offset<0){var M=s(C,!0),L=M[M.length-2],N=v.get(L);u(L,!1),k(N)}}null===d||void 0===d||d(c)}}var je=Math.random().toFixed(5).toString().slice(2),Te=0;var Ze="__RC_UTIL_PATH_SPLIT__",Pe=function(e){return e.join(Ze)},Re="rc-menu-more";function Ie(){var e=c.useState({}),t=(0,s.Z)(e,2)[1],n=(0,c.useRef)(new Map),r=(0,c.useRef)(new Map),o=c.useState([]),i=(0,s.Z)(o,2),l=i[0],u=i[1],d=(0,c.useRef)(0),f=(0,c.useRef)(!1),p=(0,c.useCallback)((function(e,o){var i=Pe(o);r.current.set(i,e),n.current.set(e,i),d.current+=1;var a,s=d.current;a=function(){s===d.current&&(f.current||t({}))},Promise.resolve().then(a)}),[]),h=(0,c.useCallback)((function(e,t){var o=Pe(t);r.current.delete(o),n.current.delete(e)}),[]),m=(0,c.useCallback)((function(e){u(e)}),[]),g=(0,c.useCallback)((function(e,t){var r=n.current.get(e)||"",o=r.split(Ze);return t&&l.includes(o[0])&&o.unshift(Re),o}),[l]),v=(0,c.useCallback)((function(e,t){return e.some((function(e){return g(e,!0).includes(t)}))}),[g]),y=(0,c.useCallback)((function(e){var t="".concat(n.current.get(e)).concat(Ze),o=new Set;return(0,a.Z)(r.current.keys()).forEach((function(e){e.startsWith(t)&&o.add(r.current.get(e))})),o}),[]);return c.useEffect((function(){return function(){f.current=!0}}),[]),{registerPath:p,unregisterPath:h,refreshOverflowKeys:m,isSubPathKey:v,getKeyPath:g,getKeys:function(){var e=(0,a.Z)(n.current.keys());return l.length&&e.push(Re),e},getSubPathKeys:y}}var De=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],ze=[],He=["className","title","eventKey","children"],Be=["children"],Fe=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,l.Z)(e,He),a=c.useContext(S).prefixCls,s="".concat(a,"-item-group");return c.createElement("li",(0,r.Z)({},i,{onClick:function(e){return e.stopPropagation()},className:d()(s,t)}),c.createElement("div",{className:"".concat(s,"-title"),title:"string"===typeof n?n:void 0},n),c.createElement("ul",{className:"".concat(s,"-list")},o))};function Ve(e){var t=e.children,n=(0,l.Z)(e,Be),r=J(t,R(n.eventKey));return Z()?r:c.createElement(Fe,(0,x.Z)(n,["warnKey"]),r)}function qe(e){var t=e.className,n=e.style,r=c.useContext(S).prefixCls;return Z()?null:c.createElement("li",{className:d()("".concat(r,"-item-divider"),t),style:n})}var Ue=c.forwardRef((function(e,t){var n,u,f=e.prefixCls,m=void 0===f?"rc-menu":f,v=e.rootClassName,y=e.style,b=e.className,w=e.tabIndex,C=void 0===w?0:w,x=e.items,k=e.children,_=e.direction,S=e.id,M=e.mode,L=void 0===M?"vertical":M,O=e.inlineCollapsed,A=e.disabled,j=e.disabledOverflow,Z=e.subMenuOpenDelay,P=void 0===Z?.1:Z,R=e.subMenuCloseDelay,H=void 0===R?.1:R,F=e.forceSubMenuRender,V=e.defaultOpenKeys,q=e.openKeys,U=e.activeKey,$=e.defaultActiveFirst,K=e.selectable,G=void 0===K||K,Y=e.multiple,J=void 0!==Y&&Y,X=e.defaultSelectedKeys,te=e.selectedKeys,ne=e.onSelect,re=e.onDeselect,oe=e.inlineIndent,ie=void 0===oe?24:oe,ae=e.motion,se=e.defaultMotions,le=e.triggerSubMenuAction,ce=void 0===le?"hover":le,ue=e.builtinPlacements,de=e.itemIcon,fe=e.expandIcon,pe=e.overflowedIndicator,he=void 0===pe?"...":pe,me=e.overflowedIndicatorPopupClassName,ge=e.getPopupContainer,ve=e.onClick,be=e.onOpenChange,we=e.onKeyDown,Ce=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),xe=e._internalRenderSubMenuItem,ke=(0,l.Z)(e,De),_e=c.useMemo((function(){return Q(k,x,ze)}),[k,x]),Se=c.useState(!1),Ee=(0,s.Z)(Se,2),Me=Ee[0],Le=Ee[1],Ne=c.useRef(),Oe=function(e){var t=(0,h.Z)(e,{value:e}),n=(0,s.Z)(t,2),r=n[0],o=n[1];return c.useEffect((function(){Te+=1;var e="".concat(je,"-").concat(Te);o("rc-menu-uuid-".concat(e))}),[]),r}(S),Ze="rtl"===_;var Pe=c.useMemo((function(){return"inline"!==L&&"vertical"!==L||!O?[L,!1]:["vertical",O]}),[L,O]),He=(0,s.Z)(Pe,2),Be=He[0],Fe=He[1],Ve=c.useState(0),qe=(0,s.Z)(Ve,2),Ue=qe[0],$e=qe[1],We=Ue>=_e.length-1||"horizontal"!==Be||j,Ke=(0,h.Z)(V,{value:q,postState:function(e){return e||ze}}),Ge=(0,s.Z)(Ke,2),Ye=Ge[0],Je=Ge[1],Xe=function(e){Je(e),null===be||void 0===be||be(e)},Qe=c.useState(Ye),et=(0,s.Z)(Qe,2),tt=et[0],nt=et[1],rt="inline"===Be,ot=c.useRef(!1);c.useEffect((function(){rt&&nt(Ye)}),[Ye]),c.useEffect((function(){ot.current&&(rt?Je(tt):Xe(ze))}),[rt]),c.useEffect((function(){return ot.current=!0,function(){ot.current=!1}}),[]);var it=Ie(),at=it.registerPath,st=it.unregisterPath,lt=it.refreshOverflowKeys,ct=it.isSubPathKey,ut=it.getKeyPath,dt=it.getKeys,ft=it.getSubPathKeys,pt=c.useMemo((function(){return{registerPath:at,unregisterPath:st}}),[at,st]),ht=c.useMemo((function(){return{isSubPathKey:ct}}),[ct]);c.useEffect((function(){lt(We?ze:_e.slice(Ue+1).map((function(e){return e.key})))}),[Ue,We]);var mt=(0,h.Z)(U||$&&(null===(n=_e[0])||void 0===n?void 0:n.key),{value:U}),gt=(0,s.Z)(mt,2),vt=gt[0],yt=gt[1],bt=ee((function(e){yt(e)})),wt=ee((function(){yt(void 0)}));(0,c.useImperativeHandle)(t,(function(){return{list:Ne.current,focus:function(e){var t,n,r,o,i=null!==vt&&void 0!==vt?vt:null===(t=_e.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;i&&(null===(n=Ne.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(z(Oe,i),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}}));var Ct=(0,h.Z)(X||[],{value:te,postState:function(e){return Array.isArray(e)?e:null===e||void 0===e?ze:[e]}}),xt=(0,s.Z)(Ct,2),kt=xt[0],_t=xt[1],St=ee((function(e){null===ve||void 0===ve||ve(N(e)),function(e){if(G){var t,n=e.key,r=kt.includes(n);t=J?r?kt.filter((function(e){return e!==n})):[].concat((0,a.Z)(kt),[n]):[n],_t(t);var o=(0,i.Z)((0,i.Z)({},e),{},{selectedKeys:t});r?null===re||void 0===re||re(o):null===ne||void 0===ne||ne(o)}!J&&Ye.length&&"inline"!==Be&&Xe(ze)}(e)})),Et=ee((function(e,t){var n=Ye.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==Be){var r=ft(e);n=n.filter((function(e){return!r.has(e)}))}p()(Ye,n)||Xe(n)})),Mt=ee(ge),Lt=Ae(Be,vt,Ze,Oe,Ne,dt,ut,yt,(function(e,t){var n=null!==t&&void 0!==t?t:!Ye.includes(e);Et(e,n)}),we);c.useEffect((function(){Le(!0)}),[]);var Nt=c.useMemo((function(){return{_internalRenderMenuItem:Ce,_internalRenderSubMenuItem:xe}}),[Ce,xe]),Ot="horizontal"!==Be||j?_e:_e.map((function(e,t){return c.createElement(E,{key:e.key,overflowDisabled:t>Ue},e)})),At=c.createElement(g.Z,(0,r.Z)({id:S,ref:Ne,prefixCls:"".concat(m,"-overflow"),component:"ul",itemComponent:W,className:d()(m,"".concat(m,"-root"),"".concat(m,"-").concat(Be),b,(u={},(0,o.Z)(u,"".concat(m,"-inline-collapsed"),Fe),(0,o.Z)(u,"".concat(m,"-rtl"),Ze),u),v),dir:_,style:y,role:"menu",tabIndex:C,data:Ot,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?_e.slice(-t):null;return c.createElement(ye,{eventKey:Re,title:he,disabled:We,internalPopupClose:0===t,popupClassName:me},n)},maxCount:"horizontal"!==Be||j?g.Z.INVALIDATE:g.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){$e(e)},onKeyDown:Lt},ke));return c.createElement(B.Provider,{value:Nt},c.createElement(D.Provider,{value:Oe},c.createElement(E,{prefixCls:m,rootClassName:v,mode:Be,openKeys:Ye,rtl:Ze,disabled:A,motion:Me?ae:null,defaultMotions:Me?se:null,activeKey:vt,onActive:bt,onInactive:wt,selectedKeys:kt,inlineIndent:ie,subMenuOpenDelay:P,subMenuCloseDelay:H,forceSubMenuRender:F,builtinPlacements:ue,triggerSubMenuAction:ce,getPopupContainer:Mt,itemIcon:de,expandIcon:fe,onItemClick:St,onOpenChange:Et},c.createElement(I.Provider,{value:ht},At),c.createElement("div",{style:{display:"none"},"aria-hidden":!0},c.createElement(T.Provider,{value:pt},_e)))))}));Ue.Item=W,Ue.SubMenu=ye,Ue.ItemGroup=Ve,Ue.Divider=qe;var $e=Ue},37670:function(e,t,n){"use strict";n.r(t),n.d(t,{CSSMotionList:function(){return he},Provider:function(){return m},default:function(){return me}});var r=n(57904),o=n(98037),i=n(99459),a=n(24744),s=n(84875),l=n.n(s),c=n(28500),u=n(37987),d=n(50959),f=n(53162),p=["children"],h=d.createContext({});function m(e){var t=e.children,n=(0,f.Z)(e,p);return d.createElement(h.Provider,{value:n},t)}var g=n(73779),v=n(71374),y=n(45675),b=n(36280),w=function(e){(0,y.Z)(n,e);var t=(0,b.Z)(n);function n(){return(0,g.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(d.Component),C=w,x=n(28075),k=n(24096),_=n(99798);var S="none",E="appear",M="enter",L="leave",N="none",O="prepare",A="start",j="active",T="end",Z="prepared",P=n(91469);function R(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var I=function(e,t){var n={animationend:R("Animation","AnimationEnd"),transitionend:R("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}((0,P.Z)(),"undefined"!==typeof window?window:{}),D={};if((0,P.Z)()){var z=document.createElement("div");D=z.style}var H={};function B(e){if(H[e])return H[e];var t=I[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in D)return H[e]=t[i],H[e]}return""}var F=B("animationend"),V=B("transitionend"),q=!(!F||!V),U=F||"animationend",$=V||"transitionend";function W(e,t){return e?"object"===(0,a.Z)(e)?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:"".concat(e,"-").concat(t):null}var K=(0,P.Z)()?d.useLayoutEffect:d.useEffect,G=n(18912),Y=[O,A,j,T],J=[O,Z];function X(e){return e===j||e===T}var Q=function(e,t,n){var r=(0,k.Z)(N),o=(0,i.Z)(r,2),a=o[0],s=o[1],l=function(){var e=d.useRef(null);function t(){G.Z.cancel(e.current)}return d.useEffect((function(){return function(){t()}}),[]),[function n(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,G.Z)((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),c=(0,i.Z)(l,2),u=c[0],f=c[1];var p=t?J:Y;return K((function(){if(a!==N&&a!==T){var e=p.indexOf(a),t=p[e+1],r=n(a);false===r?s(t,!0):t&&u((function(e){function n(){e.isCanceled()||s(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,a]),d.useEffect((function(){return function(){f()}}),[]),[function(){s(O,!0)},a]};function ee(e,t,n,a){var s=a.motionEnter,l=void 0===s||s,c=a.motionAppear,u=void 0===c||c,f=a.motionLeave,p=void 0===f||f,h=a.motionDeadline,m=a.motionLeaveImmediately,g=a.onAppearPrepare,v=a.onEnterPrepare,y=a.onLeavePrepare,b=a.onAppearStart,w=a.onEnterStart,C=a.onLeaveStart,N=a.onAppearActive,T=a.onEnterActive,P=a.onLeaveActive,R=a.onAppearEnd,I=a.onEnterEnd,D=a.onLeaveEnd,z=a.onVisibleChanged,H=(0,k.Z)(),B=(0,i.Z)(H,2),F=B[0],V=B[1],q=function(e){var t=d.useReducer((function(e){return e+1}),0),n=(0,i.Z)(t,2)[1],r=d.useRef(e);return[(0,_.Z)((function(){return r.current})),(0,_.Z)((function(e){r.current="function"===typeof e?e(r.current):e,n()}))]}(S),W=(0,i.Z)(q,2),G=W[0],Y=W[1],J=(0,k.Z)(null),ee=(0,i.Z)(J,2),te=ee[0],ne=ee[1],re=G(),oe=(0,d.useRef)(!1),ie=(0,d.useRef)(null);function ae(){return n()}var se=(0,d.useRef)(!1);function le(){Y(S),ne(null,!0)}var ce=(0,x.zX)((function(e){var t=G();if(t!==S){var n=ae();if(!e||e.deadline||e.target===n){var r,o=se.current;t===E&&o?r=null===R||void 0===R?void 0:R(n,e):t===M&&o?r=null===I||void 0===I?void 0:I(n,e):t===L&&o&&(r=null===D||void 0===D?void 0:D(n,e)),o&&!1!==r&&le()}}})),ue=function(e){var t=(0,d.useRef)();function n(t){t&&(t.removeEventListener($,e),t.removeEventListener(U,e))}return d.useEffect((function(){return function(){n(t.current)}}),[]),[function(r){t.current&&t.current!==r&&n(t.current),r&&r!==t.current&&(r.addEventListener($,e),r.addEventListener(U,e),t.current=r)},n]}(ce),de=(0,i.Z)(ue,1)[0],fe=function(e){switch(e){case E:return(0,r.Z)((0,r.Z)((0,r.Z)({},O,g),A,b),j,N);case M:return(0,r.Z)((0,r.Z)((0,r.Z)({},O,v),A,w),j,T);case L:return(0,r.Z)((0,r.Z)((0,r.Z)({},O,y),A,C),j,P);default:return{}}},pe=d.useMemo((function(){return fe(re)}),[re]),he=Q(re,!e,(function(e){if(e===O){var t=pe.prepare;return!!t&&t(ae())}var n;ve in pe&&ne((null===(n=pe[ve])||void 0===n?void 0:n.call(pe,ae(),null))||null);return ve===j&&re!==S&&(de(ae()),h>0&&(clearTimeout(ie.current),ie.current=setTimeout((function(){ce({deadline:!0})}),h))),ve===Z&&le(),true})),me=(0,i.Z)(he,2),ge=me[0],ve=me[1],ye=X(ve);se.current=ye,K((function(){V(t);var n,r=oe.current;oe.current=!0,!r&&t&&u&&(n=E),r&&t&&l&&(n=M),(r&&!t&&p||!r&&m&&!t&&p)&&(n=L);var o=fe(n);n&&(e||o.prepare)?(Y(n),ge()):Y(S)}),[t]),(0,d.useEffect)((function(){(re===E&&!u||re===M&&!l||re===L&&!p)&&Y(S)}),[u,l,p]),(0,d.useEffect)((function(){return function(){oe.current=!1,clearTimeout(ie.current)}}),[]);var be=d.useRef(!1);(0,d.useEffect)((function(){F&&(be.current=!0),void 0!==F&&re===S&&((be.current||F)&&(null===z||void 0===z||z(F)),be.current=!0)}),[F,re]);var we=te;return pe.prepare&&ve===A&&(we=(0,o.Z)({transition:"none"},we)),[re,ve,we,null!==F&&void 0!==F?F:t]}var te=function(e){var t=e;"object"===(0,a.Z)(e)&&(t=e.transitionSupport);var n=d.forwardRef((function(e,n){var a=e.visible,s=void 0===a||a,f=e.removeOnLeave,p=void 0===f||f,m=e.forceRender,g=e.children,v=e.motionName,y=e.leavedClassName,b=e.eventProps,w=function(e,n){return!(!e.motionName||!t||!1===n)}(e,d.useContext(h).motion),x=(0,d.useRef)(),k=(0,d.useRef)();var _=ee(w,s,(function(){try{return x.current instanceof HTMLElement?x.current:(0,c.ZP)(k.current)}catch(e){return null}}),e),E=(0,i.Z)(_,4),M=E[0],L=E[1],N=E[2],j=E[3],T=d.useRef(j);j&&(T.current=!0);var Z,P=d.useCallback((function(e){x.current=e,(0,u.mH)(n,e)}),[n]),R=(0,o.Z)((0,o.Z)({},b),{},{visible:s});if(g)if(M===S)Z=j?g((0,o.Z)({},R),P):!p&&T.current&&y?g((0,o.Z)((0,o.Z)({},R),{},{className:y}),P):m||!p&&!y?g((0,o.Z)((0,o.Z)({},R),{},{style:{display:"none"}}),P):null;else{var I;L===O?I="prepare":X(L)?I="active":L===A&&(I="start");var D=W(v,"".concat(M,"-").concat(I));Z=g((0,o.Z)((0,o.Z)({},R),{},{className:l()(W(v,M),(0,r.Z)((0,r.Z)({},D,D&&I),v,"string"===typeof v)),style:N}),P)}else Z=null;d.isValidElement(Z)&&(0,u.Yr)(Z)&&(Z.ref||(Z=d.cloneElement(Z,{ref:P})));return d.createElement(C,{ref:k},Z)}));return n.displayName="CSSMotion",n}(q),ne=n(2053),re=n(46468),oe="add",ie="keep",ae="remove",se="removed";function le(e){var t;return t=e&&"object"===(0,a.Z)(e)&&"key"in e?e:{key:e},(0,o.Z)((0,o.Z)({},t),{},{key:String(t.key)})}function ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(le)}function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=ce(e),s=ce(t);a.forEach((function(e){for(var t=!1,a=r;a<i;a+=1){var l=s[a];if(l.key===e.key){r<a&&(n=n.concat(s.slice(r,a).map((function(e){return(0,o.Z)((0,o.Z)({},e),{},{status:oe})}))),r=a),n.push((0,o.Z)((0,o.Z)({},l),{},{status:ie})),r+=1,t=!0;break}}t||n.push((0,o.Z)((0,o.Z)({},e),{},{status:ae}))})),r<i&&(n=n.concat(s.slice(r).map((function(e){return(0,o.Z)((0,o.Z)({},e),{},{status:oe})}))));var l={};n.forEach((function(e){var t=e.key;l[t]=(l[t]||0)+1}));var c=Object.keys(l).filter((function(e){return l[e]>1}));return c.forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==ae}))).forEach((function(t){t.key===e&&(t.status=ie)}))})),n}var de=["component","children","onVisibleChanged","onAllRemoved"],fe=["status"],pe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];var he=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:te,n=function(e){(0,y.Z)(i,e);var n=(0,b.Z)(i);function i(){var e;(0,g.Z)(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return e=n.call.apply(n,[this].concat(a)),(0,r.Z)((0,re.Z)(e),"state",{keyEntities:[]}),(0,r.Z)((0,re.Z)(e),"removeKey",(function(t){e.setState((function(e){return{keyEntities:e.keyEntities.map((function(e){return e.key!==t?e:(0,o.Z)((0,o.Z)({},e),{},{status:se})}))}}),(function(){0===e.state.keyEntities.filter((function(e){return e.status!==se})).length&&e.props.onAllRemoved&&e.props.onAllRemoved()}))})),e}return(0,v.Z)(i,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r=this.props,i=r.component,a=r.children,s=r.onVisibleChanged,l=(r.onAllRemoved,(0,f.Z)(r,de)),c=i||d.Fragment,u={};return pe.forEach((function(e){u[e]=l[e],delete l[e]})),delete l.keys,d.createElement(c,l,n.map((function(n,r){var i=n.status,l=(0,f.Z)(n,fe),c=i===oe||i===ie;return d.createElement(t,(0,ne.Z)({},u,{key:l.key,visible:c,eventProps:l,onVisibleChanged:function(t){null===s||void 0===s||s(t,{key:l.key}),t||e.removeKey(l.key)}}),(function(e,t){return a((0,o.Z)((0,o.Z)({},e),{},{index:r}),t)}))})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,o=ce(n);return{keyEntities:ue(r,o).filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==se||e.status!==ae}))}}}]),i}(d.Component);return(0,r.Z)(n,"defaultProps",{component:"div"}),n}(q),me=te},9776:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(2053),o=n(57904),i=n(73779),a=n(71374),s=n(45675),l=n(36280),c=n(50959),u=n(10422),d=n(84875),f=n.n(d),p=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).closeTimer=null,e.close=function(t){t&&t.stopPropagation(),e.clearCloseTimer();var n=e.props,r=n.onClose,o=n.noticeKey;r&&r(o)},e.startCloseTimer=function(){e.props.duration&&(e.closeTimer=window.setTimeout((function(){e.close()}),1e3*e.props.duration))},e.clearCloseTimer=function(){e.closeTimer&&(clearTimeout(e.closeTimer),e.closeTimer=null)},e}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){this.startCloseTimer()}},{key:"componentDidUpdate",value:function(e){(this.props.duration!==e.duration||this.props.updateMark!==e.updateMark||this.props.visible!==e.visible&&this.props.visible)&&this.restartCloseTimer()}},{key:"componentWillUnmount",value:function(){this.clearCloseTimer()}},{key:"restartCloseTimer",value:function(){this.clearCloseTimer(),this.startCloseTimer()}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,i=t.className,a=t.closable,s=t.closeIcon,l=t.style,d=t.onClick,p=t.children,h=t.holder,m="".concat(n,"-notice"),g=Object.keys(this.props).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e.props[n]),t}),{}),v=c.createElement("div",(0,r.Z)({className:f()(m,i,(0,o.Z)({},"".concat(m,"-closable"),a)),style:l,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:d},g),c.createElement("div",{className:"".concat(m,"-content")},p),a?c.createElement("a",{tabIndex:0,onClick:this.close,className:"".concat(m,"-close")},s||c.createElement("span",{className:"".concat(m,"-close-x")})):null);return h?u.createPortal(v,h):v}}]),n}(c.Component);p.defaultProps={onClose:function(){},duration:1.5}},33721:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return x}});var r=n(53162),o=n(2053),i=n(98037),a=n(73779),s=n(71374),l=n(45675),c=n(36280),u=n(50959),d=n(13988),f=n(84875),p=n.n(f),h=n(37670),m=n(9776),g=n(88306),v=["getContainer"],y=0,b=Date.now();function w(){var e=y;return y+=1,"rcNotification_".concat(b,"_").concat(e)}var C=function(e){(0,l.Z)(n,e);var t=(0,c.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return(e=t.call.apply(t,[this].concat(o))).state={notices:[]},e.hookRefs=new Map,e.add=function(t,n){var r,o=null!==(r=t.key)&&void 0!==r?r:w(),a=(0,i.Z)((0,i.Z)({},t),{},{key:o}),s=e.props.maxCount;e.setState((function(e){var t=e.notices,r=t.map((function(e){return e.notice.key})).indexOf(o),i=t.concat();return-1!==r?i.splice(r,1,{notice:a,holderCallback:n}):(s&&t.length>=s&&(a.key=i[0].notice.key,a.updateMark=w(),a.userPassKey=o,i.shift()),i.push({notice:a,holderCallback:n})),{notices:i}}))},e.remove=function(t){e.setState((function(e){return{notices:e.notices.filter((function(e){var n=e.notice,r=n.key,o=n.userPassKey;return(null!==o&&void 0!==o?o:r)!==t}))}}))},e.noticePropsMap={},e}return(0,s.Z)(n,[{key:"getTransitionName",value:function(){var e=this.props,t=e.prefixCls,n=e.animation,r=this.props.transitionName;return!r&&n&&(r="".concat(t,"-").concat(n)),r}},{key:"render",value:function(){var e=this,t=this.state.notices,n=this.props,r=n.prefixCls,a=n.className,s=n.closeIcon,l=n.style,c=[];return t.forEach((function(n,o){var a=n.notice,l=n.holderCallback,u=o===t.length-1?a.updateMark:void 0,d=a.key,f=a.userPassKey,p=(0,i.Z)((0,i.Z)((0,i.Z)({prefixCls:r,closeIcon:s},a),a.props),{},{key:d,noticeKey:f||d,updateMark:u,onClose:function(t){var n;e.remove(t),null===(n=a.onClose)||void 0===n||n.call(a)},onClick:a.onClick,children:a.content});c.push(d),e.noticePropsMap[d]={props:p,holderCallback:l}})),u.createElement("div",{className:p()(r,a),style:l},u.createElement(h.CSSMotionList,{keys:c,motionName:this.getTransitionName(),onVisibleChanged:function(t,n){var r=n.key;t||delete e.noticePropsMap[r]}},(function(t){var n=t.key,a=t.className,s=t.style,l=t.visible,c=e.noticePropsMap[n],d=c.props,f=c.holderCallback;return f?u.createElement("div",{key:n,className:p()(a,"".concat(r,"-hook-holder")),style:(0,i.Z)({},s),ref:function(t){"undefined"!==typeof n&&(t?(e.hookRefs.set(n,t),f(t,d)):e.hookRefs.delete(n))}}):u.createElement(m.Z,(0,o.Z)({},d,{className:p()(a,null===d||void 0===d?void 0:d.className),style:(0,i.Z)((0,i.Z)({},s),null===d||void 0===d?void 0:d.style),visible:l}))})))}}]),n}(u.Component);C.newInstance=void 0,C.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},C.newInstance=function(e,t){var n=e||{},i=n.getContainer,a=(0,r.Z)(n,v),s=document.createElement("div");i?i().appendChild(s):document.body.appendChild(s);var l=!1;(0,d.s)(u.createElement(C,(0,o.Z)({},a,{ref:function(e){l||(l=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){(0,d.v)(s),s.parentNode&&s.parentNode.removeChild(s)},useNotification:function(){return(0,g.Z)(e)}}))}})),s)};var x=C},88306:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(35047),o=n(2053),i=n(99459),a=n(50959),s=n(9776);function l(e){var t=a.useRef({}),n=a.useState([]),l=(0,i.Z)(n,2),c=l[0],u=l[1];return[function(n){var i=!0;e.add(n,(function(e,n){var l=n.key;if(e&&(!t.current[l]||i)){var c=a.createElement(s.Z,(0,o.Z)({},n,{holder:e}));t.current[l]=c,u((function(e){var t=e.findIndex((function(e){return e.key===n.key}));if(-1===t)return[].concat((0,r.Z)(e),[c]);var o=(0,r.Z)(e);return o[t]=c,o}))}i=!1}))},a.createElement(a.Fragment,null,c)]}},62055:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(85591)),a=r(n(74298)),s=r(n(99246)),l=r(n(28842)),c=r(n(22802)),u=r(n(70700)),d=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!==typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(50959)),f=r(n(10422)),p=r(n(84875));function h(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}var m=function(e){(0,c.default)(n,e);var t=(0,u.default)(n);function n(){var e;(0,s.default)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).closeTimer=null,e.close=function(t){t&&t.stopPropagation(),e.clearCloseTimer();var n=e.props,r=n.onClose,o=n.noticeKey;r&&r(o)},e.startCloseTimer=function(){e.props.duration&&(e.closeTimer=window.setTimeout((function(){e.close()}),1e3*e.props.duration))},e.clearCloseTimer=function(){e.closeTimer&&(clearTimeout(e.closeTimer),e.closeTimer=null)},e}return(0,l.default)(n,[{key:"componentDidMount",value:function(){this.startCloseTimer()}},{key:"componentDidUpdate",value:function(e){(this.props.duration!==e.duration||this.props.updateMark!==e.updateMark||this.props.visible!==e.visible&&this.props.visible)&&this.restartCloseTimer()}},{key:"componentWillUnmount",value:function(){this.clearCloseTimer()}},{key:"restartCloseTimer",value:function(){this.clearCloseTimer(),this.startCloseTimer()}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.className,o=t.closable,s=t.closeIcon,l=t.style,c=t.onClick,u=t.children,h=t.holder,m="".concat(n,"-notice"),g=Object.keys(this.props).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e.props[n]),t}),{}),v=d.createElement("div",(0,i.default)({className:(0,p.default)(m,r,(0,a.default)({},"".concat(m,"-closable"),o)),style:l,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:c},g),d.createElement("div",{className:"".concat(m,"-content")},u),o?d.createElement("a",{tabIndex:0,onClick:this.close,className:"".concat(m,"-close")},s||d.createElement("span",{className:"".concat(m,"-close-x")})):null);return h?f.default.createPortal(v,h):v}}]),n}(d.Component);t.default=m,m.defaultProps={onClose:function(){},duration:1.5}},16565:function(e,t,n){"use strict";var r=n(26538),o=n(59668);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=l.useRef({}),n=l.useState([]),r=(0,s.default)(n,2),o=r[0],u=r[1];return[function(n){var r=!0;e.add(n,(function(e,n){var o=n.key;if(e&&(!t.current[o]||r)){var s=l.createElement(c.default,(0,a.default)({},n,{holder:e}));t.current[o]=s,u((function(e){var t=e.findIndex((function(e){return e.key===n.key}));if(-1===t)return[].concat((0,i.default)(e),[s]);var r=(0,i.default)(e);return r[t]=s,r}))}r=!1}))},l.createElement(l.Fragment,null,o)]};var i=r(n(66250)),a=r(n(85591)),s=r(n(16796)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!==typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(50959)),c=r(n(62055));function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}},73589:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(2053),o=n(98037),i=n(99459),a=n(53162),s=n(50959),l=n(84875),c=n.n(l),u=n(12682),d=n(67601),f=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0;function h(e,t){var n=e.prefixCls,i=e.invalidate,l=e.item,d=e.renderItem,h=e.responsive,m=e.responsiveDisabled,g=e.registerSize,v=e.itemKey,y=e.className,b=e.style,w=e.children,C=e.display,x=e.order,k=e.component,_=void 0===k?"div":k,S=(0,a.Z)(e,f),E=h&&!C;function M(e){g(v,e)}s.useEffect((function(){return function(){M(null)}}),[]);var L,N=d&&l!==p?d(l):w;i||(L={opacity:E?0:1,height:E?0:p,overflowY:E?"hidden":p,order:h?x:p,pointerEvents:E?"none":p,position:E?"absolute":p});var O={};E&&(O["aria-hidden"]=!0);var A=s.createElement(_,(0,r.Z)({className:c()(!i&&n,y),style:(0,o.Z)((0,o.Z)({},L),b)},O,S,{ref:t}),N);return h&&(A=s.createElement(u.default,{onResize:function(e){M(e.offsetWidth)},disabled:m},A)),A}var m=s.forwardRef(h);m.displayName="Item";var g=m,v=n(99798),y=n(10422),b=n(18912);function w(){var e=s.useRef(null);return function(t){e.current||(e.current=[],function(e){if("undefined"===typeof MessageChannel)(0,b.Z)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}((function(){(0,y.unstable_batchedUpdates)((function(){e.current.forEach((function(e){e()})),e.current=null}))}))),e.current.push(t)}}function C(e,t){var n=s.useState(t),r=(0,i.Z)(n,2),o=r[0],a=r[1];return[o,(0,v.Z)((function(t){e((function(){a(t)}))}))]}var x=s.createContext(null),k=["component"],_=["className"],S=["className"],E=function(e,t){var n=s.useContext(x);if(!n){var o=e.component,i=void 0===o?"div":o,l=(0,a.Z)(e,k);return s.createElement(i,(0,r.Z)({},l,{ref:t}))}var u=n.className,d=(0,a.Z)(n,_),f=e.className,p=(0,a.Z)(e,S);return s.createElement(x.Provider,{value:null},s.createElement(g,(0,r.Z)({ref:t,className:c()(u,f)},d,p)))},M=s.forwardRef(E);M.displayName="RawItem";var L=M,N=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],O="responsive",A="invalidate";function j(e){return"+ ".concat(e.length," ...")}function T(e,t){var n=e.prefixCls,l=void 0===n?"rc-overflow":n,f=e.data,p=void 0===f?[]:f,h=e.renderItem,m=e.renderRawItem,v=e.itemKey,y=e.itemWidth,b=void 0===y?10:y,k=e.ssr,_=e.style,S=e.className,E=e.maxCount,M=e.renderRest,L=e.renderRawRest,T=e.suffix,Z=e.component,P=void 0===Z?"div":Z,R=e.itemComponent,I=e.onVisibleChange,D=(0,a.Z)(e,N),z="full"===k,H=w(),B=C(H,null),F=(0,i.Z)(B,2),V=F[0],q=F[1],U=V||0,$=C(H,new Map),W=(0,i.Z)($,2),K=W[0],G=W[1],Y=C(H,0),J=(0,i.Z)(Y,2),X=J[0],Q=J[1],ee=C(H,0),te=(0,i.Z)(ee,2),ne=te[0],re=te[1],oe=C(H,0),ie=(0,i.Z)(oe,2),ae=ie[0],se=ie[1],le=(0,s.useState)(null),ce=(0,i.Z)(le,2),ue=ce[0],de=ce[1],fe=(0,s.useState)(null),pe=(0,i.Z)(fe,2),he=pe[0],me=pe[1],ge=s.useMemo((function(){return null===he&&z?Number.MAX_SAFE_INTEGER:he||0}),[he,V]),ve=(0,s.useState)(!1),ye=(0,i.Z)(ve,2),be=ye[0],we=ye[1],Ce="".concat(l,"-item"),xe=Math.max(X,ne),ke=E===O,_e=p.length&&ke,Se=E===A,Ee=_e||"number"===typeof E&&p.length>E,Me=(0,s.useMemo)((function(){var e=p;return _e?e=null===V&&z?p:p.slice(0,Math.min(p.length,U/b)):"number"===typeof E&&(e=p.slice(0,E)),e}),[p,b,V,E,_e]),Le=(0,s.useMemo)((function(){return _e?p.slice(ge+1):p.slice(Me.length)}),[p,Me,_e,ge]),Ne=(0,s.useCallback)((function(e,t){var n;return"function"===typeof v?v(e):null!==(n=v&&(null===e||void 0===e?void 0:e[v]))&&void 0!==n?n:t}),[v]),Oe=(0,s.useCallback)(h||function(e){return e},[h]);function Ae(e,t,n){(he!==e||void 0!==t&&t!==ue)&&(me(e),n||(we(e<p.length-1),null===I||void 0===I||I(e)),void 0!==t&&de(t))}function je(e,t){G((function(n){var r=new Map(n);return null===t?r.delete(e):r.set(e,t),r}))}function Te(e){return K.get(Ne(Me[e],e))}(0,d.Z)((function(){if(U&&"number"===typeof xe&&Me){var e=ae,t=Me.length,n=t-1;if(!t)return void Ae(0,null);for(var r=0;r<t;r+=1){var o=Te(r);if(z&&(o=o||0),void 0===o){Ae(r-1,void 0,!0);break}if(e+=o,0===n&&e<=U||r===n-1&&e+Te(n)<=U){Ae(n,null);break}if(e+xe>U){Ae(r-1,e-o-ae+ne);break}}T&&Te(0)+ae>U&&de(null)}}),[U,K,ne,ae,Ne,Me]);var Ze=be&&!!Le.length,Pe={};null!==ue&&_e&&(Pe={position:"absolute",left:ue,top:0});var Re,Ie={prefixCls:Ce,responsive:_e,component:R,invalidate:Se},De=m?function(e,t){var n=Ne(e,t);return s.createElement(x.Provider,{key:n,value:(0,o.Z)((0,o.Z)({},Ie),{},{order:t,item:e,itemKey:n,registerSize:je,display:t<=ge})},m(e,t))}:function(e,t){var n=Ne(e,t);return s.createElement(g,(0,r.Z)({},Ie,{order:t,key:n,item:e,renderItem:Oe,itemKey:n,registerSize:je,display:t<=ge}))},ze={order:Ze?ge:Number.MAX_SAFE_INTEGER,className:"".concat(Ce,"-rest"),registerSize:function(e,t){re(t),Q(ne)},display:Ze};if(L)L&&(Re=s.createElement(x.Provider,{value:(0,o.Z)((0,o.Z)({},Ie),ze)},L(Le)));else{var He=M||j;Re=s.createElement(g,(0,r.Z)({},Ie,ze),"function"===typeof He?He(Le):He)}var Be=s.createElement(P,(0,r.Z)({className:c()(!Se&&l,S),style:_,ref:t},D),Me.map(De),Ee?Re:null,T&&s.createElement(g,(0,r.Z)({},Ie,{responsive:ke,responsiveDisabled:!_e,order:ge,className:"".concat(Ce,"-suffix"),registerSize:function(e,t){se(t)},display:!0,style:Pe}),T));return ke&&(Be=s.createElement(u.default,{onResize:function(e,t){q(t.clientWidth)},disabled:!_e},Be)),Be}var Z=s.forwardRef(T);Z.displayName="Overflow",Z.Item=L,Z.RESPONSIVE=O,Z.INVALIDATE=A;var P=Z},72488:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return k}});var r=n(2053),o=n(57904),i=n(98037),a=n(73779),s=n(71374),l=n(45675),c=n(36280),u=n(50959),d=n(84875),f=n.n(d),p=function(e){var t,n="".concat(e.rootPrefixCls,"-item"),r=f()(n,"".concat(n,"-").concat(e.page),(t={},(0,o.Z)(t,"".concat(n,"-active"),e.active),(0,o.Z)(t,"".concat(n,"-disabled"),!e.page),(0,o.Z)(t,e.className,!!e.className),t));return u.createElement("li",{title:e.showTitle?e.page:null,className:r,onClick:function(){e.onClick(e.page)},onKeyPress:function(t){e.onKeyPress(t,e.onClick,e.page)},tabIndex:"0"},e.itemRender(e.page,"page",u.createElement("a",{rel:"nofollow"},e.page)))},h=13,m=38,g=40,v=function(e){(0,l.Z)(n,e);var t=(0,c.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={goInputText:""},e.buildOptionText=function(t){return"".concat(t," ").concat(e.props.locale.items_per_page)},e.changeSize=function(t){e.props.changeSize(Number(t))},e.handleChange=function(t){e.setState({goInputText:t.target.value})},e.handleBlur=function(t){var n=e.props,r=n.goButton,o=n.quickGo,i=n.rootPrefixCls,a=e.state.goInputText;r||""===a||(e.setState({goInputText:""}),t.relatedTarget&&(t.relatedTarget.className.indexOf("".concat(i,"-item-link"))>=0||t.relatedTarget.className.indexOf("".concat(i,"-item"))>=0)||o(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode!==h&&"click"!==t.type||(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue())))},e}return(0,s.Z)(n,[{key:"getValidValue",value:function(){var e=this.state.goInputText;return!e||isNaN(e)?void 0:Number(e)}},{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some((function(e){return e.toString()===t.toString()}))?n:n.concat([t.toString()]).sort((function(e,t){return(isNaN(Number(e))?0:Number(e))-(isNaN(Number(t))?0:Number(t))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,r=t.locale,o=t.rootPrefixCls,i=t.changeSize,a=t.quickGo,s=t.goButton,l=t.selectComponentClass,c=t.buildOptionText,d=t.selectPrefixCls,f=t.disabled,p=this.state.goInputText,h="".concat(o,"-options"),m=l,g=null,v=null,y=null;if(!i&&!a)return null;var b=this.getPageSizeOptions();if(i&&m){var w=b.map((function(t,n){return u.createElement(m.Option,{key:n,value:t.toString()},(c||e.buildOptionText)(t))}));g=u.createElement(m,{disabled:f,prefixCls:d,showSearch:!1,className:"".concat(h,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(n||b[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":r.page_size,defaultOpen:!1},w)}return a&&(s&&(y="boolean"===typeof s?u.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:f,className:"".concat(h,"-quick-jumper-button")},r.jump_to_confirm):u.createElement("span",{onClick:this.go,onKeyUp:this.go},s)),v=u.createElement("div",{className:"".concat(h,"-quick-jumper")},r.jump_to,u.createElement("input",{disabled:f,type:"text",value:p,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":r.page}),r.page,y)),u.createElement("li",{className:"".concat(h)},g,v)}}]),n}(u.Component);v.defaultProps={pageSizeOptions:["10","20","50","100"]};var y=v;function b(){}function w(e){var t=Number(e);return"number"===typeof t&&!isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function C(e,t,n){var r="undefined"===typeof e?t.pageSize:e;return Math.floor((n.total-1)/r)+1}var x=function(e){(0,l.Z)(n,e);var t=(0,c.Z)(n);function n(e){var r;(0,a.Z)(this,n),(r=t.call(this,e)).getJumpPrevPage=function(){return Math.max(1,r.state.current-(r.props.showLessItems?3:5))},r.getJumpNextPage=function(){return Math.min(C(void 0,r.state,r.props),r.state.current+(r.props.showLessItems?3:5))},r.getItemIcon=function(e,t){var n=r.props.prefixCls,o=e||u.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"===typeof e&&(o=u.createElement(e,(0,i.Z)({},r.props))),o},r.savePaginationNode=function(e){r.paginationNode=e},r.isValid=function(e){var t=r.props.total;return w(e)&&e!==r.state.current&&w(t)&&t>0},r.shouldDisplayQuickJumper=function(){var e=r.props,t=e.showQuickJumper;return!(e.total<=r.state.pageSize)&&t},r.handleKeyDown=function(e){e.keyCode!==m&&e.keyCode!==g||e.preventDefault()},r.handleKeyUp=function(e){var t=r.getValidValue(e);t!==r.state.currentInputValue&&r.setState({currentInputValue:t}),e.keyCode===h?r.handleChange(t):e.keyCode===m?r.handleChange(t-1):e.keyCode===g&&r.handleChange(t+1)},r.handleBlur=function(e){var t=r.getValidValue(e);r.handleChange(t)},r.changePageSize=function(e){var t=r.state.current,n=C(e,r.state,r.props);t=t>n?n:t,0===n&&(t=r.state.current),"number"===typeof e&&("pageSize"in r.props||r.setState({pageSize:e}),"current"in r.props||r.setState({current:t,currentInputValue:t})),r.props.onShowSizeChange(t,e),"onChange"in r.props&&r.props.onChange&&r.props.onChange(t,e)},r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange,i=r.state,a=i.pageSize,s=i.current,l=i.currentInputValue;if(r.isValid(e)&&!n){var c=C(void 0,r.state,r.props),u=e;return e>c?u=c:e<1&&(u=1),"current"in r.props||r.setState({current:u}),u!==l&&r.setState({currentInputValue:u}),o(u,a),u}return s},r.prev=function(){r.hasPrev()&&r.handleChange(r.state.current-1)},r.next=function(){r.hasNext()&&r.handleChange(r.state.current+1)},r.jumpPrev=function(){r.handleChange(r.getJumpPrevPage())},r.jumpNext=function(){r.handleChange(r.getJumpNextPage())},r.hasPrev=function(){return r.state.current>1},r.hasNext=function(){return r.state.current<C(void 0,r.state,r.props)},r.runIfEnter=function(e,t){if("Enter"===e.key||13===e.charCode){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];t.apply(void 0,r)}},r.runIfEnterPrev=function(e){r.runIfEnter(e,r.prev)},r.runIfEnterNext=function(e){r.runIfEnter(e,r.next)},r.runIfEnterJumpPrev=function(e){r.runIfEnter(e,r.jumpPrev)},r.runIfEnterJumpNext=function(e){r.runIfEnter(e,r.jumpNext)},r.handleGoTO=function(e){e.keyCode!==h&&"click"!==e.type||r.handleChange(r.state.currentInputValue)};var o=e.onChange!==b;"current"in e&&!o&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var s=e.defaultCurrent;"current"in e&&(s=e.current);var l=e.defaultPageSize;return"pageSize"in e&&(l=e.pageSize),s=Math.min(s,C(l,void 0,e)),r.state={current:s,currentInputValue:s,pageSize:l},r}return(0,s.Z)(n,[{key:"componentDidUpdate",value:function(e,t){var n=this.props.prefixCls;if(t.current!==this.state.current&&this.paginationNode){var r=this.paginationNode.querySelector(".".concat(n,"-item-").concat(t.current));r&&document.activeElement===r&&r.blur()}}},{key:"getValidValue",value:function(e){var t=e.target.value,n=C(void 0,this.state,this.props),r=this.state.currentInputValue;return""===t?t:isNaN(Number(t))?r:t>=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,r=e.totalBoundaryShowSizeChanger;return"undefined"!==typeof t?t:n>r}},{key:"renderPrev",value:function(e){var t=this.props,n=t.prevIcon,r=(0,t.itemRender)(e,"prev",this.getItemIcon(n,"prev page")),o=!this.hasPrev();return(0,u.isValidElement)(r)?(0,u.cloneElement)(r,{disabled:o}):r}},{key:"renderNext",value:function(e){var t=this.props,n=t.nextIcon,r=(0,t.itemRender)(e,"next",this.getItemIcon(n,"next page")),o=!this.hasNext();return(0,u.isValidElement)(r)?(0,u.cloneElement)(r,{disabled:o}):r}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,i=t.className,a=t.style,s=t.disabled,l=t.hideOnSinglePage,c=t.total,d=t.locale,h=t.showQuickJumper,m=t.showLessItems,g=t.showTitle,v=t.showTotal,b=t.simple,w=t.itemRender,x=t.showPrevNextJumpers,k=t.jumpPrevIcon,_=t.jumpNextIcon,S=t.selectComponentClass,E=t.selectPrefixCls,M=t.pageSizeOptions,L=this.state,N=L.current,O=L.pageSize,A=L.currentInputValue;if(!0===l&&c<=O)return null;var j=C(void 0,this.state,this.props),T=[],Z=null,P=null,R=null,I=null,D=null,z=h&&h.goButton,H=m?1:2,B=N-1>0?N-1:0,F=N+1<j?N+1:j,V=Object.keys(this.props).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e.props[n]),t}),{});if(b)return z&&(D="boolean"===typeof z?u.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},d.jump_to_confirm):u.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},z),D=u.createElement("li",{title:g?"".concat(d.jump_to).concat(N,"/").concat(j):null,className:"".concat(n,"-simple-pager")},D)),u.createElement("ul",(0,r.Z)({className:f()(n,"".concat(n,"-simple"),(0,o.Z)({},"".concat(n,"-disabled"),s),i),style:a,ref:this.savePaginationNode},V),u.createElement("li",{title:g?d.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:f()("".concat(n,"-prev"),(0,o.Z)({},"".concat(n,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(B)),u.createElement("li",{title:g?"".concat(N,"/").concat(j):null,className:"".concat(n,"-simple-pager")},u.createElement("input",{type:"text",value:A,disabled:s,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:"3"}),u.createElement("span",{className:"".concat(n,"-slash")},"/"),j),u.createElement("li",{title:g?d.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:f()("".concat(n,"-next"),(0,o.Z)({},"".concat(n,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(F)),D);if(j<=3+2*H){var q={locale:d,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:g,itemRender:w};j||T.push(u.createElement(p,(0,r.Z)({},q,{key:"noPager",page:1,className:"".concat(n,"-item-disabled")})));for(var U=1;U<=j;U+=1){var $=N===U;T.push(u.createElement(p,(0,r.Z)({},q,{key:U,page:U,active:$})))}}else{var W=m?d.prev_3:d.prev_5,K=m?d.next_3:d.next_5;x&&(Z=u.createElement("li",{title:g?W:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:f()("".concat(n,"-jump-prev"),(0,o.Z)({},"".concat(n,"-jump-prev-custom-icon"),!!k))},w(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(k,"prev page"))),P=u.createElement("li",{title:g?K:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:f()("".concat(n,"-jump-next"),(0,o.Z)({},"".concat(n,"-jump-next-custom-icon"),!!_))},w(this.getJumpNextPage(),"jump-next",this.getItemIcon(_,"next page")))),I=u.createElement(p,{locale:d,last:!0,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:j,page:j,active:!1,showTitle:g,itemRender:w}),R=u.createElement(p,{locale:d,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:g,itemRender:w});var G=Math.max(1,N-H),Y=Math.min(N+H,j);N-1<=H&&(Y=1+2*H),j-N<=H&&(G=j-2*H);for(var J=G;J<=Y;J+=1){var X=N===J;T.push(u.createElement(p,{locale:d,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:J,page:J,active:X,showTitle:g,itemRender:w}))}N-1>=2*H&&3!==N&&(T[0]=(0,u.cloneElement)(T[0],{className:"".concat(n,"-item-after-jump-prev")}),T.unshift(Z)),j-N>=2*H&&N!==j-2&&(T[T.length-1]=(0,u.cloneElement)(T[T.length-1],{className:"".concat(n,"-item-before-jump-next")}),T.push(P)),1!==G&&T.unshift(R),Y!==j&&T.push(I)}var Q=null;v&&(Q=u.createElement("li",{className:"".concat(n,"-total-text")},v(c,[0===c?0:(N-1)*O+1,N*O>c?c:N*O])));var ee=!this.hasPrev()||!j,te=!this.hasNext()||!j;return u.createElement("ul",(0,r.Z)({className:f()(n,i,(0,o.Z)({},"".concat(n,"-disabled"),s)),style:a,unselectable:"unselectable",ref:this.savePaginationNode},V),Q,u.createElement("li",{title:g?d.prev_page:null,onClick:this.prev,tabIndex:ee?null:0,onKeyPress:this.runIfEnterPrev,className:f()("".concat(n,"-prev"),(0,o.Z)({},"".concat(n,"-disabled"),ee)),"aria-disabled":ee},this.renderPrev(B)),T,u.createElement("li",{title:g?d.next_page:null,onClick:this.next,tabIndex:te?null:0,onKeyPress:this.runIfEnterNext,className:f()("".concat(n,"-next"),(0,o.Z)({},"".concat(n,"-disabled"),te)),"aria-disabled":te},this.renderNext(F)),u.createElement(y,{disabled:s,locale:d,rootPrefixCls:n,selectComponentClass:S,selectPrefixCls:E,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:N,pageSize:O,pageSizeOptions:M,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:z}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var r=t.current,o=C(e.pageSize,t,e);r=r>o?o:r,"current"in e||(n.current=r,n.currentInputValue=r),n.pageSize=e.pageSize}return n}}]),n}(u.Component);x.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:b,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:b,locale:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var k=x},69065:function(e,t){"use strict";t.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},63305:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},61748:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"};t.default=n},12682:function(e,t,n){"use strict";n.r(t),n.d(t,{_rs:function(){return h},default:function(){return _}});var r=n(2053),o=n(50959),i=n(73444),a=(n(14032),n(98037)),s=n(24744),l=n(28500),c=n(37987),u=o.createContext(null);var d=n(73023),f=new Map;var p=new d.Z((function(e){e.forEach((function(e){var t,n=e.target;null===(t=f.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))})),h=null;var m=n(73779),g=n(71374),v=n(45675),y=n(36280),b=function(e){(0,v.Z)(n,e);var t=(0,y.Z)(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,g.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component);function w(e,t){var n=e.children,r=e.disabled,i=o.useRef(null),d=o.useRef(null),h=o.useContext(u),m="function"===typeof n,g=m?n(i):n,v=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),y=!m&&o.isValidElement(g)&&(0,c.Yr)(g),w=y?g.ref:null,C=(0,c.x1)(w,i),x=function(){var e;return(0,l.ZP)(i.current)||(i.current&&"object"===(0,s.Z)(i.current)?(0,l.ZP)(null===(e=i.current)||void 0===e?void 0:e.nativeElement):null)||(0,l.ZP)(d.current)};o.useImperativeHandle(t,(function(){return x()}));var k=o.useRef(e);k.current=e;var _=o.useCallback((function(e){var t=k.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,s=o.height,l=e.offsetWidth,c=e.offsetHeight,u=Math.floor(i),d=Math.floor(s);if(v.current.width!==u||v.current.height!==d||v.current.offsetWidth!==l||v.current.offsetHeight!==c){var f={width:u,height:d,offsetWidth:l,offsetHeight:c};v.current=f;var p=l===Math.round(i)?i:l,m=c===Math.round(s)?s:c,g=(0,a.Z)((0,a.Z)({},f),{},{offsetWidth:p,offsetHeight:m});null===h||void 0===h||h(g,e,r),n&&Promise.resolve().then((function(){n(g,e)}))}}),[]);return o.useEffect((function(){var e,t,n=x();return n&&!r&&(e=n,t=_,f.has(e)||(f.set(e,new Set),p.observe(e)),f.get(e).add(t)),function(){return function(e,t){f.has(e)&&(f.get(e).delete(t),f.get(e).size||(p.unobserve(e),f.delete(e)))}(n,_)}}),[i.current,r]),o.createElement(b,{ref:d},y?o.cloneElement(g,{ref:C}):g)}var C=o.forwardRef(w);function x(e,t){var n=e.children;return("function"===typeof n?[n]:(0,i.Z)(n)).map((function(n,i){var a=(null===n||void 0===n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return o.createElement(C,(0,r.Z)({},e,{key:a,ref:0===i?t:void 0}),n)}))}var k=o.forwardRef(x);k.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(u),s=o.useCallback((function(e,t,o){r.current+=1;var s=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then((function(){s===r.current&&(null===n||void 0===n||n(i.current),i.current=[])})),null===a||void 0===a||a(e,t,o)}),[n,a]);return o.createElement(u.Provider,{value:s},t)};var _=k},18114:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l}});var r=n(99459),o=n(50959),i=n(91469),a=0,s=(0,i.Z)();function l(e){var t=o.useState(),n=(0,r.Z)(t,2),i=n[0],l=n[1];return o.useEffect((function(){l("rc_select_".concat(function(){var e;return s?(e=a,a+=1):e="TEST_OR_SSR",e}()))}),[]),e||i}},40180:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseSelect:function(){return X},OptGroup:function(){return ce},Option:function(){return de},default:function(){return Se},useBaseProps:function(){return w}});var r=n(2053),o=n(35047),i=n(57904),a=n(98037),s=n(99459),l=n(53162),c=n(24744),u=n(5481),d=n(14032),f=n(50959),p=n(84875),h=n.n(p),m=n(67601),g=n(24390),v=n(23278),y=n(37987),b=f.createContext(null);function w(){return f.useContext(b)}function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=f.useRef(null),n=f.useRef(null);function r(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}return f.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},r]}var x=n(42361),k=n(73589),_=function(e){var t,n=e.className,r=e.customizeIcon,o=e.customizeIconProps,i=e.onMouseDown,a=e.onClick,s=e.children;return t="function"===typeof r?r(o):r,f.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),i&&i(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a,"aria-hidden":!0},void 0!==t?t:f.createElement("span",{className:h()(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},s))},S=function(e,t){var n,r,o=e.prefixCls,i=e.id,s=e.inputElement,l=e.disabled,c=e.tabIndex,u=e.autoFocus,p=e.autoComplete,m=e.editable,g=e.activeDescendantId,v=e.value,b=e.maxLength,w=e.onKeyDown,C=e.onMouseDown,x=e.onChange,k=e.onPaste,_=e.onCompositionStart,S=e.onCompositionEnd,E=e.open,M=e.attrs,L=s||f.createElement("input",null),N=L,O=N.ref,A=N.props,j=A.onKeyDown,T=A.onChange,Z=A.onMouseDown,P=A.onCompositionStart,R=A.onCompositionEnd,I=A.style;return(0,d.Kp)(!("maxLength"in L.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),L=f.cloneElement(L,(0,a.Z)((0,a.Z)((0,a.Z)({type:"search"},A),{},{id:i,ref:(0,y.sQ)(t,O),disabled:l,tabIndex:c,autoComplete:p||"off",autoFocus:u,className:h()("".concat(o,"-selection-search-input"),null===(n=L)||void 0===n||null===(r=n.props)||void 0===r?void 0:r.className),role:"combobox","aria-expanded":E,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":g},M),{},{value:m?v:"",maxLength:b,readOnly:!m,unselectable:m?null:"on",style:(0,a.Z)((0,a.Z)({},I),{},{opacity:m?null:0}),onKeyDown:function(e){w(e),j&&j(e)},onMouseDown:function(e){C(e),Z&&Z(e)},onChange:function(e){x(e),T&&T(e)},onCompositionStart:function(e){_(e),P&&P(e)},onCompositionEnd:function(e){S(e),R&&R(e)},onPaste:k}))},E=f.forwardRef(S);E.displayName="Input";var M=E;function L(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var N="undefined"!==typeof window&&window.document&&window.document.documentElement;function O(e){return["string","number"].includes((0,c.Z)(e))}function A(e){var t=void 0;return e&&(O(e.title)?t=e.title.toString():O(e.label)&&(t=e.label.toString())),t}function j(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var T=function(e){e.preventDefault(),e.stopPropagation()},Z=function(e){var t,n,r=e.id,o=e.prefixCls,a=e.values,l=e.open,c=e.searchValue,u=e.autoClearSearchValue,d=e.inputRef,p=e.placeholder,m=e.disabled,g=e.mode,v=e.showSearch,y=e.autoFocus,b=e.autoComplete,w=e.activeDescendantId,C=e.tabIndex,S=e.removeIcon,E=e.maxTagCount,L=e.maxTagTextLength,O=e.maxTagPlaceholder,Z=void 0===O?function(e){return"+ ".concat(e.length," ...")}:O,P=e.tagRender,R=e.onToggleOpen,I=e.onRemove,D=e.onInputChange,z=e.onInputPaste,H=e.onInputKeyDown,B=e.onInputMouseDown,F=e.onInputCompositionStart,V=e.onInputCompositionEnd,q=f.useRef(null),U=(0,f.useState)(0),$=(0,s.Z)(U,2),W=$[0],K=$[1],G=(0,f.useState)(!1),Y=(0,s.Z)(G,2),J=Y[0],X=Y[1],Q="".concat(o,"-selection"),ee=l||"multiple"===g&&!1===u||"tags"===g?c:"",te="tags"===g||"multiple"===g&&!1===u||v&&(l||J);function ne(e,t,n,r,o){return f.createElement("span",{className:h()("".concat(Q,"-item"),(0,i.Z)({},"".concat(Q,"-item-disabled"),n)),title:A(e)},f.createElement("span",{className:"".concat(Q,"-item-content")},t),r&&f.createElement(_,{className:"".concat(Q,"-item-remove"),onMouseDown:T,onClick:o,customizeIcon:S},"\xd7"))}t=function(){K(q.current.scrollWidth)},n=[ee],N?f.useLayoutEffect(t,n):f.useEffect(t,n);var re=f.createElement("div",{className:"".concat(Q,"-search"),style:{width:W},onFocus:function(){X(!0)},onBlur:function(){X(!1)}},f.createElement(M,{ref:d,open:l,prefixCls:o,id:r,inputElement:null,disabled:m,autoFocus:y,autoComplete:b,editable:te,activeDescendantId:w,value:ee,onKeyDown:H,onMouseDown:B,onChange:D,onPaste:z,onCompositionStart:F,onCompositionEnd:V,tabIndex:C,attrs:(0,x.Z)(e,!0)}),f.createElement("span",{ref:q,className:"".concat(Q,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),oe=f.createElement(k.Z,{prefixCls:"".concat(Q,"-overflow"),data:a,renderItem:function(e){var t=e.disabled,n=e.label,r=e.value,o=!m&&!t,i=n;if("number"===typeof L&&("string"===typeof n||"number"===typeof n)){var a=String(i);a.length>L&&(i="".concat(a.slice(0,L),"..."))}var s=function(t){t&&t.stopPropagation(),I(e)};return"function"===typeof P?function(e,t,n,r,o){return f.createElement("span",{onMouseDown:function(e){T(e),R(!l)}},P({label:t,value:e,disabled:n,closable:r,onClose:o}))}(r,i,t,o,s):ne(e,i,t,o,s)},renderRest:function(e){var t="function"===typeof Z?Z(e):Z;return ne({title:t},t,!1)},suffix:re,itemKey:j,maxCount:E});return f.createElement(f.Fragment,null,oe,!a.length&&!ee&&f.createElement("span",{className:"".concat(Q,"-placeholder")},p))},P=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,o=e.inputRef,i=e.disabled,a=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,u=e.mode,d=e.open,p=e.values,h=e.placeholder,m=e.tabIndex,g=e.showSearch,v=e.searchValue,y=e.activeValue,b=e.maxLength,w=e.onInputKeyDown,C=e.onInputMouseDown,k=e.onInputChange,_=e.onInputPaste,S=e.onInputCompositionStart,E=e.onInputCompositionEnd,L=f.useState(!1),N=(0,s.Z)(L,2),O=N[0],j=N[1],T="combobox"===u,Z=T||g,P=p[0],R=v||"";T&&y&&!O&&(R=y),f.useEffect((function(){T&&j(!1)}),[T,y]);var I=!("combobox"!==u&&!d&&!g)&&!!R,D=A(P);return f.createElement(f.Fragment,null,f.createElement("span",{className:"".concat(n,"-selection-search")},f.createElement(M,{ref:o,prefixCls:n,id:r,open:d,inputElement:t,disabled:i,autoFocus:a,autoComplete:l,editable:Z,activeDescendantId:c,value:R,onKeyDown:w,onMouseDown:C,onChange:function(e){j(!0),k(e)},onPaste:_,onCompositionStart:S,onCompositionEnd:E,tabIndex:m,attrs:(0,x.Z)(e,!0),maxLength:T?b:void 0})),!T&&P?f.createElement("span",{className:"".concat(n,"-selection-item"),title:D,style:I?{visibility:"hidden"}:void 0},P.label):null,function(){if(P)return null;var e=I?{visibility:"hidden"}:void 0;return f.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:e},h)}())};var R=function(e,t){var n=(0,f.useRef)(null),o=(0,f.useRef)(!1),i=e.prefixCls,a=e.open,l=e.mode,c=e.showSearch,u=e.tokenWithEnter,d=e.autoClearSearchValue,p=e.onSearch,h=e.onSearchSubmit,m=e.onToggleOpen,g=e.onInputKeyDown,y=e.domRef;f.useImperativeHandle(t,(function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}}));var b=C(0),w=(0,s.Z)(b,2),x=w[0],k=w[1],_=(0,f.useRef)(null),S=function(e){!1!==p(e,!0,o.current)&&m(!0)},E={inputRef:n,onInputKeyDown:function(e){var t,n=e.which;n!==v.Z.UP&&n!==v.Z.DOWN||e.preventDefault(),g&&g(e),n!==v.Z.ENTER||"tags"!==l||o.current||a||null===h||void 0===h||h(e.target.value),t=n,[v.Z.ESC,v.Z.SHIFT,v.Z.BACKSPACE,v.Z.TAB,v.Z.WIN_KEY,v.Z.ALT,v.Z.META,v.Z.WIN_KEY_RIGHT,v.Z.CTRL,v.Z.SEMICOLON,v.Z.EQUALS,v.Z.CAPS_LOCK,v.Z.CONTEXT_MENU,v.Z.F1,v.Z.F2,v.Z.F3,v.Z.F4,v.Z.F5,v.Z.F6,v.Z.F7,v.Z.F8,v.Z.F9,v.Z.F10,v.Z.F11,v.Z.F12].includes(t)||m(!0)},onInputMouseDown:function(){k(!0)},onInputChange:function(e){var t=e.target.value;if(u&&_.current&&/[\r\n]/.test(_.current)){var n=_.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,_.current)}_.current=null,S(t)},onInputPaste:function(e){var t=e.clipboardData.getData("text");_.current=t},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&S(e.target.value)}},M="multiple"===l||"tags"===l?f.createElement(Z,(0,r.Z)({},e,E)):f.createElement(P,(0,r.Z)({},e,E));return f.createElement("div",{ref:y,className:"".concat(i,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){n.current.focus()})):n.current.focus())},onMouseDown:function(e){var t=x();e.target===n.current||t||"combobox"===l||e.preventDefault(),("combobox"===l||c&&t)&&a||(a&&!1!==d&&p("",!0,!1),m())}},M)},I=f.forwardRef(R);I.displayName="Selector";var D=I,z=n(13445),H=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],B=function(e,t){var n=e.prefixCls,o=(e.disabled,e.visible),s=e.children,c=e.popupElement,u=e.containerWidth,d=e.animation,p=e.transitionName,m=e.dropdownStyle,g=e.dropdownClassName,v=e.direction,y=void 0===v?"ltr":v,b=e.placement,w=e.dropdownMatchSelectWidth,C=e.dropdownRender,x=e.dropdownAlign,k=e.getPopupContainer,_=e.empty,S=e.getTriggerDOMNode,E=e.onPopupVisibleChange,M=e.onPopupMouseEnter,L=(0,l.Z)(e,H),N="".concat(n,"-dropdown"),O=c;C&&(O=C(c));var A=f.useMemo((function(){return function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}}(w)}),[w]),j=d?"".concat(N,"-").concat(d):p,T=f.useRef(null);f.useImperativeHandle(t,(function(){return{getPopupElement:function(){return T.current}}}));var Z=(0,a.Z)({minWidth:u},m);return"number"===typeof w?Z.width=w:w&&(Z.width=u),f.createElement(z.Z,(0,r.Z)({},L,{showAction:E?["click"]:[],hideAction:E?["click"]:[],popupPlacement:b||("rtl"===y?"bottomRight":"bottomLeft"),builtinPlacements:A,prefixCls:N,popupTransitionName:j,popup:f.createElement("div",{ref:T,onMouseEnter:M},O),popupAlign:x,popupVisible:o,getPopupContainer:k,popupClassName:h()(g,(0,i.Z)({},"".concat(N,"-empty"),_)),popupStyle:Z,getTriggerDOMNode:S,onPopupVisibleChange:E}),s)},F=f.forwardRef(B);F.displayName="SelectTrigger";var V=F,q=n(24769);function U(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!==r&&void 0!==r?r:void 0!==n?n:"rc-index-key-".concat(t)}function $(e,t){var n=e||{};return{label:n.label||(t?"children":"label"),value:n.value||"value",options:n.options||"options"}}function W(e){var t=(0,a.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,d.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var K=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],G=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Y(e){return"tags"===e||"multiple"===e}var J=f.forwardRef((function(e,t){var n,d,p=e.id,w=e.prefixCls,x=e.className,k=e.showSearch,S=e.tagRender,E=e.direction,M=e.omitDomProps,L=e.displayValues,N=e.onDisplayValuesChange,O=e.emptyOptions,A=e.notFoundContent,j=void 0===A?"Not Found":A,T=e.onClear,Z=e.mode,P=e.disabled,R=e.loading,I=e.getInputElement,z=e.getRawInputElement,H=e.open,B=e.defaultOpen,F=e.onDropdownVisibleChange,U=e.activeValue,$=e.onActiveValueChange,W=e.activeDescendantId,J=e.searchValue,X=e.autoClearSearchValue,Q=e.onSearch,ee=e.onSearchSplit,te=e.tokenSeparators,ne=e.allowClear,re=e.showArrow,oe=e.inputIcon,ie=e.clearIcon,ae=e.OptionList,se=e.animation,le=e.transitionName,ce=e.dropdownStyle,ue=e.dropdownClassName,de=e.dropdownMatchSelectWidth,fe=e.dropdownRender,pe=e.dropdownAlign,he=e.placement,me=e.getPopupContainer,ge=e.showAction,ve=void 0===ge?[]:ge,ye=e.onFocus,be=e.onBlur,we=e.onKeyUp,Ce=e.onKeyDown,xe=e.onMouseDown,ke=(0,l.Z)(e,K),_e=Y(Z),Se=(void 0!==k?k:_e)||"combobox"===Z,Ee=(0,a.Z)({},ke);G.forEach((function(e){delete Ee[e]})),null===M||void 0===M||M.forEach((function(e){delete Ee[e]}));var Me=f.useState(!1),Le=(0,s.Z)(Me,2),Ne=Le[0],Oe=Le[1];f.useEffect((function(){Oe((0,g.Z)())}),[]);var Ae=f.useRef(null),je=f.useRef(null),Te=f.useRef(null),Ze=f.useRef(null),Pe=f.useRef(null),Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=f.useState(!1),n=(0,s.Z)(t,2),r=n[0],o=n[1],i=f.useRef(null),a=function(){window.clearTimeout(i.current)};return f.useEffect((function(){return a}),[]),[r,function(t,n){a(),i.current=window.setTimeout((function(){o(t),n&&n()}),e)},a]}(),Ie=(0,s.Z)(Re,3),De=Ie[0],ze=Ie[1],He=Ie[2];f.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=Ze.current)||void 0===e?void 0:e.focus,blur:null===(t=Ze.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=Pe.current)||void 0===t?void 0:t.scrollTo(e)}}}));var Be=f.useMemo((function(){var e;if("combobox"!==Z)return J;var t=null===(e=L[0])||void 0===e?void 0:e.value;return"string"===typeof t||"number"===typeof t?String(t):""}),[J,Z,L]),Fe="combobox"===Z&&"function"===typeof I&&I()||null,Ve="function"===typeof z&&z(),qe=(0,y.x1)(je,null===Ve||void 0===Ve||null===(n=Ve.props)||void 0===n?void 0:n.ref),Ue=(0,u.Z)(void 0,{defaultValue:B,value:H}),$e=(0,s.Z)(Ue,2),We=$e[0],Ke=$e[1],Ge=We,Ye=!j&&O;(P||Ye&&Ge&&"combobox"===Z)&&(Ge=!1);var Je=!Ye&&Ge,Xe=f.useCallback((function(e){var t=void 0!==e?e:!Ge;P||(Ke(t),Ge!==t&&(null===F||void 0===F||F(t)))}),[P,Ge,Ke,F]),Qe=f.useMemo((function(){return(te||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[te]),et=function(e,t,n){var r=!0,i=e;null===$||void 0===$||$(null);var a=n?null:function(e,t){if(!t||!t.length)return null;var n=!1,r=function e(t,r){var i=(0,q.Z)(r),a=i[0],s=i.slice(1);if(!a)return[t];var l=t.split(a);return n=n||l.length>1,l.reduce((function(t,n){return[].concat((0,o.Z)(t),(0,o.Z)(e(n,s)))}),[]).filter((function(e){return e}))}(e,t);return n?r:null}(e,te);return"combobox"!==Z&&a&&(i="",null===ee||void 0===ee||ee(a),Xe(!1),r=!1),Q&&Be!==i&&Q(i,{source:t?"typing":"effect"}),r};f.useEffect((function(){Ge||_e||"combobox"===Z||et("",!1,!1)}),[Ge]),f.useEffect((function(){We&&P&&Ke(!1),P&&ze(!1)}),[P]);var tt=C(),nt=(0,s.Z)(tt,2),rt=nt[0],ot=nt[1],it=f.useRef(!1),at=[];f.useEffect((function(){return function(){at.forEach((function(e){return clearTimeout(e)})),at.splice(0,at.length)}}),[]);var st,lt=f.useState(null),ct=(0,s.Z)(lt,2),ut=ct[0],dt=ct[1],ft=f.useState({}),pt=(0,s.Z)(ft,2)[1];(0,m.Z)((function(){if(Je){var e,t=Math.ceil(null===(e=Ae.current)||void 0===e?void 0:e.offsetWidth);ut===t||Number.isNaN(t)||dt(t)}}),[Je]),Ve&&(st=function(e){Xe(e)}),function(e,t,n,r){var o=f.useRef(null);o.current={open:t,triggerOpen:n,customizedTrigger:r},f.useEffect((function(){function t(t){var n;if(null===(n=o.current)||void 0===n||!n.customizedTrigger){var r=t.target;r.shadowRoot&&t.composed&&(r=t.composedPath()[0]||r),o.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}}),[])}((function(){var e;return[Ae.current,null===(e=Te.current)||void 0===e?void 0:e.getPopupElement()]}),Je,Xe,!!Ve);var ht,mt,gt=f.useMemo((function(){return(0,a.Z)((0,a.Z)({},e),{},{notFoundContent:j,open:Ge,triggerOpen:Je,id:p,showSearch:Se,multiple:_e,toggleOpen:Xe})}),[e,j,Je,Ge,p,Se,_e,Xe]),vt=void 0!==re?re:R||!_e&&"combobox"!==Z;vt&&(ht=f.createElement(_,{className:h()("".concat(w,"-arrow"),(0,i.Z)({},"".concat(w,"-arrow-loading"),R)),customizeIcon:oe,customizeIconProps:{loading:R,searchValue:Be,open:Ge,focused:De,showSearch:Se}}));P||!ne||!L.length&&!Be||"combobox"===Z&&""===Be||(mt=f.createElement(_,{className:"".concat(w,"-clear"),onMouseDown:function(){var e;null===T||void 0===T||T(),null===(e=Ze.current)||void 0===e||e.focus(),N([],{type:"clear",values:L}),et("",!1,!1)},customizeIcon:ie},"\xd7"));var yt,bt=f.createElement(ae,{ref:Pe}),wt=h()(w,x,(d={},(0,i.Z)(d,"".concat(w,"-focused"),De),(0,i.Z)(d,"".concat(w,"-multiple"),_e),(0,i.Z)(d,"".concat(w,"-single"),!_e),(0,i.Z)(d,"".concat(w,"-allow-clear"),ne),(0,i.Z)(d,"".concat(w,"-show-arrow"),vt),(0,i.Z)(d,"".concat(w,"-disabled"),P),(0,i.Z)(d,"".concat(w,"-loading"),R),(0,i.Z)(d,"".concat(w,"-open"),Ge),(0,i.Z)(d,"".concat(w,"-customize-input"),Fe),(0,i.Z)(d,"".concat(w,"-show-search"),Se),d)),Ct=f.createElement(V,{ref:Te,disabled:P,prefixCls:w,visible:Je,popupElement:bt,containerWidth:ut,animation:se,transitionName:le,dropdownStyle:ce,dropdownClassName:ue,direction:E,dropdownMatchSelectWidth:de,dropdownRender:fe,dropdownAlign:pe,placement:he,getPopupContainer:me,empty:O,getTriggerDOMNode:function(){return je.current},onPopupVisibleChange:st,onPopupMouseEnter:function(){pt({})}},Ve?f.cloneElement(Ve,{ref:qe}):f.createElement(D,(0,r.Z)({},e,{domRef:je,prefixCls:w,inputElement:Fe,ref:Ze,id:p,showSearch:Se,autoClearSearchValue:X,mode:Z,activeDescendantId:W,tagRender:S,values:L,open:Ge,onToggleOpen:Xe,activeValue:U,searchValue:Be,onSearch:et,onSearchSubmit:function(e){e&&e.trim()&&Q(e,{source:"submit"})},onRemove:function(e){var t=L.filter((function(t){return t!==e}));N(t,{type:"remove",values:[e]})},tokenWithEnter:Qe})));return yt=Ve?Ct:f.createElement("div",(0,r.Z)({className:wt},Ee,{ref:Ae,onMouseDown:function(e){var t,n=e.target,r=null===(t=Te.current)||void 0===t?void 0:t.getPopupElement();if(r&&r.contains(n)){var o=setTimeout((function(){var e,t=at.indexOf(o);-1!==t&&at.splice(t,1),He(),Ne||r.contains(document.activeElement)||null===(e=Ze.current)||void 0===e||e.focus()}));at.push(o)}for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];null===xe||void 0===xe||xe.apply(void 0,[e].concat(a))},onKeyDown:function(e){var t,n=rt(),r=e.which;if(r===v.Z.ENTER&&("combobox"!==Z&&e.preventDefault(),Ge||Xe(!0)),ot(!!Be),r===v.Z.BACKSPACE&&!n&&_e&&!Be&&L.length){for(var i=(0,o.Z)(L),a=null,s=i.length-1;s>=0;s-=1){var l=i[s];if(!l.disabled){i.splice(s,1),a=l;break}}a&&N(i,{type:"remove",values:[a]})}for(var c=arguments.length,u=new Array(c>1?c-1:0),d=1;d<c;d++)u[d-1]=arguments[d];Ge&&Pe.current&&(t=Pe.current).onKeyDown.apply(t,[e].concat(u)),null===Ce||void 0===Ce||Ce.apply(void 0,[e].concat(u))},onKeyUp:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o;Ge&&Pe.current&&(o=Pe.current).onKeyUp.apply(o,[e].concat(n)),null===we||void 0===we||we.apply(void 0,[e].concat(n))},onFocus:function(){ze(!0),P||(ye&&!it.current&&ye.apply(void 0,arguments),ve.includes("focus")&&Xe(!0)),it.current=!0},onBlur:function(){ze(!1,(function(){it.current=!1,Xe(!1)})),P||(Be&&("tags"===Z?Q(Be,{source:"submit"}):"multiple"===Z&&Q("",{source:"blur"})),be&&be.apply(void 0,arguments))}}),De&&!Ge&&f.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(L.map((function(e){var t=e.label,n=e.value;return["number","string"].includes((0,c.Z)(t))?t:n})).join(", "))),Ct,ht,mt),f.createElement(b.Provider,{value:gt},yt)}));var X=J;function Q(e,t){return L(e).join("").toUpperCase().includes(t)}var ee=n(18114),te=n(73444),ne=["children","value"],re=["children"];function oe(e){var t=e,n=t.key,r=t.props,o=r.children,i=r.value,s=(0,l.Z)(r,ne);return(0,a.Z)({key:n,value:void 0!==i?i:n,children:o},s)}function ie(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,te.Z)(e).map((function(e,n){if(!f.isValidElement(e)||!e.type)return null;var r=e,o=r.type.isSelectOptGroup,i=r.key,s=r.props,c=s.children,u=(0,l.Z)(s,re);return t||!o?oe(e):(0,a.Z)((0,a.Z)({key:"__RC_SELECT_GRP__".concat(null===i?n:i,"__"),label:i},u),{},{options:ie(c)})})).filter((function(e){return e}))}function ae(e,t,n,r,o){return f.useMemo((function(){var i=e;!e&&(i=ie(t));var a=new Map,s=new Map,l=function(e,t,n){n&&"string"===typeof n&&e.set(t[n],t)};return function e(t){for(var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c<t.length;c+=1){var u=t[c];!u[n.options]||i?(a.set(u[n.value],u),l(s,u,n.label),l(s,u,r),l(s,u,o)):e(u[n.options],!0)}}(i),{options:i,valueOptions:a,labelOptions:s}}),[e,t,n,r,o])}function se(e){var t=f.useRef();t.current=e;var n=f.useCallback((function(){return t.current.apply(t,arguments)}),[]);return n}var le=function(){return null};le.isSelectOptGroup=!0;var ce=le,ue=function(){return null};ue.isSelectOption=!0;var de=ue,fe=n(90123),pe=n(57619),he=n(7429);var me=f.createContext(null),ge=["disabled","title","children","style","className"];function ve(e){return"string"===typeof e||"number"===typeof e}var ye=function(e,t){var n=w(),a=n.prefixCls,c=n.id,u=n.open,d=n.multiple,p=n.mode,m=n.searchValue,g=n.toggleOpen,y=n.notFoundContent,b=n.onPopupScroll,C=f.useContext(me),k=C.flattenOptions,S=C.onActiveValue,E=C.defaultActiveFirstOption,M=C.onSelect,L=C.menuItemSelectedIcon,N=C.rawValues,O=C.fieldNames,A=C.virtual,j=C.listHeight,T=C.listItemHeight,Z="".concat(a,"-item"),P=(0,pe.Z)((function(){return k}),[u,k],(function(e,t){return t[0]&&e[1]!==t[1]})),R=f.useRef(null),I=function(e){e.preventDefault()},D=function(e){R.current&&R.current.scrollTo("number"===typeof e?{index:e}:e)},z=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=P.length,r=0;r<n;r+=1){var o=(e+r*t+n)%n,i=P[o],a=i.group,s=i.data;if(!a&&!s.disabled)return o}return-1},H=f.useState((function(){return z(0)})),B=(0,s.Z)(H,2),F=B[0],V=B[1],q=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];V(e);var n={source:t?"keyboard":"mouse"},r=P[e];r?S(r.value,e,n):S(null,-1,n)};(0,f.useEffect)((function(){q(!1!==E?z(0):-1)}),[P.length,m]);var U=f.useCallback((function(e){return N.has(e)&&"combobox"!==p}),[p,(0,o.Z)(N).toString(),N.size]);(0,f.useEffect)((function(){var e,t=setTimeout((function(){if(!d&&u&&1===N.size){var e=Array.from(N)[0],t=P.findIndex((function(t){return t.data.value===e}));-1!==t&&(q(t),D(t))}}));u&&(null===(e=R.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[u,m]);var $=function(e){void 0!==e&&M(e,{selected:!N.has(e)}),d||g(!1)};if(f.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case v.Z.N:case v.Z.P:case v.Z.UP:case v.Z.DOWN:var r=0;if(t===v.Z.UP?r=-1:t===v.Z.DOWN?r=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===v.Z.N?r=1:t===v.Z.P&&(r=-1)),0!==r){var o=z(F+r,r);D(o),q(o,!0)}break;case v.Z.ENTER:var i=P[F];i&&!i.data.disabled?$(i.value):$(void 0),u&&e.preventDefault();break;case v.Z.ESC:g(!1),u&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){D(e)}}})),0===P.length)return f.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(Z,"-empty"),onMouseDown:I},y);var W=Object.keys(O).map((function(e){return O[e]})),K=function(e){return e.label},G=function(e){var t=P[e];if(!t)return null;var n=t.data||{},o=n.value,i=t.group,a=(0,x.Z)(n,!0),s=K(t);return t?f.createElement("div",(0,r.Z)({"aria-label":"string"!==typeof s||i?null:s},a,{key:e,role:i?"presentation":"option",id:"".concat(c,"_list_").concat(e),"aria-selected":U(o)}),o):null};return f.createElement(f.Fragment,null,f.createElement("div",{role:"listbox",id:"".concat(c,"_list"),style:{height:0,width:0,overflow:"hidden"}},G(F-1),G(F),G(F+1)),f.createElement(he.Z,{itemKey:"key",ref:R,data:P,height:j,itemHeight:T,fullHeight:!1,onMouseDown:I,onScroll:b,virtual:A},(function(e,t){var n,o=e.group,a=e.groupOption,s=e.data,c=e.label,u=e.value,d=s.key;if(o){var p,m=null!==(p=s.title)&&void 0!==p?p:ve(c)?c.toString():void 0;return f.createElement("div",{className:h()(Z,"".concat(Z,"-group")),title:m},void 0!==c?c:d)}var g=s.disabled,v=s.title,y=(s.children,s.style),b=s.className,w=(0,l.Z)(s,ge),C=(0,fe.Z)(w,W),k=U(u),S="".concat(Z,"-option"),E=h()(Z,S,b,(n={},(0,i.Z)(n,"".concat(S,"-grouped"),a),(0,i.Z)(n,"".concat(S,"-active"),F===t&&!g),(0,i.Z)(n,"".concat(S,"-disabled"),g),(0,i.Z)(n,"".concat(S,"-selected"),k),n)),M=K(e),N=!L||"function"===typeof L||k,O="number"===typeof M?M:M||u,A=ve(O)?O.toString():void 0;return void 0!==v&&(A=v),f.createElement("div",(0,r.Z)({},(0,x.Z)(C),{"aria-selected":k,className:E,title:A,onMouseMove:function(){F===t||g||q(t)},onClick:function(){g||$(u)},style:y}),f.createElement("div",{className:"".concat(S,"-content")},O),f.isValidElement(L)||k,N&&f.createElement(_,{className:"".concat(Z,"-option-state"),customizeIcon:L,customizeIconProps:{isSelected:k}},k?"\u2713":null))})))},be=f.forwardRef(ye);be.displayName="OptionList";var we=be;var Ce=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],xe=["inputValue"];var ke=f.forwardRef((function(e,t){var n=e.id,d=e.mode,p=e.prefixCls,h=void 0===p?"rc-select":p,m=e.backfill,g=e.fieldNames,v=e.inputValue,y=e.searchValue,b=e.onSearch,w=e.autoClearSearchValue,C=void 0===w||w,x=e.onSelect,k=e.onDeselect,_=e.dropdownMatchSelectWidth,S=void 0===_||_,E=e.filterOption,M=e.filterSort,N=e.optionFilterProp,O=e.optionLabelProp,A=e.options,j=e.children,T=e.defaultActiveFirstOption,Z=e.menuItemSelectedIcon,P=e.virtual,R=e.listHeight,I=void 0===R?200:R,D=e.listItemHeight,z=void 0===D?20:D,H=e.value,B=e.defaultValue,F=e.labelInValue,V=e.onChange,q=(0,l.Z)(e,Ce),K=(0,ee.ZP)(n),G=Y(d),J=!(A||!j),te=f.useMemo((function(){return(void 0!==E||"combobox"!==d)&&E}),[E,d]),ne=f.useMemo((function(){return $(g,J)}),[JSON.stringify(g),J]),re=(0,u.Z)("",{value:void 0!==y?y:v,postState:function(e){return e||""}}),oe=(0,s.Z)(re,2),ie=oe[0],le=oe[1],ce=ae(A,j,ne,N,O),ue=ce.valueOptions,de=ce.labelOptions,fe=ce.options,pe=f.useCallback((function(e){return L(e).map((function(e){var t,n,r,o,i,a;(function(e){return!e||"object"!==(0,c.Z)(e)})(e)?t=e:(r=e.key,n=e.label,t=null!==(a=e.value)&&void 0!==a?a:r);var s,l=ue.get(t);l&&(void 0===n&&(n=null===l||void 0===l?void 0:l[O||ne.label]),void 0===r&&(r=null!==(s=null===l||void 0===l?void 0:l.key)&&void 0!==s?s:t),o=null===l||void 0===l?void 0:l.disabled,i=null===l||void 0===l?void 0:l.title);return{label:n,value:t,key:r,disabled:o,title:i}}))}),[ne,O,ue]),he=(0,u.Z)(B,{value:H}),ge=(0,s.Z)(he,2),ve=ge[0],ye=ge[1],be=function(e,t){var n=f.useRef({values:new Map,options:new Map});return[f.useMemo((function(){var r=n.current,o=r.values,i=r.options,s=e.map((function(e){var t;return void 0===e.label?(0,a.Z)((0,a.Z)({},e),{},{label:null===(t=o.get(e.value))||void 0===t?void 0:t.label}):e})),l=new Map,c=new Map;return s.forEach((function(e){l.set(e.value,e),c.set(e.value,t.get(e.value)||i.get(e.value))})),n.current.values=l,n.current.options=c,s}),[e,t]),f.useCallback((function(e){return t.get(e)||n.current.options.get(e)}),[t])]}(f.useMemo((function(){var e,t=pe(ve);return"combobox"!==d||null!==(e=t[0])&&void 0!==e&&e.value?t:[]}),[ve,pe,d]),ue),ke=(0,s.Z)(be,2),_e=ke[0],Se=ke[1],Ee=f.useMemo((function(){if(!d&&1===_e.length){var e=_e[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return _e.map((function(e){var t;return(0,a.Z)((0,a.Z)({},e),{},{label:null!==(t=e.label)&&void 0!==t?t:e.value})}))}),[d,_e]),Me=f.useMemo((function(){return new Set(_e.map((function(e){return e.value})))}),[_e]);f.useEffect((function(){if("combobox"===d){var e,t=null===(e=_e[0])||void 0===e?void 0:e.value;le(function(e){return void 0!==e&&null!==e}(t)?String(t):"")}}),[_e]);var Le=se((function(e,t){var n,r=null!==t&&void 0!==t?t:e;return n={},(0,i.Z)(n,ne.value,e),(0,i.Z)(n,ne.label,r),n})),Ne=function(e,t,n,r,o){return f.useMemo((function(){if(!n||!1===r)return e;var s=t.options,l=t.label,c=t.value,u=[],d="function"===typeof r,f=n.toUpperCase(),p=d?r:function(e,t){return o?Q(t[o],f):t[s]?Q(t["children"!==l?l:"label"],f):Q(t[c],f)},h=d?function(e){return W(e)}:function(e){return e};return e.forEach((function(e){if(e[s])if(p(n,h(e)))u.push(e);else{var t=e[s].filter((function(e){return p(n,h(e))}));t.length&&u.push((0,a.Z)((0,a.Z)({},e),{},(0,i.Z)({},s,t)))}else p(n,h(e))&&u.push(e)})),u}),[e,r,o,n,t])}(f.useMemo((function(){if("tags"!==d)return fe;var e=(0,o.Z)(fe);return(0,o.Z)(_e).sort((function(e,t){return e.value<t.value?-1:1})).forEach((function(t){var n=t.value;(function(e){return ue.has(e)})(n)||e.push(Le(n,t.label))})),e}),[Le,fe,ue,_e,d]),ne,ie,te,N),Oe=f.useMemo((function(){return"tags"!==d||!ie||Ne.some((function(e){return e[N||"value"]===ie}))?Ne:[Le(ie)].concat((0,o.Z)(Ne))}),[Le,N,d,Ne,ie]),Ae=f.useMemo((function(){return M?(0,o.Z)(Oe).sort((function(e,t){return M(e,t)})):Oe}),[Oe,M]),je=f.useMemo((function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],i=$(n,!1),a=i.label,s=i.value,l=i.options;function c(e,t){e.forEach((function(e){var n=e[a];if(t||!(l in e)){var i=e[s];o.push({key:U(e,o.length),groupOption:t,data:e,label:n,value:i})}else{var u=n;void 0===u&&r&&(u=e.label),o.push({key:U(e,o.length),group:!0,data:e,label:u}),c(e[l],!0)}}))}return c(e,!1),o}(Ae,{fieldNames:ne,childrenAsData:J})}),[Ae,ne,J]),Te=function(e){var t=pe(e);if(ye(t),V&&(t.length!==_e.length||t.some((function(e,t){var n;return(null===(n=_e[t])||void 0===n?void 0:n.value)!==(null===e||void 0===e?void 0:e.value)})))){var n=F?t:t.map((function(e){return e.value})),r=t.map((function(e){return W(Se(e.value))}));V(G?n:n[0],G?r:r[0])}},Ze=f.useState(null),Pe=(0,s.Z)(Ze,2),Re=Pe[0],Ie=Pe[1],De=f.useState(0),ze=(0,s.Z)(De,2),He=ze[0],Be=ze[1],Fe=void 0!==T?T:"combobox"!==d,Ve=f.useCallback((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.source,o=void 0===r?"keyboard":r;Be(t),m&&"combobox"===d&&null!==e&&"keyboard"===o&&Ie(String(e))}),[m,d]),qe=function(e,t,n){var r=function(){var t,n=Se(e);return[F?{label:null===n||void 0===n?void 0:n[ne.label],value:e,key:null!==(t=null===n||void 0===n?void 0:n.key)&&void 0!==t?t:e}:e,W(n)]};if(t&&x){var o=r(),i=(0,s.Z)(o,2),a=i[0],l=i[1];x(a,l)}else if(!t&&k&&"clear"!==n){var c=r(),u=(0,s.Z)(c,2),d=u[0],f=u[1];k(d,f)}},Ue=se((function(e,t){var n,r=!G||t.selected;n=r?G?[].concat((0,o.Z)(_e),[e]):[e]:_e.filter((function(t){return t.value!==e})),Te(n),qe(e,r),"combobox"===d?Ie(""):Y&&!C||(le(""),Ie(""))})),$e=f.useMemo((function(){var e=!1!==P&&!1!==S;return(0,a.Z)((0,a.Z)({},ce),{},{flattenOptions:je,onActiveValue:Ve,defaultActiveFirstOption:Fe,onSelect:Ue,menuItemSelectedIcon:Z,rawValues:Me,fieldNames:ne,virtual:e,listHeight:I,listItemHeight:z,childrenAsData:J})}),[ce,je,Ve,Fe,Ue,Z,Me,ne,P,S,I,z,J]);return f.createElement(me.Provider,{value:$e},f.createElement(X,(0,r.Z)({},q,{id:K,prefixCls:h,ref:t,omitDomProps:xe,mode:d,displayValues:Ee,onDisplayValuesChange:function(e,t){Te(e);var n=t.type,r=t.values;"remove"!==n&&"clear"!==n||r.forEach((function(e){qe(e.value,!1,n)}))},searchValue:ie,onSearch:function(e,t){if(le(e),Ie(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===d&&Te(e),null===b||void 0===b||b(e));else{var n=(e||"").trim();if(n){var r=Array.from(new Set([].concat((0,o.Z)(Me),[n])));Te(r),qe(n,!0),le("")}}},autoClearSearchValue:C,onSearchSplit:function(e){var t=e;"tags"!==d&&(t=e.map((function(e){var t=de.get(e);return null===t||void 0===t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat((0,o.Z)(Me),(0,o.Z)(t))));Te(n),n.forEach((function(e){qe(e,!0)}))},dropdownMatchSelectWidth:S,OptionList:we,emptyOptions:!je.length,activeValue:Re,activeDescendantId:"".concat(K,"_list_").concat(He)})))}));var _e=ke;_e.Option=de,_e.OptGroup=ce;var Se=_e},26518:function(e,t,n){"use strict";n.r(t),n.d(t,{ResizableTextArea:function(){return _},default:function(){return S}});var r,o=n(2053),i=n(73779),a=n(71374),s=n(45675),l=n(36280),c=n(50959),u=n(98037),d=n(57904),f=n(12682),p=n(90123),h=n(84875),m=n.n(h),g="\n  min-height:0 !important;\n  max-height:none !important;\n  height:0 !important;\n  visibility:hidden !important;\n  overflow:hidden !important;\n  position:absolute !important;\n  z-index:-1000 !important;\n  top:0 !important;\n  right:0 !important\n",v=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],y={};function b(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&y[n])return y[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=v.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),l={sizingStyle:s,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(y[n]=l),l}var w,C=n(50631),x=n.n(C);!function(e){e[e.NONE=0]="NONE",e[e.RESIZING=1]="RESIZING",e[e.RESIZED=2]="RESIZED"}(w||(w={}));var k=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var a;return(0,i.Z)(this,n),(a=t.call(this,e)).nextFrameActionId=void 0,a.resizeFrameId=void 0,a.textArea=void 0,a.saveTextArea=function(e){a.textArea=e},a.handleResize=function(e){var t=a.state.resizeStatus,n=a.props,r=n.autoSize,o=n.onResize;t===w.NONE&&("function"===typeof o&&o(e),r&&a.resizeOnNextFrame())},a.resizeOnNextFrame=function(){cancelAnimationFrame(a.nextFrameActionId),a.nextFrameActionId=requestAnimationFrame(a.resizeTextarea)},a.resizeTextarea=function(){var e=a.props.autoSize;if(e&&a.textArea){var t=e.minRows,n=e.maxRows,o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var i=b(e,t),a=i.paddingSize,s=i.borderSize,l=i.boxSizing,c=i.sizingStyle;r.setAttribute("style","".concat(c,";").concat(g)),r.value=e.value||e.placeholder||"";var u,d=Number.MIN_SAFE_INTEGER,f=Number.MAX_SAFE_INTEGER,p=r.scrollHeight;if("border-box"===l?p+=s:"content-box"===l&&(p-=a),null!==n||null!==o){r.value=" ";var h=r.scrollHeight-a;null!==n&&(d=h*n,"border-box"===l&&(d=d+a+s),p=Math.max(d,p)),null!==o&&(f=h*o,"border-box"===l&&(f=f+a+s),u=p>f?"":"hidden",p=Math.min(f,p))}return{height:p,minHeight:d,maxHeight:f,overflowY:u,resize:"none"}}(a.textArea,!1,t,n);a.setState({textareaStyles:o,resizeStatus:w.RESIZING},(function(){cancelAnimationFrame(a.resizeFrameId),a.resizeFrameId=requestAnimationFrame((function(){a.setState({resizeStatus:w.RESIZED},(function(){a.resizeFrameId=requestAnimationFrame((function(){a.setState({resizeStatus:w.NONE}),a.fixFirefoxAutoScroll()}))}))}))}))}},a.renderTextArea=function(){var e=a.props,t=e.prefixCls,n=void 0===t?"rc-textarea":t,r=e.autoSize,i=e.onResize,s=e.className,l=e.disabled,h=a.state,g=h.textareaStyles,v=h.resizeStatus,y=(0,p.Z)(a.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),b=m()(n,s,(0,d.Z)({},"".concat(n,"-disabled"),l));"value"in y&&(y.value=y.value||"");var C=(0,u.Z)((0,u.Z)((0,u.Z)({},a.props.style),g),v===w.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return c.createElement(f.default,{onResize:a.handleResize,disabled:!(r||i)},c.createElement("textarea",(0,o.Z)({},y,{className:b,style:C,ref:a.saveTextArea})))},a.state={textareaStyles:{},resizeStatus:w.NONE},a}return(0,a.Z)(n,[{key:"componentDidUpdate",value:function(e){e.value===this.props.value&&x()(e.autoSize,this.props.autoSize)||this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var e=this.textArea.selectionStart,t=this.textArea.selectionEnd;this.textArea.setSelectionRange(e,t)}}catch(n){}}},{key:"render",value:function(){return this.renderTextArea()}}]),n}(c.Component),_=k,S=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;(0,i.Z)(this,n),(r=t.call(this,e)).resizableTextArea=void 0,r.focus=function(){r.resizableTextArea.textArea.focus()},r.saveTextArea=function(e){r.resizableTextArea=e},r.handleChange=function(e){var t=r.props.onChange;r.setValue(e.target.value,(function(){r.resizableTextArea.resizeTextarea()})),t&&t(e)},r.handleKeyDown=function(e){var t=r.props,n=t.onPressEnter,o=t.onKeyDown;13===e.keyCode&&n&&n(e),o&&o(e)};var o="undefined"===typeof e.value||null===e.value?e.defaultValue:e.value;return r.state={value:o},r}return(0,a.Z)(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return c.createElement(_,(0,o.Z)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(c.Component)},73053:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r={adjustX:1,adjustY:1},o=[0,0],i={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:r,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:r,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:r,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:r,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:r,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:r,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:o}}},20825:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(2053),o=n(57904),i=n(53162),a=n(98037),s=n(73779),l=n(71374),c=n(46468),u=n(45675),d=n(36280),f=n(84875),p=n.n(f),h=n(42361),m=n(50959),g=n(32964),v=function(e){for(var t=e.prefixCls,n=e.level,r=e.isStart,i=e.isEnd,a="".concat(t,"-indent-unit"),s=[],l=0;l<n;l+=1){var c;s.push(m.createElement("span",{key:l,className:p()(a,(c={},(0,o.Z)(c,"".concat(a,"-start"),r[l]),(0,o.Z)(c,"".concat(a,"-end"),i[l]),c))}))}return m.createElement("span",{"aria-hidden":"true",className:"".concat(t,"-indent")},s)},y=m.memo(v),b=n(31212),w=n(16318),C=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],x="open",k="close",_=function(e){(0,u.Z)(n,e);var t=(0,d.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={dragNodeHighlight:!1},e.selectHandle=void 0,e.cacheIndent=void 0,e.onSelectorClick=function(t){(0,e.props.context.onNodeClick)(t,(0,w.F)(e.props)),e.isSelectable()?e.onSelect(t):e.onCheck(t)},e.onSelectorDoubleClick=function(t){(0,e.props.context.onNodeDoubleClick)(t,(0,w.F)(e.props))},e.onSelect=function(t){e.isDisabled()||(0,e.props.context.onNodeSelect)(t,(0,w.F)(e.props))},e.onCheck=function(t){if(!e.isDisabled()){var n=e.props,r=n.disableCheckbox,o=n.checked,i=e.props.context.onNodeCheck;if(e.isCheckable()&&!r){var a=!o;i(t,(0,w.F)(e.props),a)}}},e.onMouseEnter=function(t){(0,e.props.context.onNodeMouseEnter)(t,(0,w.F)(e.props))},e.onMouseLeave=function(t){(0,e.props.context.onNodeMouseLeave)(t,(0,w.F)(e.props))},e.onContextMenu=function(t){(0,e.props.context.onNodeContextMenu)(t,(0,w.F)(e.props))},e.onDragStart=function(t){var n=e.props.context.onNodeDragStart;t.stopPropagation(),e.setState({dragNodeHighlight:!0}),n(t,(0,c.Z)(e));try{t.dataTransfer.setData("text/plain","")}catch(r){}},e.onDragEnter=function(t){var n=e.props.context.onNodeDragEnter;t.preventDefault(),t.stopPropagation(),n(t,(0,c.Z)(e))},e.onDragOver=function(t){var n=e.props.context.onNodeDragOver;t.preventDefault(),t.stopPropagation(),n(t,(0,c.Z)(e))},e.onDragLeave=function(t){var n=e.props.context.onNodeDragLeave;t.stopPropagation(),n(t,(0,c.Z)(e))},e.onDragEnd=function(t){var n=e.props.context.onNodeDragEnd;t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,(0,c.Z)(e))},e.onDrop=function(t){var n=e.props.context.onNodeDrop;t.preventDefault(),t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,(0,c.Z)(e))},e.onExpand=function(t){var n=e.props,r=n.loading,o=n.context.onNodeExpand;r||o(t,(0,w.F)(e.props))},e.setSelectHandle=function(t){e.selectHandle=t},e.getNodeState=function(){var t=e.props.expanded;return e.isLeaf()?null:t?x:k},e.hasChildren=function(){var t=e.props.eventKey,n=e.props.context.keyEntities;return!!(((0,b.Z)(n,t)||{}).children||[]).length},e.isLeaf=function(){var t=e.props,n=t.isLeaf,r=t.loaded,o=e.props.context.loadData,i=e.hasChildren();return!1!==n&&(n||!o&&!i||o&&r&&!i)},e.isDisabled=function(){var t=e.props.disabled;return!(!e.props.context.disabled&&!t)},e.isCheckable=function(){var t=e.props.checkable,n=e.props.context.checkable;return!(!n||!1===t)&&n},e.syncLoadData=function(t){var n=t.expanded,r=t.loading,o=t.loaded,i=e.props.context,a=i.loadData,s=i.onNodeLoad;r||a&&n&&!e.isLeaf()&&(e.hasChildren()||o||s((0,w.F)(e.props)))},e.isDraggable=function(){var t=e.props,n=t.data,r=t.context.draggable;return!(!r||r.nodeDraggable&&!r.nodeDraggable(n))},e.renderDragHandler=function(){var t=e.props.context,n=t.draggable,r=t.prefixCls;return(null===n||void 0===n?void 0:n.icon)?m.createElement("span",{className:"".concat(r,"-draggable-icon")},n.icon):null},e.renderSwitcherIconDom=function(t){var n=e.props.switcherIcon,r=e.props.context.switcherIcon,o=n||r;return"function"===typeof o?o((0,a.Z)((0,a.Z)({},e.props),{},{isLeaf:t})):o},e.renderSwitcher=function(){var t=e.props.expanded,n=e.props.context.prefixCls;if(e.isLeaf()){var r=e.renderSwitcherIconDom(!0);return!1!==r?m.createElement("span",{className:p()("".concat(n,"-switcher"),"".concat(n,"-switcher-noop"))},r):null}var o=p()("".concat(n,"-switcher"),"".concat(n,"-switcher_").concat(t?x:k)),i=e.renderSwitcherIconDom(!1);return!1!==i?m.createElement("span",{onClick:e.onExpand,className:o},i):null},e.renderCheckbox=function(){var t=e.props,n=t.checked,r=t.halfChecked,o=t.disableCheckbox,i=e.props.context.prefixCls,a=e.isDisabled(),s=e.isCheckable();if(!s)return null;var l="boolean"!==typeof s?s:null;return m.createElement("span",{className:p()("".concat(i,"-checkbox"),n&&"".concat(i,"-checkbox-checked"),!n&&r&&"".concat(i,"-checkbox-indeterminate"),(a||o)&&"".concat(i,"-checkbox-disabled")),onClick:e.onCheck},l)},e.renderIcon=function(){var t=e.props.loading,n=e.props.context.prefixCls;return m.createElement("span",{className:p()("".concat(n,"-iconEle"),"".concat(n,"-icon__").concat(e.getNodeState()||"docu"),t&&"".concat(n,"-icon_loading"))})},e.renderSelector=function(){var t,n,r=e.state.dragNodeHighlight,o=e.props,i=o.title,a=void 0===i?"---":i,s=o.selected,l=o.icon,c=o.loading,u=o.data,d=e.props.context,f=d.prefixCls,h=d.showIcon,g=d.icon,v=d.loadData,y=d.titleRender,b=e.isDisabled(),w="".concat(f,"-node-content-wrapper");if(h){var C=l||g;t=C?m.createElement("span",{className:p()("".concat(f,"-iconEle"),"".concat(f,"-icon__customize"))},"function"===typeof C?C(e.props):C):e.renderIcon()}else v&&c&&(t=e.renderIcon());n="function"===typeof a?a(u):y?y(u):a;var x=m.createElement("span",{className:"".concat(f,"-title")},n);return m.createElement("span",{ref:e.setSelectHandle,title:"string"===typeof a?a:"",className:p()("".concat(w),"".concat(w,"-").concat(e.getNodeState()||"normal"),!b&&(s||r)&&"".concat(f,"-node-selected")),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onContextMenu:e.onContextMenu,onClick:e.onSelectorClick,onDoubleClick:e.onSelectorDoubleClick},t,x,e.renderDropIndicator())},e.renderDropIndicator=function(){var t=e.props,n=t.disabled,r=t.eventKey,o=e.props.context,i=o.draggable,a=o.dropLevelOffset,s=o.dropPosition,l=o.prefixCls,c=o.indent,u=o.dropIndicatorRender,d=o.dragOverNodeKey,f=o.direction,p=!n&&!!i&&d===r,h=null!==c&&void 0!==c?c:e.cacheIndent;return e.cacheIndent=c,p?u({dropPosition:s,dropLevelOffset:a,indent:h,prefixCls:l,direction:f}):null},e}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var e=this.props.selectable,t=this.props.context.selectable;return"boolean"===typeof e?e:t}},{key:"render",value:function(){var e,t=this.props,n=t.eventKey,a=t.className,s=t.style,l=t.dragOver,c=t.dragOverGapTop,u=t.dragOverGapBottom,d=t.isLeaf,f=t.isStart,g=t.isEnd,v=t.expanded,x=t.selected,k=t.checked,_=t.halfChecked,S=t.loading,E=t.domRef,M=t.active,L=(t.data,t.onMouseMove),N=t.selectable,O=(0,i.Z)(t,C),A=this.props.context,j=A.prefixCls,T=A.filterTreeNode,Z=A.keyEntities,P=A.dropContainerKey,R=A.dropTargetKey,I=A.draggingNodeKey,D=this.isDisabled(),z=(0,h.Z)(O,{aria:!0,data:!0}),H=((0,b.Z)(Z,n)||{}).level,B=g[g.length-1],F=this.isDraggable(),V=!D&&F,q=I===n,U=void 0!==N?{"aria-selected":!!N}:void 0;return m.createElement("div",(0,r.Z)({ref:E,className:p()(a,"".concat(j,"-treenode"),(e={},(0,o.Z)(e,"".concat(j,"-treenode-disabled"),D),(0,o.Z)(e,"".concat(j,"-treenode-switcher-").concat(v?"open":"close"),!d),(0,o.Z)(e,"".concat(j,"-treenode-checkbox-checked"),k),(0,o.Z)(e,"".concat(j,"-treenode-checkbox-indeterminate"),_),(0,o.Z)(e,"".concat(j,"-treenode-selected"),x),(0,o.Z)(e,"".concat(j,"-treenode-loading"),S),(0,o.Z)(e,"".concat(j,"-treenode-active"),M),(0,o.Z)(e,"".concat(j,"-treenode-leaf-last"),B),(0,o.Z)(e,"".concat(j,"-treenode-draggable"),F),(0,o.Z)(e,"dragging",q),(0,o.Z)(e,"drop-target",R===n),(0,o.Z)(e,"drop-container",P===n),(0,o.Z)(e,"drag-over",!D&&l),(0,o.Z)(e,"drag-over-gap-top",!D&&c),(0,o.Z)(e,"drag-over-gap-bottom",!D&&u),(0,o.Z)(e,"filter-node",T&&T((0,w.F)(this.props))),e)),style:s,draggable:V,"aria-grabbed":q,onDragStart:V?this.onDragStart:void 0,onDragEnter:F?this.onDragEnter:void 0,onDragOver:F?this.onDragOver:void 0,onDragLeave:F?this.onDragLeave:void 0,onDrop:F?this.onDrop:void 0,onDragEnd:F?this.onDragEnd:void 0,onMouseMove:L},U,z),m.createElement(y,{prefixCls:j,level:H,isStart:f,isEnd:g}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),n}(m.Component),S=function(e){return m.createElement(g.k.Consumer,null,(function(t){return m.createElement(_,(0,r.Z)({},e,{context:t}))}))};S.displayName="TreeNode",S.isTreeNode=1;var E=S},32964:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var r=n(50959).createContext(null)},59614:function(e,t,n){"use strict";n.d(t,{O:function(){return E.Z},Z:function(){return W}});var r=n(2053),o=n(57904),i=n(24744),a=n(98037),s=n(35047),l=n(73779),c=n(71374),u=n(46468),d=n(45675),f=n(36280),p=n(84875),h=n.n(p),m=n(23278),g=n(42361),v=n(14032),y=n(50959),b=n(32964);function w(e){if(null==e)throw new TypeError("Cannot destructure "+e)}var C=n(99459),x=n(53162),k=n(67601),_=n(7429),S=n(37670),E=n(20825);var M=n(16318),L=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],N=function(e,t){var n=e.className,o=e.style,i=e.motion,a=e.motionNodes,s=e.motionType,l=e.onMotionStart,c=e.onMotionEnd,u=e.active,d=e.treeNodeRequiredProps,f=(0,x.Z)(e,L),p=y.useState(!0),m=(0,C.Z)(p,2),g=m[0],v=m[1],_=y.useContext(b.k).prefixCls,N=a&&"hide"!==s;(0,k.Z)((function(){a&&N!==g&&v(N)}),[a]);var O=y.useRef(!1),A=function(){a&&!O.current&&(O.current=!0,c())};!function(e,t){var n=y.useState(!1),r=(0,C.Z)(n,2),o=r[0],i=r[1];y.useLayoutEffect((function(){if(o)return e(),function(){t()}}),[o]),y.useLayoutEffect((function(){return i(!0),function(){i(!1)}}),[])}((function(){a&&l()}),A);return a?y.createElement(S.default,(0,r.Z)({ref:t,visible:g},i,{motionAppear:"show"===s,onVisibleChanged:function(e){N===e&&A()}}),(function(e,t){var n=e.className,o=e.style;return y.createElement("div",{ref:t,className:h()("".concat(_,"-treenode-motion"),n),style:o},a.map((function(e){var t=(0,r.Z)({},(w(e.data),e.data)),n=e.title,o=e.key,i=e.isStart,a=e.isEnd;delete t.children;var s=(0,M.H8)(o,d);return y.createElement(E.Z,(0,r.Z)({},t,s,{title:n,active:u,data:e.data,key:o,isStart:i,isEnd:a}))})))})):y.createElement(E.Z,(0,r.Z)({domRef:t,className:n,style:o},f,{active:u}))};N.displayName="MotionTreeNode";var O=y.forwardRef(N);function A(e,t,n){var r=e.findIndex((function(e){return e.key===n})),o=e[r+1],i=t.findIndex((function(e){return e.key===n}));if(o){var a=t.findIndex((function(e){return e.key===o.key}));return t.slice(i+1,a)}return t.slice(i+1)}var j=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],T={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Z=function(){},P="RC_TREE_MOTION_".concat(Math.random()),R={key:P},I={key:P,level:0,index:0,pos:"0",node:R,nodes:[R]},D={parent:null,children:[],pos:I.pos,data:R,title:null,key:P,isStart:[],isEnd:[]};function z(e,t,n,r){return!1!==t&&n?e.slice(0,Math.ceil(n/r)+1):e}function H(e){var t=e.key,n=e.pos;return(0,M.km)(t,n)}var B=y.forwardRef((function(e,t){var n=e.prefixCls,o=e.data,i=(e.selectable,e.checkable,e.expandedKeys),a=e.selectedKeys,s=e.checkedKeys,l=e.loadedKeys,c=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,f=e.disabled,p=e.dragging,h=e.dragOverNodeKey,m=e.dropPosition,g=e.motion,v=e.height,b=e.itemHeight,S=e.virtual,E=e.focusable,L=e.activeItem,N=e.focused,R=e.tabIndex,I=e.onKeyDown,B=e.onFocus,F=e.onBlur,V=e.onActiveChange,q=e.onListChangeStart,U=e.onListChangeEnd,$=(0,x.Z)(e,j),W=y.useRef(null),K=y.useRef(null);y.useImperativeHandle(t,(function(){return{scrollTo:function(e){W.current.scrollTo(e)},getIndentWidth:function(){return K.current.offsetWidth}}}));var G=y.useState(i),Y=(0,C.Z)(G,2),J=Y[0],X=Y[1],Q=y.useState(o),ee=(0,C.Z)(Q,2),te=ee[0],ne=ee[1],re=y.useState(o),oe=(0,C.Z)(re,2),ie=oe[0],ae=oe[1],se=y.useState([]),le=(0,C.Z)(se,2),ce=le[0],ue=le[1],de=y.useState(null),fe=(0,C.Z)(de,2),pe=fe[0],he=fe[1],me=y.useRef(o);function ge(){var e=me.current;ne(e),ae(e),ue([]),he(null),U()}me.current=o,(0,k.Z)((function(){X(i);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,r=t.length;if(1!==Math.abs(n-r))return{add:!1,key:null};function o(e,t){var n=new Map;e.forEach((function(e){n.set(e,!0)}));var r=t.filter((function(e){return!n.has(e)}));return 1===r.length?r[0]:null}return n<r?{add:!0,key:o(e,t)}:{add:!1,key:o(t,e)}}(J,i);if(null!==e.key)if(e.add){var t=te.findIndex((function(t){return t.key===e.key})),n=z(A(te,o,e.key),S,v,b),r=te.slice();r.splice(t+1,0,D),ae(r),ue(n),he("show")}else{var a=o.findIndex((function(t){return t.key===e.key})),s=z(A(o,te,e.key),S,v,b),l=o.slice();l.splice(a+1,0,D),ae(l),ue(s),he("hide")}else te!==o&&(ne(o),ae(o))}),[i,o]),y.useEffect((function(){p||ge()}),[p]);var ve=g?ie:o,ye={expandedKeys:i,selectedKeys:a,loadedKeys:l,loadingKeys:c,checkedKeys:s,halfCheckedKeys:u,dragOverNodeKey:h,dropPosition:m,keyEntities:d};return y.createElement(y.Fragment,null,N&&L&&y.createElement("span",{style:T,"aria-live":"assertive"},function(e){for(var t=String(e.data.key),n=e;n.parent;)n=n.parent,t="".concat(n.data.key," > ").concat(t);return t}(L)),y.createElement("div",null,y.createElement("input",{style:T,disabled:!1===E||f,tabIndex:!1!==E?R:null,onKeyDown:I,onFocus:B,onBlur:F,value:"",onChange:Z,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(n,"-indent")},y.createElement("div",{ref:K,className:"".concat(n,"-indent-unit")}))),y.createElement(_.Z,(0,r.Z)({},$,{data:ve,itemKey:H,height:v,fullHeight:!1,virtual:S,itemHeight:b,prefixCls:"".concat(n,"-list"),ref:W,onVisibleChange:function(e,t){var n=new Set(e);t.filter((function(e){return!n.has(e)})).some((function(e){return H(e)===P}))&&ge()}}),(function(e){var t=e.pos,n=(0,r.Z)({},(w(e.data),e.data)),o=e.title,i=e.key,a=e.isStart,s=e.isEnd,l=(0,M.km)(i,t);delete n.key,delete n.children;var c=(0,M.H8)(l,ye);return y.createElement(O,(0,r.Z)({},n,c,{title:o,active:!!L&&i===L.key,pos:t,data:e.data,isStart:a,isEnd:s,motion:g,motionNodes:i===P?ce:null,motionType:pe,onMotionStart:q,onMotionEnd:ge,treeNodeRequiredProps:ye,onMouseMove:function(){V(null)}}))})))}));B.displayName="NodeList";var F=B,V=n(33492),q=n(80085),U=n(31212),$=function(e){(0,d.Z)(n,e);var t=(0,f.Z)(n);function n(){var e;(0,l.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).destroyed=!1,e.delayedDragEnterLogic=void 0,e.loadingRetryTimes={},e.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,M.w$)()},e.dragStartMousePosition=null,e.dragNode=void 0,e.currentMouseOverDroppableNodeKey=null,e.listRef=y.createRef(),e.onNodeDragStart=function(t,n){var r=e.state,o=r.expandedKeys,i=r.keyEntities,a=e.props.onDragStart,s=n.props.eventKey;e.dragNode=n,e.dragStartMousePosition={x:t.clientX,y:t.clientY};var l=(0,V._5)(o,s);e.setState({draggingNodeKey:s,dragChildrenKeys:(0,V.wA)(s,i),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(l),window.addEventListener("dragend",e.onWindowDragEnd),null===a||void 0===a||a({event:t,node:(0,M.F)(n.props)})},e.onNodeDragEnter=function(t,n){var r=e.state,o=r.expandedKeys,i=r.keyEntities,a=r.dragChildrenKeys,l=r.flattenNodes,c=r.indent,d=e.props,f=d.onDragEnter,p=d.onExpand,h=d.allowDrop,m=d.direction,g=n.props,v=g.pos,y=g.eventKey,b=(0,u.Z)(e).dragNode;if(e.currentMouseOverDroppableNodeKey!==y&&(e.currentMouseOverDroppableNodeKey=y),b){var w=(0,V.OM)(t,b,n,c,e.dragStartMousePosition,h,l,i,o,m),C=w.dropPosition,x=w.dropLevelOffset,k=w.dropTargetKey,_=w.dropContainerKey,S=w.dropTargetPos,E=w.dropAllowed,L=w.dragOverNodeKey;-1===a.indexOf(k)&&E?(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach((function(t){clearTimeout(e.delayedDragEnterLogic[t])})),b.props.eventKey!==n.props.eventKey&&(t.persist(),e.delayedDragEnterLogic[v]=window.setTimeout((function(){if(null!==e.state.draggingNodeKey){var r=(0,s.Z)(o),a=(0,U.Z)(i,n.props.eventKey);a&&(a.children||[]).length&&(r=(0,V.L0)(o,n.props.eventKey)),"expandedKeys"in e.props||e.setExpandedKeys(r),null===p||void 0===p||p(r,{node:(0,M.F)(n.props),expanded:!0,nativeEvent:t.nativeEvent})}}),800)),b.props.eventKey!==k||0!==x?(e.setState({dragOverNodeKey:L,dropPosition:C,dropLevelOffset:x,dropTargetKey:k,dropContainerKey:_,dropTargetPos:S,dropAllowed:E}),null===f||void 0===f||f({event:t,node:(0,M.F)(n.props),expandedKeys:o})):e.resetDragState()):e.resetDragState()}else e.resetDragState()},e.onNodeDragOver=function(t,n){var r=e.state,o=r.dragChildrenKeys,i=r.flattenNodes,a=r.keyEntities,s=r.expandedKeys,l=r.indent,c=e.props,d=c.onDragOver,f=c.allowDrop,p=c.direction,h=(0,u.Z)(e).dragNode;if(h){var m=(0,V.OM)(t,h,n,l,e.dragStartMousePosition,f,i,a,s,p),g=m.dropPosition,v=m.dropLevelOffset,y=m.dropTargetKey,b=m.dropContainerKey,w=m.dropAllowed,C=m.dropTargetPos,x=m.dragOverNodeKey;-1===o.indexOf(y)&&w&&(h.props.eventKey===y&&0===v?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():g===e.state.dropPosition&&v===e.state.dropLevelOffset&&y===e.state.dropTargetKey&&b===e.state.dropContainerKey&&C===e.state.dropTargetPos&&w===e.state.dropAllowed&&x===e.state.dragOverNodeKey||e.setState({dropPosition:g,dropLevelOffset:v,dropTargetKey:y,dropContainerKey:b,dropTargetPos:C,dropAllowed:w,dragOverNodeKey:x}),null===d||void 0===d||d({event:t,node:(0,M.F)(n.props)}))}},e.onNodeDragLeave=function(t,n){e.currentMouseOverDroppableNodeKey!==n.props.eventKey||t.currentTarget.contains(t.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var r=e.props.onDragLeave;null===r||void 0===r||r({event:t,node:(0,M.F)(n.props)})},e.onWindowDragEnd=function(t){e.onNodeDragEnd(t,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDragEnd=function(t,n){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null===r||void 0===r||r({event:t,node:(0,M.F)(n.props)}),e.dragNode=null,window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDrop=function(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=e.state,s=i.dragChildrenKeys,l=i.dropPosition,c=i.dropTargetKey,u=i.dropTargetPos,d=i.dropAllowed;if(d){var f=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var p=(0,a.Z)((0,a.Z)({},(0,M.H8)(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===c,data:(0,U.Z)(e.state.keyEntities,c).node}),h=-1!==s.indexOf(c);(0,v.ZP)(!h,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var m=(0,V.yx)(u),g={event:t,node:(0,M.F)(p),dragNode:e.dragNode?(0,M.F)(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(s),dropToGap:0!==l,dropPosition:l+Number(m[m.length-1])};o||null===f||void 0===f||f(g),e.dragNode=null}}},e.cleanDragState=function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(t,n){var r=e.state,o=r.expandedKeys,i=r.flattenNodes,s=n.expanded,l=n.key;if(!(n.isLeaf||t.shiftKey||t.metaKey||t.ctrlKey)){var c=i.filter((function(e){return e.key===l}))[0],u=(0,M.F)((0,a.Z)((0,a.Z)({},(0,M.H8)(l,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(s?(0,V._5)(o,l):(0,V.L0)(o,l)),e.onNodeExpand(t,u)}},e.onNodeClick=function(t,n){var r=e.props,o=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(t,n),null===o||void 0===o||o(t,n)},e.onNodeDoubleClick=function(t,n){var r=e.props,o=r.onDoubleClick;"doubleClick"===r.expandAction&&e.triggerExpandActionExpand(t,n),null===o||void 0===o||o(t,n)},e.onNodeSelect=function(t,n){var r=e.state.selectedKeys,o=e.state,i=o.keyEntities,a=o.fieldNames,s=e.props,l=s.onSelect,c=s.multiple,u=n.selected,d=n[a.key],f=!u,p=(r=f?c?(0,V.L0)(r,d):[d]:(0,V._5)(r,d)).map((function(e){var t=(0,U.Z)(i,e);return t?t.node:null})).filter((function(e){return e}));e.setUncontrolledState({selectedKeys:r}),null===l||void 0===l||l(r,{event:"select",selected:f,node:n,selectedNodes:p,nativeEvent:t.nativeEvent})},e.onNodeCheck=function(t,n,r){var o,i=e.state,a=i.keyEntities,l=i.checkedKeys,c=i.halfCheckedKeys,u=e.props,d=u.checkStrictly,f=u.onCheck,p=n.key,h={event:"check",node:n,checked:r,nativeEvent:t.nativeEvent};if(d){var m=r?(0,V.L0)(l,p):(0,V._5)(l,p);o={checked:m,halfChecked:(0,V._5)(c,p)},h.checkedNodes=m.map((function(e){return(0,U.Z)(a,e)})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:m})}else{var g=(0,q.S)([].concat((0,s.Z)(l),[p]),!0,a),v=g.checkedKeys,y=g.halfCheckedKeys;if(!r){var b=new Set(v);b.delete(p);var w=(0,q.S)(Array.from(b),{checked:!1,halfCheckedKeys:y},a);v=w.checkedKeys,y=w.halfCheckedKeys}o=v,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=y,v.forEach((function(e){var t=(0,U.Z)(a,e);if(t){var n=t.node,r=t.pos;h.checkedNodes.push(n),h.checkedNodesPositions.push({node:n,pos:r})}})),e.setUncontrolledState({checkedKeys:v},!1,{halfCheckedKeys:y})}null===f||void 0===f||f(o,h)},e.onNodeLoad=function(t){var n=t.key,r=new Promise((function(r,o){e.setState((function(i){var a=i.loadedKeys,s=void 0===a?[]:a,l=i.loadingKeys,c=void 0===l?[]:l,u=e.props,d=u.loadData,f=u.onLoad;return d&&-1===s.indexOf(n)&&-1===c.indexOf(n)?(d(t).then((function(){var o=e.state.loadedKeys,i=(0,V.L0)(o,n);null===f||void 0===f||f(i,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:i}),e.setState((function(e){return{loadingKeys:(0,V._5)(e.loadingKeys,n)}})),r()})).catch((function(t){if(e.setState((function(e){return{loadingKeys:(0,V._5)(e.loadingKeys,n)}})),e.loadingRetryTimes[n]=(e.loadingRetryTimes[n]||0)+1,e.loadingRetryTimes[n]>=10){var i=e.state.loadedKeys;(0,v.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:(0,V.L0)(i,n)}),r()}o(t)})),{loadingKeys:(0,V.L0)(c,n)}):null}))}));return r.catch((function(){})),r},e.onNodeMouseEnter=function(t,n){var r=e.props.onMouseEnter;null===r||void 0===r||r({event:t,node:n})},e.onNodeMouseLeave=function(t,n){var r=e.props.onMouseLeave;null===r||void 0===r||r({event:t,node:n})},e.onNodeContextMenu=function(t,n){var r=e.props.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))},e.onFocus=function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null===t||void 0===t||t.apply(void 0,r)},e.onBlur=function(){var t=e.props.onBlur;e.setState({focused:!1}),e.onActiveChange(null);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null===t||void 0===t||t.apply(void 0,r)},e.getTreeNodeRequiredProps=function(){var t=e.state;return{expandedKeys:t.expandedKeys||[],selectedKeys:t.selectedKeys||[],loadedKeys:t.loadedKeys||[],loadingKeys:t.loadingKeys||[],checkedKeys:t.checkedKeys||[],halfCheckedKeys:t.halfCheckedKeys||[],dragOverNodeKey:t.dragOverNodeKey,dropPosition:t.dropPosition,keyEntities:t.keyEntities}},e.setExpandedKeys=function(t){var n=e.state,r=n.treeData,o=n.fieldNames,i=(0,M.oH)(r,t,o);e.setUncontrolledState({expandedKeys:t,flattenNodes:i},!0)},e.onNodeExpand=function(t,n){var r=e.state.expandedKeys,o=e.state,i=o.listChanging,a=o.fieldNames,s=e.props,l=s.onExpand,c=s.loadData,u=n.expanded,d=n[a.key];if(!i){var f=r.indexOf(d),p=!u;if((0,v.ZP)(u&&-1!==f||!u&&-1===f,"Expand state not sync with index check"),r=p?(0,V.L0)(r,d):(0,V._5)(r,d),e.setExpandedKeys(r),null===l||void 0===l||l(r,{node:n,expanded:p,nativeEvent:t.nativeEvent}),p&&c){var h=e.onNodeLoad(n);h&&h.then((function(){var t=(0,M.oH)(e.state.treeData,r,a);e.setUncontrolledState({flattenNodes:t})})).catch((function(){var t=e.state.expandedKeys,n=(0,V._5)(t,d);e.setExpandedKeys(n)}))}}},e.onListChangeStart=function(){e.setUncontrolledState({listChanging:!0})},e.onListChangeEnd=function(){setTimeout((function(){e.setUncontrolledState({listChanging:!1})}))},e.onActiveChange=function(t){var n=e.state.activeKey,r=e.props.onActiveChange;n!==t&&(e.setState({activeKey:t}),null!==t&&e.scrollTo({key:t}),null===r||void 0===r||r(t))},e.getActiveItem=function(){var t=e.state,n=t.activeKey,r=t.flattenNodes;return null===n?null:r.find((function(e){return e.key===n}))||null},e.offsetActiveKey=function(t){var n=e.state,r=n.flattenNodes,o=n.activeKey,i=r.findIndex((function(e){return e.key===o}));-1===i&&t<0&&(i=r.length);var a=r[i=(i+t+r.length)%r.length];if(a){var s=a.key;e.onActiveChange(s)}else e.onActiveChange(null)},e.onKeyDown=function(t){var n=e.state,r=n.activeKey,o=n.expandedKeys,i=n.checkedKeys,s=n.fieldNames,l=e.props,c=l.onKeyDown,u=l.checkable,d=l.selectable;switch(t.which){case m.Z.UP:e.offsetActiveKey(-1),t.preventDefault();break;case m.Z.DOWN:e.offsetActiveKey(1),t.preventDefault()}var f=e.getActiveItem();if(f&&f.data){var p=e.getTreeNodeRequiredProps(),h=!1===f.data.isLeaf||!!(f.data[s.children]||[]).length,g=(0,M.F)((0,a.Z)((0,a.Z)({},(0,M.H8)(r,p)),{},{data:f.data,active:!0}));switch(t.which){case m.Z.LEFT:h&&o.includes(r)?e.onNodeExpand({},g):f.parent&&e.onActiveChange(f.parent.key),t.preventDefault();break;case m.Z.RIGHT:h&&!o.includes(r)?e.onNodeExpand({},g):f.children&&f.children.length&&e.onActiveChange(f.children[0].key),t.preventDefault();break;case m.Z.ENTER:case m.Z.SPACE:!u||g.disabled||!1===g.checkable||g.disableCheckbox?u||!d||g.disabled||!1===g.selectable||e.onNodeSelect({},g):e.onNodeCheck({},g,!i.includes(r))}}null===c||void 0===c||c(t)},e.setUncontrolledState=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var o=!1,i=!0,s={};Object.keys(t).forEach((function(n){n in e.props?i=!1:(o=!0,s[n]=t[n])})),!o||n&&!i||e.setState((0,a.Z)((0,a.Z)({},s),r))}},e.scrollTo=function(t){e.listRef.current.scrollTo(t)},e}return(0,c.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,t,n=this.state,a=n.focused,s=n.flattenNodes,l=n.keyEntities,c=n.draggingNodeKey,u=n.activeKey,d=n.dropLevelOffset,f=n.dropContainerKey,p=n.dropTargetKey,m=n.dropPosition,v=n.dragOverNodeKey,w=n.indent,C=this.props,x=C.prefixCls,k=C.className,_=C.style,S=C.showLine,E=C.focusable,M=C.tabIndex,L=void 0===M?0:M,N=C.selectable,O=C.showIcon,A=C.icon,j=C.switcherIcon,T=C.draggable,Z=C.checkable,P=C.checkStrictly,R=C.disabled,I=C.motion,D=C.loadData,z=C.filterTreeNode,H=C.height,B=C.itemHeight,V=C.virtual,q=C.titleRender,U=C.dropIndicatorRender,$=C.onContextMenu,W=C.onScroll,K=C.direction,G=C.rootClassName,Y=C.rootStyle,J=(0,g.Z)(this.props,{aria:!0,data:!0});return T&&(t="object"===(0,i.Z)(T)?T:"function"===typeof T?{nodeDraggable:T}:{}),y.createElement(b.k.Provider,{value:{prefixCls:x,selectable:N,showIcon:O,icon:A,switcherIcon:j,draggable:t,draggingNodeKey:c,checkable:Z,checkStrictly:P,disabled:R,keyEntities:l,dropLevelOffset:d,dropContainerKey:f,dropTargetKey:p,dropPosition:m,dragOverNodeKey:v,indent:w,direction:K,dropIndicatorRender:U,loadData:D,filterTreeNode:z,titleRender:q,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},y.createElement("div",{role:"tree",className:h()(x,k,G,(e={},(0,o.Z)(e,"".concat(x,"-show-line"),S),(0,o.Z)(e,"".concat(x,"-focused"),a),(0,o.Z)(e,"".concat(x,"-active-focused"),null!==u),e)),style:Y},y.createElement(F,(0,r.Z)({ref:this.listRef,prefixCls:x,style:_,data:s,disabled:R,selectable:N,checkable:!!Z,motion:I,dragging:null!==c,height:H,itemHeight:B,virtual:V,focusable:E,focused:a,tabIndex:L,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:$,onScroll:W},this.getTreeNodeRequiredProps(),J))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r=t.prevProps,i={prevProps:e};function s(t){return!r&&t in e||r&&r[t]!==e[t]}var l=t.fieldNames;if(s("fieldNames")&&(l=(0,M.w$)(e.fieldNames),i.fieldNames=l),s("treeData")?n=e.treeData:s("children")&&((0,v.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=(0,M.zn)(e.children)),n){i.treeData=n;var c=(0,M.I8)(n,{fieldNames:l});i.keyEntities=(0,a.Z)((0,o.Z)({},P,I),c.keyEntities)}var u,d=i.keyEntities||t.keyEntities;if(s("expandedKeys")||r&&s("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?(0,V.r7)(e.expandedKeys,d):e.expandedKeys;else if(!r&&e.defaultExpandAll){var f=(0,a.Z)({},d);delete f[P],i.expandedKeys=Object.keys(f).map((function(e){return f[e].key}))}else!r&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?(0,V.r7)(e.defaultExpandedKeys,d):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var p=(0,M.oH)(n||t.treeData,i.expandedKeys||t.expandedKeys,l);i.flattenNodes=p}if((e.selectable&&(s("selectedKeys")?i.selectedKeys=(0,V.BT)(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(i.selectedKeys=(0,V.BT)(e.defaultSelectedKeys,e))),e.checkable)&&(s("checkedKeys")?u=(0,V.E6)(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?u=(0,V.E6)(e.defaultCheckedKeys)||{}:n&&(u=(0,V.E6)(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),u)){var h=u,m=h.checkedKeys,g=void 0===m?[]:m,y=h.halfCheckedKeys,b=void 0===y?[]:y;if(!e.checkStrictly){var w=(0,q.S)(g,!0,d);g=w.checkedKeys,b=w.halfCheckedKeys}i.checkedKeys=g,i.halfCheckedKeys=b}return s("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(y.Component);$.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:o.top=0,o.left=-n*r;break;case 1:o.bottom=0,o.left=-n*r;break;case 0:o.bottom=0,o.left=r}return y.createElement("div",{style:o})},allowDrop:function(){return!0},expandAction:!1},$.TreeNode=E.Z;var W=$},33492:function(e,t,n){"use strict";n.d(t,{BT:function(){return p},E6:function(){return h},L0:function(){return l},OM:function(){return f},_5:function(){return s},r7:function(){return m},wA:function(){return u},yx:function(){return c}});var r=n(35047),o=n(24744),i=n(14032),a=(n(50959),n(20825),n(31212));n(16318);function s(e,t){if(!e)return[];var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function l(e,t){var n=(e||[]).slice();return-1===n.indexOf(t)&&n.push(t),n}function c(e){return e.split("-")}function u(e,t){var n=[];return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach((function(t){var r=t.key,o=t.children;n.push(r),e(o)}))}((0,a.Z)(t,e).children),n}function d(e){if(e.parent){var t=c(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function f(e,t,n,r,o,i,s,l,u,f){var p,h=e.clientX,m=e.clientY,g=e.target.getBoundingClientRect(),v=g.top,y=g.height,b=(("rtl"===f?-1:1)*(((null===o||void 0===o?void 0:o.x)||0)-h)-12)/r,w=(0,a.Z)(l,n.props.eventKey);if(m<v+y/2){var C=s.findIndex((function(e){return e.key===w.key})),x=s[C<=0?0:C-1].key;w=(0,a.Z)(l,x)}var k=w.key,_=w,S=w.key,E=0,M=0;if(!u.includes(k))for(var L=0;L<b&&d(w);L+=1)w=w.parent,M+=1;var N=t.props.data,O=w.node,A=!0;return function(e){var t=c(e.pos);return 0===Number(t[t.length-1])}(w)&&0===w.level&&m<v+y/2&&i({dragNode:N,dropNode:O,dropPosition:-1})&&w.key===n.props.eventKey?E=-1:(_.children||[]).length&&u.includes(S)?i({dragNode:N,dropNode:O,dropPosition:0})?E=0:A=!1:0===M?b>-1.5?i({dragNode:N,dropNode:O,dropPosition:1})?E=1:A=!1:i({dragNode:N,dropNode:O,dropPosition:0})?E=0:i({dragNode:N,dropNode:O,dropPosition:1})?E=1:A=!1:i({dragNode:N,dropNode:O,dropPosition:1})?E=1:A=!1,{dropPosition:E,dropLevelOffset:M,dropTargetKey:w.key,dropTargetPos:w.pos,dragOverNodeKey:S,dropContainerKey:0===E?null:(null===(p=w.parent)||void 0===p?void 0:p.key)||null,dropAllowed:A}}function p(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function h(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,o.Z)(e))return(0,i.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function m(e,t){var n=new Set;function o(e){if(!n.has(e)){var r=(0,a.Z)(t,e);if(r){n.add(e);var i=r.parent;r.node.disabled||i&&o(i.key)}}}return(e||[]).forEach((function(e){o(e)})),(0,r.Z)(n)}},80085:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var r=n(14032),o=n(31212);function i(e,t){var n=new Set;return e.forEach((function(e){t.has(e)||n.add(e)})),n}function a(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!(!n&&!r)||!1===o}function s(e,t,n,s){var l,c=[];l=s||a;var u,d=new Set(e.filter((function(e){var t=!!(0,o.Z)(n,e);return t||c.push(e),t}))),f=new Map,p=0;return Object.keys(n).forEach((function(e){var t=n[e],r=t.level,o=f.get(r);o||(o=new Set,f.set(r,o)),o.add(t),p=Math.max(p,r)})),(0,r.ZP)(!c.length,"Tree missing follow keys: ".concat(c.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),u=!0===t?function(e,t,n,r){for(var o=new Set(e),a=new Set,s=0;s<=n;s+=1)(t.get(s)||new Set).forEach((function(e){var t=e.key,n=e.node,i=e.children,a=void 0===i?[]:i;o.has(t)&&!r(n)&&a.filter((function(e){return!r(e.node)})).forEach((function(e){o.add(e.key)}))}));for(var l=new Set,c=n;c>=0;c-=1)(t.get(c)||new Set).forEach((function(e){var t=e.parent,n=e.node;if(!r(n)&&e.parent&&!l.has(e.parent.key))if(r(e.parent.node))l.add(t.key);else{var i=!0,s=!1;(t.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var t=e.key,n=o.has(t);i&&!n&&(i=!1),s||!n&&!a.has(t)||(s=!0)})),i&&o.add(t.key),s&&a.add(t.key),l.add(t.key)}}));return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(i(a,o))}}(d,f,p,l):function(e,t,n,r,o){for(var a=new Set(e),s=new Set(t),l=0;l<=r;l+=1)(n.get(l)||new Set).forEach((function(e){var t=e.key,n=e.node,r=e.children,i=void 0===r?[]:r;a.has(t)||s.has(t)||o(n)||i.filter((function(e){return!o(e.node)})).forEach((function(e){a.delete(e.key)}))}));s=new Set;for(var c=new Set,u=r;u>=0;u-=1)(n.get(u)||new Set).forEach((function(e){var t=e.parent,n=e.node;if(!o(n)&&e.parent&&!c.has(e.parent.key))if(o(e.parent.node))c.add(t.key);else{var r=!0,i=!1;(t.children||[]).filter((function(e){return!o(e.node)})).forEach((function(e){var t=e.key,n=a.has(t);r&&!n&&(r=!1),i||!n&&!s.has(t)||(i=!0)})),r||a.delete(t.key),i&&s.add(t.key),c.add(t.key)}}));return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(i(s,a))}}(d,t.halfCheckedKeys,f,p,l),u}},31212:function(e,t,n){"use strict";function r(e,t){return e[t]}n.d(t,{Z:function(){return r}})},16318:function(e,t,n){"use strict";n.d(t,{F:function(){return w},H8:function(){return b},I8:function(){return y},km:function(){return p},oH:function(){return g},w$:function(){return h},zn:function(){return m}});var r=n(24744),o=n(35047),i=n(98037),a=n(53162),s=n(73444),l=n(90123),c=n(14032),u=n(31212),d=["children"];function f(e,t){return"".concat(e,"-").concat(t)}function p(e,t){return null!==e&&void 0!==e?e:t}function h(e){var t=e||{},n=t.title||"title";return{title:n,_title:t._title||[n],key:t.key||"key",children:t.children||"children"}}function m(e){return function e(t){return(0,s.Z)(t).map((function(t){if(!function(e){return e&&e.type&&e.type.isTreeNode}(t))return(0,c.ZP)(!t,"Tree/TreeNode can only accept TreeNode as children."),null;var n=t.key,r=t.props,o=r.children,s=(0,a.Z)(r,d),l=(0,i.Z)({key:n},s),u=e(o);return u.length&&(l.children=u),l})).filter((function(e){return e}))}(e)}function g(e,t,n){var r=h(n),a=r._title,s=r.key,c=r.children,u=new Set(!0===t?[]:t),d=[];return function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.map((function(h,m){for(var g,v=f(r?r.pos:"0",m),y=p(h[s],v),b=0;b<a.length;b+=1){var w=a[b];if(void 0!==h[w]){g=h[w];break}}var C=(0,i.Z)((0,i.Z)({},(0,l.Z)(h,[].concat((0,o.Z)(a),[s,c]))),{},{title:g,key:y,parent:r,pos:v,children:null,data:h,isStart:[].concat((0,o.Z)(r?r.isStart:[]),[0===m]),isEnd:[].concat((0,o.Z)(r?r.isEnd:[]),[m===n.length-1])});return d.push(C),!0===t||u.has(y)?C.children=e(h[c]||[],C):C.children=[],C}))}(e),d}function v(e,t,n){var i,a=("object"===(0,r.Z)(n)?n:{externalGetKey:n})||{},s=a.childrenPropName,l=a.externalGetKey,c=h(a.fieldNames),u=c.key,d=c.children,m=s||d;l?"string"===typeof l?i=function(e){return e[l]}:"function"===typeof l&&(i=function(e){return l(e)}):i=function(e,t){return p(e[u],t)},function n(r,a,s,l){var c=r?r[m]:e,u=r?f(s.pos,a):"0",d=r?[].concat((0,o.Z)(l),[r]):[];if(r){var p=i(r,u),h={node:r,index:a,pos:u,key:p,parentPos:s.node?s.pos:null,level:s.level+1,nodes:d};t(h)}c&&c.forEach((function(e,t){n(e,t,{node:r,pos:u,level:s?s.level+1:-1},d)}))}(null)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,i=t.externalGetKey,a=t.childrenPropName,s=t.fieldNames,l=arguments.length>2?arguments[2]:void 0,c=i||l,u={},d={},f={posEntities:u,keyEntities:d};return n&&(f=n(f)||f),v(e,(function(e){var t=e.node,n=e.index,o=e.pos,i=e.key,a=e.parentPos,s=e.level,l={node:t,nodes:e.nodes,index:n,key:i,pos:o,level:s},c=p(i,o);u[o]=l,d[c]=l,l.parent=u[a],l.parent&&(l.parent.children=l.parent.children||[],l.parent.children.push(l)),r&&r(l,f)}),{externalGetKey:c,childrenPropName:a,fieldNames:s}),o&&o(f),f}function b(e,t){var n=t.expandedKeys,r=t.selectedKeys,o=t.loadedKeys,i=t.loadingKeys,a=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,c=t.dropPosition,d=t.keyEntities,f=(0,u.Z)(d,e);return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==i.indexOf(e),checked:-1!==a.indexOf(e),halfChecked:-1!==s.indexOf(e),pos:String(f?f.pos:""),dragOver:l===e&&0===c,dragOverGapTop:l===e&&-1===c,dragOverGapBottom:l===e&&1===c}}function w(e){var t=e.data,n=e.expanded,r=e.selected,o=e.checked,a=e.loaded,s=e.loading,l=e.halfChecked,u=e.dragOver,d=e.dragOverGapTop,f=e.dragOverGapBottom,p=e.pos,h=e.active,m=e.eventKey,g=(0,i.Z)((0,i.Z)({},t),{},{expanded:n,selected:r,checked:o,loaded:a,loading:s,halfChecked:l,dragOver:u,dragOverGapTop:d,dragOverGapBottom:f,pos:p,active:h,key:m});return"props"in g||Object.defineProperty(g,"props",{get:function(){return(0,c.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}},13445:function(e,t,n){"use strict";n.d(t,{Z:function(){return nt}});var r=n(98037),o=n(2053),i=n(73779),a=n(71374),s=n(46468),l=n(45675),c=n(36280),u=n(57904),d=n(50959),f=n(10422),p=n(18912),h=n(71219),m=n(28500),g=n(37987),v=n(13028),y=n(65296),b=n(84875),w=n.n(b);function C(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}var x=n(99459),k=n(53162),_=n(24390),S=n(37670);function E(e){var t=e.prefixCls,n=e.motion,r=e.animation,o=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:o?{motionName:o}:null)}function M(e){var t=e.prefixCls,n=e.visible,i=e.zIndex,a=e.mask,s=e.maskMotion,l=e.maskAnimation,c=e.maskTransitionName;if(!a)return null;var u={};return(s||c||l)&&(u=(0,r.Z)({motionAppear:!0},E({motion:s,prefixCls:t,transitionName:c,animation:l}))),d.createElement(S.default,(0,o.Z)({},u,{visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return d.createElement("div",{style:{zIndex:i},className:w()("".concat(t,"-mask"),n)})}))}var L,N=n(24744);function O(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 A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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},j(e)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Z={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function P(){if(void 0!==L)return L;L="";var e=document.createElement("p").style;for(var t in Z)t+"Transform"in e&&(L=t);return L}function R(){return P()?"".concat(P(),"TransitionProperty"):"transitionProperty"}function I(){return P()?"".concat(P(),"Transform"):"transform"}function D(e,t){var n=R();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function z(e,t){var n=I();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var H,B=/matrix\((.*)\)/,F=/matrix3d\((.*)\)/;function V(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function q(e,t,n){var r=n;if("object"!==j(t))return"undefined"!==typeof r?("number"===typeof r&&(r="".concat(r,"px")),void(e.style[t]=r)):H(e,t);for(var o in t)t.hasOwnProperty(o)&&q(e,o,t[o])}function U(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!==typeof n){var o=e.document;"number"!==typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function $(e){return U(e)}function W(e){return U(e,!0)}function K(e){var t=function(e){var t,n,r,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return t=e.getBoundingClientRect(),n=Math.floor(t.left),r=Math.floor(t.top),{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=$(r),t.top+=W(r),t}function G(e){return null!==e&&void 0!==e&&e==e.window}function Y(e){return G(e)?e.document:9===e.nodeType?e:e.ownerDocument}var J=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),X=/^(top|right|bottom|left)$/;function Q(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function ee(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function te(e,t,n){"static"===q(e,"position")&&(e.style.position="relative");var r=-999,o=-999,i=Q("left",n),a=Q("top",n),s=ee(i),l=ee(a);"left"!==i&&(r=999),"top"!==a&&(o=999);var c,u="",d=K(e);("left"in t||"top"in t)&&(u=(c=e).style.transitionProperty||c.style[R()]||"",D(e,"none")),"left"in t&&(e.style[s]="",e.style[i]="".concat(r,"px")),"top"in t&&(e.style[l]="",e.style[a]="".concat(o,"px")),V(e);var f=K(e),p={};for(var h in t)if(t.hasOwnProperty(h)){var m=Q(h,n),g="left"===h?r:o,v=d[h]-f[h];p[m]=m===h?g+v:g-v}q(e,p),V(e),("left"in t||"top"in t)&&D(e,u);var y={};for(var b in t)if(t.hasOwnProperty(b)){var w=Q(b,n),C=t[b]-d[b];y[w]=b===w?p[w]+C:p[w]-C}q(e,y)}function ne(e,t){var n=K(e),r=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(I());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}(e),o={x:r.x,y:r.y};"left"in t&&(o.x=r.x+t.left-n.left),"top"in t&&(o.y=r.y+t.top-n.top),function(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(I());if(r&&"none"!==r){var o,i=r.match(B);i?((o=(i=i[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,o[5]=t.y,z(e,"matrix(".concat(o.join(","),")"))):((o=r.match(F)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,o[13]=t.y,z(e,"matrix3d(".concat(o.join(","),")")))}else z(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,o)}function re(e,t){for(var n=0;n<e.length;n++)t(e[n])}function oe(e){return"border-box"===H(e,"boxSizing")}"undefined"!==typeof window&&(H=window.getComputedStyle?function(e,t,n){var r=n,o="",i=Y(e);return(r=r||i.defaultView.getComputedStyle(e,null))&&(o=r.getPropertyValue(t)||r[t]),o}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(J.test(n)&&!X.test(t)){var r=e.style,o=r.left,i=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,r.left="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r.left=o,e.runtimeStyle.left=i}return""===n?"auto":n});var ie=["margin","border","padding"];function ae(e,t,n){var r,o={},i=e.style;for(r in t)t.hasOwnProperty(r)&&(o[r]=i[r],i[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(i[r]=o[r])}function se(e,t,n){var r,o,i,a=0;for(o=0;o<t.length;o++)if(r=t[o])for(i=0;i<n.length;i++){var s=void 0;s="border"===r?"".concat(r).concat(n[i],"Width"):r+n[i],a+=parseFloat(H(e,s))||0}return a}var le={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function ce(e,t,n){var r=n;if(G(e))return"width"===t?le.viewportWidth(e):le.viewportHeight(e);if(9===e.nodeType)return"width"===t?le.docWidth(e):le.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],i="width"===t?Math.floor(e.getBoundingClientRect().width):Math.floor(e.getBoundingClientRect().height),a=oe(e),s=0;(null===i||void 0===i||i<=0)&&(i=void 0,(null===(s=H(e,t))||void 0===s||Number(s)<0)&&(s=e.style[t]||0),s=Math.floor(parseFloat(s))||0),void 0===r&&(r=a?1:-1);var l=void 0!==i||a,c=i||s;return-1===r?l?c-se(e,["border","padding"],o):s:l?1===r?c:c+(2===r?-se(e,["border"],o):se(e,["margin"],o)):s+se(e,ie.slice(r),o)}re(["Width","Height"],(function(e){le["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],le["viewport".concat(e)](n))},le["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var ue={position:"absolute",visibility:"hidden",display:"block"};function de(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t[0];return 0!==o.offsetWidth?r=ce.apply(void 0,t):ae(o,ue,(function(){r=ce.apply(void 0,t)})),r}function fe(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}re(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);le["outer".concat(t)]=function(t,n){return t&&de(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];le[e]=function(t,r){var o=r;return void 0!==o?t?(oe(t)&&(o+=se(t,["padding","border"],n)),q(t,e,o)):void 0:t&&de(t,e,-1)}}));var pe={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:Y,offset:function(e,t,n){if("undefined"===typeof t)return K(e);!function(e,t,n){if(n.ignoreShake){var r=K(e),o=r.left.toFixed(0),i=r.top.toFixed(0),a=t.left.toFixed(0),s=t.top.toFixed(0);if(o===a&&i===s)return}n.useCssRight||n.useCssBottom?te(e,t,n):n.useCssTransform&&I()in document.body.style?ne(e,t):te(e,t,n)}(e,t,n||{})},isWindow:G,each:re,css:q,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:fe,getWindowScrollLeft:function(e){return $(e)},getWindowScrollTop:function(e){return W(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)pe.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};fe(pe,le);var he=pe.getParent;function me(e){if(pe.isWindow(e)||9===e.nodeType)return null;var t,n=pe.getDocument(e).body,r=pe.css(e,"position");if(!("fixed"===r||"absolute"===r))return"html"===e.nodeName.toLowerCase()?null:he(e);for(t=he(e);t&&t!==n&&9!==t.nodeType;t=he(t))if("static"!==(r=pe.css(t,"position")))return t;return null}var ge=pe.getParent;function ve(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=me(e),o=pe.getDocument(e),i=o.defaultView||o.parentWindow,a=o.body,s=o.documentElement;r;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===s||"visible"===pe.css(r,"overflow")){if(r===a||r===s)break}else{var l=pe.offset(r);l.left+=r.clientLeft,l.top+=r.clientTop,n.top=Math.max(n.top,l.top),n.right=Math.min(n.right,l.left+r.clientWidth),n.bottom=Math.min(n.bottom,l.top+r.clientHeight),n.left=Math.max(n.left,l.left)}r=me(r)}var c=null;pe.isWindow(e)||9===e.nodeType||(c=e.style.position,"absolute"===pe.css(e,"position")&&(e.style.position="fixed"));var u=pe.getWindowScrollLeft(i),d=pe.getWindowScrollTop(i),f=pe.viewportWidth(i),p=pe.viewportHeight(i),h=s.scrollWidth,m=s.scrollHeight,g=window.getComputedStyle(a);if("hidden"===g.overflowX&&(h=i.innerWidth),"hidden"===g.overflowY&&(m=i.innerHeight),e.style&&(e.style.position=c),t||function(e){if(pe.isWindow(e)||9===e.nodeType)return!1;var t=pe.getDocument(e),n=t.body,r=null;for(r=ge(e);r&&r!==n&&r!==t;r=ge(r))if("fixed"===pe.css(r,"position"))return!0;return!1}(e))n.left=Math.max(n.left,u),n.top=Math.max(n.top,d),n.right=Math.min(n.right,u+f),n.bottom=Math.min(n.bottom,d+p);else{var v=Math.max(h,u+f);n.right=Math.min(n.right,v);var y=Math.max(m,d+p);n.bottom=Math.min(n.bottom,y)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function ye(e){var t,n,r;if(pe.isWindow(e)||9===e.nodeType){var o=pe.getWindow(e);t={left:pe.getWindowScrollLeft(o),top:pe.getWindowScrollTop(o)},n=pe.viewportWidth(o),r=pe.viewportHeight(o)}else t=pe.offset(e),n=pe.outerWidth(e),r=pe.outerHeight(e);return t.width=n,t.height=r,t}function be(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,s=e.top;return"c"===n?s+=i/2:"b"===n&&(s+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:s}}function we(e,t,n,r,o){var i=be(t,n[1]),a=be(e,n[0]),s=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-s[0]+r[0]-o[0]),top:Math.round(e.top-s[1]+r[1]-o[1])}}function Ce(e,t,n){return e.left<n.left||e.left+t.width>n.right}function xe(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function ke(e,t,n){var r=[];return pe.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function _e(e,t){return e[t]=-e[t],e}function Se(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function Ee(e,t){e[0]=Se(e[0],t.width),e[1]=Se(e[1],t.height)}function Me(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],s=n.overflow,l=n.source||e;i=[].concat(i),a=[].concat(a);var c={},u=0,d=ve(l,!(!(s=s||{})||!s.alwaysByViewport)),f=ye(l);Ee(i,f),Ee(a,t);var p=we(f,t,o,i,a),h=pe.merge(f,p);if(d&&(s.adjustX||s.adjustY)&&r){if(s.adjustX&&Ce(p,f,d)){var m=ke(o,/[lr]/gi,{l:"r",r:"l"}),g=_e(i,0),v=_e(a,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(we(f,t,m,g,v),f,d)||(u=1,o=m,i=g,a=v)}if(s.adjustY&&xe(p,f,d)){var y=ke(o,/[tb]/gi,{t:"b",b:"t"}),b=_e(i,1),w=_e(a,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(we(f,t,y,b,w),f,d)||(u=1,o=y,i=b,a=w)}u&&(p=we(f,t,o,i,a),pe.mix(h,p));var C=Ce(p,f,d),x=xe(p,f,d);if(C||x){var k=o;C&&(k=ke(o,/[lr]/gi,{l:"r",r:"l"})),x&&(k=ke(o,/[tb]/gi,{t:"b",b:"t"})),o=k,i=n.offset||[0,0],a=n.targetOffset||[0,0]}c.adjustX=s.adjustX&&C,c.adjustY=s.adjustY&&x,(c.adjustX||c.adjustY)&&(h=function(e,t,n,r){var o=pe.clone(e),i={width:t.width,height:t.height};return r.adjustX&&o.left<n.left&&(o.left=n.left),r.resizeWidth&&o.left>=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top<n.top&&(o.top=n.top),r.resizeHeight&&o.top>=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),pe.mix(o,i)}(p,f,d,c))}return h.width!==f.width&&pe.css(l,"width",pe.width(l)+h.width-f.width),h.height!==f.height&&pe.css(l,"height",pe.height(l)+h.height-f.height),pe.offset(l,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:c}}function Le(e,t,n){var r=n.target||t,o=ye(r),i=!function(e,t){var n=ve(e,t),r=ye(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport);return Me(e,o,n,i)}Le.__getOffsetParent=me,Le.__getVisibleRectForElement=ve;var Ne=n(14032);var Oe=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new Set;function o(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=r.has(e);if((0,Ne.ZP)(!a,"Warning: There may be circular references"),a)return!1;if(e===t)return!0;if(n&&i>1)return!1;r.add(e);var s=i+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var l=0;l<e.length;l++)if(!o(e[l],t[l],s))return!1;return!0}if(e&&t&&"object"===(0,N.Z)(e)&&"object"===(0,N.Z)(t)){var c=Object.keys(e);return c.length===Object.keys(t).length&&c.every((function(n){return o(e[n],t[n],s)}))}return!1}return o(e,t)},Ae=n(16752),je=n(67601),Te=n(73023);function Ze(e,t){var n=null,r=null;var o=new Te.Z((function(e){var o=(0,x.Z)(e,1)[0].target;if(document.documentElement.contains(o)){var i=o.getBoundingClientRect(),a=i.width,s=i.height,l=Math.floor(a),c=Math.floor(s);n===l&&r===c||Promise.resolve().then((function(){t({width:l,height:c})})),n=l,r=c}}));return e&&o.observe(e),function(){o.disconnect()}}function Pe(e){return"function"!==typeof e?null:e()}function Re(e){return"object"===(0,N.Z)(e)&&e?e:null}var Ie=function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,a=e.onAlign,s=e.monitorWindowResize,l=e.monitorBufferTime,c=void 0===l?0:l,u=d.useRef({}),f=d.useRef(),p=d.Children.only(n),m=d.useRef({});m.current.disabled=r,m.current.target=o,m.current.align=i,m.current.onAlign=a;var y=function(e,t){var n=d.useRef(!1),r=d.useRef(null);function o(){window.clearTimeout(r.current)}return[function i(a){if(o(),n.current&&!0!==a)r.current=window.setTimeout((function(){n.current=!1,i()}),t);else{if(!1===e(a))return;n.current=!0,r.current=window.setTimeout((function(){n.current=!1}),t)}},function(){n.current=!1,o()}]}((function(){var e=m.current,t=e.disabled,n=e.target,r=e.align,o=e.onAlign,i=f.current;if(!t&&n&&i){var a,s=Pe(n),l=Re(n);u.current.element=s,u.current.point=l,u.current.align=r;var c=document.activeElement;return s&&(0,Ae.Z)(s)?a=Le(i,s,r):l&&(a=function(e,t,n){var r,o,i=pe.getDocument(e),a=i.defaultView||i.parentWindow,s=pe.getWindowScrollLeft(a),l=pe.getWindowScrollTop(a),c=pe.viewportWidth(a),u=pe.viewportHeight(a),d={left:r="pageX"in t?t.pageX:s+t.clientX,top:o="pageY"in t?t.pageY:l+t.clientY,width:0,height:0},f=r>=0&&r<=s+c&&o>=0&&o<=l+u,p=[n.points[0],"cc"];return Me(e,d,A(A({},n),{},{points:p}),f)}(i,l,r)),function(e,t){e!==document.activeElement&&(0,h.Z)(t,e)&&"function"===typeof e.focus&&e.focus()}(c,i),o&&a&&o(i,a),!0}return!1}),c),b=(0,x.Z)(y,2),w=b[0],C=b[1],k=d.useState(),_=(0,x.Z)(k,2),S=_[0],E=_[1],M=d.useState(),L=(0,x.Z)(M,2),N=L[0],O=L[1];return(0,je.Z)((function(){E(Pe(o)),O(Re(o))})),d.useEffect((function(){var e,t;u.current.element===S&&((e=u.current.point)===(t=N)||e&&t&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY))&&Oe(u.current.align,i)||w()})),d.useEffect((function(){return Ze(f.current,w)}),[f.current]),d.useEffect((function(){return Ze(S,w)}),[S]),d.useEffect((function(){r?C():w()}),[r]),d.useEffect((function(){if(s)return(0,v.Z)(window,"resize",w).remove}),[s]),d.useEffect((function(){return function(){C()}}),[]),d.useImperativeHandle(t,(function(){return{forceAlign:function(){return w(!0)}}})),d.isValidElement(p)&&(p=d.cloneElement(p,{ref:(0,g.sQ)(p.ref,f)})),p},De=d.forwardRef(Ie);De.displayName="Align";var ze=De,He=n(69501),Be=n(81517),Fe=n(24096),Ve=["measure","alignPre","align",null,"motion"],qe=d.forwardRef((function(e,t){var n=e.visible,i=e.prefixCls,a=e.className,s=e.style,l=e.children,c=e.zIndex,u=e.stretch,f=e.destroyPopupOnHide,h=e.forceRender,m=e.align,g=e.point,v=e.getRootDomNode,y=e.getClassNameFromAlign,b=e.onAlign,C=e.onMouseEnter,k=e.onMouseLeave,_=e.onMouseDown,M=e.onTouchStart,L=e.onClick,N=(0,d.useRef)(),O=(0,d.useRef)(),A=(0,d.useState)(),j=(0,x.Z)(A,2),T=j[0],Z=j[1],P=function(e){var t=d.useState({width:0,height:0}),n=(0,x.Z)(t,2),r=n[0],o=n[1];return[d.useMemo((function(){var t={};if(e){var n=r.width,o=r.height;-1!==e.indexOf("height")&&o?t.height=o:-1!==e.indexOf("minHeight")&&o&&(t.minHeight=o),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t}),[e,r]),function(e){var t=e.offsetWidth,n=e.offsetHeight,r=e.getBoundingClientRect(),i=r.width,a=r.height;Math.abs(t-i)<1&&Math.abs(n-a)<1&&(t=i,n=a),o({width:t,height:n})}]}(u),R=(0,x.Z)(P,2),I=R[0],D=R[1];var z=function(e,t){var n=(0,Fe.Z)(null),r=(0,x.Z)(n,2),o=r[0],i=r[1],a=(0,d.useRef)();function s(e){i(e,!0)}function l(){p.Z.cancel(a.current)}return(0,d.useEffect)((function(){s("measure")}),[e]),(0,d.useEffect)((function(){"measure"===o&&t(),o&&(a.current=(0,p.Z)((0,Be.Z)((0,He.Z)().mark((function e(){var t,n;return(0,He.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Ve.indexOf(o),(n=Ve[t+1])&&-1!==t&&s(n);case 3:case"end":return e.stop()}}),e)})))))}),[o]),(0,d.useEffect)((function(){return function(){l()}}),[]),[o,function(e){l(),a.current=(0,p.Z)((function(){s((function(e){switch(o){case"align":return"motion";case"motion":return"stable"}return e})),null===e||void 0===e||e()}))}]}(n,(function(){u&&D(v())})),H=(0,x.Z)(z,2),B=H[0],F=H[1],V=(0,d.useState)(0),q=(0,x.Z)(V,2),U=q[0],$=q[1],W=(0,d.useRef)();function K(){var e;null===(e=N.current)||void 0===e||e.forceAlign()}function G(e,t){var n=y(t);T!==n&&Z(n),$((function(e){return e+1})),"align"===B&&(null===b||void 0===b||b(e,t))}(0,je.Z)((function(){"alignPre"===B&&$(0)}),[B]),(0,je.Z)((function(){"align"===B&&(U<3?K():F((function(){var e;null===(e=W.current)||void 0===e||e.call(W)})))}),[U]);var Y=(0,r.Z)({},E(e));function J(){return new Promise((function(e){W.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=Y[e];Y[e]=function(e,n){return F(),null===t||void 0===t?void 0:t(e,n)}})),d.useEffect((function(){Y.motionName||"motion"!==B||F()}),[Y.motionName,B]),d.useImperativeHandle(t,(function(){return{forceAlign:K,getElement:function(){return O.current}}}));var X=(0,r.Z)((0,r.Z)({},I),{},{zIndex:c,opacity:"motion"!==B&&"stable"!==B&&n?0:void 0,pointerEvents:n||"stable"===B?void 0:"none"},s),Q=!0;null===m||void 0===m||!m.points||"align"!==B&&"stable"!==B||(Q=!1);var ee=l;return d.Children.count(l)>1&&(ee=d.createElement("div",{className:"".concat(i,"-content")},l)),d.createElement(S.default,(0,o.Z)({visible:n,ref:O,leavedClassName:"".concat(i,"-hidden")},Y,{onAppearPrepare:J,onEnterPrepare:J,removeOnLeave:f,forceRender:h}),(function(e,t){var n=e.className,o=e.style,s=w()(i,a,T,n);return d.createElement(ze,{target:g||v,key:"popup",ref:N,monitorWindowResize:!0,disabled:Q,align:m,onAlign:G},d.createElement("div",{ref:t,className:s,onMouseEnter:C,onMouseLeave:k,onMouseDownCapture:_,onTouchStartCapture:M,onClick:L,style:(0,r.Z)((0,r.Z)({},o),X)},ee))}))}));qe.displayName="PopupInner";var Ue=qe,$e=d.forwardRef((function(e,t){var n=e.prefixCls,i=e.visible,a=e.zIndex,s=e.children,l=e.mobile,c=(l=void 0===l?{}:l).popupClassName,u=l.popupStyle,f=l.popupMotion,p=void 0===f?{}:f,h=l.popupRender,m=e.onClick,g=d.useRef();d.useImperativeHandle(t,(function(){return{forceAlign:function(){},getElement:function(){return g.current}}}));var v=(0,r.Z)({zIndex:a},u),y=s;return d.Children.count(s)>1&&(y=d.createElement("div",{className:"".concat(n,"-content")},s)),h&&(y=h(y)),d.createElement(S.default,(0,o.Z)({visible:i,ref:g,removeOnLeave:!0},p),(function(e,t){var o=e.className,i=e.style,a=w()(n,c,o);return d.createElement("div",{ref:t,className:a,onClick:m,style:(0,r.Z)((0,r.Z)({},i),v)},y)}))}));$e.displayName="MobilePopupInner";var We=$e,Ke=["visible","mobile"],Ge=d.forwardRef((function(e,t){var n=e.visible,i=e.mobile,a=(0,k.Z)(e,Ke),s=(0,d.useState)(n),l=(0,x.Z)(s,2),c=l[0],u=l[1],f=(0,d.useState)(!1),p=(0,x.Z)(f,2),h=p[0],m=p[1],g=(0,r.Z)((0,r.Z)({},a),{},{visible:c});(0,d.useEffect)((function(){u(n),n&&i&&m((0,_.Z)())}),[n,i]);var v=h?d.createElement(We,(0,o.Z)({},g,{mobile:i,ref:t})):d.createElement(Ue,(0,o.Z)({},g,{ref:t}));return d.createElement("div",null,d.createElement(M,g),v)}));Ge.displayName="Popup";var Ye=Ge,Je=d.createContext(null);function Xe(){}function Qe(){return""}function et(e){return e?e.ownerDocument:window.document}var tt=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];var nt=function(e){var t=function(t){(0,l.Z)(y,t);var n=(0,c.Z)(y);function y(e){var t,r;return(0,i.Z)(this,y),t=n.call(this,e),(0,u.Z)((0,s.Z)(t),"popupRef",d.createRef()),(0,u.Z)((0,s.Z)(t),"triggerRef",d.createRef()),(0,u.Z)((0,s.Z)(t),"portalContainer",void 0),(0,u.Z)((0,s.Z)(t),"attachId",void 0),(0,u.Z)((0,s.Z)(t),"clickOutsideHandler",void 0),(0,u.Z)((0,s.Z)(t),"touchOutsideHandler",void 0),(0,u.Z)((0,s.Z)(t),"contextMenuOutsideHandler1",void 0),(0,u.Z)((0,s.Z)(t),"contextMenuOutsideHandler2",void 0),(0,u.Z)((0,s.Z)(t),"mouseDownTimeout",void 0),(0,u.Z)((0,s.Z)(t),"focusTime",void 0),(0,u.Z)((0,s.Z)(t),"preClickTime",void 0),(0,u.Z)((0,s.Z)(t),"preTouchTime",void 0),(0,u.Z)((0,s.Z)(t),"delayTimer",void 0),(0,u.Z)((0,s.Z)(t),"hasPopupMouseDown",void 0),(0,u.Z)((0,s.Z)(t),"onMouseEnter",(function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)})),(0,u.Z)((0,s.Z)(t),"onMouseMove",(function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)})),(0,u.Z)((0,s.Z)(t),"onMouseLeave",(function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),(0,u.Z)((0,s.Z)(t),"onPopupMouseEnter",(function(){t.clearDelayTimer()})),(0,u.Z)((0,s.Z)(t),"onPopupMouseLeave",(function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&(0,h.Z)(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),(0,u.Z)((0,s.Z)(t),"onFocus",(function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))})),(0,u.Z)((0,s.Z)(t),"onMouseDown",(function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()})),(0,u.Z)((0,s.Z)(t),"onTouchStart",(function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()})),(0,u.Z)((0,s.Z)(t),"onBlur",(function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)})),(0,u.Z)((0,s.Z)(t),"onContextMenu",(function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)})),(0,u.Z)((0,s.Z)(t),"onContextMenuClose",(function(){t.isContextMenuToShow()&&t.close()})),(0,u.Z)((0,s.Z)(t),"onClick",(function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)})),(0,u.Z)((0,s.Z)(t),"onPopupMouseDown",(function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)})),(0,u.Z)((0,s.Z)(t),"onDocumentClick",(function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),o=t.getPopupDomNode();(0,h.Z)(r,n)&&!t.isContextMenuOnly()||(0,h.Z)(o,n)||t.hasPopupMouseDown||t.close()}})),(0,u.Z)((0,s.Z)(t),"getRootDomNode",(function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=(0,m.ZP)(t.triggerRef.current);if(n)return n}catch(r){}return f.findDOMNode((0,s.Z)(t))})),(0,u.Z)((0,s.Z)(t),"getPopupClassNameFromAlign",(function(e){var n=[],r=t.props,o=r.popupPlacement,i=r.builtinPlacements,a=r.prefixCls,s=r.alignPoint,l=r.getPopupClassNameFromAlign;return o&&i&&n.push(function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var s=i[a];if(C(e[s].points,o,r))return"".concat(t,"-placement-").concat(s)}return""}(i,a,e,s)),l&&n.push(l(e)),n.join(" ")})),(0,u.Z)((0,s.Z)(t),"getComponent",(function(){var e=t.props,n=e.prefixCls,r=e.destroyPopupOnHide,i=e.popupClassName,a=e.onPopupAlign,s=e.popupMotion,l=e.popupAnimation,c=e.popupTransitionName,u=e.popupStyle,f=e.mask,p=e.maskAnimation,h=e.maskTransitionName,m=e.maskMotion,g=e.zIndex,v=e.popup,y=e.stretch,b=e.alignPoint,w=e.mobile,C=e.forceRender,x=e.onPopupClick,k=t.state,_=k.popupVisible,S=k.point,E=t.getPopupAlign(),M={};return t.isMouseEnterToShow()&&(M.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(M.onMouseLeave=t.onPopupMouseLeave),M.onMouseDown=t.onPopupMouseDown,M.onTouchStart=t.onPopupMouseDown,d.createElement(Ye,(0,o.Z)({prefixCls:n,destroyPopupOnHide:r,visible:_,point:b&&S,className:i,align:E,onAlign:a,animation:l,getClassNameFromAlign:t.getPopupClassNameFromAlign},M,{stretch:y,getRootDomNode:t.getRootDomNode,style:u,mask:f,zIndex:g,transitionName:c,maskAnimation:p,maskTransitionName:h,maskMotion:m,ref:t.popupRef,motion:s,mobile:w,forceRender:C,onClick:x}),"function"===typeof v?v():v)})),(0,u.Z)((0,s.Z)(t),"attachParent",(function(e){p.Z.cancel(t.attachId);var n,r=t.props,o=r.getPopupContainer,i=r.getDocument,a=t.getRootDomNode();o?(a||0===o.length)&&(n=o(a)):n=i(t.getRootDomNode()).body,n?n.appendChild(e):t.attachId=(0,p.Z)((function(){t.attachParent(e)}))})),(0,u.Z)((0,s.Z)(t),"getContainer",(function(){if(!t.portalContainer){var e=(0,t.props.getDocument)(t.getRootDomNode()).createElement("div");e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",t.portalContainer=e}return t.attachParent(t.portalContainer),t.portalContainer})),(0,u.Z)((0,s.Z)(t),"setPoint",(function(e){t.props.alignPoint&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})})),(0,u.Z)((0,s.Z)(t),"handlePortalUpdate",(function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)})),(0,u.Z)((0,s.Z)(t),"triggerContextValue",{onPopupMouseDown:t.onPopupMouseDown}),r="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:r,popupVisible:r},tt.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return(0,a.Z)(y,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props;if(this.state.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=(0,v.Z)(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=(0,v.Z)(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=(0,v.Z)(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=(0,v.Z)(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),p.Z.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var e;return(null===(e=this.popupRef.current)||void 0===e?void 0:e.getElement())||null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,o=e.builtinPlacements;return t&&o?function(e,t,n){var o=e[t]||{};return(0,r.Z)((0,r.Z)({},o),n)}(o,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&e&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,o=1e3*t;if(this.clearDelayTimer(),o){var i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,i),r.clearDelayTimer()}),o)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var e=this.props.action;return"contextMenu"===e||1===e.length&&"contextMenu"===e[0]}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var e;this.state.popupVisible&&(null===(e=this.popupRef.current)||void 0===e||e.forceAlign())}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,n=this.props,o=n.children,i=n.forceRender,a=n.alignPoint,s=n.className,l=n.autoDestroy,c=d.Children.only(o),u={key:"trigger"};this.isContextMenuToShow()?u.onContextMenu=this.onContextMenu:u.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(u.onClick=this.onClick,u.onMouseDown=this.onMouseDown,u.onTouchStart=this.onTouchStart):(u.onClick=this.createTwoChains("onClick"),u.onMouseDown=this.createTwoChains("onMouseDown"),u.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(u.onMouseEnter=this.onMouseEnter,a&&(u.onMouseMove=this.onMouseMove)):u.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?u.onMouseLeave=this.onMouseLeave:u.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(u.onFocus=this.onFocus,u.onBlur=this.onBlur):(u.onFocus=this.createTwoChains("onFocus"),u.onBlur=this.createTwoChains("onBlur"));var f=w()(c&&c.props&&c.props.className,s);f&&(u.className=f);var p=(0,r.Z)({},u);(0,g.Yr)(c)&&(p.ref=(0,g.sQ)(this.triggerRef,c.ref));var h,m=d.cloneElement(c,p);return(t||this.popupRef.current||i)&&(h=d.createElement(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&l&&(h=null),d.createElement(Je.Provider,{value:this.triggerContextValue},m,h)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),y}(d.Component);return(0,u.Z)(t,"contextType",Je),(0,u.Z)(t,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Qe,getDocument:et,onPopupVisibleChange:Xe,afterPopupVisibleChange:Xe,onPopupAlign:Xe,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),t}(y.Z)},73444:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(50959),o=n(36479);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(void 0!==e&&null!==e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):(0,o.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},13028:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(10422);function o(e,t,n,o){var i=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return null!==e&&void 0!==e&&e.addEventListener&&e.addEventListener(t,i,o),{remove:function(){null!==e&&void 0!==e&&e.removeEventListener&&e.removeEventListener(t,i,o)}}}},91469:function(e,t,n){"use strict";function r(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}n.d(t,{Z:function(){return r}})},71219:function(e,t,n){"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{Z:function(){return r}})},24995:function(e,t,n){"use strict";n.d(t,{g1:function(){return r},os:function(){return o}});function r(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function o(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}},90727:function(e,t,n){"use strict";n.d(t,{hq:function(){return y},jL:function(){return g}});var r=n(98037),o=n(91469),i=n(71219),a="data-rc-order",s="data-rc-priority",l="rc-util-key",c=new Map;function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):l}function d(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function f(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function p(e){return Array.from((c.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.Z)())return null;var n=t.csp,r=t.prepend,i=t.priority,l=void 0===i?0:i,c=f(r),u="prependQueue"===c,h=document.createElement("style");h.setAttribute(a,c),u&&l&&h.setAttribute(s,"".concat(l)),null!==n&&void 0!==n&&n.nonce&&(h.nonce=null===n||void 0===n?void 0:n.nonce),h.innerHTML=e;var m=d(t),g=m.firstChild;if(r){if(u){var v=(t.styles||p(m)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(s)||0);return l>=t}));if(v.length)return m.insertBefore(h,v[v.length-1].nextSibling),h}m.insertBefore(h,g)}else m.appendChild(h);return h}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(t);return(t.styles||p(n)).find((function(n){return n.getAttribute(u(t))===e}))}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=m(e,t);if(n){var r=d(t);r.removeChild(n)}}function v(e,t){var n=c.get(e);if(!n||!(0,i.Z)(document,n)){var r=h("",t),o=r.parentNode;c.set(e,o),e.removeChild(r)}}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=d(n),i=p(o),a=(0,r.Z)((0,r.Z)({},n),{},{styles:i});v(o,a);var s=m(t,a);if(s){var l,c,f;if(null!==(l=a.csp)&&void 0!==l&&l.nonce&&s.nonce!==(null===(c=a.csp)||void 0===c?void 0:c.nonce))s.nonce=null===(f=a.csp)||void 0===f?void 0:f.nonce;return s.innerHTML!==e&&(s.innerHTML=e),s}var g=h(e,a);return g.setAttribute(u(a),t),g}},28500:function(e,t,n){"use strict";n.d(t,{ZP:function(){return s}});var r=n(24744),o=n(50959),i=n(10422);function a(e){return e instanceof HTMLElement||e instanceof SVGElement}function s(e){var t,n=function(e){return e&&"object"===(0,r.Z)(e)&&a(e.nativeElement)?e.nativeElement:a(e)?e:null}(e);return n||(e instanceof o.Component?null===(t=i.findDOMNode)||void 0===t?void 0:t.call(i,e):null)}},68252:function(e,t,n){"use strict";n.d(t,{tS:function(){return a}});var r=n(35047),o=n(16752);function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,o.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),a=Number(i),s=null;return i&&!Number.isNaN(a)?s=a:r&&null===s&&(s=0),r&&e.disabled&&(s=null),null!==s&&(s>=0||t&&s<0)}return!1}function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.Z)(e.querySelectorAll("*")).filter((function(e){return i(e,t)}));return i(e,t)&&n.unshift(e),n}},16752:function(e,t){"use strict";t.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},17751:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(91469),o=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1};function i(e,t){return Array.isArray(e)||void 0===t?o(e):function(e,t){if(!o(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r}(e,t)}},23278:function(e,t){"use strict";var n={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,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE)return!0;if(e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY)return!0;if(e>=n.A&&e<=n.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=n},65296:function(e,t,n){"use strict";var r=n(50959),o=n(10422),i=n(91469),a=(0,r.forwardRef)((function(e,t){var n=e.didUpdate,a=e.getContainer,s=e.children,l=(0,r.useRef)(),c=(0,r.useRef)();(0,r.useImperativeHandle)(t,(function(){return{}}));var u=(0,r.useRef)(!1);return!u.current&&(0,i.Z)()&&(c.current=a(),l.current=c.current.parentNode,u.current=!0),(0,r.useEffect)((function(){null===n||void 0===n||n(e)})),(0,r.useEffect)((function(){return null===c.current.parentNode&&null!==l.current&&l.current.appendChild(c.current),function(){var e;null===(e=c.current)||void 0===e||null===(e=e.parentNode)||void 0===e||e.removeChild(c.current)}}),[]),c.current?o.createPortal(s,c.current):null}));t.Z=a},87166:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(73779),o=n(71374),i=n(46468),a=n(45675),s=n(36280),l=n(57904),c=n(24744),u=n(50959),d=n(18912),f=n(65296),p=n(91469),h=n(83020);var m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return{};var n=t.element,r=void 0===n?document.body:n,o={},i=Object.keys(e);return i.forEach((function(e){o[e]=r.style[e]})),i.forEach((function(t){r.style[t]=e[t]})),o};var g={},v=function(e){if(document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth||e){var t="ant-scrolling-effect",n=new RegExp("".concat(t),"g"),r=document.body.className;if(e){if(!n.test(r))return;return m(g),g={},void(document.body.className=r.replace(n,"").trim())}var o=(0,h.Z)();if(o&&(g=m({position:"relative",width:"calc(100% - ".concat(o,"px)")}),!n.test(r))){var i="".concat(r," ").concat(t);document.body.className=i.trim()}}},y=n(35047),b=0,w=[],C="ant-scrolling-effect",x=new RegExp("".concat(C),"g"),k=new Map,_=(0,o.Z)((function e(t){var n=this;(0,r.Z)(this,e),(0,l.Z)(this,"lockTarget",void 0),(0,l.Z)(this,"options",void 0),(0,l.Z)(this,"getContainer",(function(){var e;return null===(e=n.options)||void 0===e?void 0:e.container})),(0,l.Z)(this,"reLock",(function(e){var t=w.find((function(e){return e.target===n.lockTarget}));t&&n.unLock(),n.options=e,t&&(t.options=e,n.lock())})),(0,l.Z)(this,"lock",(function(){var e;if(!w.some((function(e){return e.target===n.lockTarget})))if(w.some((function(e){var t,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})))w=[].concat((0,y.Z)(w),[{target:n.lockTarget,options:n.options}]);else{var t=0,r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body;(r===document.body&&window.innerWidth-document.documentElement.clientWidth>0||r.scrollHeight>r.clientHeight)&&"hidden"!==getComputedStyle(r).overflow&&(t=(0,h.Z)());var o=r.className;if(0===w.filter((function(e){var t,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})).length&&k.set(r,m({width:0!==t?"calc(100% - ".concat(t,"px)"):void 0,overflow:"hidden",overflowX:"hidden",overflowY:"hidden"},{element:r})),!x.test(o)){var i="".concat(o," ").concat(C);r.className=i.trim()}w=[].concat((0,y.Z)(w),[{target:n.lockTarget,options:n.options}])}})),(0,l.Z)(this,"unLock",(function(){var e,t=w.find((function(e){return e.target===n.lockTarget}));if(w=w.filter((function(e){return e.target!==n.lockTarget})),t&&!w.some((function(e){var n,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(n=t.options)||void 0===n?void 0:n.container)}))){var r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body,o=r.className;x.test(o)&&(m(k.get(r),{element:r}),k.delete(r),r.className=r.className.replace(x,"").trim())}})),this.lockTarget=b++,this.options=t})),S=0,E=(0,p.Z)();var M={},L=function(e){if(!E)return null;if(e){if("string"===typeof e)return document.querySelectorAll(e)[0];if("function"===typeof e)return e();if("object"===(0,c.Z)(e)&&e instanceof window.HTMLElement)return e}return document.body},N=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e){var o;return(0,r.Z)(this,n),o=t.call(this,e),(0,l.Z)((0,i.Z)(o),"container",void 0),(0,l.Z)((0,i.Z)(o),"componentRef",u.createRef()),(0,l.Z)((0,i.Z)(o),"rafId",void 0),(0,l.Z)((0,i.Z)(o),"scrollLocker",void 0),(0,l.Z)((0,i.Z)(o),"renderComponent",void 0),(0,l.Z)((0,i.Z)(o),"updateScrollLocker",(function(e){var t=(e||{}).visible,n=o.props,r=n.getContainer,i=n.visible;i&&i!==t&&E&&L(r)!==o.scrollLocker.getContainer()&&o.scrollLocker.reLock({container:L(r)})})),(0,l.Z)((0,i.Z)(o),"updateOpenCount",(function(e){var t=e||{},n=t.visible,r=t.getContainer,i=o.props,a=i.visible,s=i.getContainer;a!==n&&E&&L(s)===document.body&&(a&&!n?S+=1:e&&(S-=1)),("function"===typeof s&&"function"===typeof r?s.toString()!==r.toString():s!==r)&&o.removeCurrentContainer()})),(0,l.Z)((0,i.Z)(o),"attachToParent",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||o.container&&!o.container.parentNode){var t=L(o.props.getContainer);return!!t&&(t.appendChild(o.container),!0)}return!0})),(0,l.Z)((0,i.Z)(o),"getContainer",(function(){return E?(o.container||(o.container=document.createElement("div"),o.attachToParent(!0)),o.setWrapperClassName(),o.container):null})),(0,l.Z)((0,i.Z)(o),"setWrapperClassName",(function(){var e=o.props.wrapperClassName;o.container&&e&&e!==o.container.className&&(o.container.className=e)})),(0,l.Z)((0,i.Z)(o),"removeCurrentContainer",(function(){var e;null===(e=o.container)||void 0===e||null===(e=e.parentNode)||void 0===e||e.removeChild(o.container)})),(0,l.Z)((0,i.Z)(o),"switchScrollingEffect",(function(){1!==S||Object.keys(M).length?S||(m(M),M={},v(!0)):(v(),M=m({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))})),o.scrollLocker=new _({container:L(e.getContainer)}),o}return(0,o.Z)(n,[{key:"componentDidMount",value:function(){var e=this;this.updateOpenCount(),this.attachToParent()||(this.rafId=(0,d.Z)((function(){e.forceUpdate()})))}},{key:"componentDidUpdate",value:function(e){this.updateOpenCount(e),this.updateScrollLocker(e),this.setWrapperClassName(),this.attachToParent()}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.visible,n=e.getContainer;E&&L(n)===document.body&&(S=t&&S?S-1:S),this.removeCurrentContainer(),d.Z.cancel(this.rafId)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.forceRender,r=e.visible,o=null,i={getOpenCount:function(){return S},getContainer:this.getContainer,switchScrollingEffect:this.switchScrollingEffect,scrollLocker:this.scrollLocker};return(n||r||this.componentRef.current)&&(o=u.createElement(f.Z,{getContainer:this.getContainer,ref:this.componentRef},t(i))),o}}]),n}(u.Component),O=N},13988:function(e,t,n){"use strict";var r;n.d(t,{s:function(){return g},v:function(){return w}});var o,i=n(69501),a=n(81517),s=n(24744),l=n(98037),c=n(10422),u=(0,l.Z)({},r||(r=n.t(c,2))),d=u.version,f=u.render,p=u.unmountComponentAtNode;try{Number((d||"").split(".")[0])>=18&&(o=u.createRoot)}catch(x){}function h(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,s.Z)(t)&&(t.usingClientEntryPoint=e)}var m="__rc_react_root__";function g(e,t){o?function(e,t){h(!0);var n=t[m]||o(t);h(!1),n.render(e),t[m]=n}(e,t):function(e,t){f(e,t)}(e,t)}function v(e){return y.apply(this,arguments)}function y(){return(y=(0,a.Z)((0,i.Z)().mark((function e(t){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[m])||void 0===e||e.unmount(),delete t[m]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){p(e)}function w(e){return C.apply(this,arguments)}function C(){return(C=(0,a.Z)((0,i.Z)().mark((function e(t){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===o){e.next=2;break}return e.abrupt("return",v(t));case 2:b(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},83020:function(e,t,n){"use strict";n.d(t,{Z:function(){return a},o:function(){return s}});var r,o=n(90727);function i(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r,i,a=n.style;if(a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll",e){var s=getComputedStyle(e);a.scrollbarColor=s.scrollbarColor,a.scrollbarWidth=s.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(l.width,10),u=parseInt(l.height,10);try{var d=c?"width: ".concat(l.width,";"):"",f=u?"height: ".concat(l.height,";"):"";(0,o.hq)("\n#".concat(t,"::-webkit-scrollbar {\n").concat(d,"\n").concat(f,"\n}"),t)}catch(m){console.error(m),r=c,i=u}}document.body.appendChild(n);var p=e&&r&&!isNaN(r)?r:n.offsetWidth-n.clientWidth,h=e&&i&&!isNaN(i)?i:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),(0,o.jL)(t),{width:p,height:h}}function a(e){return"undefined"===typeof document?0:((e||void 0===r)&&(r=i()),r.width)}function s(e){return"undefined"!==typeof document&&e&&e instanceof Element?i(e):{width:0,height:0}}},99798:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(50959);function o(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return n}},67601:function(e,t,n){"use strict";n.d(t,{o:function(){return a}});var r=n(50959),o=(0,n(91469).Z)()?r.useLayoutEffect:r.useEffect,i=function(e,t){var n=r.useRef(!0);o((function(){return e(n.current)}),t),o((function(){return n.current=!1,function(){n.current=!0}}),[])},a=function(e,t){i((function(t){if(!t)return e()}),t)};t.Z=i},57619:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(50959);function o(e,t,n){var o=r.useRef({});return"value"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},5481:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(99459),o=n(99798),i=n(67601),a=n(24096);function s(e){return void 0!==e}function l(e,t){var n=t||{},l=n.defaultValue,c=n.value,u=n.onChange,d=n.postState,f=(0,a.Z)((function(){return s(c)?c:s(l)?"function"===typeof l?l():l:"function"===typeof e?e():e})),p=(0,r.Z)(f,2),h=p[0],m=p[1],g=void 0!==c?c:h,v=d?d(g):g,y=(0,o.Z)(u),b=(0,a.Z)([g]),w=(0,r.Z)(b,2),C=w[0],x=w[1];return(0,i.o)((function(){var e=C[0];h!==e&&y(h,e)}),[C]),(0,i.o)((function(){s(c)||m(c)}),[c]),[v,(0,o.Z)((function(e,t){m(e,t),x([g],t)}))]}},24096:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(99459),o=n(50959);function i(e){var t=o.useRef(!1),n=o.useState(e),i=(0,r.Z)(n,2),a=i[0],s=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,n){n&&t.current||s(e)}]}},28075:function(e,t,n){"use strict";n.d(t,{zX:function(){return r.Z}});var r=n(99798);n(5481),n(37987),n(85840),n(14032)},24390:function(e,t){"use strict";t.Z=function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|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(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4))}},90123:function(e,t,n){"use strict";function r(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}n.d(t,{Z:function(){return r}})},42361:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n    alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n    charSet checked classID className colSpan cols content contentEditable contextMenu\n    controls coords crossOrigin data dateTime default defer dir disabled download draggable\n    encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n    headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n    is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n    mediaGroup method min minLength multiple muted name noValidate nonce open\n    optimum pattern placeholder poster preload radioGroup readOnly rel required\n    reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n    shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n    summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n    onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n    onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n    onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n    onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n    onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n    onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),i="aria-",a="data-";function s(e,t){return 0===e.indexOf(t)}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,r.Z)({},n);var l={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||s(n,i))||t.data&&s(n,a)||t.attr&&o.includes(n))&&(l[n]=e[n])})),l}},18912:function(e,t){"use strict";var n=function(e){return+setTimeout(e,16)},r=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(n=function(e){return window.requestAnimationFrame(e)},r=function(e){return window.cancelAnimationFrame(e)});var o=0,i=new Map;function a(e){i.delete(e)}var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=o+=1;function s(t){if(0===t)a(r),e();else{var o=n((function(){s(t-1)}));i.set(r,o)}}return s(t),r};s.cancel=function(e){var t=i.get(e);return a(e),r(t)},t.Z=s},37987:function(e,t,n){"use strict";n.d(t,{Yr:function(){return u},mH:function(){return s},sQ:function(){return l},x1:function(){return c}});var r=n(24744),o=n(50959),i=n(36479),a=n(57619),s=function(e,t){"function"===typeof e?e(t):"object"===(0,r.Z)(e)&&e&&"current"in e&&(e.current=t)},l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(Boolean);return r.length<=1?r[0]:function(e){t.forEach((function(t){s(t,e)}))}},c=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,a.Z)((function(){return l.apply(void 0,t)}),t,(function(e,t){return e.length!==t.length||e.every((function(e,n){return e!==t[n]}))}))},u=function(e){var t,n,r=(0,i.isMemo)(e)?e.type.type:e.type;return!!("function"!==typeof r||null!==(t=r.prototype)&&void 0!==t&&t.render||r.$$typeof===i.ForwardRef)&&!!("function"!==typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render||e.$$typeof===i.ForwardRef)};function d(e){return(0,o.isValidElement)(e)&&!(0,i.isFragment)(e)}Number(o.version.split(".")[0])},80406:function(e,t,n){"use strict";function r(e,t){for(var n=e,r=0;r<t.length;r+=1){if(null===n||void 0===n)return;n=n[t[r]]}return n}n.d(t,{Z:function(){return r}})},85840:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(98037),o=n(35047),i=n(24769),a=n(80406);function s(e,t,n,a){if(!t.length)return n;var l,c=(0,i.Z)(t),u=c[0],d=c.slice(1);return l=e||"number"!==typeof u?Array.isArray(e)?(0,o.Z)(e):(0,r.Z)({},e):[],a&&void 0===n&&1===d.length?delete l[u][d[0]]:l[u]=s(l[u],d,n,a),l}function l(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!(0,a.Z)(e,t.slice(0,-1))?e:s(e,t,n,r)}"undefined"===typeof Reflect?Object.keys:Reflect.ownKeys},14032:function(e,t,n){"use strict";n.d(t,{ET:function(){return c},Kp:function(){return i}});var r={},o=[];function i(e,t){}function a(e,t){}function s(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function l(e,t){s(i,e,t)}function c(e,t){s(a,e,t)}l.preMessage=function(e){o.push(e)},l.resetWarned=function(){r={}},l.noteOnce=c,t.ZP=l},76688:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}},41751:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);var n=t;for(;n;){if(n===e)return!0;n=n.parentNode}return!1}},16647:function(e,t,n){"use strict";var r=n(26538).default;Object.defineProperty(t,"__esModule",{value:!0}),t.clearContainerCache=function(){u.clear()},t.injectCSS=m,t.removeCSS=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=g(e,t);if(n){var r=f(t);r.removeChild(n)}},t.updateCSS=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=f(n),i=h(r),a=(0,o.default)((0,o.default)({},n),{},{styles:i});v(r,a);var s=g(t,a);if(s){var l,c,u;if(null!==(l=a.csp)&&void 0!==l&&l.nonce&&s.nonce!==(null===(c=a.csp)||void 0===c?void 0:c.nonce))s.nonce=null===(u=a.csp)||void 0===u?void 0:u.nonce;return s.innerHTML!==e&&(s.innerHTML=e),s}var p=m(e,a);return p.setAttribute(d(a),t),p};var o=r(n(51605)),i=r(n(76688)),a=r(n(41751)),s="data-rc-order",l="data-rc-priority",c="rc-util-key",u=new Map;function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):c}function f(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function p(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function h(e){return Array.from((u.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,i.default)())return null;var n=t.csp,r=t.prepend,o=t.priority,a=void 0===o?0:o,c=p(r),u="prependQueue"===c,d=document.createElement("style");d.setAttribute(s,c),u&&a&&d.setAttribute(l,"".concat(a)),null!==n&&void 0!==n&&n.nonce&&(d.nonce=null===n||void 0===n?void 0:n.nonce),d.innerHTML=e;var m=f(t),g=m.firstChild;if(r){if(u){var v=(t.styles||h(m)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(s)))return!1;var t=Number(e.getAttribute(l)||0);return a>=t}));if(v.length)return m.insertBefore(d,v[v.length-1].nextSibling),d}m.insertBefore(d,g)}else m.appendChild(d);return d}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=f(t);return(t.styles||h(n)).find((function(n){return n.getAttribute(d(t))===e}))}function v(e,t){var n=u.get(e);if(!n||!(0,a.default)(document,n)){var r=m("",t),o=r.parentNode;u.set(e,o),e.removeChild(r)}}},389:function(e,t,n){"use strict";var r=n(65957).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=o.useRef({});"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t);return r.current.value};var o=r(n(50959))},36768:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=Object.assign({},e);Array.isArray(t)&&t.forEach((function(e){delete n[e]}));return n}},59090:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=l,t.default=void 0,t.note=a,t.noteOnce=u,t.preMessage=void 0,t.resetWarned=s,t.warning=i,t.warningOnce=c;var n={},r=[],o=t.preMessage=function(e){r.push(e)};function i(e,t){}function a(e,t){}function s(){n={}}function l(e,t,r){t||n[r]||(e(!1,r),n[r]=!0)}function c(e,t){l(i,e,t)}function u(e,t){l(a,e,t)}c.preMessage=o,c.resetWarned=s,c.noteOnce=u;t.default=c},7429:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(2053),o=n(24744),i=n(98037),a=n(57904),s=n(99459),l=n(53162),c=n(84875),u=n.n(c),d=n(12682),f=n(28075),p=n(67601),h=n(50959),m=n(10422),g=h.forwardRef((function(e,t){var n=e.height,o=e.offsetY,s=e.offsetX,l=e.children,c=e.prefixCls,f=e.onInnerResize,p=e.innerProps,m=e.rtl,g=e.extra,v={},y={display:"flex",flexDirection:"column"};return void 0!==o&&(v={height:n,position:"relative",overflow:"hidden"},y=(0,i.Z)((0,i.Z)({},y),{},(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({transform:"translateY(".concat(o,"px)")},m?"marginRight":"marginLeft",-s),"position","absolute"),"left",0),"right",0),"top",0))),h.createElement("div",{style:v},h.createElement(d.default,{onResize:function(e){e.offsetHeight&&f&&f()}},h.createElement("div",(0,r.Z)({style:y,className:u()((0,a.Z)({},"".concat(c,"-holder-inner"),c)),ref:t},p),l,g)))}));g.displayName="Filler";var v=g;function y(e){var t=e.children,n=e.setRef,r=h.useCallback((function(e){n(e)}),[]);return h.cloneElement(t,{ref:r})}function b(e,t,n){var r=h.useState(e),o=(0,s.Z)(r,2),i=o[0],a=o[1],l=h.useState(null),c=(0,s.Z)(l,2),u=c[0],d=c[1];return h.useEffect((function(){var r=function(e,t,n){var r,o,i=e.length,a=t.length;if(0===i&&0===a)return null;i<a?(r=e,o=t):(r=t,o=e);var s={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?n(e):s}for(var c=null,u=1!==Math.abs(i-a),d=0;d<o.length;d+=1){var f=l(r[d]);if(f!==l(o[d])){c=d,u=u||f!==l(o[d+1]);break}}return null===c?null:{index:c,multiple:u}}(i||[],e||[],t);void 0!==(null===r||void 0===r?void 0:r.index)&&(null===n||void 0===n||n(r.index),d(e[r.index])),a(e)}),[e]),[u]}var w=n(18912),C="object"===("undefined"===typeof navigator?"undefined":(0,o.Z)(navigator))&&/Firefox/i.test(navigator.userAgent),x=function(e,t,n,r){var o=(0,h.useRef)(!1),i=(0,h.useRef)(null);function a(){clearTimeout(i.current),o.current=!0,i.current=setTimeout((function(){o.current=!1}),50)}var s=(0,h.useRef)({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e?t<0&&s.current.left||t>0&&s.current.right:t<0&&s.current.top||t>0&&s.current.bottom;return n&&r?(clearTimeout(i.current),o.current=!1):r&&!o.current||a(),!o.current&&r}};function k(e,t,n,r,o,i,a){var s=(0,h.useRef)(0),l=(0,h.useRef)(null),c=(0,h.useRef)(null),u=(0,h.useRef)(!1),d=x(t,n,r,o);var f=(0,h.useRef)(null),p=(0,h.useRef)(null);return[function(t){if(e){w.Z.cancel(p.current),p.current=(0,w.Z)((function(){f.current=null}),2);var n=t.deltaX,r=t.deltaY,o=t.shiftKey,h=n,m=r;("sx"===f.current||!f.current&&o&&r&&!n)&&(h=r,m=0,f.current="sx");var g=Math.abs(h),v=Math.abs(m);null===f.current&&(f.current=i&&g>v?"x":"y"),"y"===f.current?function(e,t){if(w.Z.cancel(l.current),!d(!1,t)){var n=e;n._virtualHandled||(n._virtualHandled=!0,s.current+=t,c.current=t,C||n.preventDefault(),l.current=(0,w.Z)((function(){var e=u.current?10:1;a(s.current*e,!1),s.current=0})))}}(t,m):function(e,t){a(t,!0),C||e.preventDefault()}(t,h)}},function(t){e&&(u.current=t.detail===c.current)}]}var _=n(28500),S=n(73779),E=n(71374),M=function(){function e(){(0,S.Z)(this,e),(0,a.Z)(this,"maps",void 0),(0,a.Z)(this,"id",0),this.maps=Object.create(null)}return(0,E.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}();var L=14/15;function N(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}var O=h.forwardRef((function(e,t){var n=e.prefixCls,r=e.rtl,o=e.scrollOffset,l=e.scrollRange,c=e.onStartMove,d=e.onStopMove,f=e.onScroll,p=e.horizontal,m=e.spinSize,g=e.containerSize,v=e.style,y=e.thumbStyle,b=h.useState(!1),C=(0,s.Z)(b,2),x=C[0],k=C[1],_=h.useState(null),S=(0,s.Z)(_,2),E=S[0],M=S[1],L=h.useState(null),O=(0,s.Z)(L,2),A=O[0],j=O[1],T=!r,Z=h.useRef(),P=h.useRef(),R=h.useState(!1),I=(0,s.Z)(R,2),D=I[0],z=I[1],H=h.useRef(),B=function(){clearTimeout(H.current),z(!0),H.current=setTimeout((function(){z(!1)}),3e3)},F=l-g||0,V=g-m||0,q=h.useMemo((function(){return 0===o||0===F?0:o/F*V}),[o,F,V]),U=h.useRef({top:q,dragging:x,pageY:E,startTop:A});U.current={top:q,dragging:x,pageY:E,startTop:A};var $=function(e){k(!0),M(N(e,p)),j(U.current.top),c(),e.stopPropagation(),e.preventDefault()};h.useEffect((function(){var e=function(e){e.preventDefault()},t=Z.current,n=P.current;return t.addEventListener("touchstart",e,{passive:!1}),n.addEventListener("touchstart",$,{passive:!1}),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",$)}}),[]);var W=h.useRef();W.current=F;var K=h.useRef();K.current=V,h.useEffect((function(){if(x){var e,t=function(t){var n=U.current,r=n.dragging,o=n.pageY,i=n.startTop;w.Z.cancel(e);var a=Z.current.getBoundingClientRect(),s=g/(p?a.width:a.height);if(r){var l=(N(t,p)-o)*s,c=i;!T&&p?c-=l:c+=l;var u=W.current,d=K.current,h=d?c/d:0,m=Math.ceil(h*u);m=Math.max(m,0),m=Math.min(m,u),e=(0,w.Z)((function(){f(m,p)}))}},n=function(){k(!1),d()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",n,{passive:!0}),window.addEventListener("touchend",n,{passive:!0}),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),w.Z.cancel(e)}}}),[x]),h.useEffect((function(){return B(),function(){clearTimeout(H.current)}}),[o]),h.useImperativeHandle(t,(function(){return{delayHidden:B}}));var G="".concat(n,"-scrollbar"),Y={position:"absolute",visibility:D?null:"hidden"},J={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return p?(Y.height=8,Y.left=0,Y.right=0,Y.bottom=0,J.height="100%",J.width=m,T?J.left=q:J.right=q):(Y.width=8,Y.top=0,Y.bottom=0,T?Y.right=0:Y.left=0,J.width="100%",J.height=m,J.top=q),h.createElement("div",{ref:Z,className:u()(G,(0,a.Z)((0,a.Z)((0,a.Z)({},"".concat(G,"-horizontal"),p),"".concat(G,"-vertical"),!p),"".concat(G,"-visible"),D)),style:(0,i.Z)((0,i.Z)({},Y),v),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:B},h.createElement("div",{ref:P,className:u()("".concat(G,"-thumb"),(0,a.Z)({},"".concat(G,"-thumb-moving"),x)),style:(0,i.Z)((0,i.Z)({},J),y),onMouseDown:$}))}));function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,20),Math.floor(n)}var j=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],T=[],Z={overflowY:"auto",overflowAnchor:"none"};function P(e,t){var n=e.prefixCls,c=void 0===n?"rc-virtual-list":n,g=e.className,C=e.height,S=e.itemHeight,E=e.fullHeight,N=void 0===E||E,P=e.style,R=e.data,I=e.children,D=e.itemKey,z=e.virtual,H=e.direction,B=e.scrollWidth,F=e.component,V=void 0===F?"div":F,q=e.onScroll,U=e.onVirtualScroll,$=e.onVisibleChange,W=e.innerProps,K=e.extraRender,G=e.styles,Y=(0,l.Z)(e,j),J=h.useCallback((function(e){return"function"===typeof D?D(e):null===e||void 0===e?void 0:e[D]}),[D]),X=function(e,t,n){var r=h.useState(0),o=(0,s.Z)(r,2),i=o[0],a=o[1],l=(0,h.useRef)(new Map),c=(0,h.useRef)(new M),u=(0,h.useRef)();function d(){w.Z.cancel(u.current)}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d();var t=function(){l.current.forEach((function(e,t){if(e&&e.offsetParent){var n=(0,_.ZP)(e),r=n.offsetHeight;c.current.get(t)!==r&&c.current.set(t,n.offsetHeight)}})),a((function(e){return e+1}))};e?t():u.current=(0,w.Z)(t)}return(0,h.useEffect)((function(){return d}),[]),[function(r,o){var i=e(r),a=l.current.get(i);o?(l.current.set(i,o),f()):l.current.delete(i),!a!==!o&&(o?null===t||void 0===t||t(r):null===n||void 0===n||n(r))},f,c.current,i]}(J,null,null),Q=(0,s.Z)(X,4),ee=Q[0],te=Q[1],ne=Q[2],re=Q[3],oe=!(!1===z||!C||!S),ie=h.useMemo((function(){return Object.values(ne.maps).reduce((function(e,t){return e+t}),0)}),[ne.id,ne.maps]),ae=oe&&R&&(Math.max(S*R.length,ie)>C||!!B),se="rtl"===H,le=u()(c,(0,a.Z)({},"".concat(c,"-rtl"),se),g),ce=R||T,ue=(0,h.useRef)(),de=(0,h.useRef)(),fe=(0,h.useRef)(),pe=(0,h.useState)(0),he=(0,s.Z)(pe,2),me=he[0],ge=he[1],ve=(0,h.useState)(0),ye=(0,s.Z)(ve,2),be=ye[0],we=ye[1],Ce=(0,h.useState)(!1),xe=(0,s.Z)(Ce,2),ke=xe[0],_e=xe[1],Se=function(){_e(!0)},Ee=function(){_e(!1)},Me={getKey:J};function Le(e){ge((function(t){var n=function(e){var t=e;Number.isNaN(We.current)||(t=Math.min(t,We.current));return t=Math.max(t,0)}("function"===typeof e?e(t):e);return ue.current.scrollTop=n,n}))}var Ne=(0,h.useRef)({start:0,end:ce.length}),Oe=(0,h.useRef)(),Ae=b(ce,J),je=(0,s.Z)(Ae,1)[0];Oe.current=je;var Te=h.useMemo((function(){if(!oe)return{scrollHeight:void 0,start:0,end:ce.length-1,offset:void 0};var e;if(!ae)return{scrollHeight:(null===(e=de.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:ce.length-1,offset:void 0};for(var t,n,r,o=0,i=ce.length,a=0;a<i;a+=1){var s=ce[a],l=J(s),c=ne.get(l),u=o+(void 0===c?S:c);u>=me&&void 0===t&&(t=a,n=o),u>me+C&&void 0===r&&(r=a),o=u}return void 0===t&&(t=0,n=0,r=Math.ceil(C/S)),void 0===r&&(r=ce.length-1),{scrollHeight:o,start:t,end:r=Math.min(r+1,ce.length-1),offset:n}}),[ae,oe,me,ce,re,C]),Ze=Te.scrollHeight,Pe=Te.start,Re=Te.end,Ie=Te.offset;Ne.current.start=Pe,Ne.current.end=Re;var De=h.useState({width:0,height:C}),ze=(0,s.Z)(De,2),He=ze[0],Be=ze[1],Fe=(0,h.useRef)(),Ve=(0,h.useRef)(),qe=h.useMemo((function(){return A(He.width,B)}),[He.width,B]),Ue=h.useMemo((function(){return A(He.height,Ze)}),[He.height,Ze]),$e=Ze-C,We=(0,h.useRef)($e);We.current=$e;var Ke=me<=0,Ge=me>=$e,Ye=be<=0,Je=be>=B,Xe=x(Ke,Ge,Ye,Je),Qe=function(){return{x:se?-be:be,y:me}},et=(0,h.useRef)(Qe()),tt=(0,f.zX)((function(e){if(U){var t=(0,i.Z)((0,i.Z)({},Qe()),e);et.current.x===t.x&&et.current.y===t.y||(U(t),et.current=t)}}));function nt(e,t){var n=e;t?((0,m.flushSync)((function(){we(n)})),tt()):Le(n)}var rt=function(e){var t=e,n=B?B-He.width:0;return t=Math.max(t,0),t=Math.min(t,n)},ot=(0,f.zX)((function(e,t){t?((0,m.flushSync)((function(){we((function(t){return rt(t+(se?-e:e))}))})),tt()):Le((function(t){return t+e}))})),it=k(oe,Ke,Ge,Ye,Je,!!B,ot),at=(0,s.Z)(it,2),st=at[0],lt=at[1];!function(e,t,n){var r,o=(0,h.useRef)(!1),i=(0,h.useRef)(0),a=(0,h.useRef)(0),s=(0,h.useRef)(null),l=(0,h.useRef)(null),c=function(e){if(o.current){var t=Math.ceil(e.touches[0].pageX),r=Math.ceil(e.touches[0].pageY),s=i.current-t,c=a.current-r,u=Math.abs(s)>Math.abs(c);u?i.current=t:a.current=r;var d=n(u,u?s:c,!1,e);d&&e.preventDefault(),clearInterval(l.current),d&&(l.current=setInterval((function(){u?s*=L:c*=L;var e=Math.floor(u?s:c);(!n(u,e,!0)||Math.abs(e)<=.1)&&clearInterval(l.current)}),16))}},u=function(){o.current=!1,r()},d=function(e){r(),1!==e.touches.length||o.current||(o.current=!0,i.current=Math.ceil(e.touches[0].pageX),a.current=Math.ceil(e.touches[0].pageY),s.current=e.target,s.current.addEventListener("touchmove",c,{passive:!1}),s.current.addEventListener("touchend",u,{passive:!0}))};r=function(){s.current&&(s.current.removeEventListener("touchmove",c),s.current.removeEventListener("touchend",u))},(0,p.Z)((function(){return e&&t.current.addEventListener("touchstart",d,{passive:!0}),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",d),r(),clearInterval(l.current)}}),[e])}(oe,ue,(function(e,t,n,r){var o=r;return!Xe(e,t,n)&&((!o||!o._virtualHandled)&&(o&&(o._virtualHandled=!0),st({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0))})),(0,p.Z)((function(){function e(e){var t=Ke&&e.detail<0,n=Ge&&e.detail>0;!oe||t||n||e.preventDefault()}var t=ue.current;return t.addEventListener("wheel",st,{passive:!1}),t.addEventListener("DOMMouseScroll",lt,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){t.removeEventListener("wheel",st),t.removeEventListener("DOMMouseScroll",lt),t.removeEventListener("MozMousePixelScroll",e)}}),[oe,Ke,Ge]),(0,p.Z)((function(){if(B){var e=rt(be);we(e),tt({x:e})}}),[He.width,B]);var ct=function(){var e,t;null===(e=Fe.current)||void 0===e||e.delayHidden(),null===(t=Ve.current)||void 0===t||t.delayHidden()},ut=function(e,t,n,r,a,l,c,u){var d=h.useRef(),f=h.useState(null),m=(0,s.Z)(f,2),g=m[0],v=m[1];return(0,p.Z)((function(){if(g&&g.times<10){if(!e.current)return void v((function(e){return(0,i.Z)({},e)}));l();var o=g.targetAlign,s=g.originAlign,u=g.index,d=g.offset,f=e.current.clientHeight,p=!1,h=o,m=null;if(f){for(var y=o||s,b=0,w=0,C=0,x=Math.min(t.length-1,u),k=0;k<=x;k+=1){var _=a(t[k]);w=b;var S=n.get(_);b=C=w+(void 0===S?r:S)}for(var E="top"===y?d:f-d,M=x;M>=0;M-=1){var L=a(t[M]),N=n.get(L);if(void 0===N){p=!0;break}if((E-=N)<=0)break}switch(y){case"top":m=w-d;break;case"bottom":m=C-f+d;break;default:var O=e.current.scrollTop;w<O?h="top":C>O+f&&(h="bottom")}null!==m&&c(m),m!==g.lastTop&&(p=!0)}p&&v((0,i.Z)((0,i.Z)({},g),{},{times:g.times+1,targetAlign:h,lastTop:m}))}}),[g,e.current]),function(e){if(null!==e&&void 0!==e){if(w.Z.cancel(d.current),"number"===typeof e)c(e);else if(e&&"object"===(0,o.Z)(e)){var n,r=e.align;n="index"in e?e.index:t.findIndex((function(t){return a(t)===e.key}));var i=e.offset;v({times:0,index:n,offset:void 0===i?0:i,originAlign:r})}}else u()}}(ue,ce,ne,S,J,(function(){return te(!0)}),Le,ct);h.useImperativeHandle(t,(function(){return{nativeElement:fe.current,getScrollInfo:Qe,scrollTo:function(e){var t;(t=e)&&"object"===(0,o.Z)(t)&&("left"in t||"top"in t)?(void 0!==e.left&&we(rt(e.left)),ut(e.top)):ut(e)}}})),(0,p.Z)((function(){if($){var e=ce.slice(Pe,Re+1);$(e,ce)}}),[Pe,Re,ce]);var dt=function(e,t,n,r){var o=h.useMemo((function(){return[new Map,[]]}),[e,n.id,r]),i=(0,s.Z)(o,2),a=i[0],l=i[1];return function(o){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,s=a.get(o),c=a.get(i);if(void 0===s||void 0===c)for(var u=e.length,d=l.length;d<u;d+=1){var f,p=e[d],h=t(p);a.set(h,d);var m=null!==(f=n.get(h))&&void 0!==f?f:r;if(l[d]=(l[d-1]||0)+m,h===o&&(s=d),h===i&&(c=d),void 0!==s&&void 0!==c)break}return{top:l[s-1]||0,bottom:l[c]}}}(ce,J,ne,S),ft=null===K||void 0===K?void 0:K({start:Pe,end:Re,virtual:ae,offsetX:be,offsetY:Ie,rtl:se,getSize:dt}),pt=function(e,t,n,r,o,i,a,s){var l=s.getKey;return e.slice(t,n+1).map((function(e,n){var s=a(e,t+n,{style:{width:r},offsetX:o}),c=l(e);return h.createElement(y,{key:c,setRef:function(t){return i(e,t)}},s)}))}(ce,Pe,Re,B,be,ee,I,Me),ht=null;C&&(ht=(0,i.Z)((0,a.Z)({},N?"height":"maxHeight",C),Z),oe&&(ht.overflowY="hidden",B&&(ht.overflowX="hidden"),ke&&(ht.pointerEvents="none")));var mt={};return se&&(mt.dir="rtl"),h.createElement("div",(0,r.Z)({ref:fe,style:(0,i.Z)((0,i.Z)({},P),{},{position:"relative"}),className:le},mt,Y),h.createElement(d.default,{onResize:function(e){Be({width:e.offsetWidth,height:e.offsetHeight})}},h.createElement(V,{className:"".concat(c,"-holder"),style:ht,ref:ue,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==me&&Le(t),null===q||void 0===q||q(e),tt()},onMouseEnter:ct},h.createElement(v,{prefixCls:c,height:Ze,offsetX:be,offsetY:Ie,scrollWidth:B,onInnerResize:te,ref:de,innerProps:W,rtl:se,extra:ft},pt))),ae&&Ze>C&&h.createElement(O,{ref:Fe,prefixCls:c,scrollOffset:me,scrollRange:Ze,rtl:se,onScroll:nt,onStartMove:Se,onStopMove:Ee,spinSize:Ue,containerSize:He.height,style:null===G||void 0===G?void 0:G.verticalScrollBar,thumbStyle:null===G||void 0===G?void 0:G.verticalScrollBarThumb}),ae&&B>He.width&&h.createElement(O,{ref:Ve,prefixCls:c,scrollOffset:be,scrollRange:B,rtl:se,onScroll:nt,onStartMove:Se,onStopMove:Ee,spinSize:qe,containerSize:He.width,horizontal:!0,style:null===G||void 0===G?void 0:G.horizontalScrollBar,thumbStyle:null===G||void 0===G?void 0:G.horizontalScrollBarThumb}))}var R=h.forwardRef(P);R.displayName="List";var I=R},17717:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var 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],i=e||"";t&&(i=r(e));n&&(i=o(i));return i};var n=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function r(e){return e.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,r){return t>0&&t+e.length!==r.length&&e.search(n)>-1&&":"!==r.charAt(t-2)&&("-"!==r.charAt(t+e.length)||"-"===r.charAt(t-1))&&r.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))}function o(e){return"string"===typeof(t=e)&&-1!==t.indexOf("@")?(console.warn("This arg looks like an email address, redacting."),"REDACTED (Potential Email Address)"):e;var t}},76404:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GA4=void 0;var r=c(n(70409)),o=c(n(17717)),i=["eventCategory","eventAction","eventLabel","eventValue","hitType"],a=["title","location"],s=["page","hitType"],l=["action","category","label","value","nonInteraction","transport"];function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e){return d="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},d(e)}function f(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new 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){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){b(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}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"===typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function 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 b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),b(this,"reset",(function(){t.isInitialized=!1,t._testMode=!1,t._currentMeasurementId,t._hasLoadedGA=!1,t._isQueuing=!1,t._queueGtag=[]})),b(this,"_gtag",(function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];t._testMode||t._isQueuing?t._queueGtag.push(n):r.default.apply(void 0,n)})),b(this,"_loadGA",(function(e,n){if("undefined"!==typeof window&&"undefined"!==typeof document&&!t._hasLoadedGA){var r=document.createElement("script");r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(e),n&&r.setAttribute("nonce",n),document.body.appendChild(r),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},t._hasLoadedGA=!0}})),b(this,"_toGtagOptions",(function(e){if(e){var t={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"};return Object.entries(e).reduce((function(e,n){var r=m(n,2),o=r[0],i=r[1];return t[o]?e[t[o]]=i:e[o]=i,e}),{})}})),b(this,"initialize",(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Require GA_MEASUREMENT_ID");var r="string"===typeof e?[{trackingId:e}]:e;t._currentMeasurementId=r[0].trackingId;var o=n.gaOptions,i=n.gtagOptions,a=n.legacyDimensionMetric,s=void 0===a||a,l=n.nonce,c=n.testMode,u=void 0!==c&&c;if(t._testMode=u,u||t._loadGA(t._currentMeasurementId,l),t.isInitialized||(t._gtag("js",new Date),r.forEach((function(e){var n=t._appendCustomMap(h(h(h({send_page_view:!1},t._toGtagOptions(h(h({},o),e.gaOptions))),i),e.gtagOptions),s);t._gtag("config",e.trackingId,n)}))),t.isInitialized=!0,!u){var d=f(t._queueGtag);for(t._queueGtag=[],t._isQueuing=!1;d.length;){var p=d.shift();t._gtag.apply(t,f(p)),"get"===p[0]&&(t._isQueuing=!0)}}})),b(this,"set",(function(e){e?"object"===d(e)?(0===Object.keys(e).length&&console.warn("empty `fieldsObject` given to .set()"),t._gaCommand("set",e)):console.warn("Expected `fieldsObject` arg to be an Object"):console.warn("`fieldsObject` is required in .set()")})),b(this,"_gaCommandSendEvent",(function(e,n,r,o,i){t._gtag("event",n,h(h({event_category:e,event_label:r,value:o},i&&{non_interaction:i.nonInteraction}),t._toGtagOptions(i)))})),b(this,"_gaCommandSendEventParameters",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"===typeof n[0])t._gaCommandSendEvent.apply(t,f(n.slice(1)));else{var o=n[0],a=o.eventCategory,s=o.eventAction,l=o.eventLabel,c=o.eventValue,d=(o.hitType,u(o,i));t._gaCommandSendEvent(a,s,l,c,d)}})),b(this,"_gaCommandSendTiming",(function(e,n,r,o){t._gtag("event","timing_complete",{name:n,value:r,event_category:e,event_label:o})})),b(this,"_gaCommandSendPageview",(function(e,n){if(n&&Object.keys(n).length){var r=t._toGtagOptions(n),o=r.title,i=r.location,s=u(r,a);t._gtag("event","page_view",h(h(h(h({},e&&{page_path:e}),o&&{page_title:o}),i&&{page_location:i}),s))}else e?t._gtag("event","page_view",{page_path:e}):t._gtag("event","page_view")})),b(this,"_gaCommandSendPageviewParameters",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"===typeof n[0])t._gaCommandSendPageview.apply(t,f(n.slice(1)));else{var o=n[0],i=o.page,a=(o.hitType,u(o,s));t._gaCommandSendPageview(i,a)}})),b(this,"_gaCommandSend",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o="string"===typeof n[0]?n[0]:n[0].hitType;switch(o){case"event":t._gaCommandSendEventParameters.apply(t,n);break;case"pageview":t._gaCommandSendPageviewParameters.apply(t,n);break;case"timing":t._gaCommandSendTiming.apply(t,f(n.slice(1)));break;case"screenview":case"transaction":case"item":case"social":case"exception":console.warn("Unsupported send command: ".concat(o));break;default:console.warn("Send command doesn't exist: ".concat(o))}})),b(this,"_gaCommandSet",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];"string"===typeof n[0]&&(n[0]=b({},n[0],n[1])),t._gtag("set",t._toGtagOptions(n[0]))})),b(this,"_gaCommand",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];switch(e){case"send":t._gaCommandSend.apply(t,r);break;case"set":t._gaCommandSet.apply(t,r);break;default:console.warn("Command doesn't exist: ".concat(e))}})),b(this,"ga",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"===typeof n[0])t._gaCommand.apply(t,n);else{var o=n[0];t._gtag("get",t._currentMeasurementId,"client_id",(function(e){t._isQueuing=!1;var n=t._queueGtag;for(o({get:function(n){return"clientId"===n?e:"trackingId"===n?t._currentMeasurementId:"apiVersion"===n?"1":void 0}});n.length;){var r=n.shift();t._gtag.apply(t,f(r))}})),t._isQueuing=!0}return t.ga})),b(this,"event",(function(e,n){if("string"===typeof e)t._gtag("event",e,t._toGtagOptions(n));else{var r=e.action,i=e.category,a=e.label,s=e.value,c=e.nonInteraction,d=e.transport,f=u(e,l);if(!i||!r)return void console.warn("args.category AND args.action are required in event()");var p={hitType:"event",eventCategory:(0,o.default)(i),eventAction:(0,o.default)(r)};a&&(p.eventLabel=(0,o.default)(a)),"undefined"!==typeof s&&("number"!==typeof s?console.warn("Expected `args.value` arg to be a Number."):p.eventValue=s),"undefined"!==typeof c&&("boolean"!==typeof c?console.warn("`args.nonInteraction` must be a boolean."):p.nonInteraction=c),"undefined"!==typeof d&&("string"!==typeof d?console.warn("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(d)&&console.warn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),p.transport=d)),Object.keys(f).filter((function(e){return"dimension"===e.substr(0,"dimension".length)})).forEach((function(e){p[e]=f[e]})),Object.keys(f).filter((function(e){return"metric"===e.substr(0,"metric".length)})).forEach((function(e){p[e]=f[e]})),t._gaCommand("send",p)}})),b(this,"send",(function(e){t._gaCommand("send",e)})),b(this,"pageview",(function(e,n,r){var o=null===e||void 0===e?void 0:e.trim();""!==o?t._gaCommand("send","pageview",o,{title:r}):console.warn("path cannot be an empty string in .pageview()")})),this.reset()}var t,n,c;return t=e,n=[{key:"gtag",value:function(){this._gtag.apply(this,arguments)}},{key:"_appendCustomMap",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!t)return e;e.custom_map||(e.custom_map={});for(var n=1;n<=200;n++)e.custom_map["dimension".concat(n)]||(e.custom_map["dimension".concat(n)]="dimension".concat(n)),e.custom_map["metric".concat(n)]||(e.custom_map["metric".concat(n)]="metric".concat(n));return e}},{key:"outboundLink",value:function(e,t){var n=e.label;if("function"===typeof t)if(n){var r={hitType:"event",eventCategory:"Outbound",eventAction:"Click",eventLabel:(0,o.default)(n)},i=!1,a=setTimeout((function(){i=!0,t()}),250);r.hitCallback=function(){clearTimeout(a),i||t()},this._gaCommand("send",r)}else console.warn("args.label is required in outboundLink()");else console.warn("hitCallback function is required")}}],n&&y(t.prototype,n),c&&y(t,c),e}();t.GA4=w;var C=new w;t.default=C},70409:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;"undefined"!==typeof window&&("undefined"===typeof window.gtag&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),(r=window).gtag.apply(r,t))};t.default=n},94285: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},r(e)}t.ZP=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=e[s]}o.default=e,n&&n.set(e,o);return o}(n(76404));function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}o.GA4;var a=o.default;t.ZP=a},60198:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function C(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function x(e){return C(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||C(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return C(e)===c},t.isContextProvider=function(e){return C(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return C(e)===f},t.isFragment=function(e){return C(e)===i},t.isLazy=function(e){return C(e)===g},t.isMemo=function(e){return C(e)===m},t.isPortal=function(e){return C(e)===o},t.isProfiler=function(e){return C(e)===s},t.isStrictMode=function(e){return C(e)===a},t.isSuspense=function(e){return C(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=C},56237:function(e,t,n){"use strict";e.exports=n(60198)},98621:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=m,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.SuspenseList=p,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===d},t.isFragment=function(e){return v(e)===i},t.isLazy=function(e){return v(e)===m},t.isMemo=function(e){return v(e)===h},t.isPortal=function(e){return v(e)===o},t.isProfiler=function(e){return v(e)===s},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===f},t.isSuspenseList=function(e){return v(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===s||e===a||e===f||e===p||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=v},36479:function(e,t,n){"use strict";e.exports=n(98621)},26509:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0});function i(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var a={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){a[e]=new i(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=r(e,2),n=t[0],o=t[1];a[n]=new i(n,1,!1,o,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){a[e]=new i(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){a[e]=new i(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"].forEach((function(e){a[e]=new i(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){a[e]=new i(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){a[e]=new i(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){a[e]=new i(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){a[e]=new i(e,5,!1,e.toLowerCase(),null,!1,!1)}));var s=/[\-\:]([a-z])/g,l=function(e){return e[1].toUpperCase()};["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"].forEach((function(e){var t=e.replace(s,l);a[t]=new i(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(s,l);a[t]=new i(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(s,l);a[t]=new i(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){a[e]=new i(e,1,!1,e.toLowerCase(),null,!1,!1)}));a.xlinkHref=new i("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){a[e]=new i(e,1,!1,e.toLowerCase(),null,!0,!0)}));var c=n(72529),u=c.CAMELCASE,d=c.SAME,f=c.possibleStandardNames,p=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[: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]*$")),h=Object.keys(f).reduce((function(e,t){var n=f[t];return n===d?e[t]=t:n===u?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return a.hasOwnProperty(e)?a[e]:null},t.isCustomAttribute=p,t.possibleStandardNames=h},72529:function(e,t){t.SAME=0;t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},60255:function(e,t,n){"use strict";n.d(t,{zt:function(){return k},I0:function(){return M},v9:function(){return y}});var r=n(87287),o=n(9714),i=n(10422);let a=function(e){e()};const s=()=>a;var l=n(50959);const c=Symbol.for("react-redux-context"),u="undefined"!==typeof globalThis?globalThis:{};function d(){var e;if(!l.createContext)return{};const t=null!=(e=u[c])?e:u[c]=new Map;let n=t.get(l.createContext);return n||(n=l.createContext(null),t.set(l.createContext,n)),n}const f=d();function p(e=f){return function(){return(0,l.useContext)(e)}}const h=p();let m=()=>{throw new Error("uSES not initialized!")};const g=(e,t)=>e===t;function v(e=f){const t=e===f?h:p(e);return function(e,n={}){const{equalityFn:r=g,stabilityCheck:o,noopCheck:i}="function"===typeof n?{equalityFn:n}:n;const{store:a,subscription:s,getServerState:c,stabilityCheck:u,noopCheck:d}=t(),f=((0,l.useRef)(!0),(0,l.useCallback)({[e.name]:t=>e(t)}[e.name],[e,u,o])),p=m(s.addNestedSub,a.getState,c||a.getState,f,r);return(0,l.useDebugValue)(p),p}}const y=v();n(72535),n(36479);const b={notify(){},get:()=>[]};function w(e,t){let n,r=b,o=0,i=!1;function a(){u.onStateChange&&u.onStateChange()}function l(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){const e=s();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}function c(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=b)}const u={addNestedSub:function(e){l();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),c())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,l())},tryUnsubscribe:function(){i&&(i=!1,c())},getListeners:()=>r};return u}const C=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?l.useLayoutEffect:l.useEffect;let x=null;var k=function({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",noopCheck:i="once"}){const a=l.useMemo((()=>{const t=w(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:o,noopCheck:i}}),[e,r,o,i]),s=l.useMemo((()=>e.getState()),[e]);C((()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,s]);const c=t||f;return l.createElement(c.Provider,{value:a},n)};function _(e=f){const t=e===f?h:p(e);return function(){const{store:e}=t();return e}}const S=_();function E(e=f){const t=e===f?S:_(e);return function(){return t().dispatch}}const M=E();var L,N;L=o.useSyncExternalStoreWithSelector,m=L,(e=>{x=e})(r.useSyncExternalStore),N=i.unstable_batchedUpdates,a=N},68699:function(e,t,n){var r;"undefined"!=typeof self&&self,e.exports=(r=n(50959),(()=>{"use strict";var e={156:e=>{e.exports=r}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o),n.d(o,{default:()=>d,useStopwatch:()=>c,useTime:()=>u,useTimer:()=>l});var e=n(156);class t{static expiryTimestamp(e){const t=new Date(e).getTime()>0;return t||console.warn("react-timer-hook: { useTimer } Invalid expiryTimestamp settings",e),t}static onExpire(e){const t=e&&"function"==typeof e;return e&&!t&&console.warn("react-timer-hook: { useTimer } Invalid onExpire settings function",e),t}}class r{static getTimeFromSeconds(e){const t=Math.ceil(e),n=Math.floor(t/86400),r=Math.floor(t%86400/3600),o=Math.floor(t%3600/60);return{totalSeconds:t,seconds:Math.floor(t%60),minutes:o,hours:r,days:n}}static getSecondsFromExpiry(e,t){const n=e-(new Date).getTime();if(n>0){const e=n/1e3;return t?Math.round(e):e}return 0}static getSecondsFromPrevTime(e,t){const n=(new Date).getTime()-e;if(n>0){const e=n/1e3;return t?Math.round(e):e}return 0}static getSecondsFromTimeNow(){const e=new Date;return e.getTime()/1e3-60*e.getTimezoneOffset()}static getFormattedTimeFromSeconds(e,t){const{seconds:n,minutes:o,hours:i}=r.getTimeFromSeconds(e);let a="",s=i;return"12-hour"===t&&(a=i>=12?"pm":"am",s=i%12),{seconds:n,minutes:o,hours:s,ampm:a}}}function i(t,n){const r=(0,e.useRef)();(0,e.useEffect)((()=>{r.current=t})),(0,e.useEffect)((()=>{if(!n)return()=>{};const e=setInterval((()=>{r.current&&r.current()}),n);return()=>clearInterval(e)}),[n])}const a=1e3;function s(e){if(!t.expiryTimestamp(e))return null;const n=r.getSecondsFromExpiry(e),o=Math.floor(1e3*(n-Math.floor(n)));return o>0?o:a}function l(){let{expiryTimestamp:n,onExpire:o,autoStart:l=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[c,u]=(0,e.useState)(n),[d,f]=(0,e.useState)(r.getSecondsFromExpiry(c)),[p,h]=(0,e.useState)(l),[m,g]=(0,e.useState)(l),[v,y]=(0,e.useState)(s(c)),b=(0,e.useCallback)((()=>{t.onExpire(o)&&o(),h(!1),y(null)}),[o]),w=(0,e.useCallback)((()=>{h(!1)}),[]),C=(0,e.useCallback)((function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];y(s(e)),g(t),h(t),u(e),f(r.getSecondsFromExpiry(e))}),[]),x=(0,e.useCallback)((()=>{const e=new Date;e.setMilliseconds(e.getMilliseconds()+1e3*d),C(e)}),[d,C]),k=(0,e.useCallback)((()=>{m?(f(r.getSecondsFromExpiry(c)),h(!0)):x()}),[c,m,x]);return i((()=>{v!==a&&y(a);const e=r.getSecondsFromExpiry(c);f(e),e<=0&&b()}),p?v:null),{...r.getTimeFromSeconds(d),start:k,pause:w,resume:x,restart:C,isRunning:p}}function c(){let{autoStart:t,offsetTimestamp:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[o,a]=(0,e.useState)(r.getSecondsFromExpiry(n,!0)||0),[s,l]=(0,e.useState)(new Date),[c,u]=(0,e.useState)(o+r.getSecondsFromPrevTime(s||0,!0)),[d,f]=(0,e.useState)(t);i((()=>{u(o+r.getSecondsFromPrevTime(s,!0))}),d?1e3:null);const p=(0,e.useCallback)((()=>{const e=new Date;l(e),f(!0),u(o+r.getSecondsFromPrevTime(e,!0))}),[o]),h=(0,e.useCallback)((()=>{a(c),f(!1)}),[c]),m=(0,e.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=r.getSecondsFromExpiry(e,!0)||0,o=new Date;l(o),a(n),f(t),u(n+r.getSecondsFromPrevTime(o,!0))}),[]);return{...r.getTimeFromSeconds(c),start:p,pause:h,reset:m,isRunning:d}}function u(){let{format:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[n,o]=(0,e.useState)(r.getSecondsFromTimeNow());return i((()=>{o(r.getSecondsFromTimeNow())}),1e3),{...r.getFormattedTimeFromSeconds(n,t)}}function d(t){if((0,e.useEffect)((()=>{console.warn("react-timer-hook: default export useTimer is deprecated, use named exports { useTimer, useStopwatch, useTime } instead")}),[]),t.expiryTimestamp){const e=l(t);return{...e,startTimer:e.start,stopTimer:e.pause,resetTimer:()=>{}}}const n=c(t);return{...n,startTimer:n.start,stopTimer:n.pause,resetTimer:n.reset}}})(),o})())},60874:function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}n.r(t);var o=r();o.withExtraArgument=r,t.default=o},43453:function(e,t,n){"use strict";n.r(t),n.d(t,{__DO_NOT_USE__ActionTypes:function(){return s},applyMiddleware:function(){return m},bindActionCreators:function(){return p},combineReducers:function(){return d},compose:function(){return h},createStore:function(){return c},legacy_createStore:function(){return u}});var r=n(98037);function o(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var i="function"===typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function l(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function c(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(o(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(o(1));return n(c)(e,t)}if("function"!==typeof e)throw new Error(o(2));var a=e,u=t,d=[],f=d,p=!1;function h(){f===d&&(f=d.slice())}function m(){if(p)throw new Error(o(3));return u}function g(e){if("function"!==typeof e)throw new Error(o(4));if(p)throw new Error(o(5));var t=!0;return h(),f.push(e),function(){if(t){if(p)throw new Error(o(6));t=!1,h();var n=f.indexOf(e);f.splice(n,1),d=null}}}function v(e){if(!l(e))throw new Error(o(7));if("undefined"===typeof e.type)throw new Error(o(8));if(p)throw new Error(o(9));try{p=!0,u=a(u,e)}finally{p=!1}for(var t=d=f,n=0;n<t.length;n++){(0,t[n])()}return e}function y(e){if("function"!==typeof e)throw new Error(o(10));a=e,v({type:s.REPLACE})}function b(){var e,t=g;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(o(11));function n(){e.next&&e.next(m())}return n(),{unsubscribe:t(n)}}})[i]=function(){return this},e}return v({type:s.INIT}),(r={dispatch:v,subscribe:g,getState:m,replaceReducer:y})[i]=b,r}var u=c;function d(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"===typeof e[i]&&(n[i]=e[i])}var a,l=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:s.INIT}))throw new Error(o(12));if("undefined"===typeof n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(n)}catch(c){a=c}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,i={},s=0;s<l.length;s++){var c=l[s],u=n[c],d=e[c],f=u(d,t);if("undefined"===typeof f){t&&t.type;throw new Error(o(14))}i[c]=f,r=r||f!==d}return(r=r||l.length!==Object.keys(e).length)?i:e}}function f(e,t){return function(){return t(e.apply(this,arguments))}}function p(e,t){if("function"===typeof e)return f(e,t);if("object"!==typeof e||null===e)throw new Error(o(16));var n={};for(var r in e){var i=e[r];"function"===typeof i&&(n[r]=f(i,t))}return n}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),i=function(){throw new Error(o(15))},a={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map((function(e){return e(a)}));return i=h.apply(void 0,s)(n.dispatch),(0,r.Z)((0,r.Z)({},n),{},{dispatch:i})}}}},73023:function(e,t,n){"use strict";var r=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i="undefined"!==typeof n.g&&n.g.Math===Math?n.g:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")(),a="function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!==typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&l()}function s(){a(i)}function l(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);o=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=y(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+p(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=d(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=p(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,s=p(r.width),l=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==t&&(s-=h(r,"left","right")+i),Math.round(l+a)!==n&&(l-=h(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(s+i)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return y(o.left,o.top,s,l)}var g="undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"===typeof e.getBBox};function v(e){return o?g(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):m(e):f}function y(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=v(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),w=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return u(a,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),a}(t);u(this,{target:e,contentRect:n})},C=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new w(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),x="undefined"!==typeof WeakMap?new WeakMap:new r,k=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new C(t,n,this);x.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){k.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}}));var _="undefined"!==typeof i.ResizeObserver?i.ResizeObserver:k;t.Z=_},48603:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(26313))&&r.__esModule?r:{default:r};function i(e){return e===Object(e)&&0!==Object.keys(e).length}var a=function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(i(t)&&"function"===typeof t.behavior)return t.behavior(n?(0,o.default)(e,t):[]);if(n){var r=function(e){return!1===e?{block:"end",inline:"nearest"}:i(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i)}))}((0,o.default)(e,r),r.behavior)}};t.default=a,e.exports=t.default},50631:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(o=n?n.call(r,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},77689:function(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014c":"O","\u014d":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u018f":"E","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u0259":"e","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E\'","\u0538":"Y\'","\u0539":"T\'","\u053a":"JH","\u053b":"I","\u053c":"L","\u053d":"X","\u053e":"C\'","\u053f":"K","\u0540":"H","\u0541":"D\'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054a":"P","\u054b":"J","\u054c":"R\'","\u054d":"S","\u054e":"V","\u054f":"T","\u0550":"R","\u0551":"C","\u0553":"P\'","\u0554":"Q\'","\u0555":"O\'\'","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062a":"t","\u062b":"th","\u062c":"j","\u062d":"h","\u062e":"kh","\u062f":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063a":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064a":"y","\u064b":"an","\u064c":"on","\u064d":"en","\u064e":"a","\u064f":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067e":"p","\u0686":"ch","\u0698":"zh","\u06a9":"k","\u06af":"g","\u06cc":"y","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e62":"S","\u1e63":"s","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2013":"-","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u201e":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20ba":"turkish lira","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial","\ufef5":"laa","\ufef7":"laa","\ufef9":"lai","\ufefb":"la"}'),t=JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042a":"A","\u042c":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044a":"a","\u044c":"y"},"de":{"\xc4":"AE","\xe4":"ae","\xd6":"OE","\xf6":"oe","\xdc":"UE","\xfc":"ue","\xdf":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221e":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xa2":"centavos","\xa3":"libras","\xa4":"moneda","\u20a3":"francos","\u2211":"suma","\u221e":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xa2":"centime","\xa3":"livre","\xa4":"devise","\u20a3":"franc","\u2211":"somme","\u221e":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xa2":"centavo","\u2211":"soma","\xa3":"libra","\u221e":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xd8":"OE","\xf8":"oe","\xc5":"AA","\xe5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xf8rre end"},"nb":{"&":"og","\xc5":"AA","\xc6":"AE","\xd8":"OE","\xe5":"aa","\xe6":"ae","\xf8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xc5":"AA","\xc4":"AE","\xd6":"OE","\xe5":"aa","\xe4":"ae","\xf6":"oe"}}');function n(n,r){if("string"!==typeof n)throw new Error("slugify: string argument expected");var o=t[(r="string"===typeof r?{replacement:r}:r||{}).locale]||{},i=void 0===r.replacement?"-":r.replacement,a=void 0===r.trim||r.trim,s=n.normalize().split("").reduce((function(t,n){var a=o[n];return void 0===a&&(a=e[n]),void 0===a&&(a=n),a===i&&(a=" "),t+a.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");return r.strict&&(s=s.replace(/[^A-Za-z0-9\s]/g,"")),a&&(s=s.trim()),s=s.replace(/\s+/g,i),r.lower&&(s=s.toLowerCase()),s}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},75090:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var o=r(n(11895)),i=n(6205);t.default=function(e,t){var n={};return e&&"string"===typeof e?((0,o.default)(e,(function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)})),n):n}},6205:function(e,t){"use strict";t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(i,l)).replace(r,s))}},11895:function(e,t,n){var r=n(55309);function o(e,t){var n,o=null;if(!e||"string"!==typeof e)return o;for(var i,a,s=r(e),l="function"===typeof t,c=0,u=s.length;c<u;c++)i=(n=s[c]).property,a=n.value,l?t(i,a,n):a&&(o||(o={}),o[i]=a);return o}e.exports=o,e.exports.default=o},66154:function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",l="object",c="string",u="major",d="model",f="name",p="type",h="vendor",m="version",g="architecture",v="console",y="mobile",b="tablet",w="smarttv",C="wearable",x="embedded",k="Amazon",_="Apple",S="ASUS",E="BlackBerry",M="Firefox",L="Google",N="Huawei",O="LG",A="Microsoft",j="Motorola",T="Opera",Z="Samsung",P="Sharp",R="Sony",I="Xiaomi",D="Zebra",z="Facebook",H="Chromium OS",B="Mac OS",F=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},V=function(e,t){return typeof e===c&&-1!==q(t).indexOf(q(e))},q=function(e){return e.toLowerCase()},U=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},$=function(e,t){for(var n,r,o,s,c,u,d=0;d<t.length&&!c;){var f=t[d],p=t[d+1];for(n=r=0;n<f.length&&!c&&f[n];)if(c=f[n++].exec(e))for(o=0;o<p.length;o++)u=c[++r],typeof(s=p[o])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):i:this[s[0]]=u?s[1].call(this,u,s[2]):i:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):i):this[s]=u||i;d+=2}},W=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(V(t[n][r],e))return"?"===n?i:n}else if(V(t[n],e))return"?"===n?i:n;return e},K={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"},G={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,m],[/opios[\/ ]+([\w\.]+)/i],[m,[f,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[m,[f,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[m,[f,T]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[f,"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],[f,m],[/\bddg\/([\w\.]+)/i],[m,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[f,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[f,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure Browser"],m],[/\bfocus\/([\w\.]+)/i],[m,[f,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[m,[f,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[f,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[f,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[m,[f,M]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 Browser"]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 Browser"],m],[/samsungbrowser\/([\w\.]+)/i],[m,[f,"Samsung Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],m],[/metasr[\/ ]?([\d\.]+)/i],[m,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[f,m],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,z],m],[/(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,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[f,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,"Chrome WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[f,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[m,W,{"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],[f,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[f,"Firefox 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],[f,m],[/(cobalt)\/([\w\.]+)/i],[f,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,q]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",q]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,q]]],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],[d,[h,Z],[p,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,Z],[p,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,_],[p,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,_],[p,b]],[/(macintosh);/i],[d,[h,_]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,P],[p,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,N],[p,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,N],[p,y]],[/\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],[[d,/_/g," "],[h,I],[p,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,I],[p,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[p,y]],[/\b(opd2\d{3}a?) bui/i],[d,[h,"OPPO"],[p,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[p,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[p,y]],[/\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],[d,[h,j],[p,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,j],[p,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,O],[p,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,O],[p,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[p,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[p,y]],[/(pixel c)\b/i],[d,[h,L],[p,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,L],[p,y]],[/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],[d,[h,R],[p,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,R],[p,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[p,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,k],[p,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,k],[p,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[p,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,E],[p,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,S],[p,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,S],[p,y]],[/(nexus 9)/i],[d,[h,"HTC"],[p,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[p,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[p,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[p,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[p,y]],[/(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],[h,d,[p,y]],[/(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],[h,d,[p,b]],[/(surface duo)/i],[d,[h,A],[p,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[p,y]],[/(u304aa)/i],[d,[h,"AT&T"],[p,y]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[p,y]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[p,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[p,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[p,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[p,b]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[p,b]],[/\b(k88) b/i],[d,[h,"ZTE"],[p,b]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[p,y]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[p,y]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[p,b]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[p,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[p,b]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[p,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[p,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[p,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[p,y]],[/\b(ph-1) /i],[d,[h,"Essential"],[p,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[p,b]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[p,b]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[p,b]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[p,b]],[/(sprint) (\w+)/i],[h,d,[p,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,A],[p,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,D],[p,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,D],[p,y]],[/smart-tv.+(samsung)/i],[h,[p,w]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,Z],[p,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,O],[p,w]],[/(apple) ?tv/i],[h,[d,"Apple TV"],[p,w]],[/crkey/i],[[d,"Chromecast"],[h,L],[p,w]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,k],[p,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,P],[p,w]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,R],[p,w]],[/(mitv-\w{5}) bui/i],[d,[h,I],[p,w]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[p,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,U],[d,U],[p,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[p,v]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[p,v]],[/(playstation [345portablevi]+)/i],[d,[h,R],[p,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,A],[p,v]],[/((pebble))app/i],[h,d,[p,C]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,_],[p,C]],[/droid.+; (glass) \d/i],[d,[h,L],[p,C]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,D],[p,C]],[/(quest( \d| pro)?)/i],[d,[h,z],[p,C]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[p,x]],[/(aeobc)\b/i],[d,[h,k],[p,x]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[p,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[p,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[f,"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],[f,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[m,W,K]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,W,K],[f,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,B],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,m],[/\(bb(10);/i],[m,[f,E]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[f,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[f,"Chromecast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,H],m],[/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],[f,m],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,m]]},Y=function(e,t){if(typeof e===l&&(t=e,e=i),!(this instanceof Y))return new Y(e,t).getResult();var n=typeof o!==s&&o.navigator?o.navigator:i,r=e||(n&&n.userAgent?n.userAgent:""),u=n&&n.userAgentData?n.userAgentData:i,d=t?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,t):G,f=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t.name=i,t.version=i,$.call(t,r,d.browser),t.major=typeof(e=t.version)===c?e.replace(/[^\d\.]/g,"").split(".")[0]:i,f&&n&&n.brave&&typeof n.brave.isBrave==a&&(t.name="Brave"),t},this.getCPU=function(){var e={};return e.architecture=i,$.call(e,r,d.cpu),e},this.getDevice=function(){var e={};return e.vendor=i,e.model=i,e.type=i,$.call(e,r,d.device),f&&!e.type&&u&&u.mobile&&(e.type=y),f&&"Macintosh"==e.model&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e.model="iPad",e.type=b),e},this.getEngine=function(){var e={};return e.name=i,e.version=i,$.call(e,r,d.engine),e},this.getOS=function(){var e={};return e.name=i,e.version=i,$.call(e,r,d.os),f&&!e.name&&u&&u.platform&&"Unknown"!=u.platform&&(e.name=u.platform.replace(/chrome os/i,H).replace(/macos/i,B)),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 r},this.setUA=function(e){return r=typeof e===c&&e.length>500?U(e,500):e,this},this.setUA(r),this};Y.VERSION="1.0.38",Y.BROWSER=F([f,m,u]),Y.CPU=F([g]),Y.DEVICE=F([d,h,p,v,y,w,b,C,x]),Y.ENGINE=Y.OS=F([f,m]),typeof t!==s?(e.exports&&(t=e.exports=Y),t.UAParser=Y):n.amdO?(r=function(){return Y}.call(t,n,t,e))===i||(e.exports=r):typeof o!==s&&(o.UAParser=Y);var J=typeof o!==s&&(o.jQuery||o.Zepto);if(J&&!J.ua){var X=new Y;J.ua=X.getResult(),J.ua.get=function(){return X.getUA()},J.ua.set=function(e){X.setUA(e);var t=X.getResult();for(var n in t)J.ua[n]=t[n]}}}("object"===typeof window?window:this)},79627:function(e,t,n){"use strict";var r=n(50959);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},56550:function(e,t,n){"use strict";var r=n(50959),o=n(87287);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=o.useSyncExternalStore,s=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var p=a(e,d[0],d[1]);return l((function(){f.hasValue=!0,f.value=p}),[p]),u(p),p}},87287:function(e,t,n){"use strict";e.exports=n(79627)},9714:function(e,t,n){"use strict";e.exports=n(56550)},5185:function(e,t,n){"use strict";var r;n.d(t,{Z:function(){return d}});var o=new Uint8Array(16);function i(){if(!r&&!(r="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}var a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var s=function(e){return"string"===typeof e&&a.test(e)},l=[],c=0;c<256;++c)l.push((c+256).toString(16).substr(1));var u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!s(n))throw TypeError("Stringified UUID is invalid");return n};var d=function(e,t,n){var r=(e=e||{}).random||(e.rng||i)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return u(r)}},89626:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},62453:function(e){e.exports=function(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},e.exports.__esModule=!0,e.exports.default=e.exports},20077:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},26019:function(e,t,n){var r=n(62453);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},91929:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},99246:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},28842:function(e,t,n){var r=n(60046);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,r(o.key),o)}}e.exports=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},70700:function(e,t,n){var r=n(42675),o=n(44502),i=n(11426);e.exports=function(e){var t=o();return function(){var n,o=r(e);if(t){var a=r(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return i(this,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},74298:function(e,t,n){var r=n(60046);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},85591:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},42675:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},22802:function(e,t,n){var r=n(45694);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new 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&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},26538:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},65957:function(e,t,n){var r=n(59668).default;function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&{}.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports},44502:function(e){function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(n){}return(e.exports=t=function(){return!!n},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},74554:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},79319:function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},32518:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},97342:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},51605:function(e,t,n){var r=n(74298);function o(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}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports},40510:function(e,t,n){var r=n(2288);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},2288:function(e){e.exports=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.exports.__esModule=!0,e.exports.default=e.exports},11426:function(e,t,n){var r=n(59668).default,o=n(91929);e.exports=function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},4182:function(e,t,n){var r=n(59668).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},c=l.iterator||"@@iterator",u=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),a=new j(r||[]);return s(i,"_invoke",{value:L(e,n,a)}),i}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var m="suspendedStart",g="executing",v="completed",y={};function b(){}function w(){}function C(){}var x={};f(x,c,(function(){return this}));var k=Object.getPrototypeOf,_=k&&k(k(T([])));_&&_!==i&&a.call(_,c)&&(x=_);var S=C.prototype=b.prototype=Object.create(x);function E(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function n(o,i,s,l){var c=h(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==r(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var o;s(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function L(e,n,r){var o=m;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=N(s,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===m)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=h(e,n,r);if("normal"===c.type){if(o=r.done?v:"suspendedYield",c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=v,r.method="throw",r.arg=c.arg)}}}function N(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,N(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function O(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 A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return w.prototype=C,s(S,"constructor",{value:C,configurable:!0}),s(C,"constructor",{value:w,configurable:!0}),w.displayName=f(C,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,C):(e.__proto__=C,f(e,d,"GeneratorFunction")),e.prototype=Object.create(S),e},n.awrap=function(e){return{__await:e}},E(M.prototype),f(M.prototype,u,(function(){return this})),n.AsyncIterator=M,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new M(p(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(S),f(S,d,"Generator"),f(S,c,(function(){return this})),f(S,"toString",(function(){return"[object Generator]"})),n.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}},n.values=T,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},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),y},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),A(n),y}},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 o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},45694:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},16796:function(e,t,n){var r=n(20077),o=n(79319),i=n(28324),a=n(32518);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},66250:function(e,t,n){var r=n(26019),o=n(74554),i=n(28324),a=n(97342);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},59150:function(e,t,n){var r=n(59668).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},60046:function(e,t,n){var r=n(59668).default,o=n(59150);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},59668: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},28324:function(e,t,n){var r=n(62453);e.exports=function(e,t){if(e){if("string"==typeof e)return r(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)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},5e3:function(e){function t(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((n=>{const r=e[n],o=typeof r;"object"!==o&&"function"!==o||Object.isFrozen(r)||t(r)})),e}class n{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function o(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const i=e=>!!e.scope;class a{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=r(e)}openNode(e){if(!i(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){i(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const s=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class l{constructor(){this.rootNode=s(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=s({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"===typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!==typeof e&&e.children&&(e.children.every((e=>"string"===typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{l._collapse(e)})))}}class c extends l{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new a(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function u(e){return e?"string"===typeof e?e:e.source:null}function d(e){return h("(?=",e,")")}function f(e){return h("(?:",e,")*")}function p(e){return h("(?:",e,")?")}function h(...e){return e.map((e=>u(e))).join("")}function m(...e){const t=function(e){const t=e[e.length-1];return"object"===typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>u(e))).join("|")+")"}function g(e){return new RegExp(e.toString()+"|").exec("").length-1}const v=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function y(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n;let r=u(e),o="";for(;r.length>0;){const e=v.exec(r);if(!e){o+=r;break}o+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?o+="\\"+String(Number(e[1])+t):(o+=e[0],"("===e[0]&&n++)}return o})).map((e=>`(${e})`)).join(t)}const b="[a-zA-Z]\\w*",w="[a-zA-Z_]\\w*",C="\\b\\d+(\\.\\d+)?",x="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",k="\\b(0b[01]+)",_={begin:"\\\\[\\s\\S]",relevance:0},S={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[_]},E={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[_]},M=function(e,t,n={}){const r=o({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=m("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:h(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},L=M("//","$"),N=M("/\\*","\\*/"),O=M("#","$"),A={scope:"number",begin:C,relevance:0},j={scope:"number",begin:x,relevance:0},T={scope:"number",begin:k,relevance:0},Z={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[_,{begin:/\[/,end:/\]/,relevance:0,contains:[_]}]}]},P={scope:"title",begin:b,relevance:0},R={scope:"title",begin:w,relevance:0},I={begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0};var D=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:b,UNDERSCORE_IDENT_RE:w,NUMBER_RE:C,C_NUMBER_RE:x,BINARY_NUMBER_RE:k,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=h(t,/.*\b/,e.binary,/\b.*/)),o({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:_,APOS_STRING_MODE:S,QUOTE_STRING_MODE:E,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:M,C_LINE_COMMENT_MODE:L,C_BLOCK_COMMENT_MODE:N,HASH_COMMENT_MODE:O,NUMBER_MODE:A,C_NUMBER_MODE:j,BINARY_NUMBER_MODE:T,REGEXP_MODE:Z,TITLE_MODE:P,UNDERSCORE_TITLE_MODE:R,METHOD_GUARD:I,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}});function z(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function H(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function B(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=z,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function F(e,t){Array.isArray(e.illegal)&&(e.illegal=m(...e.illegal))}function V(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function q(e,t){void 0===e.relevance&&(e.relevance=1)}const U=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=n.keywords,e.begin=h(n.beforeMatch,d(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},$=["of","and","for","in","not","or","if","then","parent","list","value"];function W(e,t,n="keyword"){const r=Object.create(null);return"string"===typeof e?o(n,e.split(" ")):Array.isArray(e)?o(n,e):Object.keys(e).forEach((function(n){Object.assign(r,W(e[n],t,n))})),r;function o(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|");r[n[0]]=[e,K(n[0],n[1])]}))}}function K(e,t){return t?Number(t):function(e){return $.includes(e.toLowerCase())}(e)?0:1}const G={},Y=e=>{console.error(e)},J=(e,...t)=>{console.log(`WARN: ${e}`,...t)},X=(e,t)=>{G[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),G[`${e}/${t}`]=!0)},Q=new Error;function ee(e,t,{key:n}){let r=0;const o=e[n],i={},a={};for(let s=1;s<=t.length;s++)a[s+r]=o[s],i[s+r]=!0,r+=g(t[s-1]);e[n]=a,e[n]._emit=i,e[n]._multi=!0}function te(e){!function(e){e.scope&&"object"===typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"===typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"===typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Y("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Q;if("object"!==typeof e.beginScope||null===e.beginScope)throw Y("beginScope must be object"),Q;ee(e,e.begin,{key:"beginScope"}),e.begin=y(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Y("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Q;if("object"!==typeof e.endScope||null===e.endScope)throw Y("endScope must be object"),Q;ee(e,e.end,{key:"endScope"}),e.end=y(e.end,{joinWith:""})}}(e)}function ne(e){function t(t,n){return new RegExp(u(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=g(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(y(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return e.classNameAliases=o(e.classNameAliases||{}),function n(i,a){const s=i;if(i.isCompiled)return s;[H,V,te,U].forEach((e=>e(i,a))),e.compilerExtensions.forEach((e=>e(i,a))),i.__beforeBegin=null,[B,F,q].forEach((e=>e(i,a))),i.isCompiled=!0;let l=null;return"object"===typeof i.keywords&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),l=i.keywords.$pattern,delete i.keywords.$pattern),l=l||/\w+/,i.keywords&&(i.keywords=W(i.keywords,e.case_insensitive)),s.keywordPatternRe=t(l,!0),a&&(i.begin||(i.begin=/\B|\b/),s.beginRe=t(s.begin),i.end||i.endsWithParent||(i.end=/\B|\b/),i.end&&(s.endRe=t(s.end)),s.terminatorEnd=u(s.end)||"",i.endsWithParent&&a.terminatorEnd&&(s.terminatorEnd+=(i.end?"|":"")+a.terminatorEnd)),i.illegal&&(s.illegalRe=t(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return o(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(re(e))return o(e,{starts:e.starts?o(e.starts):null});if(Object.isFrozen(e))return o(e);return e}("self"===e?i:e)}))),i.contains.forEach((function(e){n(e,s)})),i.starts&&n(i.starts,a),s.matcher=function(e){const t=new r;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(s),s}(e)}function re(e){return!!e&&(e.endsWithParent||re(e.starts))}class oe extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ie=r,ae=o,se=Symbol("nomatch"),le=function(e){const r=Object.create(null),o=Object.create(null),i=[];let a=!0;const s="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let u={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:c};function g(e){return u.noHighlightRe.test(e)}function v(e,t,n){let r="",o="";"object"===typeof t?(r=e,n=t.ignoreIllegals,o=t.language):(X("10.7.0","highlight(lang, code, ...args) has been deprecated."),X("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),o=e,r=t),void 0===n&&(n=!0);const i={code:r,language:o};E("before:highlight",i);const a=i.result?i.result:y(i.language,i.code,n);return a.code=i.code,E("after:highlight",a),a}function y(e,t,o,i){const l=Object.create(null);function c(){if(!E.keywords)return void L.addText(N);let e=0;E.keywordPatternRe.lastIndex=0;let t=E.keywordPatternRe.exec(N),n="";for(;t;){n+=N.substring(e,t.index);const o=x.case_insensitive?t[0].toLowerCase():t[0],i=(r=o,E.keywords[r]);if(i){const[e,r]=i;if(L.addText(n),n="",l[o]=(l[o]||0)+1,l[o]<=7&&(O+=r),e.startsWith("_"))n+=t[0];else{const n=x.classNameAliases[e]||e;f(t[0],n)}}else n+=t[0];e=E.keywordPatternRe.lastIndex,t=E.keywordPatternRe.exec(N)}var r;n+=N.substring(e),L.addText(n)}function d(){null!=E.subLanguage?function(){if(""===N)return;let e=null;if("string"===typeof E.subLanguage){if(!r[E.subLanguage])return void L.addText(N);e=y(E.subLanguage,N,!0,M[E.subLanguage]),M[E.subLanguage]=e._top}else e=b(N,E.subLanguage.length?E.subLanguage:null);E.relevance>0&&(O+=e.relevance),L.__addSublanguage(e._emitter,e.language)}():c(),N=""}function f(e,t){""!==e&&(L.startScope(t),L.addText(e),L.endScope())}function p(e,t){let n=1;const r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}const r=x.classNameAliases[e[n]]||e[n],o=t[n];r?f(o,r):(N=o,c(),N=""),n++}}function h(e,t){return e.scope&&"string"===typeof e.scope&&L.openNode(x.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(f(N,x.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),N=""):e.beginScope._multi&&(p(e.beginScope,t),N="")),E=Object.create(e,{parent:{value:E}}),E}function m(e,t,r){let o=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(e.endRe,r);if(o){if(e["on:end"]){const r=new n(e);e["on:end"](t,r),r.isMatchIgnored&&(o=!1)}if(o){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return m(e.parent,t,r)}function g(e){return 0===E.matcher.regexIndex?(N+=e[0],1):(T=!0,0)}function v(e){const n=e[0],r=t.substring(e.index),o=m(E,e,r);if(!o)return se;const i=E;E.endScope&&E.endScope._wrap?(d(),f(n,E.endScope._wrap)):E.endScope&&E.endScope._multi?(d(),p(E.endScope,e)):i.skip?N+=n:(i.returnEnd||i.excludeEnd||(N+=n),d(),i.excludeEnd&&(N=n));do{E.scope&&L.closeNode(),E.skip||E.subLanguage||(O+=E.relevance),E=E.parent}while(E!==o.parent);return o.starts&&h(o.starts,e),i.returnEnd?0:n.length}let w={};function C(r,i){const s=i&&i[0];if(N+=r,null==s)return d(),0;if("begin"===w.type&&"end"===i.type&&w.index===i.index&&""===s){if(N+=t.slice(i.index,i.index+1),!a){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=w.rule,t}return 1}if(w=i,"begin"===i.type)return function(e){const t=e[0],r=e.rule,o=new n(r),i=[r.__beforeBegin,r["on:begin"]];for(const n of i)if(n&&(n(e,o),o.isMatchIgnored))return g(t);return r.skip?N+=t:(r.excludeBegin&&(N+=t),d(),r.returnBegin||r.excludeBegin||(N=t)),h(r,e),r.returnBegin?0:t.length}(i);if("illegal"===i.type&&!o){const e=new Error('Illegal lexeme "'+s+'" for mode "'+(E.scope||"<unnamed>")+'"');throw e.mode=E,e}if("end"===i.type){const e=v(i);if(e!==se)return e}if("illegal"===i.type&&""===s)return 1;if(j>1e5&&j>3*i.index){throw new Error("potential infinite loop, way more iterations than matches")}return N+=s,s.length}const x=k(e);if(!x)throw Y(s.replace("{}",e)),new Error('Unknown language: "'+e+'"');const _=ne(x);let S="",E=i||_;const M={},L=new u.__emitter(u);!function(){const e=[];for(let t=E;t!==x;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>L.openNode(e)))}();let N="",O=0,A=0,j=0,T=!1;try{if(x.__emitTokens)x.__emitTokens(t,L);else{for(E.matcher.considerAll();;){j++,T?T=!1:E.matcher.considerAll(),E.matcher.lastIndex=A;const e=E.matcher.exec(t);if(!e)break;const n=C(t.substring(A,e.index),e);A=e.index+n}C(t.substring(A))}return L.finalize(),S=L.toHTML(),{language:e,value:S,relevance:O,illegal:!1,_emitter:L,_top:E}}catch(Z){if(Z.message&&Z.message.includes("Illegal"))return{language:e,value:ie(t),illegal:!0,relevance:0,_illegalBy:{message:Z.message,index:A,context:t.slice(A-100,A+100),mode:Z.mode,resultSoFar:S},_emitter:L};if(a)return{language:e,value:ie(t),illegal:!1,relevance:0,errorRaised:Z,_emitter:L,_top:E};throw Z}}function b(e,t){t=t||u.languages||Object.keys(r);const n=function(e){const t={value:ie(e),illegal:!1,relevance:0,_top:l,_emitter:new u.__emitter(u)};return t._emitter.addText(e),t}(e),o=t.filter(k).filter(S).map((t=>y(t,e,!1)));o.unshift(n);const i=o.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(k(e.language).supersetOf===t.language)return 1;if(k(t.language).supersetOf===e.language)return-1}return 0})),[a,s]=i,c=a;return c.secondBest=s,c}function w(e){let t=null;const n=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=u.languageDetectRe.exec(t);if(n){const t=k(n[1]);return t||(J(s.replace("{}",n[1])),J("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>g(e)||k(e)))}(e);if(g(n))return;if(E("before:highlightElement",{el:e,language:n}),e.children.length>0&&(u.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),u.throwUnescapedHTML)){throw new oe("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e;const r=t.textContent,i=n?v(r,{language:n,ignoreIllegals:!0}):b(r);e.innerHTML=i.value,function(e,t,n){const r=t&&o[t]||n;e.classList.add("hljs"),e.classList.add(`language-${r}`)}(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),E("after:highlightElement",{el:e,result:i,text:r})}let C=!1;function x(){if("loading"===document.readyState)return void(C=!0);document.querySelectorAll(u.cssSelector).forEach(w)}function k(e){return e=(e||"").toLowerCase(),r[e]||r[o[e]]}function _(e,{languageName:t}){"string"===typeof e&&(e=[e]),e.forEach((e=>{o[e.toLowerCase()]=t}))}function S(e){const t=k(e);return t&&!t.disableAutodetect}function E(e,t){const n=e;i.forEach((function(e){e[n]&&e[n](t)}))}"undefined"!==typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){C&&x()}),!1),Object.assign(e,{highlight:v,highlightAuto:b,highlightAll:x,highlightElement:w,highlightBlock:function(e){return X("10.7.0","highlightBlock will be removed entirely in v12.0"),X("10.7.0","Please use highlightElement now."),w(e)},configure:function(e){u=ae(u,e)},initHighlighting:()=>{x(),X("10.6.0","initHighlighting() deprecated.  Use highlightAll() now.")},initHighlightingOnLoad:function(){x(),X("10.6.0","initHighlightingOnLoad() deprecated.  Use highlightAll() now.")},registerLanguage:function(t,n){let o=null;try{o=n(e)}catch(i){if(Y("Language definition for '{}' could not be registered.".replace("{}",t)),!a)throw i;Y(i),o=l}o.name||(o.name=t),r[t]=o,o.rawDefinition=n.bind(null,e),o.aliases&&_(o.aliases,{languageName:t})},unregisterLanguage:function(e){delete r[e];for(const t of Object.keys(o))o[t]===e&&delete o[t]},listLanguages:function(){return Object.keys(r)},getLanguage:k,registerAliases:_,autoDetection:S,inherit:ae,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),i.push(e)},removePlugin:function(e){const t=i.indexOf(e);-1!==t&&i.splice(t,1)}}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString="11.8.0",e.regex={concat:h,lookahead:d,either:m,optional:p,anyNumberOfTimes:f};for(const n in D)"object"===typeof D[n]&&t(D[n]);return Object.assign(e,D),e},ce=le({});ce.newInstance=()=>le({}),e.exports=ce,ce.HighlightJS=ce,ce.default=ce},19830:function(e,t,n){var r;if("function"===typeof fetch&&(r="undefined"!==typeof n.g&&n.g.fetch?n.g.fetch:"undefined"!==typeof window&&window.fetch?window.fetch:fetch),"undefined"===typeof window||"undefined"===typeof window.document){var o=r||n(81816);o.default&&(o=o.default),t.default=o,e.exports=t.default}},23281:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(16798),i=(r=n(68541))&&r.__esModule?r:{default:r};function a(e){return a="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},a(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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,c(r.key),r)}}function c(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}var u=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(e){return JSON.parse(e)},stringify:JSON.stringify,parsePayload:function(e,t,n){return function(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n||"")},parseLoadPayload:function(e,t){},request:i.default,reloadInterval:"undefined"===typeof window&&36e5,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},d=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};s(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}var t,n,r;return t=e,n=[{key:"init",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=(0,o.defaults)(n,this.options||{},u()),this.allOptions=r,this.services&&this.options.reloadInterval&&setInterval((function(){return t.reload()}),this.options.reloadInterval)}},{key:"readMulti",value:function(e,t,n){this._readAny(e,e,t,t,n)}},{key:"read",value:function(e,t,n){this._readAny([e],e,[t],t,n)}},{key:"_readAny",value:function(e,t,n,r,i){var a=this,s=this.options.loadPath;"function"===typeof this.options.loadPath&&(s=this.options.loadPath(e,n)),(s=(0,o.makePromise)(s)).then((function(o){if(!o)return i(null,{});var s=a.services.interpolator.interpolate(o,{lng:e.join("+"),ns:n.join("+")});a.loadUrl(s,i,t,r)}))}},{key:"loadUrl",value:function(e,t,n,r){var o=this,i="string"===typeof n?[n]:n,a="string"===typeof r?[r]:r,s=this.options.parseLoadPayload(i,a);this.options.request(this.options,e,s,(function(i,a){if(a&&(a.status>=500&&a.status<600||!a.status))return t("failed loading "+e+"; status code: "+a.status,!0);if(a&&a.status>=400&&a.status<500)return t("failed loading "+e+"; status code: "+a.status,!1);if(!a&&i&&i.message&&i.message.indexOf("Failed to fetch")>-1)return t("failed loading "+e+": "+i.message,!0);if(i)return t(i,!1);var s,l;try{s="string"===typeof a.data?o.options.parse(a.data,n,r):a.data}catch(c){l="failed parsing "+e+" to json"}if(l)return t(l,!1);t(null,s)}))}},{key:"create",value:function(e,t,n,r,o){var i=this;if(this.options.addPath){"string"===typeof e&&(e=[e]);var a=this.options.parsePayload(t,n,r),s=0,l=[],c=[];e.forEach((function(n){var r=i.options.addPath;"function"===typeof i.options.addPath&&(r=i.options.addPath(n,t));var u=i.services.interpolator.interpolate(r,{lng:n,ns:t});i.options.request(i.options,u,a,(function(t,n){s+=1,l.push(t),c.push(n),s===e.length&&"function"===typeof o&&o(l,c)}))}))}}},{key:"reload",value:function(){var e=this,t=this.services,n=t.backendConnector,r=t.languageUtils,o=t.logger,i=n.language;if(!i||"cimode"!==i.toLowerCase()){var a=[],s=function(e){r.toResolveHierarchy(e).forEach((function(e){a.indexOf(e)<0&&a.push(e)}))};s(i),this.allOptions.preload&&this.allOptions.preload.forEach((function(e){return s(e)})),a.forEach((function(t){e.allOptions.ns.forEach((function(e){n.read(t,e,"read",null,null,(function(r,i){r&&o.warn("loading namespace ".concat(e," for language ").concat(t," failed"),r),!r&&i&&o.log("loaded namespace ".concat(e," for language ").concat(t),i),n.loaded("".concat(t,"|").concat(e),r,i)}))}))}))}}}],n&&l(t.prototype,n),r&&l(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();d.type="backend";var f=d;t.default=f,e.exports=t.default},68541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,i,a=n(16798),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!==typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(19830));function l(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return c="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},c(e)}"function"===typeof fetch&&(r="undefined"!==typeof n.g&&n.g.fetch?n.g.fetch:"undefined"!==typeof window&&window.fetch?window.fetch:fetch),(0,a.hasXMLHttpRequest)()&&("undefined"!==typeof n.g&&n.g.XMLHttpRequest?o=n.g.XMLHttpRequest:"undefined"!==typeof window&&window.XMLHttpRequest&&(o=window.XMLHttpRequest)),"function"===typeof ActiveXObject&&("undefined"!==typeof n.g&&n.g.ActiveXObject?i=n.g.ActiveXObject:"undefined"!==typeof window&&window.ActiveXObject&&(i=window.ActiveXObject)),r||!s||o||i||(r=s.default||s),"function"!==typeof r&&(r=void 0);var u=function(e,t){if(t&&"object"===c(t)){var n="";for(var r in t)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(t[r]);if(!n)return e;e=e+(-1!==e.indexOf("?")?"&":"?")+n.slice(1)}return e},d=function(e,t,n){var o=function(e){if(!e.ok)return n(e.statusText||"Error",{status:e.status});e.text().then((function(t){n(null,{status:e.status,data:t})})).catch(n)};"function"===typeof fetch?fetch(e,t).then(o).catch(n):r(e,t).then(o).catch(n)},f=!1,p=function(e,t,n,s){return"function"===typeof n&&(s=n,n=void 0),s=s||function(){},r&&0!==t.indexOf("file:")?function(e,t,n,r){e.queryStringParams&&(t=u(t,e.queryStringParams));var o=(0,a.defaults)({},"function"===typeof e.customHeaders?e.customHeaders():e.customHeaders);n&&(o["Content-Type"]="application/json");var i="function"===typeof e.requestOptions?e.requestOptions(n):e.requestOptions,s=(0,a.defaults)({method:n?"POST":"GET",body:n?e.stringify(n):void 0,headers:o},f?{}:i);try{d(t,s,r)}catch(l){if(!i||0===Object.keys(i).length||!l.message||l.message.indexOf("not implemented")<0)return r(l);try{Object.keys(i).forEach((function(e){delete s[e]})),d(t,s,r),f=!0}catch(c){r(c)}}}(e,t,n,s):(0,a.hasXMLHttpRequest)()||"function"===typeof ActiveXObject?function(e,t,n,r){n&&"object"===c(n)&&(n=u("",n).slice(1)),e.queryStringParams&&(t=u(t,e.queryStringParams));try{var a;(a=o?new o:new i("MSXML2.XMLHTTP.3.0")).open(n?"POST":"GET",t,1),e.crossDomain||a.setRequestHeader("X-Requested-With","XMLHttpRequest"),a.withCredentials=!!e.withCredentials,n&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.overrideMimeType&&a.overrideMimeType("application/json");var s=e.customHeaders;if(s="function"===typeof s?s():s)for(var l in s)a.setRequestHeader(l,s[l]);a.onreadystatechange=function(){a.readyState>3&&r(a.status>=400?a.statusText:null,{status:a.status,data:a.responseText})},a.send(n)}catch(d){console&&console.log(d)}}(e,t,n,s):void s(new Error("No fetch and no xhr implementation found!"))};t.default=p,e.exports=t.default},16798:function(e,t){"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.defaults=function(e){return o.call(i.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e},t.hasXMLHttpRequest=function(){return"function"===typeof XMLHttpRequest||"object"===("undefined"===typeof XMLHttpRequest?"undefined":n(XMLHttpRequest))},t.makePromise=function(e){if(function(e){return!!e&&"function"===typeof e.then}(e))return e;return Promise.resolve(e)};var r=[],o=r.forEach,i=r.slice},76136: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}})},85872:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},46468:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},81517:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,l,"next",e)}function l(e){r(a,o,i,s,l,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return o}})},73779:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},71374:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(61732);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},36280:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(52601);function o(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(o=function(){return!!e})()}var i=n(57520);function a(e){var t=o();return function(){var n,o=(0,r.Z)(e);if(t){var a=(0,r.Z)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.Z)(this,n)}}},57904:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(61732);function o(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}},2053:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{Z:function(){return r}})},52601:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},45675:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(85716);function o(e,t){if("function"!=typeof t&&null!==t)throw new 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)}},98344: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,{Z:function(){return r}})},62813:function(e,t,n){"use strict";function r(){throw new 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}})},98037:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(57904);function o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},53162:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(97963);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},97963:function(e,t,n){"use strict";function r(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}n.d(t,{Z:function(){return r}})},57520:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(24744),o=n(46468);function i(e,t){if(t&&("object"==(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},69501:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(24744);function o(){o=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),s=new A(r||[]);return a(i,"_invoke",{value:M(e,n,s)}),i}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var h="suspendedStart",m="executing",g="completed",v={};function y(){}function b(){}function w(){}var C={};d(C,l,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(j([])));k&&k!==n&&i.call(k,l)&&(C=k);var _=w.prototype=y.prototype=Object.create(C);function S(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==(0,r.Z)(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var o;a(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function M(t,n,r){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=L(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?g:"suspendedYield",c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=g,r.method="throw",r.arg=c.arg)}}}function L(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function N(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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function j(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(i.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError((0,r.Z)(t)+" is not iterable")}return b.prototype=w,a(_,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:b,configurable:!0}),b.displayName=d(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,d(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},S(E.prototype),d(E.prototype,c,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new E(f(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(_),d(_,u,"Generator"),d(_,l,(function(){return this})),d(_,"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=j,A.prototype={constructor:A,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(O),!t)for(var n in this)"t"===n.charAt(0)&&i.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 r(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;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,v):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),v},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),O(n),v}},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 o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:j(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}},85716: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},r(e,t)}n.d(t,{Z:function(){return r}})},99459:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(85872);var o=n(30124),i=n(62813);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},24769:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(85872),o=n(98344),i=n(30124),a=n(62813);function s(e){return(0,r.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},35047:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(76136);var o=n(98344),i=n(30124);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},61732:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(24744);function o(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},24744: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},r(e)}n.d(t,{Z:function(){return r}})},30124:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(76136);function o(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}}},8160:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},57135:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,l,"next",e)}function l(e){r(a,o,i,s,l,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return o}})},57389: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 r}})},32343:function(e,t,n){"use strict";function r(){return r=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},r.apply(this,arguments)}function o(){return r.apply(this,arguments)}n.d(t,{Z:function(){return o}})},81962:function(e,t,n){"use strict";function r(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}n.d(t,{Z:function(){return r}})},45421: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,{Z:function(){return r}})},72006:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(57389);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){(0,r.Z)(e,t,n[t])}))}return e}},4405:function(e,t,n){"use strict";function r(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);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}n.d(t,{Z:function(){return r}})},77637:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})},59072:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(45421);var o=n(27319);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||(0,r.Z)(e,t)||(0,o.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9970:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(8160);var o=n(45421);var i=n(27319);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27319:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8160);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},75215:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r=n(67635),o=n(28384),i=new class extends r.l{#h;#m;#g;constructor(){super(),this.#g=e=>{if(!o.sk&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#m||this.setEventListener(this.#g)}onUnsubscribe(){this.hasListeners()||(this.#m?.(),this.#m=void 0)}setEventListener(e){this.#g=e,this.#m?.(),this.#m=e((e=>{"boolean"===typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.#h!==e&&(this.#h=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach((t=>{t(e)}))}isFocused(){return"boolean"===typeof this.#h?this.#h:"hidden"!==globalThis.document?.visibilityState}}},40873:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});var r=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},o=e=>setTimeout(e,0);const i=r=>{t?e.push(r):o((()=>{n(r)}))};return{batch:i=>{let a;t++;try{a=i()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))})()}return a},batchCalls:e=>(...t)=>{i((()=>{e(...t)}))},schedule:i,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{o=e}}}()},27339:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var r=n(67635),o=n(28384),i=new class extends r.l{#v=!0;#m;#g;constructor(){super(),this.#g=e=>{if(!o.sk&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#m||this.setEventListener(this.#g)}onUnsubscribe(){this.hasListeners()||(this.#m?.(),this.#m=void 0)}setEventListener(e){this.#g=e,this.#m?.(),this.#m=e(this.setOnline.bind(this))}setOnline(e){this.#v!==e&&(this.#v=e,this.listeners.forEach((t=>{t(e)})))}isOnline(){return this.#v}}},38832:function(e,t,n){"use strict";n.d(t,{A:function(){return s},z:function(){return l}});var r=n(28384),o=n(40873),i=n(39873),a=n(72194),s=class extends a.F{#y;#b;#w;#r;#l;#C;constructor(e){super(),this.#C=!1,this.#l=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#w=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#y=function(e){const t="function"===typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#y,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){this.options={...this.#l,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#w.remove(this)}setData(e,t){const n=(0,r.oE)(this.state.data,e,this.options);return this.#o({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#o({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(r.ZT).catch(r.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#y)}isActive(){return this.observers.some((e=>!1!==(0,r.Nc)(e.options.enabled,this)))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some((e=>e.getCurrentResult().isStale)):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!(0,r.Kp)(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find((e=>e.shouldFetchOnWindowFocus()))?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find((e=>e.shouldFetchOnReconnect()))?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#w.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.#r&&(this.#C?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#w.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}const n=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#C=!0,n.signal)})},a={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{const e=(0,r.cG)(this.options,t),n={queryKey:this.queryKey,meta:this.meta};return o(n),this.#C=!1,this.options.persister?this.options.persister(e,n,this):e(n)}};o(a),this.options.behavior?.onFetch(a,this),this.#b=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===a.fetchOptions?.meta||this.#o({type:"fetch",meta:a.fetchOptions?.meta});const s=e=>{(0,i.DV)(e)&&e.silent||this.#o({type:"error",error:e}),(0,i.DV)(e)||(this.#w.config.onError?.(e,this),this.#w.config.onSettled?.(this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#r=(0,i.Mz)({initialPromise:t?.initialPromise,fn:a.fetchFn,abort:n.abort.bind(n),onSuccess:e=>{if(void 0!==e){try{this.setData(e)}catch(t){return void s(t)}this.#w.config.onSuccess?.(e,this),this.#w.config.onSettled?.(e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1}else s(new Error(`${this.queryHash} data is undefined`))},onError:s,onFail:(e,t)=>{this.#o({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}),this.#r.start()}#o(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...l(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=e.error;return(0,i.DV)(n)&&n.revert&&this.#b?{...this.#b,fetchStatus:"idle"}:{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),o.V.batch((()=>{this.observers.forEach((e=>{e.onQueryUpdate()})),this.#w.notify({query:this,type:"updated",action:e})}))}};function l(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,i.Kw)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}},72194:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(28384),o=class{#x;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.PN)(this.gcTime)&&(this.#x=setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(r.sk?1/0:3e5))}clearGcTimeout(){this.#x&&(clearTimeout(this.#x),this.#x=void 0)}}},39873:function(e,t,n){"use strict";n.d(t,{DV:function(){return u},Kw:function(){return l},Mz:function(){return d}});var r=n(75215),o=n(27339),i=n(65473),a=n(28384);function s(e){return Math.min(1e3*2**e,3e4)}function l(e){return"online"!==(e??"online")||o.N.isOnline()}var c=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function u(e){return e instanceof c}function d(e){let t,n=!1,u=0,d=!1;const f=(0,i.O)(),p=()=>r.j.isFocused()&&("always"===e.networkMode||o.N.isOnline())&&e.canRun(),h=()=>l(e.networkMode)&&e.canRun(),m=n=>{d||(d=!0,e.onSuccess?.(n),t?.(),f.resolve(n))},g=n=>{d||(d=!0,e.onError?.(n),t?.(),f.reject(n))},v=()=>new Promise((n=>{t=e=>{(d||p())&&n(e)},e.onPause?.()})).then((()=>{t=void 0,d||e.onContinue?.()})),y=()=>{if(d)return;let t;const r=0===u?e.initialPromise:void 0;try{t=r??e.fn()}catch(o){t=Promise.reject(o)}Promise.resolve(t).then(m).catch((t=>{if(d)return;const r=e.retry??(a.sk?0:3),o=e.retryDelay??s,i="function"===typeof o?o(u,t):o,l=!0===r||"number"===typeof r&&u<r||"function"===typeof r&&r(u,t);!n&&l?(u++,e.onFail?.(u,t),(0,a._v)(i).then((()=>p()?void 0:v())).then((()=>{n?g(t):y()}))):g(t)}))};return{promise:f,cancel:t=>{d||(g(new c(t)),e.abort?.())},continue:()=>(t?.(),f),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:h,start:()=>(h()?y():v().then(y),f)}}},67635:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},65473:function(e,t,n){"use strict";function r(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch((()=>{})),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}n.d(t,{O:function(){return r}})},28384:function(e,t,n){"use strict";n.d(t,{CN:function(){return _},Ht:function(){return k},KC:function(){return l},Kp:function(){return s},Nc:function(){return c},PN:function(){return a},Rm:function(){return f},SE:function(){return i},VS:function(){return g},VX:function(){return x},X7:function(){return d},Ym:function(){return p},ZT:function(){return o},_v:function(){return w},_x:function(){return u},cG:function(){return S},oE:function(){return C},sk:function(){return r},to:function(){return h}});var r="undefined"===typeof window||"Deno"in globalThis;function o(){}function i(e,t){return"function"===typeof e?e(t):e}function a(e){return"number"===typeof e&&e>=0&&e!==1/0}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t){return"function"===typeof e?e(t):e}function c(e,t){return"function"===typeof e?e(t):e}function u(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a)if(r){if(t.queryHash!==f(a,t.options))return!1}else if(!h(t.queryKey,a))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!==typeof s||t.isStale()===s)&&((!o||o===t.state.fetchStatus)&&!(i&&!i(t)))}function d(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(p(t.options.mutationKey)!==p(i))return!1}else if(!h(t.options.mutationKey,i))return!1}return(!r||t.state.status===r)&&!(o&&!o(t))}function f(e,t){return(t?.queryKeyHashFn||p)(e)}function p(e){return JSON.stringify(e,((e,t)=>y(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function h(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some((n=>!h(e[n],t[n]))))}function m(e,t){if(e===t)return e;const n=v(e)&&v(t);if(n||y(e)&&y(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),a=i.length,s=n?[]:{};let l=0;for(let c=0;c<a;c++){const o=n?c:i[c];(!n&&r.includes(o)||n)&&void 0===e[o]&&void 0===t[o]?(s[o]=void 0,l++):(s[o]=m(e[o],t[o]),s[o]===e[o]&&void 0!==e[o]&&l++)}return o===a&&l===o?e:s}return t}function g(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function y(e){if(!b(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!b(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function b(e){return"[object Object]"===Object.prototype.toString.call(e)}function w(e){return new Promise((t=>{setTimeout(t,e)}))}function C(e,t,n){return"function"===typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?m(e,t):t}function x(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function k(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var _=Symbol();function S(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==_?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}},66014:function(e,t,n){"use strict";n.d(t,{NL:function(){return a},aH:function(){return s}});var r=n(50959),o=n(11527),i=r.createContext(void 0),a=e=>{const t=r.useContext(i);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},s=({client:e,children:t})=>(r.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),(0,o.jsx)(i.Provider,{value:e,children:t}))},40240:function(e,t,n){"use strict";n.d(t,{ML:function(){return st},hj:function(){return ue},vc:function(){return ie},NB:function(){return pt},DK:function(){return ht},nU:function(){return W},XP:function(){return je},N2:function(){return Te},b5:function(){return Ze},qv:function(){return Pe},u9:function(){return ze},QC:function(){return Be},Nl:function(){return H},Jo:function(){return Ae},tI:function(){return Fe},bR:function(){return $e},EG:function(){return We},xh:function(){return be},Cf:function(){return lt},K9:function(){return mt},P1:function(){return q},x2:function(){return ct},Ss:function(){return gt},pr:function(){return Ke},DS:function(){return dt},zK:function(){return ut},S0:function(){return ft}});var r=n(3317),o=n(40344),i=n(1587),a=n(2310),s=n(49485);const l=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function c(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}const u=(e,t,n)=>{let o=c(e,n);if(!o)return!1;let i=h(o);if(!i){let n=o.blockRange(),r=n&&(0,s.k9)(n);return null!=r&&(t&&t(e.tr.lift(n,r).scrollIntoView()),!0)}let l=i.nodeBefore;if(E(e,i,t,-1))return!0;if(0==o.parent.content.size&&(f(l,"end")||r.qv.isSelectable(l)))for(let c=o.depth;;c--){let n=(0,s.dR)(e.doc,o.before(c),o.after(c),a.p2.empty);if(n&&n.slice.size<n.to-n.from){if(t){let o=e.tr.step(n);o.setSelection(f(l,"end")?r.Y1.findFrom(o.doc.resolve(o.mapping.map(i.pos,-1)),-1):r.qv.create(o.doc,i.pos-l.nodeSize)),t(o.scrollIntoView())}return!0}if(1==c||o.node(c-1).childCount>1)break}return!(!l.isAtom||i.depth!=o.depth-1)&&(t&&t(e.tr.delete(i.pos-l.nodeSize,i.pos).scrollIntoView()),!0)};function d(e,t,n){let o=t.nodeBefore,i=t.pos-1;for(;!o.isTextblock;i--){if(o.type.spec.isolating)return!1;let e=o.lastChild;if(!e)return!1;o=e}let l=t.nodeAfter,c=t.pos+1;for(;!l.isTextblock;c++){if(l.type.spec.isolating)return!1;let e=l.firstChild;if(!e)return!1;l=e}let u=(0,s.dR)(e.doc,i,c,a.p2.empty);if(!u||u.from!=i||u instanceof s.Pu&&u.slice.size>=c-i)return!1;if(n){let t=e.tr.step(u);t.setSelection(r.Bs.create(t.doc,i)),n(t.scrollIntoView())}return!0}function f(e,t,n=!1){for(let r=e;r;r="start"==t?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&1!=r.childCount)return!1}return!1}const p=(e,t,n)=>{let{$head:o,empty:i}=e.selection,a=o;if(!i)return!1;if(o.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):o.parentOffset>0)return!1;a=h(o)}let s=a&&a.nodeBefore;return!(!s||!r.qv.isSelectable(s))&&(t&&t(e.tr.setSelection(r.qv.create(e.doc,a.pos-s.nodeSize)).scrollIntoView()),!0)};function h(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function m(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)?null:n}const g=(e,t,n)=>{let o=m(e,n);if(!o)return!1;let i=y(o);if(!i)return!1;let l=i.nodeAfter;if(E(e,i,t,1))return!0;if(0==o.parent.content.size&&(f(l,"start")||r.qv.isSelectable(l))){let n=(0,s.dR)(e.doc,o.before(),o.after(),a.p2.empty);if(n&&n.slice.size<n.to-n.from){if(t){let o=e.tr.step(n);o.setSelection(f(l,"start")?r.Y1.findFrom(o.doc.resolve(o.mapping.map(i.pos)),1):r.qv.create(o.doc,o.mapping.map(i.pos))),t(o.scrollIntoView())}return!0}}return!(!l.isAtom||i.depth!=o.depth-1)&&(t&&t(e.tr.delete(i.pos,i.pos+l.nodeSize).scrollIntoView()),!0)},v=(e,t,n)=>{let{$head:o,empty:i}=e.selection,a=o;if(!i)return!1;if(o.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):o.parentOffset<o.parent.content.size)return!1;a=y(o)}let s=a&&a.nodeAfter;return!(!s||!r.qv.isSelectable(s))&&(t&&t(e.tr.setSelection(r.qv.create(e.doc,a.pos)).scrollIntoView()),!0)};function y(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}const b=(e,t)=>{let{$head:n,$anchor:r}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(r))&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)};function w(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}const C=(e,t)=>{let{$head:n,$anchor:o}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(o))return!1;let i=n.node(-1),a=n.indexAfter(-1),s=w(i.contentMatchAt(a));if(!s||!i.canReplaceWith(a,a,s))return!1;if(t){let o=n.after(),i=e.tr.replaceWith(o,o,s.createAndFill());i.setSelection(r.Y1.near(i.doc.resolve(o),1)),t(i.scrollIntoView())}return!0},x=(e,t)=>{let n=e.selection,{$from:o,$to:i}=n;if(n instanceof r.C1||o.parent.inlineContent||i.parent.inlineContent)return!1;let a=w(i.parent.contentMatchAt(i.indexAfter()));if(!a||!a.isTextblock)return!1;if(t){let n=(!o.parentOffset&&i.index()<i.parent.childCount?o:i).pos,s=e.tr.insert(n,a.createAndFill());s.setSelection(r.Bs.create(s.doc,n+1)),t(s.scrollIntoView())}return!0},k=(e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if((0,s.Ax)(e.doc,r))return t&&t(e.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),o=r&&(0,s.k9)(r);return null!=o&&(t&&t(e.tr.lift(r,o).scrollIntoView()),!0)};const _=(e,t)=>{let{$from:n,$to:o}=e.selection;if(e.selection instanceof r.qv&&e.selection.node.isBlock)return!(!n.parentOffset||!(0,s.Ax)(e.doc,n.pos))&&(t&&t(e.tr.split(n.pos).scrollIntoView()),!0);if(!n.depth)return!1;let i,a,l=[],c=!1,u=!1;for(let r=n.depth;;r--){if(n.node(r).isBlock){c=n.end(r)==n.pos+(n.depth-r),u=n.start(r)==n.pos-(n.depth-r),a=w(n.node(r-1).contentMatchAt(n.indexAfter(r-1)));let e=S&&S(o.parent,c,n);l.unshift(e||(c&&a?{type:a}:null)),i=r;break}if(1==r)return!1;l.unshift(null)}let d=e.tr;(e.selection instanceof r.Bs||e.selection instanceof r.C1)&&d.deleteSelection();let f=d.mapping.map(n.pos),p=(0,s.Ax)(d.doc,f,l.length,l);if(p||(l[0]=a?{type:a}:null,p=(0,s.Ax)(d.doc,f,l.length,l)),d.split(f,l.length,l),!c&&u&&n.node(i).type!=a){let e=d.mapping.map(n.before(i)),t=d.doc.resolve(e);a&&n.node(i-1).canReplaceWith(t.index(),t.index()+1,a)&&d.setNodeMarkup(d.mapping.map(n.before(i)),a)}return t&&t(d.scrollIntoView()),!0};var S;function E(e,t,n,o){let i,l,c=t.nodeBefore,u=t.nodeAfter,d=c.type.spec.isolating||u.type.spec.isolating;if(!d&&function(e,t,n){let r=t.nodeBefore,o=t.nodeAfter,i=t.index();return!!(r&&o&&r.type.compatibleContent(o.type))&&(!r.content.size&&t.parent.canReplace(i-1,i)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!(!t.parent.canReplace(i,i+1)||!o.isTextblock&&!(0,s.Mn)(e.doc,t.pos))&&(n&&n(e.tr.join(t.pos).scrollIntoView()),!0))}(e,t,n))return!0;let p=!d&&t.parent.canReplace(t.index(),t.index()+1);if(p&&(i=(l=c.contentMatchAt(c.childCount)).findWrapping(u.type))&&l.matchType(i[0]||u.type).validEnd){if(n){let r=t.pos+u.nodeSize,o=a.HY.empty;for(let e=i.length-1;e>=0;e--)o=a.HY.from(i[e].create(null,o));o=a.HY.from(c.copy(o));let l=e.tr.step(new s.FC(t.pos-1,r,t.pos,r,new a.p2(o,1,0),i.length,!0)),d=l.doc.resolve(r+2*i.length);d.nodeAfter&&d.nodeAfter.type==c.type&&(0,s.Mn)(l.doc,d.pos)&&l.join(d.pos),n(l.scrollIntoView())}return!0}let h=u.type.spec.isolating||o>0&&d?null:r.Y1.findFrom(t,1),m=h&&h.$from.blockRange(h.$to),g=m&&(0,s.k9)(m);if(null!=g&&g>=t.depth)return n&&n(e.tr.lift(m,g).scrollIntoView()),!0;if(p&&f(u,"start",!0)&&f(c,"end")){let r=c,o=[];for(;o.push(r),!r.isTextblock;)r=r.lastChild;let i=u,l=1;for(;!i.isTextblock;i=i.firstChild)l++;if(r.canReplace(r.childCount,r.childCount,i.content)){if(n){let r=a.HY.empty;for(let e=o.length-1;e>=0;e--)r=a.HY.from(o[e].copy(r));n(e.tr.step(new s.FC(t.pos-o.length,t.pos+u.nodeSize,t.pos+l,t.pos+u.nodeSize-l,new a.p2(r,o.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function M(e){return function(t,n){let o=t.selection,i=e<0?o.$from:o.$to,a=i.depth;for(;i.node(a).isInline;){if(!a)return!1;a--}return!!i.node(a).isTextblock&&(n&&n(t.tr.setSelection(r.Bs.create(t.doc,e<0?i.start(a):i.end(a)))),!0)}}const L=M(-1),N=M(1);function O(e,t=null){return function(n,r){let o=!1;for(let i=0;i<n.selection.ranges.length&&!o;i++){let{$from:{pos:r},$to:{pos:a}}=n.selection.ranges[i];n.doc.nodesBetween(r,a,((r,i)=>{if(o)return!1;if(r.isTextblock&&!r.hasMarkup(e,t))if(r.type==e)o=!0;else{let t=n.doc.resolve(i),r=t.index();o=t.parent.canReplaceWith(r,r+1,e)}}))}if(!o)return!1;if(r){let o=n.tr;for(let r=0;r<n.selection.ranges.length;r++){let{$from:{pos:i},$to:{pos:a}}=n.selection.ranges[r];o.setBlockType(i,a,e,t)}r(o.scrollIntoView())}return!0}}function A(...e){return function(t,n,r){for(let o=0;o<e.length;o++)if(e[o](t,n,r))return!0;return!1}}let j=A(l,u,p),T=A(l,g,v);const Z={Enter:A(b,x,k,_),"Mod-Enter":C,Backspace:j,"Mod-Backspace":j,"Shift-Backspace":j,Delete:T,"Mod-Delete":T,"Mod-a":(e,t)=>(t&&t(e.tr.setSelection(new r.C1(e.doc))),!0)},P={"Ctrl-h":Z.Backspace,"Alt-Backspace":Z["Mod-Backspace"],"Ctrl-d":Z.Delete,"Ctrl-Alt-Backspace":Z["Mod-Delete"],"Alt-Delete":Z["Mod-Delete"],"Alt-d":Z["Mod-Delete"],"Ctrl-a":L,"Ctrl-e":N};for(let vt in Z)P[vt]=Z[vt];"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!("undefined"==typeof os||!os.platform)&&os.platform();function R(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,l=o.blockRange(i),c=!1,u=l;if(!l)return!1;if(l.depth>=2&&o.node(l.depth-1).type.compatibleContent(e)&&0==l.startIndex){if(0==o.index(l.depth-1))return!1;let e=n.doc.resolve(l.start-2);u=new a.Ts(e,e,l.depth),l.endIndex<l.parent.childCount&&(l=new a.Ts(o,n.doc.resolve(i.end(l.depth)),l.depth)),c=!0}let d=(0,s.nd)(u,e,t,l);return!!d&&(r&&r(function(e,t,n,r,o){let i=a.HY.empty;for(let s=n.length-1;s>=0;s--)i=a.HY.from(n[s].type.create(n[s].attrs,i));e.step(new s.FC(t.start-(r?2:0),t.end,t.start,t.end,new a.p2(i,0,0),n.length,!0));let l=0;for(let a=0;a<n.length;a++)n[a].type==o&&(l=a+1);let c=n.length-l,u=t.start+n.length-(r?2:0),d=t.parent;for(let a=t.startIndex,f=t.endIndex,p=!0;a<f;a++,p=!1)!p&&(0,s.Ax)(e.doc,u,c)&&(e.split(u,c),u+=2*c),u+=d.child(a).nodeSize;return e}(n.tr,l,d,c,e).scrollIntoView()),!0)}}function I(e){return function(t,n){let{$from:r,$to:o}=t.selection,i=r.blockRange(o,(t=>t.childCount>0&&t.firstChild.type==e));return!!i&&(!n||(r.node(i.depth-1).type==e?function(e,t,n,r){let o=e.tr,i=r.end,l=r.$to.end(r.depth);i<l&&(o.step(new s.FC(i-1,l,i,l,new a.p2(a.HY.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new a.Ts(o.doc.resolve(r.$from.pos),o.doc.resolve(l),r.depth));const c=(0,s.k9)(r);if(null==c)return!1;o.lift(r,c);let u=o.mapping.map(i,-1)-1;(0,s.Mn)(o.doc,u)&&o.join(u);return t(o.scrollIntoView()),!0}(t,n,e,i):function(e,t,n){let r=e.tr,o=n.parent;for(let a=n.end,s=n.endIndex-1,m=n.startIndex;s>m;s--)a-=o.child(s).nodeSize,r.delete(a-1,a+1);let i=r.doc.resolve(n.start),l=i.nodeAfter;if(r.mapping.map(n.end)!=n.start+i.nodeAfter.nodeSize)return!1;let c=0==n.startIndex,u=n.endIndex==o.childCount,d=i.node(-1),f=i.index(-1);if(!d.canReplace(f+(c?0:1),f+1,l.content.append(u?a.HY.empty:a.HY.from(o))))return!1;let p=i.pos,h=p+l.nodeSize;return r.step(new s.FC(p-(c?1:0),h+(u?1:0),p+1,h-1,new a.p2((c?a.HY.empty:a.HY.from(o.copy(a.HY.empty))).append(u?a.HY.empty:a.HY.from(o.copy(a.HY.empty))),c?0:1,u?0:1),c?0:1)),t(r.scrollIntoView()),!0}(t,n,i)))}}function D(e){const{state:t,transaction:n}=e;let{selection:r}=n,{doc:o}=n,{storedMarks:i}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return i},get selection(){return r},get doc(){return o},get tr(){return r=n.selection,o=n.doc,i=n.storedMarks,n}}}class z{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:t,state:n}=this,{view:r}=t,{tr:o}=n,i=this.buildProps(o);return Object.fromEntries(Object.entries(e).map((([e,t])=>[e,(...e)=>{const n=t(...e)(i);return o.getMeta("preventDispatch")||this.hasCustomState||r.dispatch(o),n}])))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:n,editor:r,state:o}=this,{view:i}=r,a=[],s=!!e,l=e||o.tr,c={...Object.fromEntries(Object.entries(n).map((([e,n])=>[e,(...e)=>{const r=this.buildProps(l,t),o=n(...e)(r);return a.push(o),c}]))),run:()=>(s||!t||l.getMeta("preventDispatch")||this.hasCustomState||i.dispatch(l),a.every((e=>!0===e)))};return c}createCan(e){const{rawCommands:t,state:n}=this,r=e||n.tr,o=this.buildProps(r,false),i=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,(...e)=>t(...e)({...o,dispatch:void 0})])));return{...i,chain:()=>this.createChain(r,false)}}buildProps(e,t=!0){const{rawCommands:n,editor:r,state:o}=this,{view:i}=r,a={tr:e,editor:r,view:i,state:D({state:o,transaction:e}),dispatch:t?()=>{}:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map((([e,t])=>[e,(...e)=>t(...e)(a)])))}};return a}}function H(e,t,n){if(void 0===e.config[t]&&e.parent)return H(e.parent,t,n);if("function"===typeof e.config[t]){return e.config[t].bind({...n,parent:e.parent?H(e.parent,t,n):null})}return e.config[t]}function B(e){return{baseExtensions:e.filter((e=>"extension"===e.type)),nodeExtensions:e.filter((e=>"node"===e.type)),markExtensions:e.filter((e=>"mark"===e.type))}}function F(e){const t=[],{nodeExtensions:n,markExtensions:r}=B(e),o=[...n,...r],i={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return e.forEach((e=>{const n=H(e,"addGlobalAttributes",{name:e.name,options:e.options,storage:e.storage,extensions:o});if(!n)return;n().forEach((e=>{e.types.forEach((n=>{Object.entries(e.attributes).forEach((([e,r])=>{t.push({type:n,name:e,attribute:{...i,...r}})}))}))}))})),o.forEach((e=>{const n={name:e.name,options:e.options,storage:e.storage},r=H(e,"addAttributes",n);if(!r)return;const o=r();Object.entries(o).forEach((([n,r])=>{const o={...i,...r};"function"===typeof(null===o||void 0===o?void 0:o.default)&&(o.default=o.default()),(null===o||void 0===o?void 0:o.isRequired)&&void 0===(null===o||void 0===o?void 0:o.default)&&delete o.default,t.push({type:e.name,name:n,attribute:o})}))})),t}function V(e,t){if("string"===typeof e){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}function q(...e){return e.filter((e=>!!e)).reduce(((e,t)=>{const n={...e};return Object.entries(t).forEach((([e,t])=>{if(n[e])if("class"===e){const r=t?t.split(" "):[],o=n[e]?n[e].split(" "):[],i=r.filter((e=>!o.includes(e)));n[e]=[...o,...i].join(" ")}else if("style"===e){const r=t?t.split(";").map((e=>e.trim())).filter(Boolean):[],o=n[e]?n[e].split(";").map((e=>e.trim())).filter(Boolean):[],i=new Map;o.forEach((e=>{const[t,n]=e.split(":").map((e=>e.trim()));i.set(t,n)})),r.forEach((e=>{const[t,n]=e.split(":").map((e=>e.trim()));i.set(t,n)})),n[e]=Array.from(i.entries()).map((([e,t])=>`${e}: ${t}`)).join("; ")}else n[e]=t;else n[e]=t})),n}),{})}function U(e,t){return t.filter((t=>t.type===e.type.name)).filter((e=>e.attribute.rendered)).map((t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]})).reduce(((e,t)=>q(e,t)),{})}function $(e){return"function"===typeof e}function W(e,t,...n){return $(e)?t?e.bind(t)(...n):e(...n):e}function K(e,t){return"style"in e?e:{...e,getAttrs:n=>{const r=e.getAttrs?e.getAttrs(n):e.attrs;if(!1===r)return!1;const o=t.reduce(((e,t)=>{const r=t.attribute.parseHTML?t.attribute.parseHTML(n):function(e){return"string"!==typeof e?e:e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):"true"===e||"false"!==e&&e}(n.getAttribute(t.name));return null===r||void 0===r?e:{...e,[t.name]:r}}),{});return{...r,...o}}}}function G(e){return Object.fromEntries(Object.entries(e).filter((([e,t])=>("attrs"!==e||!function(e={}){return 0===Object.keys(e).length&&e.constructor===Object}(t))&&(null!==t&&void 0!==t))))}function Y(e,t){var n;const r=F(e),{nodeExtensions:o,markExtensions:i}=B(e),s=null===(n=o.find((e=>H(e,"topNode"))))||void 0===n?void 0:n.name,l=Object.fromEntries(o.map((n=>{const o=r.filter((e=>e.type===n.name)),i={name:n.name,options:n.options,storage:n.storage,editor:t},a=G({...e.reduce(((e,t)=>{const r=H(t,"extendNodeSchema",i);return{...e,...r?r(n):{}}}),{}),content:W(H(n,"content",i)),marks:W(H(n,"marks",i)),group:W(H(n,"group",i)),inline:W(H(n,"inline",i)),atom:W(H(n,"atom",i)),selectable:W(H(n,"selectable",i)),draggable:W(H(n,"draggable",i)),code:W(H(n,"code",i)),whitespace:W(H(n,"whitespace",i)),defining:W(H(n,"defining",i)),isolating:W(H(n,"isolating",i)),attrs:Object.fromEntries(o.map((e=>{var t;return[e.name,{default:null===(t=null===e||void 0===e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),s=W(H(n,"parseHTML",i));s&&(a.parseDOM=s.map((e=>K(e,o))));const l=H(n,"renderHTML",i);l&&(a.toDOM=e=>l({node:e,HTMLAttributes:U(e,o)}));const c=H(n,"renderText",i);return c&&(a.toText=c),[n.name,a]}))),c=Object.fromEntries(i.map((n=>{const o=r.filter((e=>e.type===n.name)),i={name:n.name,options:n.options,storage:n.storage,editor:t},a=G({...e.reduce(((e,t)=>{const r=H(t,"extendMarkSchema",i);return{...e,...r?r(n):{}}}),{}),inclusive:W(H(n,"inclusive",i)),excludes:W(H(n,"excludes",i)),group:W(H(n,"group",i)),spanning:W(H(n,"spanning",i)),code:W(H(n,"code",i)),attrs:Object.fromEntries(o.map((e=>{var t;return[e.name,{default:null===(t=null===e||void 0===e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),s=W(H(n,"parseHTML",i));s&&(a.parseDOM=s.map((e=>K(e,o))));const l=H(n,"renderHTML",i);return l&&(a.toDOM=e=>l({mark:e,HTMLAttributes:U(e,o)})),[n.name,a]})));return new a.V_({topNode:s,nodes:l,marks:c})}function J(e,t){return t.nodes[e]||t.marks[e]||null}function X(e,t){return Array.isArray(t)?t.some((t=>("string"===typeof t?t:t.name)===e.name)):t}function Q(e){return"[object RegExp]"===Object.prototype.toString.call(e)}class ee{constructor(e){this.find=e.find,this.handler=e.handler}}function te(e){var t;const{editor:n,from:r,to:o,text:i,rules:a,plugin:s}=e,{view:l}=n;if(l.composing)return!1;const c=l.state.doc.resolve(r);if(c.parent.type.spec.code||(null===(t=c.nodeBefore||c.nodeAfter)||void 0===t?void 0:t.marks.find((e=>e.type.spec.code))))return!1;let u=!1;const d=((e,t=500)=>{let n="";const r=e.parentOffset;return e.parent.nodesBetween(Math.max(0,r-t),r,((e,t,o,i)=>{var a,s;const l=(null===(s=(a=e.type.spec).toText)||void 0===s?void 0:s.call(a,{node:e,pos:t,parent:o,index:i}))||e.textContent||"%leaf%";n+=e.isAtom&&!e.isText?l:l.slice(0,Math.max(0,r-t))})),n})(c)+i;return a.forEach((e=>{if(u)return;const t=((e,t)=>{if(Q(t))return t.exec(e);const n=t(e);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=e,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r})(d,e.find);if(!t)return;const a=l.state.tr,c=D({state:l.state,transaction:a}),f={from:r-(t[0].length-i.length),to:o},{commands:p,chain:h,can:m}=new z({editor:n,state:c});null!==e.handler({state:c,range:f,match:t,commands:p,chain:h,can:m})&&a.steps.length&&(a.setMeta(s,{transform:a,from:r,to:o,text:i}),l.dispatch(a),u=!0)})),u}function ne(e){const{editor:t,rules:n}=e,o=new r.Sy({state:{init:()=>null,apply(e,r){const i=e.getMeta(o);if(i)return i;const a=e.getMeta("applyInputRules");return!!a&&setTimeout((()=>{const{from:e,text:r}=a,i=e+r.length;te({editor:t,from:e,to:i,text:r,rules:n,plugin:o})})),e.selectionSet||e.docChanged?null:r}},props:{handleTextInput:(e,r,i,a)=>te({editor:t,from:r,to:i,text:a,rules:n,plugin:o}),handleDOMEvents:{compositionend:e=>(setTimeout((()=>{const{$cursor:r}=e.state.selection;r&&te({editor:t,from:r.pos,to:r.pos,text:"",rules:n,plugin:o})})),!1)},handleKeyDown(e,r){if("Enter"!==r.key)return!1;const{$cursor:i}=e.state.selection;return!!i&&te({editor:t,from:i.pos,to:i.pos,text:"\n",rules:n,plugin:o})}},isInputRules:!0});return o}function re(e){return"Object"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function oe(e,t){const n={...e};return re(e)&&re(t)&&Object.keys(t).forEach((r=>{re(t[r])&&re(e[r])?n[r]=oe(e[r],t[r]):n[r]=t[r]})),n}class ie{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=W(H(this,"addOptions",{name:this.name}))),this.storage=W(H(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new ie(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>oe(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new ie(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=W(H(t,"addOptions",{name:t.name})),t.storage=W(H(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:n}=e.state,r=e.state.selection.$from;if(r.pos===r.end()){const o=r.marks();if(!!!o.find((e=>(null===e||void 0===e?void 0:e.type.name)===t.name)))return!1;const i=o.find((e=>(null===e||void 0===e?void 0:e.type.name)===t.name));return i&&n.removeStoredMark(i),n.insertText(" ",r.pos),e.view.dispatch(n),!0}return!1}}class ae{constructor(e){this.find=e.find,this.handler=e.handler}}function se(e){const{editor:t,state:n,from:r,to:o,rule:i,pasteEvent:a,dropEvent:s}=e,{commands:l,chain:c,can:u}=new z({editor:t,state:n}),d=[];n.doc.nodesBetween(r,o,((e,t)=>{if(!e.isTextblock||e.type.spec.code)return;const f=Math.max(r,t),p=Math.min(o,t+e.content.size);((e,t,n)=>{if(Q(t))return[...e.matchAll(t)];const r=t(e,n);return r?r.map((t=>{const n=[t.text];return n.index=t.index,n.input=e,n.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),n.push(t.replaceWith)),n})):[]})(e.textBetween(f-t,p-t,void 0,"\ufffc"),i.find,a).forEach((e=>{if(void 0===e.index)return;const t=f+e.index+1,r=t+e[0].length,o={from:n.tr.mapping.map(t),to:n.tr.mapping.map(r)},p=i.handler({state:n,range:o,match:e,commands:l,chain:c,can:u,pasteEvent:a,dropEvent:s});d.push(p)}))}));return d.every((e=>null!==e))}function le(e){const{editor:t,rules:n}=e;let o=null,i=!1,a=!1,s="undefined"!==typeof ClipboardEvent?new ClipboardEvent("paste"):null,l="undefined"!==typeof DragEvent?new DragEvent("drop"):null;const c=({state:e,from:n,to:r,rule:o,pasteEvt:i})=>{const a=e.tr,c=D({state:e,transaction:a});if(se({editor:t,state:c,from:Math.max(n-1,0),to:r.b-1,rule:o,pasteEvent:i,dropEvent:l})&&a.steps.length)return l="undefined"!==typeof DragEvent?new DragEvent("drop"):null,s="undefined"!==typeof ClipboardEvent?new ClipboardEvent("paste"):null,a};return n.map((e=>new r.Sy({view(e){const t=t=>{var n;o=(null===(n=e.dom.parentElement)||void 0===n?void 0:n.contains(t.target))?e.dom.parentElement:null};return window.addEventListener("dragstart",t),{destroy(){window.removeEventListener("dragstart",t)}}},props:{handleDOMEvents:{drop:(e,t)=>(a=o===e.dom.parentElement,l=t,!1),paste:(e,t)=>{var n;const r=null===(n=t.clipboardData)||void 0===n?void 0:n.getData("text/html");return s=t,i=!!(null===r||void 0===r?void 0:r.includes("data-pm-slice")),!1}}},appendTransaction:(t,n,r)=>{const o=t[0],l="paste"===o.getMeta("uiEvent")&&!i,u="drop"===o.getMeta("uiEvent")&&!a,d=o.getMeta("applyPasteRules"),f=!!d;if(!l&&!u&&!f)return;if(f){const{from:t,text:n}=d,o=t+n.length,i=(e=>{var t;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return null===(t=n.clipboardData)||void 0===t||t.setData("text/html",e),n})(n);return c({rule:e,state:r,from:t,to:{b:o},pasteEvt:i})}const p=n.doc.content.findDiffStart(r.doc.content),h=n.doc.content.findDiffEnd(r.doc.content);return"number"===typeof p&&h&&p!==h.b?c({rule:e,state:r,from:p,to:h,pasteEvt:s}):void 0}})))}class ce{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=ce.resolve(e),this.schema=Y(this.extensions,t),this.setupExtensions()}static resolve(e){const t=ce.sort(ce.flatten(e)),n=function(e){const t=e.filter(((t,n)=>e.indexOf(t)!==n));return Array.from(new Set(t))}(t.map((e=>e.name)));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map((e=>`'${e}'`)).join(", ")}]. This can lead to issues.`),t}static flatten(e){return e.map((e=>{const t=H(e,"addExtensions",{name:e.name,options:e.options,storage:e.storage});return t?[e,...this.flatten(t())]:e})).flat(10)}static sort(e){return e.sort(((e,t)=>{const n=H(e,"priority")||100,r=H(t,"priority")||100;return n>r?-1:n<r?1:0}))}get commands(){return this.extensions.reduce(((e,t)=>{const n=H(t,"addCommands",{name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:J(t.name,this.schema)});return n?{...e,...n()}:e}),{})}get plugins(){const{editor:e}=this,t=ce.sort([...this.extensions].reverse()),n=[],r=[],o=t.map((t=>{const o={name:t.name,options:t.options,storage:t.storage,editor:e,type:J(t.name,this.schema)},a=[],s=H(t,"addKeyboardShortcuts",o);let l={};if("mark"===t.type&&H(t,"exitable",o)&&(l.ArrowRight=()=>ie.handleExit({editor:e,mark:t})),s){const t=Object.fromEntries(Object.entries(s()).map((([t,n])=>[t,()=>n({editor:e})])));l={...l,...t}}const c=(0,i.h)(l);a.push(c);const u=H(t,"addInputRules",o);X(t,e.options.enableInputRules)&&u&&n.push(...u());const d=H(t,"addPasteRules",o);X(t,e.options.enablePasteRules)&&d&&r.push(...d());const f=H(t,"addProseMirrorPlugins",o);if(f){const e=f();a.push(...e)}return a})).flat();return[ne({editor:e,rules:n}),...le({editor:e,rules:r}),...o]}get attributes(){return F(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=B(this.extensions);return Object.fromEntries(t.filter((e=>!!H(e,"addNodeView"))).map((t=>{const n=this.attributes.filter((e=>e.type===t.name)),r={name:t.name,options:t.options,storage:t.storage,editor:e,type:V(t.name,this.schema)},o=H(t,"addNodeView",r);if(!o)return[];return[t.name,(r,i,a,s,l)=>{const c=U(r,n);return o()({node:r,view:i,getPos:a,decorations:s,innerDecorations:l,editor:e,extension:t,HTMLAttributes:c})}]})))}setupExtensions(){this.extensions.forEach((e=>{var t;this.editor.extensionStorage[e.name]=e.storage;const n={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:J(e.name,this.schema)};if("mark"===e.type){(null===(t=W(H(e,"keepOnSplit",n)))||void 0===t||t)&&this.splittableMarks.push(e.name)}const r=H(e,"onBeforeCreate",n),o=H(e,"onCreate",n),i=H(e,"onUpdate",n),a=H(e,"onSelectionUpdate",n),s=H(e,"onTransaction",n),l=H(e,"onFocus",n),c=H(e,"onBlur",n),u=H(e,"onDestroy",n);r&&this.editor.on("beforeCreate",r),o&&this.editor.on("create",o),i&&this.editor.on("update",i),a&&this.editor.on("selectionUpdate",a),s&&this.editor.on("transaction",s),l&&this.editor.on("focus",l),c&&this.editor.on("blur",c),u&&this.editor.on("destroy",u)}))}}class ue{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=W(H(this,"addOptions",{name:this.name}))),this.storage=W(H(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new ue(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>oe(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new ue({...this.config,...e});return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=W(H(t,"addOptions",{name:t.name})),t.storage=W(H(t,"addStorage",{name:t.name,options:t.options})),t}}function de(e,t,n){const{from:r,to:o}=t,{blockSeparator:i="\n\n",textSerializers:a={}}=n||{};let s="";return e.nodesBetween(r,o,((e,n,l,c)=>{var u;e.isBlock&&n>r&&(s+=i);const d=null===a||void 0===a?void 0:a[e.type.name];if(d)return l&&(s+=d({node:e,pos:n,parent:l,index:c,range:t})),!1;e.isText&&(s+=null===(u=null===e||void 0===e?void 0:e.text)||void 0===u?void 0:u.slice(Math.max(r,n)-n,o-n))})),s}function fe(e){return Object.fromEntries(Object.entries(e.nodes).filter((([,e])=>e.spec.toText)).map((([e,t])=>[e,t.spec.toText])))}const pe=ue.create({name:"clipboardTextSerializer",addOptions:()=>({blockSeparator:void 0}),addProseMirrorPlugins(){return[new r.Sy({key:new r.H$("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:e}=this,{state:t,schema:n}=e,{doc:r,selection:o}=t,{ranges:i}=o,a=Math.min(...i.map((e=>e.$from.pos))),s=Math.max(...i.map((e=>e.$to.pos))),l=fe(n);return de(r,{from:a,to:s},{...void 0!==this.options.blockSeparator?{blockSeparator:this.options.blockSeparator}:{},textSerializers:l})}}})]}});function he(e,t,n={strict:!0}){const r=Object.keys(t);return!r.length||r.every((r=>n.strict?t[r]===e[r]:Q(t[r])?t[r].test(e[r]):t[r]===e[r]))}function me(e,t,n={}){return e.find((e=>e.type===t&&he(e.attrs,n)))}function ge(e,t,n={}){return!!me(e,t,n)}function ve(e,t,n={}){if(!e||!t)return;let r=e.parent.childAfter(e.parentOffset);if(r.node&&r.node.marks.some((e=>e.type===t))||(r=e.parent.childBefore(e.parentOffset)),!r.node||!r.node.marks.some((e=>e.type===t)))return;const o=me([...r.node.marks],t,n);if(!o)return;let i=r.index,a=e.start()+r.offset,s=i+1,l=a+r.node.nodeSize;for(me([...r.node.marks],t,n);i>0&&o.isInSet(e.parent.child(i-1).marks);)i-=1,a-=e.parent.child(i).nodeSize;for(;s<e.parent.childCount&&ge([...e.parent.child(s).marks],t,n);)l+=e.parent.child(s).nodeSize,s+=1;return{from:a,to:l}}function ye(e,t){if("string"===typeof e){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}function be(e){return e instanceof r.Bs}function we(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function Ce(e,t=null){if(!t)return null;const n=r.Y1.atStart(e),o=r.Y1.atEnd(e);if("start"===t||!0===t)return n;if("end"===t)return o;const i=n.from,a=o.to;return"all"===t?r.Bs.create(e,we(0,i,a),we(e.content.size,i,a)):r.Bs.create(e,we(t,i,a),we(t,i,a))}function xe(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const ke=e=>{const t=e.childNodes;for(let n=t.length-1;n>=0;n-=1){const r=t[n];3===r.nodeType&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?e.removeChild(r):1===r.nodeType&&ke(r)}return e};function _e(e){const t=`<body>${e}</body>`,n=(new window.DOMParser).parseFromString(t,"text/html").body;return ke(n)}function Se(e,t,n){n={slice:!0,parseOptions:{},...n};const r="string"===typeof e;if("object"===typeof e&&null!==e)try{if(Array.isArray(e)&&e.length>0)return a.HY.fromArray(e.map((e=>t.nodeFromJSON(e))));const r=t.nodeFromJSON(e);return n.errorOnInvalidContent&&r.check(),r}catch(o){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:o});return console.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",o),Se("",t,n)}if(r){if(n.errorOnInvalidContent){let r=!1,o="";const i=new a.V_({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:e=>(r=!0,o="string"===typeof e?e:e.outerHTML,null)}]}})});if(n.slice?a.aw.fromSchema(i).parseSlice(_e(e),n.parseOptions):a.aw.fromSchema(i).parse(_e(e),n.parseOptions),n.errorOnInvalidContent&&r)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${o}`)})}const r=a.aw.fromSchema(t);return n.slice?r.parseSlice(_e(e),n.parseOptions).content:r.parse(_e(e),n.parseOptions)}return Se("",t,n)}function Ee(){return"undefined"!==typeof navigator&&/Mac/.test(navigator.platform)}function Me(e,t,n={}){const{from:r,to:o,empty:i}=e.selection,a=t?V(t,e.schema):null,s=[];e.doc.nodesBetween(r,o,((e,t)=>{if(e.isText)return;const n=Math.max(r,t),i=Math.min(o,t+e.nodeSize);s.push({node:e,from:n,to:i})}));const l=o-r,c=s.filter((e=>!a||a.name===e.node.type.name)).filter((e=>he(e.node.attrs,n,{strict:!1})));if(i)return!!c.length;return c.reduce(((e,t)=>e+t.to-t.from),0)>=l}function Le(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function Ne(e,t){const n="string"===typeof t?[t]:t;return Object.keys(e).reduce(((t,r)=>(n.includes(r)||(t[r]=e[r]),t)),{})}function Oe(e,t,n={},r={}){return Se(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}function Ae(e,t){const n=ye(t,e.schema),{from:r,to:o,empty:i}=e.selection,a=[];i?(e.storedMarks&&a.push(...e.storedMarks),a.push(...e.selection.$head.marks())):e.doc.nodesBetween(r,o,(e=>{a.push(...e.marks)}));const s=a.find((e=>e.type.name===n.name));return s?{...s.attrs}:{}}function je(e,t){const n=new s.wx(e);return t.forEach((e=>{e.steps.forEach((e=>{n.step(e)}))})),n}function Te(e,t){const n=[];return e.descendants(((e,r)=>{t(e)&&n.push({node:e,pos:r})})),n}function Ze(e,t,n){const r=[];return e.nodesBetween(t.from,t.to,((e,t)=>{n(e)&&r.push({node:e,pos:t})})),r}function Pe(e,t){for(let n=e.depth;n>0;n-=1){const r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}}function Re(e){return t=>Pe(t.$from,e)}function Ie(e,t){const n=a.PW.fromSchema(t).serializeFragment(e),r=document.implementation.createHTMLDocument().createElement("div");return r.appendChild(n),r.innerHTML}function De(e,t){return de(e,{from:0,to:e.content.size},t)}function ze(e,t){const n=Le("string"===typeof t?t:t.name,e.schema);return"node"===n?function(e,t){const n=V(t,e.schema),{from:r,to:o}=e.selection,i=[];e.doc.nodesBetween(r,o,(e=>{i.push(e)}));const a=i.reverse().find((e=>e.type.name===n.name));return a?{...a.attrs}:{}}(e,t):"mark"===n?Ae(e,t):{}}function He(e){const t=function(e,t=JSON.stringify){const n={};return e.filter((e=>{const r=t(e);return!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=!0)}))}(e);return 1===t.length?t:t.filter(((e,n)=>!t.filter(((e,t)=>t!==n)).some((t=>e.oldRange.from>=t.oldRange.from&&e.oldRange.to<=t.oldRange.to&&e.newRange.from>=t.newRange.from&&e.newRange.to<=t.newRange.to))))}function Be(e){const{mapping:t,steps:n}=e,r=[];return t.maps.forEach(((e,o)=>{const i=[];if(e.ranges.length)e.forEach(((e,t)=>{i.push({from:e,to:t})}));else{const{from:e,to:t}=n[o];if(void 0===e||void 0===t)return;i.push({from:e,to:t})}i.forEach((({from:e,to:n})=>{const i=t.slice(o).map(e,-1),a=t.slice(o).map(n),s=t.invert().map(i,-1),l=t.invert().map(a);r.push({oldRange:{from:s,to:l},newRange:{from:i,to:a}})}))})),He(r)}function Fe(e,t,n){const r=[];return e===t?n.resolve(e).marks().forEach((t=>{const o=ve(n.resolve(e),t.type);o&&r.push({mark:t,...o})})):n.nodesBetween(e,t,((e,t)=>{e&&void 0!==(null===e||void 0===e?void 0:e.nodeSize)&&r.push(...e.marks.map((n=>({from:t,to:t+e.nodeSize,mark:n}))))})),r}function Ve(e,t,n){return Object.fromEntries(Object.entries(n).filter((([n])=>{const r=e.find((e=>e.type===t&&e.name===n));return!!r&&r.attribute.keepOnSplit})))}function qe(e,t,n={}){const{empty:r,ranges:o}=e.selection,i=t?ye(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter((e=>!i||i.name===e.type.name)).find((e=>he(e.attrs,n,{strict:!1})));let a=0;const s=[];if(o.forEach((({$from:t,$to:n})=>{const r=t.pos,o=n.pos;e.doc.nodesBetween(r,o,((e,t)=>{if(!e.isText&&!e.marks.length)return;const n=Math.max(r,t),i=Math.min(o,t+e.nodeSize);a+=i-n,s.push(...e.marks.map((e=>({mark:e,from:n,to:i}))))}))})),0===a)return!1;const l=s.filter((e=>!i||i.name===e.mark.type.name)).filter((e=>he(e.mark.attrs,n,{strict:!1}))).reduce(((e,t)=>e+t.to-t.from),0),c=s.filter((e=>!i||e.mark.type!==i&&e.mark.type.excludes(i))).reduce(((e,t)=>e+t.to-t.from),0);return(l>0?l+c:l)>=a}function Ue(e,t){const{nodeExtensions:n}=B(t),r=n.find((t=>t.name===e));if(!r)return!1;const o=W(H(r,"group",{name:r.name,options:r.options,storage:r.storage}));return"string"===typeof o&&o.split(" ").includes("list")}function $e(e,{checkChildren:t=!0,ignoreWhitespace:n=!1}={}){var r;if(n){if("hardBreak"===e.type.name)return!0;if(e.isText)return/^\s*$/m.test(null!==(r=e.text)&&void 0!==r?r:"")}if(e.isText)return!e.text;if(e.isAtom||e.isLeaf)return!1;if(0===e.content.childCount)return!0;if(t){let r=!0;return e.content.forEach((e=>{!1!==r&&($e(e,{ignoreWhitespace:n,checkChildren:t})||(r=!1))})),r}return!1}function We(e){return e instanceof r.qv}function Ke(e,t,n){const r=e.state.doc.content.size,o=we(t,0,r),i=we(n,0,r),a=e.coordsAtPos(o),s=e.coordsAtPos(i,-1),l=Math.min(a.top,s.top),c=Math.max(a.bottom,s.bottom),u=Math.min(a.left,s.left),d=Math.max(a.right,s.right),f={top:l,bottom:c,left:u,right:d,width:d-u,height:c-l,x:u,y:l};return{...f,toJSON:()=>f}}function Ge(e,t){const n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){const r=n.filter((e=>null===t||void 0===t?void 0:t.includes(e.type.name)));e.tr.ensureMarks(r)}}const Ye=(e,t)=>{const n=Re((e=>e.type===t))(e.selection);if(!n)return!0;const r=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===r)return!0;const o=e.doc.nodeAt(r);return n.node.type!==(null===o||void 0===o?void 0:o.type)||!(0,s.Mn)(e.doc,n.pos)||(e.join(n.pos),!0)},Je=(e,t)=>{const n=Re((e=>e.type===t))(e.selection);if(!n)return!0;const r=e.doc.resolve(n.start).after(n.depth);if(void 0===r)return!0;const o=e.doc.nodeAt(r);return n.node.type!==(null===o||void 0===o?void 0:o.type)||!(0,s.Mn)(e.doc,r)||(e.join(r),!0)};var Xe=Object.freeze({__proto__:null,blur:()=>({editor:e,view:t})=>(requestAnimationFrame((()=>{var n;e.isDestroyed||(t.dom.blur(),null===(n=null===window||void 0===window?void 0:window.getSelection())||void 0===n||n.removeAllRanges())})),!0),clearContent:(e=!1)=>({commands:t})=>t.setContent("",e),clearNodes:()=>({state:e,tr:t,dispatch:n})=>{const{selection:r}=t,{ranges:o}=r;return!n||(o.forEach((({$from:n,$to:r})=>{e.doc.nodesBetween(n.pos,r.pos,((e,n)=>{if(e.type.isText)return;const{doc:r,mapping:o}=t,i=r.resolve(o.map(n)),a=r.resolve(o.map(n+e.nodeSize)),l=i.blockRange(a);if(!l)return;const c=(0,s.k9)(l);if(e.type.isTextblock){const{defaultType:e}=i.parent.contentMatchAt(i.index());t.setNodeMarkup(l.start,e)}(c||0===c)&&t.lift(l,c)}))})),!0)},command:e=>t=>e(t),createParagraphNear:()=>({state:e,dispatch:t})=>x(e,t),cut:(e,t)=>({editor:n,tr:o})=>{const{state:i}=n,a=i.doc.slice(e.from,e.to);o.deleteRange(e.from,e.to);const s=o.mapping.map(t);return o.insert(s,a.content),o.setSelection(new r.Bs(o.doc.resolve(s-1))),!0},deleteCurrentNode:()=>({tr:e,dispatch:t})=>{const{selection:n}=e,r=n.$anchor.node();if(r.content.size>0)return!1;const o=e.selection.$anchor;for(let i=o.depth;i>0;i-=1){if(o.node(i).type===r.type){if(t){const t=o.before(i),n=o.after(i);e.delete(t,n).scrollIntoView()}return!0}}return!1},deleteNode:e=>({tr:t,state:n,dispatch:r})=>{const o=V(e,n.schema),i=t.selection.$anchor;for(let e=i.depth;e>0;e-=1){if(i.node(e).type===o){if(r){const n=i.before(e),r=i.after(e);t.delete(n,r).scrollIntoView()}return!0}}return!1},deleteRange:e=>({tr:t,dispatch:n})=>{const{from:r,to:o}=e;return n&&t.delete(r,o),!0},deleteSelection:()=>({state:e,dispatch:t})=>l(e,t),enter:()=>({commands:e})=>e.keyboardShortcut("Enter"),exitCode:()=>({state:e,dispatch:t})=>C(e,t),extendMarkRange:(e,t={})=>({tr:n,state:o,dispatch:i})=>{const a=ye(e,o.schema),{doc:s,selection:l}=n,{$from:c,from:u,to:d}=l;if(i){const e=ve(c,a,t);if(e&&e.from<=u&&e.to>=d){const t=r.Bs.create(s,e.from,e.to);n.setSelection(t)}}return!0},first:e=>t=>{const n="function"===typeof e?e(t):e;for(let e=0;e<n.length;e+=1)if(n[e](t))return!0;return!1},focus:(e=null,t={})=>({editor:n,view:r,tr:o,dispatch:i})=>{t={scrollIntoView:!0,...t};const a=()=>{xe()&&r.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(r.focus(),(null===t||void 0===t?void 0:t.scrollIntoView)&&n.commands.scrollIntoView())}))};if(r.hasFocus()&&null===e||!1===e)return!0;if(i&&null===e&&!be(n.state.selection))return a(),!0;const s=Ce(o.doc,e)||n.state.selection,l=n.state.selection.eq(s);return i&&(l||o.setSelection(s),l&&o.storedMarks&&o.setStoredMarks(o.storedMarks),a()),!0},forEach:(e,t)=>n=>e.every(((e,r)=>t(e,{...n,index:r}))),insertContent:(e,t)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),insertContentAt:(e,t,n)=>({tr:o,dispatch:i,editor:a})=>{var l;if(i){let i;n={parseOptions:a.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};try{i=Se(t,a.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions},errorOnInvalidContent:null!==(l=n.errorOnInvalidContent)&&void 0!==l?l:a.options.enableContentCheck})}catch(c){return a.emit("contentError",{editor:a,error:c,disableCollaboration:()=>{a.storage.collaboration&&(a.storage.collaboration.isDisabled=!0)}}),!1}let{from:u,to:d}="number"===typeof e?{from:e,to:e}:{from:e.from,to:e.to},f=!0,p=!0;if(("type"in i?[i]:i).forEach((e=>{e.check(),f=!!f&&(e.isText&&0===e.marks.length),p=!!p&&e.isBlock})),u===d&&p){const{parent:e}=o.doc.resolve(u);e.isTextblock&&!e.type.spec.code&&!e.childCount&&(u-=1,d+=1)}let h;f?(h=Array.isArray(t)?t.map((e=>e.text||"")).join(""):"object"===typeof t&&t&&t.text?t.text:t,o.insertText(h,u,d)):(h=i,o.replaceWith(u,d,h)),n.updateSelection&&function(e,t,n){const o=e.steps.length-1;if(o<t)return;const i=e.steps[o];if(!(i instanceof s.Pu||i instanceof s.FC))return;const a=e.mapping.maps[o];let l=0;a.forEach(((e,t,n,r)=>{0===l&&(l=r)})),e.setSelection(r.Y1.near(e.doc.resolve(l),n))}(o,o.steps.length-1,-1),n.applyInputRules&&o.setMeta("applyInputRules",{from:u,text:h}),n.applyPasteRules&&o.setMeta("applyPasteRules",{from:u,text:h})}return!0},joinBackward:()=>({state:e,dispatch:t})=>u(e,t),joinDown:()=>({state:e,dispatch:t})=>((e,t)=>{let n,o=e.selection;if(o instanceof r.qv){if(o.node.isTextblock||!(0,s.Mn)(e.doc,o.to))return!1;n=o.to}else if(n=(0,s.GJ)(e.doc,o.to,1),null==n)return!1;return t&&t(e.tr.join(n).scrollIntoView()),!0})(e,t),joinForward:()=>({state:e,dispatch:t})=>g(e,t),joinItemBackward:()=>({state:e,dispatch:t,tr:n})=>{try{const r=(0,s.GJ)(e.doc,e.selection.$from.pos,-1);return null!==r&&void 0!==r&&(n.join(r,2),t&&t(n),!0)}catch(r){return!1}},joinItemForward:()=>({state:e,dispatch:t,tr:n})=>{try{const r=(0,s.GJ)(e.doc,e.selection.$from.pos,1);return null!==r&&void 0!==r&&(n.join(r,2),t&&t(n),!0)}catch(r){return!1}},joinTextblockBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let r=c(e,n);if(!r)return!1;let o=h(r);return!!o&&d(e,o,t)})(e,t),joinTextblockForward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let r=m(e,n);if(!r)return!1;let o=y(r);return!!o&&d(e,o,t)})(e,t),joinUp:()=>({state:e,dispatch:t})=>((e,t)=>{let n,o=e.selection,i=o instanceof r.qv;if(i){if(o.node.isTextblock||!(0,s.Mn)(e.doc,o.from))return!1;n=o.from}else if(n=(0,s.GJ)(e.doc,o.from,-1),null==n)return!1;if(t){let o=e.tr.join(n);i&&o.setSelection(r.qv.create(o.doc,n-e.doc.resolve(n).nodeBefore.nodeSize)),t(o.scrollIntoView())}return!0})(e,t),keyboardShortcut:e=>({editor:t,view:n,tr:r,dispatch:o})=>{const i=function(e){const t=e.split(/-(?!$)/);let n,r,o,i,a=t[t.length-1];"Space"===a&&(a=" ");for(let s=0;s<t.length-1;s+=1){const e=t[s];if(/^(cmd|meta|m)$/i.test(e))i=!0;else if(/^a(lt)?$/i.test(e))n=!0;else if(/^(c|ctrl|control)$/i.test(e))r=!0;else if(/^s(hift)?$/i.test(e))o=!0;else{if(!/^mod$/i.test(e))throw new Error(`Unrecognized modifier name: ${e}`);xe()||Ee()?i=!0:r=!0}}return n&&(a=`Alt-${a}`),r&&(a=`Ctrl-${a}`),i&&(a=`Meta-${a}`),o&&(a=`Shift-${a}`),a}(e).split(/-(?!$)/),a=i.find((e=>!["Alt","Ctrl","Meta","Shift"].includes(e))),s=new KeyboardEvent("keydown",{key:"Space"===a?" ":a,altKey:i.includes("Alt"),ctrlKey:i.includes("Ctrl"),metaKey:i.includes("Meta"),shiftKey:i.includes("Shift"),bubbles:!0,cancelable:!0}),l=t.captureTransaction((()=>{n.someProp("handleKeyDown",(e=>e(n,s)))}));return null===l||void 0===l||l.steps.forEach((e=>{const t=e.map(r.mapping);t&&o&&r.maybeStep(t)})),!0},lift:(e,t={})=>({state:n,dispatch:r})=>!!Me(n,V(e,n.schema),t)&&((e,t)=>{let{$from:n,$to:r}=e.selection,o=n.blockRange(r),i=o&&(0,s.k9)(o);return null!=i&&(t&&t(e.tr.lift(o,i).scrollIntoView()),!0)})(n,r),liftEmptyBlock:()=>({state:e,dispatch:t})=>k(e,t),liftListItem:e=>({state:t,dispatch:n})=>I(V(e,t.schema))(t,n),newlineInCode:()=>({state:e,dispatch:t})=>b(e,t),resetAttributes:(e,t)=>({tr:n,state:r,dispatch:o})=>{let i=null,a=null;const s=Le("string"===typeof e?e:e.name,r.schema);return!!s&&("node"===s&&(i=V(e,r.schema)),"mark"===s&&(a=ye(e,r.schema)),o&&n.selection.ranges.forEach((e=>{r.doc.nodesBetween(e.$from.pos,e.$to.pos,((e,r)=>{i&&i===e.type&&n.setNodeMarkup(r,void 0,Ne(e.attrs,t)),a&&e.marks.length&&e.marks.forEach((o=>{a===o.type&&n.addMark(r,r+e.nodeSize,a.create(Ne(o.attrs,t)))}))}))})),!0)},scrollIntoView:()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),selectAll:()=>({tr:e,commands:t})=>t.setTextSelection({from:0,to:e.doc.content.size}),selectNodeBackward:()=>({state:e,dispatch:t})=>p(e,t),selectNodeForward:()=>({state:e,dispatch:t})=>v(e,t),selectParentNode:()=>({state:e,dispatch:t})=>((e,t)=>{let n,{$from:o,to:i}=e.selection,a=o.sharedDepth(i);return 0!=a&&(n=o.before(a),t&&t(e.tr.setSelection(r.qv.create(e.doc,n))),!0)})(e,t),selectTextblockEnd:()=>({state:e,dispatch:t})=>N(e,t),selectTextblockStart:()=>({state:e,dispatch:t})=>L(e,t),setContent:(e,t=!1,n={},r={})=>({editor:o,tr:i,dispatch:a,commands:s})=>{var l,c;const{doc:u}=i;if("full"!==n.preserveWhitespace){const s=Oe(e,o.schema,n,{errorOnInvalidContent:null!==(l=r.errorOnInvalidContent)&&void 0!==l?l:o.options.enableContentCheck});return a&&i.replaceWith(0,u.content.size,s).setMeta("preventUpdate",!t),!0}return a&&i.setMeta("preventUpdate",!t),s.insertContentAt({from:0,to:u.content.size},e,{parseOptions:n,errorOnInvalidContent:null!==(c=r.errorOnInvalidContent)&&void 0!==c?c:o.options.enableContentCheck})},setMark:(e,t={})=>({tr:n,state:r,dispatch:o})=>{const{selection:i}=n,{empty:a,ranges:s}=i,l=ye(e,r.schema);if(o)if(a){const e=Ae(r,l);n.addStoredMark(l.create({...e,...t}))}else s.forEach((e=>{const o=e.$from.pos,i=e.$to.pos;r.doc.nodesBetween(o,i,((e,r)=>{const a=Math.max(r,o),s=Math.min(r+e.nodeSize,i);e.marks.find((e=>e.type===l))?e.marks.forEach((e=>{l===e.type&&n.addMark(a,s,l.create({...e.attrs,...t}))})):n.addMark(a,s,l.create(t))}))}));return function(e,t,n){var r;const{selection:o}=t;let i=null;if(be(o)&&(i=o.$cursor),i){const t=null!==(r=e.storedMarks)&&void 0!==r?r:i.marks();return!!n.isInSet(t)||!t.some((e=>e.type.excludes(n)))}const{ranges:a}=o;return a.some((({$from:t,$to:r})=>{let o=0===t.depth&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,r.pos,((e,t,r)=>{if(o)return!1;if(e.isInline){const t=!r||r.type.allowsMarkType(n),i=!!n.isInSet(e.marks)||!e.marks.some((e=>e.type.excludes(n)));o=t&&i}return!o})),o}))}(r,n,l)},setMeta:(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),setNode:(e,t={})=>({state:n,dispatch:r,chain:o})=>{const i=V(e,n.schema);return i.isTextblock?o().command((({commands:e})=>!!O(i,t)(n)||e.clearNodes())).command((({state:e})=>O(i,t)(e,r))).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},setNodeSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,o=we(e,0,n.content.size),i=r.qv.create(n,o);t.setSelection(i)}return!0},setTextSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,{from:o,to:i}="number"===typeof e?{from:e,to:e}:e,a=r.Bs.atStart(n).from,s=r.Bs.atEnd(n).to,l=we(o,a,s),c=we(i,a,s),u=r.Bs.create(n,l,c);t.setSelection(u)}return!0},sinkListItem:e=>({state:t,dispatch:n})=>{const r=V(e,t.schema);return(o=r,function(e,t){let{$from:n,$to:r}=e.selection,i=n.blockRange(r,(e=>e.childCount>0&&e.firstChild.type==o));if(!i)return!1;let l=i.startIndex;if(0==l)return!1;let c=i.parent,u=c.child(l-1);if(u.type!=o)return!1;if(t){let n=u.lastChild&&u.lastChild.type==c.type,r=a.HY.from(n?o.create():null),l=new a.p2(a.HY.from(o.create(null,a.HY.from(c.type.create(null,r)))),n?3:1,0),d=i.start,f=i.end;t(e.tr.step(new s.FC(d-(n?3:1),f,d,f,l,1,!0)).scrollIntoView())}return!0})(t,n);var o},splitBlock:({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:o,editor:i})=>{const{selection:a,doc:l}=t,{$from:c,$to:u}=a,d=Ve(i.extensionManager.attributes,c.node().type.name,c.node().attrs);if(a instanceof r.qv&&a.node.isBlock)return!(!c.parentOffset||!(0,s.Ax)(l,c.pos))&&(o&&(e&&Ge(n,i.extensionManager.splittableMarks),t.split(c.pos).scrollIntoView()),!0);if(!c.parent.isBlock)return!1;const f=u.parentOffset===u.parent.content.size,p=0===c.depth?void 0:function(e){for(let t=0;t<e.edgeCount;t+=1){const{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}(c.node(-1).contentMatchAt(c.indexAfter(-1)));let h=f&&p?[{type:p,attrs:d}]:void 0,m=(0,s.Ax)(t.doc,t.mapping.map(c.pos),1,h);if(h||m||!(0,s.Ax)(t.doc,t.mapping.map(c.pos),1,p?[{type:p}]:void 0)||(m=!0,h=p?[{type:p,attrs:d}]:void 0),o){if(m&&(a instanceof r.Bs&&t.deleteSelection(),t.split(t.mapping.map(c.pos),1,h),p&&!f&&!c.parentOffset&&c.parent.type!==p)){const e=t.mapping.map(c.before()),n=t.doc.resolve(e);c.node(-1).canReplaceWith(n.index(),n.index()+1,p)&&t.setNodeMarkup(t.mapping.map(c.before()),p)}e&&Ge(n,i.extensionManager.splittableMarks),t.scrollIntoView()}return m},splitListItem:(e,t={})=>({tr:n,state:o,dispatch:i,editor:l})=>{var c;const u=V(e,o.schema),{$from:d,$to:f}=o.selection,p=o.selection.node;if(p&&p.isBlock||d.depth<2||!d.sameParent(f))return!1;const h=d.node(-1);if(h.type!==u)return!1;const m=l.extensionManager.attributes;if(0===d.parent.content.size&&d.node(-1).childCount===d.indexAfter(-1)){if(2===d.depth||d.node(-3).type!==u||d.index(-2)!==d.node(-2).childCount-1)return!1;if(i){let e=a.HY.empty;const o=d.index(-1)?1:d.index(-2)?2:3;for(let t=d.depth-o;t>=d.depth-3;t-=1)e=a.HY.from(d.node(t).copy(e));const i=d.indexAfter(-1)<d.node(-2).childCount?1:d.indexAfter(-2)<d.node(-3).childCount?2:3,s={...Ve(m,d.node().type.name,d.node().attrs),...t},l=(null===(c=u.contentMatch.defaultType)||void 0===c?void 0:c.createAndFill(s))||void 0;e=e.append(a.HY.from(u.createAndFill(null,l)||void 0));const f=d.before(d.depth-(o-1));n.replace(f,d.after(-i),new a.p2(e,4-o,0));let p=-1;n.doc.nodesBetween(f,n.doc.content.size,((e,t)=>{if(p>-1)return!1;e.isTextblock&&0===e.content.size&&(p=t+1)})),p>-1&&n.setSelection(r.Bs.near(n.doc.resolve(p))),n.scrollIntoView()}return!0}const g=f.pos===d.end()?h.contentMatchAt(0).defaultType:null,v={...Ve(m,h.type.name,h.attrs),...t},y={...Ve(m,d.node().type.name,d.node().attrs),...t};n.delete(d.pos,f.pos);const b=g?[{type:u,attrs:v},{type:g,attrs:y}]:[{type:u,attrs:v}];if(!(0,s.Ax)(n.doc,d.pos,2))return!1;if(i){const{selection:e,storedMarks:t}=o,{splittableMarks:r}=l.extensionManager,a=t||e.$to.parentOffset&&e.$from.marks();if(n.split(d.pos,2,b).scrollIntoView(),!a||!i)return!0;const s=a.filter((e=>r.includes(e.type.name)));n.ensureMarks(s)}return!0},toggleList:(e,t,n,r={})=>({editor:o,tr:i,state:a,dispatch:s,chain:l,commands:c,can:u})=>{const{extensions:d,splittableMarks:f}=o.extensionManager,p=V(e,a.schema),h=V(t,a.schema),{selection:m,storedMarks:g}=a,{$from:v,$to:y}=m,b=v.blockRange(y),w=g||m.$to.parentOffset&&m.$from.marks();if(!b)return!1;const C=Re((e=>Ue(e.type.name,d)))(m);if(b.depth>=1&&C&&b.depth-C.depth<=1){if(C.node.type===p)return c.liftListItem(h);if(Ue(C.node.type.name,d)&&p.validContent(C.node.content)&&s)return l().command((()=>(i.setNodeMarkup(C.pos,p),!0))).command((()=>Ye(i,p))).command((()=>Je(i,p))).run()}return n&&w&&s?l().command((()=>{const e=u().wrapInList(p,r),t=w.filter((e=>f.includes(e.type.name)));return i.ensureMarks(t),!!e||c.clearNodes()})).wrapInList(p,r).command((()=>Ye(i,p))).command((()=>Je(i,p))).run():l().command((()=>!!u().wrapInList(p,r)||c.clearNodes())).wrapInList(p,r).command((()=>Ye(i,p))).command((()=>Je(i,p))).run()},toggleMark:(e,t={},n={})=>({state:r,commands:o})=>{const{extendEmptyMarkRange:i=!1}=n,a=ye(e,r.schema);return qe(r,a,t)?o.unsetMark(a,{extendEmptyMarkRange:i}):o.setMark(a,t)},toggleNode:(e,t,n={})=>({state:r,commands:o})=>{const i=V(e,r.schema),a=V(t,r.schema),s=Me(r,i,n);let l;return r.selection.$anchor.sameParent(r.selection.$head)&&(l=r.selection.$anchor.parent.attrs),s?o.setNode(a,l):o.setNode(i,{...l,...n})},toggleWrap:(e,t={})=>({state:n,commands:r})=>{const o=V(e,n.schema);return Me(n,o,t)?r.lift(o):r.wrapIn(o,t)},undoInputRule:()=>({state:e,dispatch:t})=>{const n=e.plugins;for(let r=0;r<n.length;r+=1){const o=n[r];let i;if(o.spec.isInputRules&&(i=o.getState(e))){if(t){const t=e.tr,n=i.transform;for(let e=n.steps.length-1;e>=0;e-=1)t.step(n.steps[e].invert(n.docs[e]));if(i.text){const n=t.doc.resolve(i.from).marks();t.replaceWith(i.from,i.to,e.schema.text(i.text,n))}else t.delete(i.from,i.to)}return!0}}return!1},unsetAllMarks:()=>({tr:e,dispatch:t})=>{const{selection:n}=e,{empty:r,ranges:o}=n;return r||t&&o.forEach((t=>{e.removeMark(t.$from.pos,t.$to.pos)})),!0},unsetMark:(e,t={})=>({tr:n,state:r,dispatch:o})=>{var i;const{extendEmptyMarkRange:a=!1}=t,{selection:s}=n,l=ye(e,r.schema),{$from:c,empty:u,ranges:d}=s;if(!o)return!0;if(u&&a){let{from:e,to:t}=s;const r=null===(i=c.marks().find((e=>e.type===l)))||void 0===i?void 0:i.attrs,o=ve(c,l,r);o&&(e=o.from,t=o.to),n.removeMark(e,t,l)}else d.forEach((e=>{n.removeMark(e.$from.pos,e.$to.pos,l)}));return n.removeStoredMark(l),!0},updateAttributes:(e,t={})=>({tr:n,state:r,dispatch:o})=>{let i=null,a=null;const s=Le("string"===typeof e?e:e.name,r.schema);return!!s&&("node"===s&&(i=V(e,r.schema)),"mark"===s&&(a=ye(e,r.schema)),o&&n.selection.ranges.forEach((e=>{const o=e.$from.pos,s=e.$to.pos;r.doc.nodesBetween(o,s,((e,r)=>{i&&i===e.type&&n.setNodeMarkup(r,void 0,{...e.attrs,...t}),a&&e.marks.length&&e.marks.forEach((i=>{if(a===i.type){const l=Math.max(r,o),c=Math.min(r+e.nodeSize,s);n.addMark(l,c,a.create({...i.attrs,...t}))}}))}))})),!0)},wrapIn:(e,t={})=>({state:n,dispatch:r})=>function(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,a=o.blockRange(i),l=a&&(0,s.nd)(a,e,t);return!!l&&(r&&r(n.tr.wrap(a,l).scrollIntoView()),!0)}}(V(e,n.schema),t)(n,r),wrapInList:(e,t={})=>({state:n,dispatch:r})=>R(V(e,n.schema),t)(n,r)});const Qe=ue.create({name:"commands",addCommands:()=>({...Xe})}),et=ue.create({name:"drop",addProseMirrorPlugins(){return[new r.Sy({key:new r.H$("tiptapDrop"),props:{handleDrop:(e,t,n,r)=>{this.editor.emit("drop",{editor:this.editor,event:t,slice:n,moved:r})}}})]}}),tt=ue.create({name:"editable",addProseMirrorPlugins(){return[new r.Sy({key:new r.H$("editable"),props:{editable:()=>this.editor.options.editable}})]}}),nt=ue.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:e}=this;return[new r.Sy({key:new r.H$("focusEvents"),props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;const r=e.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return t.dispatch(r),!1},blur:(t,n)=>{e.isFocused=!1;const r=e.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return t.dispatch(r),!1}}}})]}}),rt=ue.create({name:"keymap",addKeyboardShortcuts(){const e=()=>this.editor.commands.first((({commands:e})=>[()=>e.undoInputRule(),()=>e.command((({tr:t})=>{const{selection:n,doc:o}=t,{empty:i,$anchor:a}=n,{pos:s,parent:l}=a,c=a.parent.isTextblock&&s>0?t.doc.resolve(s-1):a,u=c.parent.type.spec.isolating,d=a.pos-a.parentOffset,f=u&&1===c.parent.childCount?d===a.pos:r.Y1.atStart(o).from===s;return!(!i||!l.type.isTextblock||l.textContent.length||!f||f&&"paragraph"===a.parent.type.name)&&e.clearNodes()})),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()])),t=()=>this.editor.commands.first((({commands:e})=>[()=>e.deleteSelection(),()=>e.deleteCurrentNode(),()=>e.joinForward(),()=>e.selectNodeForward()])),n={Enter:()=>this.editor.commands.first((({commands:e})=>[()=>e.newlineInCode(),()=>e.createParagraphNear(),()=>e.liftEmptyBlock(),()=>e.splitBlock()])),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},o={...n},i={...n,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return xe()||Ee()?i:o},addProseMirrorPlugins(){return[new r.Sy({key:new r.H$("clearDocument"),appendTransaction:(e,t,n)=>{const o=e.some((e=>e.docChanged))&&!t.doc.eq(n.doc),i=e.some((e=>e.getMeta("preventClearDocument")));if(!o||i)return;const{empty:a,from:s,to:l}=t.selection,c=r.Y1.atStart(t.doc).from,u=r.Y1.atEnd(t.doc).to;if(a||!(s===c&&l===u))return;if(!$e(n.doc))return;const d=n.tr,f=D({state:n,transaction:d}),{commands:p}=new z({editor:this.editor,state:f});return p.clearNodes(),d.steps.length?d:void 0}})]}}),ot=ue.create({name:"paste",addProseMirrorPlugins(){return[new r.Sy({key:new r.H$("tiptapPaste"),props:{handlePaste:(e,t,n)=>{this.editor.emit("paste",{editor:this.editor,event:t,slice:n})}}})]}}),it=ue.create({name:"tabindex",addProseMirrorPlugins(){return[new r.Sy({key:new r.H$("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});class at{get name(){return this.node.type.name}constructor(e,t,n=!1,r=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=e,this.editor=t,this.currentNode=r}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return null!==(e=this.actualDepth)&&void 0!==e?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,n=this.to;if(this.isBlock){if(0===this.content.size)return void console.error(`You can\u2019t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);t=this.from+1,n=this.to-1}this.editor.commands.insertContentAt({from:t,to:n},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(0===this.depth)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),t=this.resolvedPos.doc.resolve(e);return new at(t,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new at(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new at(e,this.editor)}get children(){const e=[];return this.node.content.forEach(((t,n)=>{const r=t.isBlock&&!t.isTextblock,o=t.isAtom&&!t.isText,i=this.pos+n+(o?0:1),a=this.resolvedPos.doc.resolve(i);if(!r&&a.depth<=this.depth)return;const s=new at(a,this.editor,r,r?t:null);r&&(s.actualDepth=this.depth+1),e.push(new at(a,this.editor,r,r?t:null))})),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,t={}){let n=null,r=this.parent;for(;r&&!n;){if(r.node.type.name===e)if(Object.keys(t).length>0){const e=r.node.attrs,n=Object.keys(t);for(let r=0;r<n.length;r+=1){const o=n[r];if(e[o]!==t[o])break}}else n=r;r=r.parent}return n}querySelector(e,t={}){return this.querySelectorAll(e,t,!0)[0]||null}querySelectorAll(e,t={},n=!1){let r=[];if(!this.children||0===this.children.length)return r;const o=Object.keys(t);return this.children.forEach((i=>{if(!(n&&r.length>0)){if(i.node.type.name===e){o.every((e=>t[e]===i.node.attrs[e]))&&r.push(i)}n&&r.length>0||(r=r.concat(i.querySelectorAll(e,t,n)))}})),r}setAttribute(e){const{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(t)}}class st extends class{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){const n=this.callbacks[e];return n&&n.forEach((e=>e.apply(this,t))),this}off(e,t){const n=this.callbacks[e];return n&&(t?this.callbacks[e]=n.filter((e=>e!==t)):delete this.callbacks[e]),this}removeAllListeners(){this.callbacks={}}}{constructor(e={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:e})=>{throw e},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",(({event:e,slice:t,moved:n})=>this.options.onDrop(e,t,n))),this.on("paste",(({event:e,slice:t})=>this.options.onPaste(e,t))),window.setTimeout((()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)}),0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=function(e,t,n){const r=document.querySelector(`style[data-tiptap-style${n?`-${n}`:""}]`);if(null!==r)return r;const o=document.createElement("style");return t&&o.setAttribute("nonce",t),o.setAttribute("data-tiptap-style"+(n?`-${n}`:""),""),o.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(o),o}('.ProseMirror {\n  position: relative;\n}\n\n.ProseMirror {\n  word-wrap: break-word;\n  white-space: pre-wrap;\n  white-space: break-spaces;\n  -webkit-font-variant-ligatures: none;\n  font-variant-ligatures: none;\n  font-feature-settings: "liga" 0; /* the above doesn\'t seem to work in Edge */\n}\n\n.ProseMirror [contenteditable="false"] {\n  white-space: normal;\n}\n\n.ProseMirror [contenteditable="false"] [contenteditable="true"] {\n  white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n  white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n  display: inline !important;\n  border: none !important;\n  margin: 0 !important;\n  width: 0 !important;\n  height: 0 !important;\n}\n\n.ProseMirror-gapcursor {\n  display: none;\n  pointer-events: none;\n  position: absolute;\n  margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n  content: "";\n  display: block;\n  position: absolute;\n  top: -2px;\n  width: 20px;\n  border-top: 1px solid black;\n  animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n  to {\n    visibility: hidden;\n  }\n}\n\n.ProseMirror-hideselection *::selection {\n  background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n  background: transparent;\n}\n\n.ProseMirror-hideselection * {\n  caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n  display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n  opacity: 0\n}',this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,t){const n=$(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}unregisterPlugin(e){if(this.isDestroyed)return;const t=this.state.plugins;let n=t;if([].concat(e).forEach((e=>{const r="string"===typeof e?`${e}$`:e.key;n=t.filter((e=>!e.key.startsWith(r)))})),t.length===n.length)return;const r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}createExtensionManager(){var e,t;const n=[...this.options.enableCoreExtensions?[tt,pe.configure({blockSeparator:null===(t=null===(e=this.options.coreExtensionOptions)||void 0===e?void 0:e.clipboardTextSerializer)||void 0===t?void 0:t.blockSeparator}),Qe,nt,rt,it,et,ot].filter((e=>"object"!==typeof this.options.enableCoreExtensions||!1!==this.options.enableCoreExtensions[e.name])):[],...this.options.extensions].filter((e=>["extension","node","mark"].includes(null===e||void 0===e?void 0:e.type)));this.extensionManager=new ce(n,this)}createCommandManager(){this.commandManager=new z({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){let e;try{e=Oe(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(i){if(!(i instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(i.message))throw i;this.emit("contentError",{editor:this,error:i,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter((e=>"collaboration"!==e.name)),this.createExtensionManager()}}),e=Oe(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const t=Ce(e,this.options.autofocus);this.view=new o.tk(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:r.yy.create({doc:e,selection:t||void 0})}),this.view.dom.setAttribute("role","textbox"),this.view.dom.getAttribute("aria-label")||this.view.dom.setAttribute("aria-label","Rich-Text Editor");const n=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(n),this.createNodeViews(),this.prependClass();this.view.dom.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction)return this.capturedTransaction?void e.steps.forEach((e=>{var t;return null===(t=this.capturedTransaction)||void 0===t?void 0:t.step(e)})):void(this.capturedTransaction=e);const t=this.state.apply(e),n=!this.state.selection.eq(t.selection);this.emit("beforeTransaction",{editor:this,transaction:e,nextState:t}),this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),n&&this.emit("selectionUpdate",{editor:this,transaction:e});const r=e.getMeta("focus"),o=e.getMeta("blur");r&&this.emit("focus",{editor:this,event:r.event,transaction:e}),o&&this.emit("blur",{editor:this,event:o.event,transaction:e}),e.docChanged&&!e.getMeta("preventUpdate")&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return ze(this.state,e)}isActive(e,t){const n="string"===typeof e?e:null,r="string"===typeof e?t:e;return function(e,t,n={}){if(!t)return Me(e,null,n)||qe(e,null,n);const r=Le(t,e.schema);return"node"===r?Me(e,t,n):"mark"===r&&qe(e,t,n)}(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return Ie(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t="\n\n",textSerializers:n={}}=e||{};return De(this.state.doc,{blockSeparator:t,textSerializers:{...fe(this.schema),...n}})}get isEmpty(){return $e(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const e=this.view.dom;e&&e.editor&&delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(null===(e=this.view)||void 0===e?void 0:e.docView)}$node(e,t){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelector(e,t))||null}$nodes(e,t){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelectorAll(e,t))||null}$pos(e){const t=this.state.doc.resolve(e);return new at(t,this)}get $doc(){return this.$pos(0)}}function lt(e){return new ee({find:e.find,handler:({state:t,range:n,match:r})=>{const o=W(e.getAttributes,void 0,r);if(!1===o||null===o)return null;const{tr:i}=t,a=r[r.length-1],s=r[0];if(a){const r=s.search(/\S/),l=n.from+s.indexOf(a),c=l+a.length;if(Fe(n.from,n.to,t.doc).filter((t=>t.mark.type.excluded.find((n=>n===e.type&&n!==t.mark.type)))).filter((e=>e.to>l)).length)return null;c<n.to&&i.delete(c,n.to),l>n.from&&i.delete(n.from+r,l);const u=n.from+r+a.length;i.addMark(n.from+r,u,e.type.create(o||{})),i.removeStoredMark(e.type)}}})}function ct(e){return new ee({find:e.find,handler:({state:t,range:n,match:r})=>{const o=W(e.getAttributes,void 0,r)||{},{tr:i}=t,a=n.from;let s=n.to;const l=e.type.create(o);if(r[1]){let e=a+r[0].lastIndexOf(r[1]);e>s?e=s:s=e+r[1].length;const t=r[0][r[0].length-1];i.insertText(t,a+r[0].length-1),i.replaceWith(e,s,l)}else if(r[0]){const t=e.type.isInline?a:a-1;i.insert(t,e.type.create(o)).delete(i.mapping.map(a),i.mapping.map(s))}i.scrollIntoView()}})}function ut(e){return new ee({find:e.find,handler:({state:t,range:n,match:r})=>{const o=t.doc.resolve(n.from),i=W(e.getAttributes,void 0,r)||{};if(!o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,i)}})}function dt(e){return new ee({find:e.find,handler:({state:t,range:n,match:r})=>{let o=e.replace,i=n.from;const a=n.to;if(r[1]){const e=r[0].lastIndexOf(r[1]);o+=r[0].slice(e+r[1].length),i+=e;const t=i-a;t>0&&(o=r[0].slice(e-t,e)+o,i=a)}t.tr.insertText(o,i,a)}})}function ft(e){return new ee({find:e.find,handler:({state:t,range:n,match:r,chain:o})=>{const i=W(e.getAttributes,void 0,r)||{},a=t.tr.delete(n.from,n.to),l=a.doc.resolve(n.from).blockRange(),c=l&&(0,s.nd)(l,e.type,i);if(!c)return null;if(a.wrap(l,c),e.keepMarks&&e.editor){const{selection:n,storedMarks:r}=t,{splittableMarks:o}=e.editor.extensionManager,i=r||n.$to.parentOffset&&n.$from.marks();if(i){const e=i.filter((e=>o.includes(e.type.name)));a.ensureMarks(e)}}if(e.keepAttributes){const t="bulletList"===e.type.name||"orderedList"===e.type.name?"listItem":"taskList";o().updateAttributes(t,i).run()}const u=a.doc.resolve(n.from-1).nodeBefore;u&&u.type===e.type&&(0,s.Mn)(a.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(r,u))&&a.join(n.from-1)}})}class pt{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=W(H(this,"addOptions",{name:this.name}))),this.storage=W(H(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new pt(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>oe(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new pt(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=W(H(t,"addOptions",{name:t.name})),t.storage=W(H(t,"addStorage",{name:t.name,options:t.options})),t}}class ht{constructor(e,t,n){this.isDragging=!1,this.component=e,this.editor=t.editor,this.options={stopEvent:null,ignoreMutation:null,...n},this.extension=t.extension,this.node=t.node,this.decorations=t.decorations,this.innerDecorations=t.innerDecorations,this.view=t.view,this.HTMLAttributes=t.HTMLAttributes,this.getPos=t.getPos,this.mount()}mount(){}get dom(){return this.editor.view.dom}get contentDOM(){return null}onDragStart(e){var t,n,o,i,a,s,l;const{view:c}=this.editor,u=e.target,d=3===u.nodeType?null===(t=u.parentElement)||void 0===t?void 0:t.closest("[data-drag-handle]"):u.closest("[data-drag-handle]");if(!this.dom||(null===(n=this.contentDOM)||void 0===n?void 0:n.contains(u))||!d)return;let f=0,p=0;if(this.dom!==d){const t=this.dom.getBoundingClientRect(),n=d.getBoundingClientRect(),r=null!==(o=e.offsetX)&&void 0!==o?o:null===(i=e.nativeEvent)||void 0===i?void 0:i.offsetX,l=null!==(a=e.offsetY)&&void 0!==a?a:null===(s=e.nativeEvent)||void 0===s?void 0:s.offsetY;f=n.x-t.x+r,p=n.y-t.y+l}null===(l=e.dataTransfer)||void 0===l||l.setDragImage(this.dom,f,p);const h=this.getPos();if("number"!==typeof h)return;const m=r.qv.create(c.state.doc,h),g=c.state.tr.setSelection(m);c.dispatch(g)}stopEvent(e){var t;if(!this.dom)return!1;if("function"===typeof this.options.stopEvent)return this.options.stopEvent({event:e});const n=e.target;if(!(this.dom.contains(n)&&!(null===(t=this.contentDOM)||void 0===t?void 0:t.contains(n))))return!1;const o=e.type.startsWith("drag"),i="drop"===e.type;if((["INPUT","BUTTON","SELECT","TEXTAREA"].includes(n.tagName)||n.isContentEditable)&&!i&&!o)return!0;const{isEditable:a}=this.editor,{isDragging:s}=this,l=!!this.node.type.spec.draggable,c=r.qv.isSelectable(this.node),u="copy"===e.type,d="paste"===e.type,f="cut"===e.type,p="mousedown"===e.type;if(!l&&c&&o&&e.preventDefault(),l&&o&&!s)return e.preventDefault(),!1;if(l&&a&&!s&&p){const e=n.closest("[data-drag-handle]");e&&(this.dom===e||this.dom.contains(e))&&(this.isDragging=!0,document.addEventListener("dragend",(()=>{this.isDragging=!1}),{once:!0}),document.addEventListener("drop",(()=>{this.isDragging=!1}),{once:!0}),document.addEventListener("mouseup",(()=>{this.isDragging=!1}),{once:!0}))}return!(s||i||u||d||f||p&&c)}ignoreMutation(e){if(!this.dom||!this.contentDOM)return!0;if("function"===typeof this.options.ignoreMutation)return this.options.ignoreMutation({mutation:e});if(this.node.isLeaf||this.node.isAtom)return!0;if("selection"===e.type)return!1;if(this.dom.contains(e.target)&&"childList"===e.type&&(xe()||"Android"===navigator.platform||/android/i.test(navigator.userAgent))&&this.editor.isFocused){if([...Array.from(e.addedNodes),...Array.from(e.removedNodes)].every((e=>e.isContentEditable)))return!1}return this.contentDOM===e.target&&"attributes"===e.type||!this.contentDOM.contains(e.target)}updateAttributes(e){this.editor.commands.command((({tr:t})=>{const n=this.getPos();return"number"===typeof n&&(t.setNodeMarkup(n,void 0,{...this.node.attrs,...e}),!0)}))}deleteNode(){const e=this.getPos();if("number"!==typeof e)return;const t=e+this.node.nodeSize;this.editor.commands.deleteRange({from:e,to:t})}}function mt(e){return new ae({find:e.find,handler:({state:t,range:n,match:r,pasteEvent:o})=>{const i=W(e.getAttributes,void 0,r,o);if(!1===i||null===i)return null;const{tr:a}=t,s=r[r.length-1],l=r[0];let c=n.to;if(s){const r=l.search(/\S/),o=n.from+l.indexOf(s),u=o+s.length;if(Fe(n.from,n.to,t.doc).filter((t=>t.mark.type.excluded.find((n=>n===e.type&&n!==t.mark.type)))).filter((e=>e.to>o)).length)return null;u<n.to&&a.delete(u,n.to),o>n.from&&a.delete(n.from+r,o),c=n.from+r+s.length,a.addMark(n.from+r,c,e.type.create(i||{})),a.removeStoredMark(e.type)}}})}function gt(e){return new ae({find:e.find,handler({match:t,chain:n,range:r,pasteEvent:o}){const i=W(e.getAttributes,void 0,t,o),a=W(e.getContent,void 0,i);if(!1===i||null===i)return null;const s={type:e.type.name,attrs:i};a&&(s.content=a),t.input&&n().deleteRange(r).insertContentAt(r.from,s)}})}},45667:function(e,t,n){"use strict";n.d(t,{ZP:function(){return s},dn:function(){return s}});var r=n(40240),o=n(3317);const i=/^```([a-z]+)?[\s\n]$/,a=/^~~~([a-z]+)?[\s\n]$/,s=r.NB.create({name:"codeBlock",addOptions:()=>({languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}),content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:e=>{var t;const{languageClassPrefix:n}=this.options,r=[...(null===(t=e.firstElementChild)||void 0===t?void 0:t.classList)||[]].filter((e=>e.startsWith(n))).map((e=>e.replace(n,"")))[0];return r||null},rendered:!1}}},parseHTML:()=>[{tag:"pre",preserveWhitespace:"full"}],renderHTML({node:e,HTMLAttributes:t}){return["pre",(0,r.P1)(this.options.HTMLAttributes,t),["code",{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},addCommands(){return{setCodeBlock:e=>({commands:t})=>t.setNode(this.name,e),toggleCodeBlock:e=>({commands:t})=>t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:e,$anchor:t}=this.editor.state.selection,n=1===t.pos;return!(!e||t.parent.type.name!==this.name)&&(!(!n&&t.parent.textContent.length)&&this.editor.commands.clearNodes())},Enter:({editor:e})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:t}=e,{selection:n}=t,{$from:r,empty:o}=n;if(!o||r.parent.type!==this.type)return!1;const i=r.parentOffset===r.parent.nodeSize-2,a=r.parent.textContent.endsWith("\n\n");return!(!i||!a)&&e.chain().command((({tr:e})=>(e.delete(r.pos-2,r.pos),!0))).exitCode().run()},ArrowDown:({editor:e})=>{if(!this.options.exitOnArrowDown)return!1;const{state:t}=e,{selection:n,doc:r}=t,{$from:i,empty:a}=n;if(!a||i.parent.type!==this.type)return!1;if(!(i.parentOffset===i.parent.nodeSize-2))return!1;const s=i.after();if(void 0===s)return!1;return r.nodeAt(s)?e.commands.command((({tr:e})=>(e.setSelection(o.Y1.near(r.resolve(s))),!0))):e.commands.exitCode()}}},addInputRules(){return[(0,r.zK)({find:i,type:this.type,getAttributes:e=>({language:e[1]})}),(0,r.zK)({find:a,type:this.type,getAttributes:e=>({language:e[1]})})]},addProseMirrorPlugins(){return[new o.Sy({key:new o.H$("codeBlockVSCodeHandler"),props:{handlePaste:(e,t)=>{if(!t.clipboardData)return!1;if(this.editor.isActive(this.type.name))return!1;const n=t.clipboardData.getData("text/plain"),r=t.clipboardData.getData("vscode-editor-data"),i=r?JSON.parse(r):void 0,a=null===i||void 0===i?void 0:i.mode;if(!n||!a)return!1;const{tr:s,schema:l}=e.state,c=l.text(n.replace(/\r\n?/g,"\n"));return s.replaceSelectionWith(this.type.create({language:a},c)),s.selection.$from.parent.type!==this.type&&s.setSelection(o.Bs.near(s.doc.resolve(Math.max(0,s.selection.from-2)))),s.setMeta("paste",!0),e.dispatch(s),!0}}})]}})},14419:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});n(27887);const r=n(40240).hj.create({name:"color",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{color:{default:null,parseHTML:e=>{var t;return null===(t=e.style.color)||void 0===t?void 0:t.replace(/['"]+/g,"")},renderHTML:e=>e.color?{style:`color: ${e.color}`}:{}}}}]},addCommands:()=>({setColor:e=>({chain:t})=>t().setMark("textStyle",{color:e}).run(),unsetColor:()=>({chain:e})=>e().setMark("textStyle",{color:null}).removeEmptyTextStyle().run()})})},53742:function(e,t,n){"use strict";n.d(t,{m:function(){return l},Z:function(){return l}});var r=n(40240),o=n(3317),i=n(49485);function a(e={}){return new o.Sy({view:t=>new s(t,e)})}class s{constructor(e,t){var n;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!==(n=t.width)&&void 0!==n?n:1,this.color=!1===t.color?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map((t=>{let n=e=>{this[t](e)};return e.dom.addEventListener(t,n),{name:t,handler:n}}))}destroy(){this.handlers.forEach((({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t)))}update(e,t){null!=this.cursorPos&&t.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,null==e?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e,t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent;if(n){let n=t.nodeBefore,r=t.nodeAfter;if(n||r){let t=this.editorView.nodeDOM(this.cursorPos-(n?n.nodeSize:0));if(t){let o=t.getBoundingClientRect(),i=n?o.bottom:o.top;n&&r&&(i=(i+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),e={left:o.left,right:o.right,top:i-this.width/2,bottom:i+this.width/2}}}}if(!e){let t=this.editorView.coordsAtPos(this.cursorPos);e={left:t.left-this.width/2,right:t.left+this.width/2,top:t.top,bottom:t.bottom}}let r,o,i=this.editorView.dom.offsetParent;if(this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n),!i||i==document.body&&"static"==getComputedStyle(i).position)r=-pageXOffset,o=-pageYOffset;else{let e=i.getBoundingClientRect();r=e.left-i.scrollLeft,o=e.top-i.scrollTop}this.element.style.left=e.left-r+"px",this.element.style.top=e.top-o+"px",this.element.style.width=e.right-e.left+"px",this.element.style.height=e.bottom-e.top+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout((()=>this.setCursor(null)),e)}dragover(e){if(!this.editorView.editable)return;let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),n=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),r=n&&n.type.spec.disableDropCursor,o="function"==typeof r?r(this.editorView,t,e):r;if(t&&!o){let e=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let t=(0,i.nj)(this.editorView.state.doc,e,this.editorView.dragging.slice);null!=t&&(e=t)}this.setCursor(e),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){e.target!=this.editorView.dom&&this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}const l=r.hj.create({name:"dropCursor",addOptions:()=>({color:"currentColor",width:1,class:void 0}),addProseMirrorPlugins(){return[a(this.options)]}})},54692:function(e,t,n){"use strict";n.d(t,{U:function(){return o},Z:function(){return o}});var r=n(40240);const o=r.NB.create({name:"hardBreak",addOptions:()=>({keepMarks:!0,HTMLAttributes:{}}),inline:!0,group:"inline",selectable:!1,parseHTML:()=>[{tag:"br"}],renderHTML({HTMLAttributes:e}){return["br",(0,r.P1)(this.options.HTMLAttributes,e)]},renderText:()=>"\n",addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:n,editor:r})=>e.first([()=>e.exitCode(),()=>e.command((()=>{const{selection:e,storedMarks:o}=n;if(e.$from.parent.type.spec.isolating)return!1;const{keepMarks:i}=this.options,{splittableMarks:a}=r.extensionManager,s=o||e.$to.parentOffset&&e.$from.marks();return t().insertContent({type:this.name}).command((({tr:e,dispatch:t})=>{if(t&&s&&i){const t=s.filter((e=>a.includes(e.type.name)));e.ensureMarks(t)}return!0})).run()}))])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}})},72577:function(e,t,n){"use strict";n.d(t,{ZP:function(){return a}});var r=n(40240);const o=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/,i=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g,a=r.vc.create({name:"highlight",addOptions:()=>({multicolor:!1,HTMLAttributes:{}}),addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:e=>e.getAttribute("data-color")||e.style.backgroundColor,renderHTML:e=>e.color?{"data-color":e.color,style:`background-color: ${e.color}; color: inherit`}:{}}}:{}},parseHTML:()=>[{tag:"mark"}],renderHTML({HTMLAttributes:e}){return["mark",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setHighlight:e=>({commands:t})=>t.setMark(this.name,e),toggleHighlight:e=>({commands:t})=>t.toggleMark(this.name,e),unsetHighlight:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[(0,r.Cf)({find:o,type:this.type})]},addPasteRules(){return[(0,r.K9)({find:i,type:this.type})]}})},2:function(e,t,n){"use strict";n.d(t,{ZP:function(){return Ue}});var r=n(40240);const o=(e,t)=>{for(const n in t)e[n]=t[n];return e},i="numeric",a="ascii",s="alpha",l="emoji",c="whitespace";function u(e,t){return e in t||(t[e]=[]),t[e]}function d(e,t,n){t.numeric&&(t.asciinumeric=!0,t.alphanumeric=!0),t.ascii&&(t.asciinumeric=!0,t.alpha=!0),t.asciinumeric&&(t.alphanumeric=!0),t.alpha&&(t.alphanumeric=!0),t.alphanumeric&&(t.domain=!0),t.emoji&&(t.domain=!0);for(const r in t){const t=u(r,n);t.indexOf(e)<0&&t.push(e)}}function f(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}f.groups={},f.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let r=0;r<t.jr.length;r++){const n=t.jr[r][0],o=t.jr[r][1];if(o&&n.test(e))return o}return t.jd},has(e,t){return void 0===t&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,n,r){for(let o=0;o<e.length;o++)this.tt(e[o],t,n,r)},tr(e,t,n,r){let o;return r=r||f.groups,t&&t.j?o=t:(o=new f(t),n&&r&&d(t,n,r)),this.jr.push([e,o]),o},ts(e,t,n,r){let o=this;const i=e.length;if(!i)return o;for(let a=0;a<i-1;a++)o=o.tt(e[a]);return o.tt(e[i-1],t,n,r)},tt(e,t,n,r){r=r||f.groups;const i=this;if(t&&t.j)return i.j[e]=t,t;const a=t;let s,l=i.go(e);if(l?(s=new f,o(s.j,l.j),s.jr.push.apply(s.jr,l.jr),s.jd=l.jd,s.t=l.t):s=new f,a){if(r)if(s.t&&"string"===typeof s.t){const e=o(function(e,t){const n={};for(const r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}(s.t,r),n);d(a,e,r)}else n&&d(a,n,r);s.t=a}return i.j[e]=s,s}};const p=(e,t,n,r,o)=>e.ta(t,n,r,o),h=(e,t,n,r,o)=>e.tr(t,n,r,o),m=(e,t,n,r,o)=>e.ts(t,n,r,o),g=(e,t,n,r,o)=>e.tt(t,n,r,o),v="WORD",y="UWORD",b="LOCALHOST",w="TLD",C="UTLD",x="SCHEME",k="SLASH_SCHEME",_="NUM",S="NL",E="OPENBRACE",M="CLOSEBRACE",L="OPENBRACKET",N="CLOSEBRACKET",O="OPENPAREN",A="CLOSEPAREN",j="OPENANGLEBRACKET",T="CLOSEANGLEBRACKET",Z="FULLWIDTHLEFTPAREN",P="FULLWIDTHRIGHTPAREN",R="LEFTCORNERBRACKET",I="RIGHTCORNERBRACKET",D="LEFTWHITECORNERBRACKET",z="RIGHTWHITECORNERBRACKET",H="FULLWIDTHLESSTHAN",B="FULLWIDTHGREATERTHAN",F="AMPERSAND",V="APOSTROPHE",q="ASTERISK",U="AT",$="BACKSLASH",W="BACKTICK",K="CARET",G="COLON",Y="COMMA",J="DOLLAR",X="DOT",Q="EQUALS",ee="EXCLAMATION",te="HYPHEN",ne="PERCENT",re="PIPE",oe="PLUS",ie="POUND",ae="QUERY",se="QUOTE",le="SEMI",ce="SLASH",ue="TILDE",de="UNDERSCORE",fe="EMOJI",pe="SYM";var he=Object.freeze({__proto__:null,WORD:v,UWORD:y,LOCALHOST:b,TLD:w,UTLD:C,SCHEME:x,SLASH_SCHEME:k,NUM:_,WS:"WS",NL:S,OPENBRACE:E,CLOSEBRACE:M,OPENBRACKET:L,CLOSEBRACKET:N,OPENPAREN:O,CLOSEPAREN:A,OPENANGLEBRACKET:j,CLOSEANGLEBRACKET:T,FULLWIDTHLEFTPAREN:Z,FULLWIDTHRIGHTPAREN:P,LEFTCORNERBRACKET:R,RIGHTCORNERBRACKET:I,LEFTWHITECORNERBRACKET:D,RIGHTWHITECORNERBRACKET:z,FULLWIDTHLESSTHAN:H,FULLWIDTHGREATERTHAN:B,AMPERSAND:F,APOSTROPHE:V,ASTERISK:q,AT:U,BACKSLASH:$,BACKTICK:W,CARET:K,COLON:G,COMMA:Y,DOLLAR:J,DOT:X,EQUALS:Q,EXCLAMATION:ee,HYPHEN:te,PERCENT:ne,PIPE:re,PLUS:oe,POUND:ie,QUERY:ae,QUOTE:se,SEMI:le,SLASH:ce,TILDE:ue,UNDERSCORE:de,EMOJI:fe,SYM:pe});const me=/[a-z]/,ge=/\p{L}/u,ve=/\p{Emoji}/u,ye=/\d/,be=/\s/;let we=null,Ce=null;function xe(e,t,n,r,o){let i;const a=t.length;for(let s=0;s<a-1;s++){const n=t[s];e.j[n]?i=e.j[n]:(i=new f(r),i.jr=o.slice(),e.j[n]=i),e=i}return i=new f(n),i.jr=o.slice(),e.j[t[a-1]]=i,i}function ke(e){const t=[],n=[];let r=0;for(;r<e.length;){let o=0;for(;"0123456789".indexOf(e[r+o])>=0;)o++;if(o>0){t.push(n.join(""));for(let t=parseInt(e.substring(r,r+o),10);t>0;t--)n.pop();r+=o}else n.push(e[r]),r++}return t}const _e={defaultProtocol:"http",events:null,format:Ee,formatHref:Ee,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Se(e,t){void 0===t&&(t=null);let n=o({},_e);e&&(n=o(n,e instanceof Se?e.o:e));const r=n.ignoreTags,i=[];for(let o=0;o<r.length;o++)i.push(r[o].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=i}function Ee(e){return e}Se.prototype={o:_e,ignoreTags:[],defaultRender:e=>e,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const r=null!=t;let o=this.o[e];return o?("object"===typeof o?(o=n.t in o?o[n.t]:_e[e],"function"===typeof o&&r&&(o=o(t,n))):"function"===typeof o&&r&&(o=o(t,n.t,n)),o):o},getObj(e,t,n){let r=this.o[e];return"function"===typeof r&&null!=t&&(r=r(t,n.t,n)),r},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};function Me(e,t){this.t="token",this.v=e,this.tk=t}function Le(e,t){class n extends Me{constructor(t,n){super(t,n),this.t=e}}for(const r in t)n.prototype[r]=t[r];return n.t=e,n}Me.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"\u2026":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=_e.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",n,this),i=e.get("tagName",n,t),a=this.toFormattedString(e),s={},l=e.get("className",n,t),c=e.get("target",n,t),u=e.get("rel",n,t),d=e.getObj("attributes",n,t),f=e.getObj("events",n,t);return s.href=r,l&&(s.class=l),c&&(s.target=c),u&&(s.rel=u),d&&o(s,d),{tagName:i,attributes:s,content:a,eventListeners:f}}};const Ne=Le("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Oe=Le("text"),Ae=Le("nl"),je=Le("url",{isLink:!0,toHref(e){return void 0===e&&(e=_e.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==b&&e[1].t===G}});const Te=e=>new f(e);function Ze(e,t,n){const r=n[0].s,o=n[n.length-1].e;return new e(t.slice(r,o),n)}const Pe="undefined"!==typeof console&&console&&console.warn||(()=>{}),Re="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Ie={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function De(e,t){if(void 0===t&&(t=!1),Ie.initialized&&Pe(`linkifyjs: already initialized - will not register custom scheme "${e}" ${Re}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error('linkifyjs: incorrect scheme format.\n1. Must only contain digits, lowercase ASCII letters or "-"\n2. Cannot start or end with "-"\n3. "-" cannot repeat');Ie.customSchemes.push([e,t])}function ze(){Ie.scanner=function(e){void 0===e&&(e=[]);const t={};f.groups=t;const n=new f;null==we&&(we=ke("aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==Ce&&(Ce=ke("\u03b5\u03bb1\u03c52\u0431\u04331\u0435\u043b3\u0434\u0435\u0442\u04384\u0435\u044e2\u043a\u0430\u0442\u043e\u043b\u0438\u043a6\u043e\u043c3\u043c\u043a\u04342\u043e\u043d1\u0441\u043a\u0432\u04306\u043e\u043d\u043b\u0430\u0439\u043d5\u0440\u04333\u0440\u0443\u04412\u04442\u0441\u0430\u0439\u04423\u0440\u04313\u0443\u043a\u04403\u049b\u0430\u04373\u0570\u0561\u05753\u05d9\u05e9\u05e8\u05d0\u05dc5\u05e7\u05d5\u05dd3\u0627\u0628\u0648\u0638\u0628\u064a5\u0631\u0627\u0645\u0643\u06485\u0644\u0627\u0631\u062f\u06464\u0628\u062d\u0631\u064a\u06465\u062c\u0632\u0627\u0626\u06315\u0633\u0639\u0648\u062f\u064a\u06296\u0639\u0644\u064a\u0627\u06465\u0645\u063a\u0631\u06285\u0645\u0627\u0631\u0627\u062a5\u06cc\u0631\u0627\u06465\u0628\u0627\u0631\u062a2\u0632\u0627\u06314\u064a\u062a\u06433\u06be\u0627\u0631\u062a5\u062a\u0648\u0646\u06334\u0633\u0648\u062f\u0627\u06463\u0631\u064a\u06295\u0634\u0628\u0643\u06294\u0639\u0631\u0627\u06422\u06282\u0645\u0627\u06464\u0641\u0644\u0633\u0637\u064a\u06466\u0642\u0637\u06313\u0643\u0627\u062b\u0648\u0644\u064a\u06436\u0648\u06453\u0645\u0635\u06312\u0644\u064a\u0633\u064a\u06275\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u06277\u0642\u06394\u0647\u0645\u0631\u0627\u06475\u067e\u0627\u06a9\u0633\u062a\u0627\u06467\u0680\u0627\u0631\u062a4\u0915\u0949\u092e3\u0928\u0947\u091f3\u092d\u093e\u0930\u09240\u092e\u094d3\u094b\u09245\u0938\u0902\u0917\u0920\u09285\u09ac\u09be\u0982\u09b2\u09be5\u09ad\u09be\u09b0\u09a42\u09f0\u09a44\u0a2d\u0a3e\u0a30\u0a244\u0aad\u0abe\u0ab0\u0aa44\u0b2d\u0b3e\u0b30\u0b244\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe6\u0bb2\u0b99\u0bcd\u0b95\u0bc86\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd11\u0c2d\u0c3e\u0c30\u0c24\u0c4d5\u0cad\u0cbe\u0cb0\u0ca44\u0d2d\u0d3e\u0d30\u0d24\u0d025\u0dbd\u0d82\u0d9a\u0dcf4\u0e04\u0e2d\u0e213\u0e44\u0e17\u0e223\u0ea5\u0eb2\u0ea73\u10d2\u10d42\u307f\u3093\u306a3\u30a2\u30de\u30be\u30f34\u30af\u30e9\u30a6\u30c94\u30b0\u30fc\u30b0\u30eb4\u30b3\u30e02\u30b9\u30c8\u30a23\u30bb\u30fc\u30eb3\u30d5\u30a1\u30c3\u30b7\u30e7\u30f36\u30dd\u30a4\u30f3\u30c84\u4e16\u754c2\u4e2d\u4fe11\u56fd1\u570b1\u6587\u7f513\u4e9a\u9a6c\u900a3\u4f01\u4e1a2\u4f5b\u5c712\u4fe1\u606f2\u5065\u5eb72\u516b\u53662\u516c\u53f81\u76ca2\u53f0\u6e7e1\u70632\u5546\u57ce1\u5e971\u68072\u5609\u91cc0\u5927\u9152\u5e975\u5728\u7ebf2\u5927\u62ff2\u5929\u4e3b\u65593\u5a31\u4e502\u5bb6\u96fb2\u5e7f\u4e1c2\u5fae\u535a2\u6148\u55842\u6211\u7231\u4f603\u624b\u673a2\u62db\u80582\u653f\u52a11\u5e9c2\u65b0\u52a0\u57612\u95fb2\u65f6\u5c1a2\u66f8\u7c4d2\u673a\u67842\u6de1\u9a6c\u95213\u6e38\u620f2\u6fb3\u95802\u70b9\u770b2\u79fb\u52a82\u7ec4\u7ec7\u673a\u67844\u7f51\u57401\u5e971\u7ad91\u7edc2\u8054\u901a2\u8c37\u6b4c2\u8d2d\u72692\u901a\u8ca92\u96c6\u56e22\u96fb\u8a0a\u76c8\u79d14\u98de\u5229\u6d663\u98df\u54c12\u9910\u53852\u9999\u683c\u91cc\u62c93\u6e2f2\ub2f7\ub1371\ucef42\uc0bc\uc1312\ud55c\uad6d2")),g(n,"'",V),g(n,"{",E),g(n,"}",M),g(n,"[",L),g(n,"]",N),g(n,"(",O),g(n,")",A),g(n,"<",j),g(n,">",T),g(n,"\uff08",Z),g(n,"\uff09",P),g(n,"\u300c",R),g(n,"\u300d",I),g(n,"\u300e",D),g(n,"\u300f",z),g(n,"\uff1c",H),g(n,"\uff1e",B),g(n,"&",F),g(n,"*",q),g(n,"@",U),g(n,"`",W),g(n,"^",K),g(n,":",G),g(n,",",Y),g(n,"$",J),g(n,".",X),g(n,"=",Q),g(n,"!",ee),g(n,"-",te),g(n,"%",ne),g(n,"|",re),g(n,"+",oe),g(n,"#",ie),g(n,"?",ae),g(n,'"',se),g(n,"/",ce),g(n,";",le),g(n,"~",ue),g(n,"_",de),g(n,"\\",$);const r=h(n,ye,_,{[i]:!0});h(r,ye,r);const u=h(n,me,v,{[a]:!0});h(u,me,u);const p=h(n,ge,y,{[s]:!0});h(p,me),h(p,ge,p);const _e=h(n,be,"WS",{[c]:!0});g(n,"\n",S,{[c]:!0}),g(_e,"\n"),h(_e,be,_e);const Se=h(n,ve,fe,{[l]:!0});h(Se,ve,Se),g(Se,"\ufe0f",Se);const Ee=g(Se,"\u200d");h(Ee,ve,Se);const Me=[[me,u]],Le=[[me,null],[ge,p]];for(let o=0;o<we.length;o++)xe(n,we[o],w,v,Me);for(let o=0;o<Ce.length;o++)xe(n,Ce[o],C,y,Le);d(w,{tld:!0,ascii:!0},t),d(C,{utld:!0,alpha:!0},t),xe(n,"file",x,v,Me),xe(n,"mailto",x,v,Me),xe(n,"http",k,v,Me),xe(n,"https",k,v,Me),xe(n,"ftp",k,v,Me),xe(n,"ftps",k,v,Me),d(x,{scheme:!0,ascii:!0},t),d(k,{slashscheme:!0,ascii:!0},t),e=e.sort(((e,t)=>e[0]>t[0]?1:-1));for(let o=0;o<e.length;o++){const t=e[o][0],r=e[o][1]?{scheme:!0}:{slashscheme:!0};t.indexOf("-")>=0?r.domain=!0:me.test(t)?ye.test(t)?r.asciinumeric=!0:r.ascii=!0:r.numeric=!0,m(n,t,t,r)}return m(n,"localhost",b,{ascii:!0}),n.jd=new f(pe),{start:n,tokens:o({groups:t},he)}}(Ie.customSchemes);for(let e=0;e<Ie.tokenQueue.length;e++)Ie.tokenQueue[e][1]({scanner:Ie.scanner});Ie.parser=function(e){let{groups:t}=e;const n=t.domain.concat([F,q,U,$,W,K,J,Q,te,_,ne,re,oe,ie,ce,pe,ue,de]),r=[V,G,Y,X,ee,ae,se,le,j,T,E,M,N,L,O,A,Z,P,R,I,D,z,H,B],o=[F,V,q,$,W,K,J,Q,te,E,M,ne,re,oe,ie,ae,ce,pe,ue,de],i=Te(),a=g(i,ue);p(a,o,a),p(a,t.domain,a);const s=Te(),l=Te(),c=Te();p(i,t.domain,s),p(i,t.scheme,l),p(i,t.slashscheme,c),p(s,o,a),p(s,t.domain,s);const u=g(s,U);g(a,U,u),g(l,U,u),g(c,U,u);const d=g(a,X);p(d,o,a),p(d,t.domain,a);const f=Te();p(u,t.domain,f),p(f,t.domain,f);const h=g(f,X);p(h,t.domain,f);const m=Te(Ne);p(h,t.tld,m),p(h,t.utld,m),g(u,b,m);const v=g(f,te);p(v,t.domain,f),p(m,t.domain,f),g(m,X,h),g(m,te,v);const y=g(m,G);p(y,t.numeric,Ne);const w=g(s,te),C=g(s,X);p(w,t.domain,s),p(C,o,a),p(C,t.domain,s);const x=Te(je);p(C,t.tld,x),p(C,t.utld,x),p(x,t.domain,s),p(x,o,a),g(x,X,C),g(x,te,w),g(x,U,u);const k=g(x,G),fe=Te(je);p(k,t.numeric,fe);const me=Te(je),ge=Te();p(me,n,me),p(me,r,ge),p(ge,n,me),p(ge,r,ge),g(x,ce,me),g(fe,ce,me);const ve=g(l,G),ye=g(c,G),be=g(ye,ce),we=g(be,ce);p(l,t.domain,s),g(l,X,C),g(l,te,w),p(c,t.domain,s),g(c,X,C),g(c,te,w),p(ve,t.domain,me),g(ve,ce,me),p(we,t.domain,me),p(we,n,me),g(we,ce,me);const Ce=[[E,M],[L,N],[O,A],[j,T],[Z,P],[R,I],[D,z],[H,B]];for(let b=0;b<Ce.length;b++){const[e,t]=Ce[b],o=g(me,e);g(ge,e,o),g(o,t,me);const i=Te(je);p(o,n,i);const a=Te();p(o,r),p(i,n,i),p(i,r,a),p(a,n,i),p(a,r,a),g(i,t,me),g(a,t,me)}return g(i,b,x),g(i,S,Ae),{start:i,tokens:he}}(Ie.scanner.tokens);for(let e=0;e<Ie.pluginQueue.length;e++)Ie.pluginQueue[e][1]({scanner:Ie.scanner,parser:Ie.parser});Ie.initialized=!0}function He(e){return Ie.initialized||ze(),function(e,t,n){let r=n.length,o=0,i=[],a=[];for(;o<r;){let s=e,l=null,c=null,u=0,d=null,f=-1;for(;o<r&&!(l=s.go(n[o].t));)a.push(n[o++]);for(;o<r&&(c=l||s.go(n[o].t));)l=null,s=c,s.accepts()?(f=0,d=s):f>=0&&f++,o++,u++;if(f<0)o-=u,o<r&&(a.push(n[o]),o++);else{a.length>0&&(i.push(Ze(Oe,t,a)),a=[]),o-=f,u-=f;const e=d.t,r=n.slice(o-u,o);i.push(Ze(e,t,r))}}return a.length>0&&i.push(Ze(Oe,t,a)),i}(Ie.parser.start,e,function(e,t){const n=function(e){const t=[],n=e.length;let r=0;for(;r<n;){let o,i=e.charCodeAt(r),a=i<55296||i>56319||r+1===n||(o=e.charCodeAt(r+1))<56320||o>57343?e[r]:e.slice(r,r+2);t.push(a),r+=a.length}return t}(t.replace(/[A-Z]/g,(e=>e.toLowerCase()))),r=n.length,o=[];let i=0,a=0;for(;a<r;){let s=e,l=null,c=0,u=null,d=-1,f=-1;for(;a<r&&(l=s.go(n[a]));)s=l,s.accepts()?(d=0,f=0,u=s):d>=0&&(d+=n[a].length,f++),c+=n[a].length,i+=n[a].length,a++;i-=d,a-=f,c-=d,o.push({t:u.t,v:t.slice(i-c,i),s:i-c,e:i})}return o}(Ie.scanner.start,e))}function Be(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),t&&"object"===typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const r=new Se(n),o=He(e),i=[];for(let a=0;a<o.length;a++){const e=o[a];!e.isLink||t&&e.t!==t||!r.check(e)||i.push(e.toFormattedObject(r))}return i}var Fe=n(3317);const Ve=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function qe(e,t){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return t&&t.forEach((e=>{const t="string"===typeof e?e:e.scheme;t&&n.push(t)})),!e||e.replace(Ve,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"))}const Ue=r.vc.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.protocols.forEach((e=>{"string"!==typeof e?De(e.scheme,e.optionalSlashes):De(e)}))},onDestroy(){f.groups={},Ie.scanner=null,Ie.parser=null,Ie.tokenQueue=[],Ie.pluginQueue=[],Ie.customSchemes=[],Ie.initialized=!1},inclusive(){return this.options.autolink},addOptions:()=>({openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:e=>!!e}),addAttributes(){return{href:{default:null,parseHTML:e=>e.getAttribute("href")},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href");return!(!t||!qe(t,this.options.protocols))&&null}}]},renderHTML({HTMLAttributes:e}){return qe(e.href,this.options.protocols)?["a",(0,r.P1)(this.options.HTMLAttributes,e),0]:["a",(0,r.P1)(this.options.HTMLAttributes,{...e,href:""}),0]},addCommands(){return{setLink:e=>({chain:t})=>t().setMark(this.name,e).setMeta("preventAutolink",!0).run(),toggleLink:e=>({chain:t})=>t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[(0,r.K9)({find:e=>{const t=[];if(e){const{validate:n}=this.options,r=Be(e).filter((e=>e.isLink&&n(e.value)));r.length&&r.forEach((e=>t.push({text:e.value,data:{href:e.href},index:e.start})))}return t},type:this.type,getAttributes:e=>{var t;return{href:null===(t=e.data)||void 0===t?void 0:t.href}}})]},addProseMirrorPlugins(){const e=[];return this.options.autolink&&e.push(function(e){return new Fe.Sy({key:new Fe.H$("autolink"),appendTransaction:(t,n,o)=>{const i=t.some((e=>e.docChanged))&&!n.doc.eq(o.doc),a=t.some((e=>e.getMeta("preventAutolink")));if(!i||a)return;const{tr:s}=o,l=(0,r.XP)(n.doc,[...t]);return(0,r.QC)(l).forEach((({newRange:t})=>{const n=(0,r.b5)(o.doc,t,(e=>e.isTextblock));let i,a;if(n.length>1?(i=n[0],a=o.doc.textBetween(i.pos,i.pos+i.node.nodeSize,void 0," ")):n.length&&o.doc.textBetween(t.from,t.to," "," ").endsWith(" ")&&(i=n[0],a=o.doc.textBetween(i.pos,t.to,void 0," ")),i&&a){const t=a.split(" ").filter((e=>""!==e));if(t.length<=0)return!1;const n=t[t.length-1],c=i.pos+a.lastIndexOf(n);if(!n)return!1;const u=He(n).map((t=>t.toObject(e.defaultProtocol)));if(!(1===(l=u).length?l[0].isLink:3===l.length&&l[1].isLink&&["()","[]"].includes(l[0].value+l[2].value)))return!1;u.filter((e=>e.isLink)).map((e=>({...e,from:c+e.start+1,to:c+e.end+1}))).filter((e=>!o.schema.marks.code||!o.doc.rangeHasMark(e.from,e.to,o.schema.marks.code))).filter((t=>e.validate(t.value))).forEach((t=>{(0,r.tI)(t.from,t.to,o.doc).some((t=>t.mark.type===e.type))||s.addMark(t.from,t.to,e.type.create({href:t.href}))}))}var l})),s.steps.length?s:void 0}})}({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:this.options.validate})),!0===this.options.openOnClick&&e.push(function(e){return new Fe.Sy({key:new Fe.H$("handleClickLink"),props:{handleClick:(t,n,o)=>{var i,a;if(0!==o.button)return!1;if(!t.editable)return!1;let s=o.target;const l=[];for(;"DIV"!==s.nodeName;)l.push(s),s=s.parentNode;if(!l.find((e=>"A"===e.nodeName)))return!1;const c=(0,r.u9)(t.state,e.type.name),u=o.target,d=null!==(i=null===u||void 0===u?void 0:u.href)&&void 0!==i?i:c.href,f=null!==(a=null===u||void 0===u?void 0:u.target)&&void 0!==a?a:c.target;return!(!u||!d)&&(window.open(d,f),!0)}}})}({type:this.type})),this.options.linkOnPaste&&e.push(function(e){return new Fe.Sy({key:new Fe.H$("handlePasteLink"),props:{handlePaste:(t,n,r)=>{const{state:o}=t,{selection:i}=o,{empty:a}=i;if(a)return!1;let s="";r.content.forEach((e=>{s+=e.textContent}));const l=Be(s,{defaultProtocol:e.defaultProtocol}).find((e=>e.isLink&&e.value===s));return!(!s||!l)&&(e.editor.commands.setMark(e.type,{href:l.href}),!0)}}})}({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),e}})},66458:function(e,t,n){"use strict";n.d(t,{H:function(){return o},Z:function(){return o}});var r=n(40240);const o=r.NB.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",(0,r.P1)(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}})},47225:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(40240),o=n(3317),i=n(40344);const a=r.hj.create({name:"placeholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something \u2026",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){return[new o.Sy({key:new o.H$("placeholder"),props:{decorations:({doc:e,selection:t})=>{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:o}=t,a=[];if(!n)return null;const s=this.editor.isEmpty;return e.descendants(((e,t)=>{const n=o>=t&&o<=t+e.nodeSize,l=!e.isLeaf&&(0,r.bR)(e);if((n||!this.options.showOnlyCurrent)&&l){const r=[this.options.emptyNodeClass];s&&r.push(this.options.emptyEditorClass);const o=i.p.node(t,t+e.nodeSize,{class:r.join(" "),"data-placeholder":"function"===typeof this.options.placeholder?this.options.placeholder({editor:this.editor,node:e,pos:t,hasAnchor:n}):this.options.placeholder});a.push(o)}return this.options.includeChildren})),i.EH.create(e,a)}}})]}})},1422:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(40240);const o=r.vc.create({name:"subscript",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"sub"},{style:"vertical-align",getAttrs:e=>"sub"===e&&null}],renderHTML({HTMLAttributes:e}){return["sub",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setSubscript:()=>({commands:e})=>e.setMark(this.name),toggleSubscript:()=>({commands:e})=>e.toggleMark(this.name),unsetSubscript:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-,":()=>this.editor.commands.toggleSubscript()}}})},60684:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(40240);const o=r.vc.create({name:"superscript",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"sup"},{style:"vertical-align",getAttrs:e=>"super"===e&&null}],renderHTML({HTMLAttributes:e}){return["sup",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setSuperscript:()=>({commands:e})=>e.setMark(this.name),toggleSuperscript:()=>({commands:e})=>e.toggleMark(this.name),unsetSuperscript:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-.":()=>this.editor.commands.toggleSuperscript()}}})},27887:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(40240);const o=r.vc.create({name:"textStyle",priority:101,addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:e}){return["span",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:e,commands:t})=>{const n=(0,r.Jo)(e,this.type);return!!Object.entries(n).some((([,e])=>!!e))||t.unsetMark(this.name)}}}})},52102:function(e,t,n){"use strict";n.d(t,{ZP:function(){return o}});var r=n(40240);const o=r.hj.create({name:"typography",addOptions:()=>({closeDoubleQuote:"\u201d",closeSingleQuote:"\u2019",copyright:"\xa9",ellipsis:"\u2026",emDash:"\u2014",laquo:"\xab",leftArrow:"\u2190",multiplication:"\xd7",notEqual:"\u2260",oneHalf:"\xbd",oneQuarter:"\xbc",openDoubleQuote:"\u201c",openSingleQuote:"\u2018",plusMinus:"\xb1",raquo:"\xbb",registeredTrademark:"\xae",rightArrow:"\u2192",servicemark:"\u2120",superscriptThree:"\xb3",superscriptTwo:"\xb2",threeQuarters:"\xbe",trademark:"\u2122"}),addInputRules(){const e=[];var t;return!1!==this.options.emDash&&e.push((t=this.options.emDash,(0,r.DS)({find:/--$/,replace:null!==t&&void 0!==t?t:"\u2014"}))),!1!==this.options.ellipsis&&e.push((e=>(0,r.DS)({find:/\.\.\.$/,replace:null!==e&&void 0!==e?e:"\u2026"}))(this.options.ellipsis)),!1!==this.options.openDoubleQuote&&e.push((e=>(0,r.DS)({find:/(?:^|[\s{[(<'"\u2018\u201C])(")$/,replace:null!==e&&void 0!==e?e:"\u201c"}))(this.options.openDoubleQuote)),!1!==this.options.closeDoubleQuote&&e.push((e=>(0,r.DS)({find:/"$/,replace:null!==e&&void 0!==e?e:"\u201d"}))(this.options.closeDoubleQuote)),!1!==this.options.openSingleQuote&&e.push((e=>(0,r.DS)({find:/(?:^|[\s{[(<'"\u2018\u201C])(')$/,replace:null!==e&&void 0!==e?e:"\u2018"}))(this.options.openSingleQuote)),!1!==this.options.closeSingleQuote&&e.push((e=>(0,r.DS)({find:/'$/,replace:null!==e&&void 0!==e?e:"\u2019"}))(this.options.closeSingleQuote)),!1!==this.options.leftArrow&&e.push((e=>(0,r.DS)({find:/<-$/,replace:null!==e&&void 0!==e?e:"\u2190"}))(this.options.leftArrow)),!1!==this.options.rightArrow&&e.push((e=>(0,r.DS)({find:/->$/,replace:null!==e&&void 0!==e?e:"\u2192"}))(this.options.rightArrow)),!1!==this.options.copyright&&e.push((e=>(0,r.DS)({find:/\(c\)$/,replace:null!==e&&void 0!==e?e:"\xa9"}))(this.options.copyright)),!1!==this.options.trademark&&e.push((e=>(0,r.DS)({find:/\(tm\)$/,replace:null!==e&&void 0!==e?e:"\u2122"}))(this.options.trademark)),!1!==this.options.servicemark&&e.push((e=>(0,r.DS)({find:/\(sm\)$/,replace:null!==e&&void 0!==e?e:"\u2120"}))(this.options.servicemark)),!1!==this.options.registeredTrademark&&e.push((e=>(0,r.DS)({find:/\(r\)$/,replace:null!==e&&void 0!==e?e:"\xae"}))(this.options.registeredTrademark)),!1!==this.options.oneHalf&&e.push((e=>(0,r.DS)({find:/(?:^|\s)(1\/2)\s$/,replace:null!==e&&void 0!==e?e:"\xbd"}))(this.options.oneHalf)),!1!==this.options.plusMinus&&e.push((e=>(0,r.DS)({find:/\+\/-$/,replace:null!==e&&void 0!==e?e:"\xb1"}))(this.options.plusMinus)),!1!==this.options.notEqual&&e.push((e=>(0,r.DS)({find:/!=$/,replace:null!==e&&void 0!==e?e:"\u2260"}))(this.options.notEqual)),!1!==this.options.laquo&&e.push((e=>(0,r.DS)({find:/<<$/,replace:null!==e&&void 0!==e?e:"\xab"}))(this.options.laquo)),!1!==this.options.raquo&&e.push((e=>(0,r.DS)({find:/>>$/,replace:null!==e&&void 0!==e?e:"\xbb"}))(this.options.raquo)),!1!==this.options.multiplication&&e.push((e=>(0,r.DS)({find:/\d+\s?([*x])\s?\d+$/,replace:null!==e&&void 0!==e?e:"\xd7"}))(this.options.multiplication)),!1!==this.options.superscriptTwo&&e.push((e=>(0,r.DS)({find:/\^2$/,replace:null!==e&&void 0!==e?e:"\xb2"}))(this.options.superscriptTwo)),!1!==this.options.superscriptThree&&e.push((e=>(0,r.DS)({find:/\^3$/,replace:null!==e&&void 0!==e?e:"\xb3"}))(this.options.superscriptThree)),!1!==this.options.oneQuarter&&e.push((e=>(0,r.DS)({find:/(?:^|\s)(1\/4)\s$/,replace:null!==e&&void 0!==e?e:"\xbc"}))(this.options.oneQuarter)),!1!==this.options.threeQuarters&&e.push((e=>(0,r.DS)({find:/(?:^|\s)(3\/4)\s$/,replace:null!==e&&void 0!==e?e:"\xbe"}))(this.options.threeQuarters)),e}})},82418:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(40240);const o=r.vc.create({name:"underline",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:e=>!!e.includes("underline")&&{}}],renderHTML({HTMLAttributes:e}){return["u",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}})},82792:function(e,t,n){"use strict";n.d(t,{NM:function(){return Rt},kg:function(){return _t},ms:function(){return zt},T5:function(){return Ht},fW:function(){return Vt},jE:function(){return Tt}});var r=n(40240),o=n(3317);function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function a(e){return e instanceof i(e).Element||e instanceof Element}function s(e){return e instanceof i(e).HTMLElement||e instanceof HTMLElement}function l(e){return"undefined"!==typeof ShadowRoot&&(e instanceof i(e).ShadowRoot||e instanceof ShadowRoot)}var c=Math.max,u=Math.min,d=Math.round;function f(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function p(){return!/^((?!chrome|android).)*safari/i.test(f())}function h(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,l=1;t&&s(e)&&(o=e.offsetWidth>0&&d(r.width)/e.offsetWidth||1,l=e.offsetHeight>0&&d(r.height)/e.offsetHeight||1);var c=(a(e)?i(e):window).visualViewport,u=!p()&&n,f=(r.left+(u&&c?c.offsetLeft:0))/o,h=(r.top+(u&&c?c.offsetTop:0))/l,m=r.width/o,g=r.height/l;return{width:m,height:g,top:h,right:f+m,bottom:h+g,left:f,x:f,y:h}}function m(e){var t=i(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function g(e){return e?(e.nodeName||"").toLowerCase():null}function v(e){return((a(e)?e.ownerDocument:e.document)||window.document).documentElement}function y(e){return h(v(e)).left+m(e).scrollLeft}function b(e){return i(e).getComputedStyle(e)}function w(e){var t=b(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function C(e,t,n){void 0===n&&(n=!1);var r=s(t),o=s(t)&&function(e){var t=e.getBoundingClientRect(),n=d(t.width)/e.offsetWidth||1,r=d(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=v(t),l=h(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==g(t)||w(a))&&(c=function(e){return e!==i(e)&&s(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:m(e);var t}(t)),s(t)?((u=h(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=y(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function x(e){var t=h(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function k(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(l(e)?e.host:null)||v(e)}function _(e){return["html","body","#document"].indexOf(g(e))>=0?e.ownerDocument.body:s(e)&&w(e)?e:_(k(e))}function S(e,t){var n;void 0===t&&(t=[]);var r=_(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=i(r),s=o?[a].concat(a.visualViewport||[],w(r)?r:[]):r,l=t.concat(s);return o?l:l.concat(S(k(s)))}function E(e){return["table","td","th"].indexOf(g(e))>=0}function M(e){return s(e)&&"fixed"!==b(e).position?e.offsetParent:null}function L(e){for(var t=i(e),n=M(e);n&&E(n)&&"static"===b(n).position;)n=M(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===b(n).position)?t:n||function(e){var t=/firefox/i.test(f());if(/Trident/i.test(f())&&s(e)&&"fixed"===b(e).position)return null;var n=k(e);for(l(n)&&(n=n.host);s(n)&&["html","body"].indexOf(g(n))<0;){var r=b(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var N="top",O="bottom",A="right",j="left",T="auto",Z=[N,O,A,j],P="start",R="end",I="viewport",D="popper",z=Z.reduce((function(e,t){return e.concat([t+"-"+P,t+"-"+R])}),[]),H=[].concat(Z,[T]).reduce((function(e,t){return e.concat([t,t+"-"+P,t+"-"+R])}),[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function F(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function V(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function $(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?q:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},q,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],l=!1,c={state:o,setOptions:function(n){var l="function"===typeof n?n(o.options):n;u(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:a(e)?S(e):e.contextElement?S(e.contextElement):[],popper:S(t)};var d=function(e){var t=F(e);return B.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=d.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var a=i({state:o,name:t,instance:c,options:r}),l=function(){};s.push(a||l)}})),c.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(U(t,n)){o.rects={reference:C(t,L(n),"fixed"===o.options.strategy),popper:x(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,s=i.options,u=void 0===s?{}:s,d=i.name;"function"===typeof a&&(o=a({state:o,options:u,name:d,instance:c})||o)}else o.reset=!1,r=-1}}},update:V((function(){return new Promise((function(e){c.forceUpdate(),e(o)}))})),destroy:function(){u(),l=!0}};if(!U(e,t))return c;function u(){s.forEach((function(e){return e()})),s=[]}return c.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var W={passive:!0};function K(e){return e.split("-")[0]}function G(e){return e.split("-")[1]}function Y(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function J(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?K(o):null,a=o?G(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case N:t={x:s,y:n.y-r.height};break;case O:t={x:s,y:n.y+n.height};break;case A:t={x:n.x+n.width,y:l};break;case j:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?Y(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case P:t[c]=t[c]-(n[u]/2-r[u]/2);break;case R:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var X={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,l=e.position,c=e.gpuAcceleration,u=e.adaptive,f=e.roundOffsets,p=e.isFixed,h=s.x,m=void 0===h?0:h,g=s.y,y=void 0===g?0:g,w="function"===typeof f?f({x:m,y:y}):{x:m,y:y};m=w.x,y=w.y;var C=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),k=j,_=N,S=window;if(u){var E=L(n),M="clientHeight",T="clientWidth";if(E===i(n)&&"static"!==b(E=v(n)).position&&"absolute"===l&&(M="scrollHeight",T="scrollWidth"),o===N||(o===j||o===A)&&a===R)_=O,y-=(p&&E===S&&S.visualViewport?S.visualViewport.height:E[M])-r.height,y*=c?1:-1;if(o===j||(o===N||o===O)&&a===R)k=A,m-=(p&&E===S&&S.visualViewport?S.visualViewport.width:E[T])-r.width,m*=c?1:-1}var Z,P=Object.assign({position:l},u&&X),I=!0===f?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:d(n*o)/o||0,y:d(r*o)/o||0}}({x:m,y:y},i(n)):{x:m,y:y};return m=I.x,y=I.y,c?Object.assign({},P,((Z={})[_]=x?"0":"",Z[k]=C?"0":"",Z.transform=(S.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",Z)):Object.assign({},P,((t={})[_]=x?y+"px":"",t[k]=C?m+"px":"",t.transform="",t))}var ee={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];s(o)&&g(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});s(r)&&g(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var te={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=H.reduce((function(e,n){return e[n]=function(e,t,n){var r=K(e),o=[j,N].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[j,A].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},ne={left:"right",right:"left",bottom:"top",top:"bottom"};function re(e){return e.replace(/left|right|bottom|top/g,(function(e){return ne[e]}))}var oe={start:"end",end:"start"};function ie(e){return e.replace(/start|end/g,(function(e){return oe[e]}))}function ae(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&l(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function se(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function le(e,t,n){return t===I?se(function(e,t){var n=i(e),r=v(e),o=n.visualViewport,a=r.clientWidth,s=r.clientHeight,l=0,c=0;if(o){a=o.width,s=o.height;var u=p();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,c=o.offsetTop)}return{width:a,height:s,x:l+y(e),y:c}}(e,n)):a(t)?function(e,t){var n=h(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):se(function(e){var t,n=v(e),r=m(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=c(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=c(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+y(e),l=-r.scrollTop;return"rtl"===b(o||n).direction&&(s+=c(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(v(e)))}function ce(e,t,n,r){var o="clippingParents"===t?function(e){var t=S(k(e)),n=["absolute","fixed"].indexOf(b(e).position)>=0&&s(e)?L(e):e;return a(n)?t.filter((function(e){return a(e)&&ae(e,n)&&"body"!==g(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),l=i[0],d=i.reduce((function(t,n){var o=le(e,n,r);return t.top=c(o.top,t.top),t.right=u(o.right,t.right),t.bottom=u(o.bottom,t.bottom),t.left=c(o.left,t.left),t}),le(e,l,r));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function ue(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function de(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,s=void 0===i?e.strategy:i,l=n.boundary,c=void 0===l?"clippingParents":l,u=n.rootBoundary,d=void 0===u?I:u,f=n.elementContext,p=void 0===f?D:f,m=n.altBoundary,g=void 0!==m&&m,y=n.padding,b=void 0===y?0:y,w=ue("number"!==typeof b?b:de(b,Z)),C=p===D?"reference":D,x=e.rects.popper,k=e.elements[g?C:p],_=ce(a(k)?k:k.contextElement||v(e.elements.popper),c,d,s),S=h(e.elements.reference),E=J({reference:S,element:x,strategy:"absolute",placement:o}),M=se(Object.assign({},x,E)),L=p===D?M:S,j={top:_.top-L.top+w.top,bottom:L.bottom-_.bottom+w.bottom,left:_.left-L.left+w.left,right:L.right-_.right+w.right},T=e.modifiersData.offset;if(p===D&&T){var P=T[o];Object.keys(j).forEach((function(e){var t=[A,O].indexOf(e)>=0?1:-1,n=[N,O].indexOf(e)>=0?"y":"x";j[e]+=P[n]*t}))}return j}function pe(e,t,n){return c(e,u(t,n))}var he={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,v=void 0===g?0:g,y=fe(t,{boundary:l,rootBoundary:d,padding:p,altBoundary:f}),b=K(t.placement),w=G(t.placement),C=!w,k=Y(b),_="x"===k?"y":"x",S=t.modifiersData.popperOffsets,E=t.rects.reference,M=t.rects.popper,T="function"===typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,Z="number"===typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(S){if(i){var D,z="y"===k?N:j,H="y"===k?O:A,B="y"===k?"height":"width",F=S[k],V=F+y[z],q=F-y[H],U=m?-M[B]/2:0,$=w===P?E[B]:M[B],W=w===P?-M[B]:-E[B],J=t.elements.arrow,X=m&&J?x(J):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[z],te=Q[H],ne=pe(0,E[B],X[B]),re=C?E[B]/2-U-ne-ee-Z.mainAxis:$-ne-ee-Z.mainAxis,oe=C?-E[B]/2+U+ne+te+Z.mainAxis:W+ne+te+Z.mainAxis,ie=t.elements.arrow&&L(t.elements.arrow),ae=ie?"y"===k?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(D=null==R?void 0:R[k])?D:0,le=F+oe-se,ce=pe(m?u(V,F+re-se-ae):V,F,m?c(q,le):q);S[k]=ce,I[k]=ce-F}if(s){var ue,de="x"===k?N:j,he="x"===k?O:A,me=S[_],ge="y"===_?"height":"width",ve=me+y[de],ye=me-y[he],be=-1!==[N,j].indexOf(b),we=null!=(ue=null==R?void 0:R[_])?ue:0,Ce=be?ve:me-E[ge]-M[ge]-we+Z.altAxis,xe=be?me+E[ge]+M[ge]-we-Z.altAxis:ye,ke=m&&be?function(e,t,n){var r=pe(e,t,n);return r>n?n:r}(Ce,me,xe):pe(m?Ce:ve,me,m?xe:ye);S[_]=ke,I[_]=ke-me}t.modifiersData[r]=I}},requiresIfExists:["offset"]};var me={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=K(n.placement),l=Y(s),c=[j,A].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return ue("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:de(e,Z))}(o.padding,n),d=x(i),f="y"===l?N:j,p="y"===l?O:A,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=L(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=u[f],w=v-d[c]-u[p],C=v/2-d[c]/2+y,k=pe(b,C,w),_=l;n.modifiersData[r]=((t={})[_]=k,t.centerOffset=k-C,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&ae(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ge(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ve(e){return[N,A,O,j].some((function(t){return e[t]>=0}))}var ye=$({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,s=r.resize,l=void 0===s||s,c=i(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,W)})),l&&c.addEventListener("resize",n.update,W),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,W)})),l&&c.removeEventListener("resize",n.update,W)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=J({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:K(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Q(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Q(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ee,te,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,v=K(g),y=l||(v===g||!h?[re(g)]:function(e){if(K(e)===T)return[];var t=re(e);return[ie(e),t,ie(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(K(n)===T?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?H:l,u=G(r),d=u?s?z:z.filter((function(e){return G(e)===u})):Z,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=fe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[K(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,C=t.rects.popper,x=new Map,k=!0,_=b[0],S=0;S<b.length;S++){var E=b[S],M=K(E),L=G(E)===P,R=[N,O].indexOf(M)>=0,I=R?"width":"height",D=fe(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),B=R?L?A:j:L?O:N;w[I]>C[I]&&(B=re(B));var F=re(B),V=[];if(i&&V.push(D[M]<=0),s&&V.push(D[B]<=0,D[F]<=0),V.every((function(e){return e}))){_=E,k=!1;break}x.set(E,V)}if(k)for(var q=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return _=t,"break"},U=h?3:1;U>0;U--){if("break"===q(U))break}t.placement!==_&&(t.modifiersData[r]._skip=!0,t.placement=_,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},he,me,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=fe(t,{elementContext:"reference"}),s=fe(t,{altBoundary:!0}),l=ge(a,r),c=ge(s,o,i),u=ve(l),d=ve(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),be="tippy-content",we="tippy-backdrop",Ce="tippy-arrow",xe="tippy-svg-arrow",ke={passive:!0,capture:!0},_e=function(){return document.body};function Se(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ee(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Me(e,t){return"function"===typeof e?e.apply(void 0,t):e}function Le(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Ne(e){return[].concat(e)}function Oe(e,t){-1===e.indexOf(t)&&e.push(t)}function Ae(e){return e.split("-")[0]}function je(e){return[].slice.call(e)}function Te(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Ze(){return document.createElement("div")}function Pe(e){return["Element","Fragment"].some((function(t){return Ee(e,t)}))}function Re(e){return Ee(e,"MouseEvent")}function Ie(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function De(e){return Pe(e)?[e]:function(e){return Ee(e,"NodeList")}(e)?je(e):Array.isArray(e)?e:je(document.querySelectorAll(e))}function ze(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function He(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Be(e){var t,n=Ne(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Fe(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function Ve(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var qe={isTouch:!1},Ue=0;function $e(){qe.isTouch||(qe.isTouch=!0,window.performance&&document.addEventListener("mousemove",We))}function We(){var e=performance.now();e-Ue<20&&(qe.isTouch=!1,document.removeEventListener("mousemove",We)),Ue=e}function Ke(){var e=document.activeElement;if(Ie(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Ge=!!("undefined"!==typeof window&&"undefined"!==typeof document)&&!!window.msCrypto;var Ye={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Je=Object.assign({appendTo:_e,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Ye,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Xe=Object.keys(Je);function Qe(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Je[o])?r:i);return t}),{});return Object.assign({},e,t)}function et(e,t){var n=Object.assign({},t,{content:Me(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Qe(Object.assign({},Je,{plugins:t}))):Xe).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(o){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Je.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function tt(e,t){e.innerHTML=t}function nt(e){var t=Ze();return!0===e?t.className=Ce:(t.className=xe,Pe(e)?t.appendChild(e):tt(t,e)),t}function rt(e,t){Pe(t.content)?(tt(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?tt(e,t.content):e.textContent=t.content)}function ot(e){var t=e.firstElementChild,n=je(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(be)})),arrow:n.find((function(e){return e.classList.contains(Ce)||e.classList.contains(xe)})),backdrop:n.find((function(e){return e.classList.contains(we)}))}}function it(e){var t=Ze(),n=Ze();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Ze();function o(n,r){var o=ot(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"===typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"===typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||rt(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(nt(r.arrow))):i.appendChild(nt(r.arrow)):s&&i.removeChild(s)}return r.className=be,r.setAttribute("data-state","hidden"),rt(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}it.$$tippy=!0;var at=1,st=[],lt=[];function ct(e,t){var n,r,o,i,a,s,l,c,u=et(e,Object.assign({},Je,Qe(Te(t)))),d=!1,f=!1,p=!1,h=!1,m=[],g=Le(W,u.interactiveDebounce),v=at++,y=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:v,reference:e,popper:Ze(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){0;if(b.state.isDestroyed)return;T("onBeforeUpdate",[b,t]),U();var n=b.props,r=et(e,Object.assign({},n,Te(t),{ignoreAttributes:!0}));b.props=r,q(),n.interactiveDebounce!==r.interactiveDebounce&&(R(),g=Le(W,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Ne(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");P(),j(),x&&x(n,r);b.popperInstance&&(J(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));T("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){0;var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=qe.isTouch&&!b.props.touch,o=Se(b.props.duration,0,Je.duration);if(e||t||n||r)return;if(L().hasAttribute("disabled"))return;if(T("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,M()&&(C.style.visibility="visible");j(),H(),b.state.isMounted||(C.style.transition="none");if(M()){var i=O(),a=i.box,l=i.content;ze([a,l],0)}s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,C.offsetHeight,C.style.transition=b.props.moveTransition,M()&&b.props.animation){var t=O(),n=t.box,r=t.content;ze([n,r],o),He([n,r],"visible")}Z(),P(),Oe(lt,b),null==(e=b.popperInstance)||e.forceUpdate(),T("onMount",[b]),b.props.animation&&M()&&function(e,t){F(e,t)}(o,(function(){b.state.isShown=!0,T("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=L();e=b.props.interactive&&t===_e||"parent"===t?n.parentNode:Me(t,[n]);e.contains(C)||e.appendChild(C);b.state.isMounted=!0,J(),!1}()},hide:function(){0;var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Se(b.props.duration,1,Je.duration);if(e||t||n)return;if(T("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,h=!1,d=!1,M()&&(C.style.visibility="hidden");if(R(),B(),j(!0),M()){var o=O(),i=o.box,a=o.content;b.props.animation&&(ze([i,a],r),He([i,a],"hidden"))}Z(),P(),b.props.animation?M()&&function(e,t){F(e,(function(){!b.state.isVisible&&C.parentNode&&C.parentNode.contains(C)&&t()}))}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){0;N().addEventListener("mousemove",g),Oe(st,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){0;b.state.isVisible&&b.hide();if(!b.state.isMounted)return;X(),Q().forEach((function(e){e._tippy.unmount()})),C.parentNode&&C.parentNode.removeChild(C);lt=lt.filter((function(e){return e!==b})),b.state.isMounted=!1,T("onHidden",[b])},destroy:function(){0;if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),U(),delete e._tippy,b.state.isDestroyed=!0,T("onDestroy",[b])}};if(!u.render)return b;var w=u.render(b),C=w.popper,x=w.onUpdate;C.setAttribute("data-tippy-root",""),C.id="tippy-"+b.id,b.popper=C,e._tippy=b,C._tippy=b;var k=y.map((function(e){return e.fn(b)})),_=e.hasAttribute("aria-expanded");return q(),P(),j(),T("onCreate",[b]),u.showOnCreate&&ee(),C.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),C.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&N().addEventListener("mousemove",g)})),b;function S(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function E(){return"hold"===S()[0]}function M(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function L(){return l||e}function N(){var e=L().parentNode;return e?Be(e):document}function O(){return ot(C)}function A(e){return b.state.isMounted&&!b.state.isVisible||qe.isTouch||i&&"focus"===i.type?0:Se(b.props.delay,e?0:1,Je.delay)}function j(e){void 0===e&&(e=!1),C.style.pointerEvents=b.props.interactive&&!e?"":"none",C.style.zIndex=""+b.props.zIndex}function T(e,t,n){var r;(void 0===n&&(n=!0),k.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=b.props)[e].apply(r,t)}function Z(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=C.id;Ne(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function P(){!_&&b.props.aria.expanded&&Ne(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===L()?"true":"false"):e.removeAttribute("aria-expanded")}))}function R(){N().removeEventListener("mousemove",g),st=st.filter((function(e){return e!==g}))}function I(t){if(!qe.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Ve(C,n)){if(Ne(b.props.triggerTarget||e).some((function(e){return Ve(e,n)}))){if(qe.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else T("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout((function(){f=!1})),b.state.isMounted||B())}}}function D(){p=!0}function z(){p=!1}function H(){var e=N();e.addEventListener("mousedown",I,!0),e.addEventListener("touchend",I,ke),e.addEventListener("touchstart",z,ke),e.addEventListener("touchmove",D,ke)}function B(){var e=N();e.removeEventListener("mousedown",I,!0),e.removeEventListener("touchend",I,ke),e.removeEventListener("touchstart",z,ke),e.removeEventListener("touchmove",D,ke)}function F(e,t){var n=O().box;function r(e){e.target===n&&(Fe(n,"remove",r),t())}if(0===e)return t();Fe(n,"remove",a),Fe(n,"add",r),a=r}function V(t,n,r){void 0===r&&(r=!1),Ne(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})}))}function q(){var e;E()&&(V("touchstart",$,{passive:!0}),V("touchend",K,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(V(e,$),e){case"mouseenter":V("mouseleave",K);break;case"focus":V(Ge?"focusout":"blur",G);break;case"focusin":V("focusout",G)}}))}function U(){m.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),m=[]}function $(e){var t,n=!1;if(b.state.isEnabled&&!Y(e)&&!f){var r="focus"===(null==(t=i)?void 0:t.type);i=e,l=e.currentTarget,P(),!b.state.isVisible&&Re(e)&&st.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||d)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(d=!n),n&&!r&&te(e)}}function W(e){var t=e.target,n=L().contains(t)||C.contains(t);if("mousemove"!==e.type||!n){var r=Q().concat(C).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=Ae(o.placement),s=o.modifiersData.offset;if(!s)return!0;var l="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,d="left"===a?s.right.x:0,f=t.top-r+l>i,p=r-t.bottom-c>i,h=t.left-n+u>i,m=n-t.right-d>i;return f||p||h||m}))})(r,e)&&(R(),te(e))}}function K(e){Y(e)||b.props.trigger.indexOf("click")>=0&&d||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function G(e){b.props.trigger.indexOf("focusin")<0&&e.target!==L()||b.props.interactive&&e.relatedTarget&&C.contains(e.relatedTarget)||te(e)}function Y(e){return!!qe.isTouch&&E()!==e.type.indexOf("touch")>=0}function J(){X();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,l=M()?ot(C).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||L()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(M()){var n=O().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},d=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},u];M()&&l&&d.push({name:"arrow",options:{element:l,padding:3}}),d.push.apply(d,(null==n?void 0:n.modifiers)||[]),b.popperInstance=ye(c,C,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:d}))}function X(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return je(C.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&T("onTrigger",[b,e]),H();var t=A(!0),r=S(),o=r[0],i=r[1];qe.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),T("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=A(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):o=requestAnimationFrame((function(){b.hide()}))}}else B()}}function ut(e,t){void 0===t&&(t={});var n=Je.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",$e,ke),window.addEventListener("blur",Ke);var r=Object.assign({},t,{plugins:n}),o=De(e).reduce((function(e,t){var n=t&&ct(t,r);return n&&e.push(n),e}),[]);return Pe(e)?o[0]:o}ut.defaultProps=Je,ut.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Je[t]=e[t]}))},ut.currentInput=qe;Object.assign({},ee,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});ut.setDefaultProps({render:it});var dt=ut;class ft{constructor({editor:e,element:t,view:n,tippyOptions:o={},updateDelay:i=250,shouldShow:a}){this.preventHide=!1,this.shouldShow=({view:e,state:t,from:n,to:o})=>{const{doc:i,selection:a}=t,{empty:s}=a,l=!i.textBetween(n,o).length&&(0,r.xh)(t.selection),c=this.element.contains(document.activeElement);return!(!e.hasFocus()&&!c||s||l||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:e})=>{var t;this.preventHide?this.preventHide=!1:(null===e||void 0===e?void 0:e.relatedTarget)&&(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||this.hide()},this.tippyBlurHandler=e=>{this.blurHandler({event:e})},this.handleDebouncedUpdate=(e,t)=>{const n=!(null===t||void 0===t?void 0:t.selection.eq(e.state.selection)),r=!(null===t||void 0===t?void 0:t.doc.eq(e.state.doc));(n||r)&&(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout((()=>{this.updateHandler(e,n,r,t)}),this.updateDelay))},this.updateHandler=(e,t,n,o)=>{var i,a,s;const{state:l,composing:c}=e,{selection:u}=l;if(c||!t&&!n)return;this.createTooltip();const{ranges:d}=u,f=Math.min(...d.map((e=>e.$from.pos))),p=Math.max(...d.map((e=>e.$to.pos)));(null===(i=this.shouldShow)||void 0===i?void 0:i.call(this,{editor:this.editor,view:e,state:l,oldState:o,from:f,to:p}))?(null===(a=this.tippy)||void 0===a||a.setProps({getReferenceClientRect:(null===(s=this.tippyOptions)||void 0===s?void 0:s.getReferenceClientRect)||(()=>{if((0,r.EG)(l.selection)){let t=e.nodeDOM(f);const n=t.dataset.nodeViewWrapper?t:t.querySelector("[data-node-view-wrapper]");if(n&&(t=n.firstChild),t)return t.getBoundingClientRect()}return(0,r.pr)(e,f,p)})}),this.show()):this.hide()},this.editor=e,this.element=t,this.view=n,this.updateDelay=i,a&&(this.shouldShow=a),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;!this.tippy&&t&&(this.tippy=dt(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){const{state:n}=e,r=n.selection.from!==n.selection.to;if(this.updateDelay>0&&r)return void this.handleDebouncedUpdate(e,t);const o=!(null===t||void 0===t?void 0:t.selection.eq(e.state.selection)),i=!(null===t||void 0===t?void 0:t.doc.eq(e.state.doc));this.updateHandler(e,o,i,t)}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e,t;(null===(e=this.tippy)||void 0===e?void 0:e.popper.firstChild)&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(t=this.tippy)||void 0===t||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const pt=e=>new o.Sy({key:"string"===typeof e.pluginKey?new o.H$(e.pluginKey):e.pluginKey,view:t=>new ft({view:t,...e})});r.hj.create({name:"bubbleMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[pt({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});var ht,mt=n(50959),gt=n(10422),vt={exports:{}},yt={};vt.exports=function(){if(ht)return yt;ht=1;var e=mt,t="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},n=e.useState,r=e.useEffect,o=e.useLayoutEffect,i=e.useDebugValue;function a(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(o){return!0}}var s="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var s=t(),l=n({inst:{value:s,getSnapshot:t}}),c=l[0].inst,u=l[1];return o((function(){c.value=s,c.getSnapshot=t,a(c)&&u({inst:c})}),[e,s,t]),r((function(){return a(c)&&u({inst:c}),e((function(){a(c)&&u({inst:c})}))}),[e]),i(s),s};return yt.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:s,yt}();var bt=vt.exports;const wt=(...e)=>t=>{e.forEach((e=>{"function"===typeof e?e(t):e&&(e.current=t)}))},Ct=({contentComponent:e})=>{const t=bt.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getServerSnapshot);return mt.createElement(mt.Fragment,null,Object.values(t))};class xt extends mt.Component{constructor(e){var t;super(e),this.editorContentRef=mt.createRef(),this.initialized=!1,this.state={hasContentComponentInitialized:Boolean(null===(t=e.editor)||void 0===t?void 0:t.contentComponent)}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){const e=this.props.editor;if(e&&!e.isDestroyed&&e.options.element){if(e.contentComponent)return;const t=this.editorContentRef.current;t.append(...e.options.element.childNodes),e.setOptions({element:t}),e.contentComponent=function(){const e=new Set;let t={};return{subscribe:t=>(e.add(t),()=>{e.delete(t)}),getSnapshot:()=>t,getServerSnapshot:()=>t,setRenderer(n,r){t={...t,[n]:gt.createPortal(r.reactElement,r.element,n)},e.forEach((e=>e()))},removeRenderer(n){const r={...t};delete r[n],t=r,e.forEach((e=>e()))}}}(),this.state.hasContentComponentInitialized||(this.unsubscribeToContentComponent=e.contentComponent.subscribe((()=>{this.setState((e=>e.hasContentComponentInitialized?e:{hasContentComponentInitialized:!0})),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent()}))),e.createNodeViews(),this.initialized=!0}}componentWillUnmount(){const e=this.props.editor;if(!e)return;if(this.initialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent(),e.contentComponent=null,!e.options.element.firstChild)return;const t=document.createElement("div");t.append(...e.options.element.childNodes),e.setOptions({element:t})}render(){const{editor:e,innerRef:t,...n}=this.props;return mt.createElement(mt.Fragment,null,mt.createElement("div",{ref:wt(t,this.editorContentRef),...n}),(null===e||void 0===e?void 0:e.contentComponent)&&mt.createElement(Ct,{contentComponent:e.contentComponent}))}}const kt=(0,mt.forwardRef)(((e,t)=>{const n=mt.useMemo((()=>Math.floor(4294967295*Math.random()).toString()),[e.editor]);return mt.createElement(xt,{key:n,innerRef:t,...e})})),_t=mt.memo(kt);var St,Et={exports:{}},Mt={};Et.exports=function(){if(St)return Mt;St=1;var e=mt,t=bt,n="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},r=t.useSyncExternalStore,o=e.useRef,i=e.useEffect,a=e.useMemo,s=e.useDebugValue;return Mt.useSyncExternalStoreWithSelector=function(e,t,l,c,u){var d=o(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=a((function(){function e(e){if(!i){if(i=!0,r=e,e=c(e),void 0!==u&&f.hasValue){var t=f.value;if(u(t,e))return o=t}return o=e}if(t=o,n(r,e))return t;var a=c(e);return void 0!==u&&u(t,a)?t:(r=e,o=a)}var r,o,i=!1,a=void 0===l?null:l;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]}),[t,l,c,u]);var p=r(e,d[0],d[1]);return i((function(){f.hasValue=!0,f.value=p}),[p]),s(p),p},Mt}();var Lt=Et.exports;class Nt{constructor(e){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=e,this.lastSnapshot={editor:e,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber||(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber}),this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}watch(e){if(this.editor=e,this.editor){const e=()=>{this.transactionNumber+=1,this.subscribers.forEach((e=>e()))},t=this.editor;return t.on("transaction",e),()=>{t.off("transaction",e)}}}}const Ot="undefined"===typeof window,At=Ot||Boolean("undefined"!==typeof window&&window.next);class jt{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach((e=>e()))}getInitialEditor(){return void 0===this.options.current.immediatelyRender?Ot||At?null:this.createEditor():(this.options.current.immediatelyRender,this.options.current.immediatelyRender?this.createEditor():null)}createEditor(){const e={...this.options.current,onBeforeCreate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onBeforeCreate)||void 0===n?void 0:n.call(t,...e)},onBlur:(...e)=>{var t,n;return null===(n=(t=this.options.current).onBlur)||void 0===n?void 0:n.call(t,...e)},onCreate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onCreate)||void 0===n?void 0:n.call(t,...e)},onDestroy:(...e)=>{var t,n;return null===(n=(t=this.options.current).onDestroy)||void 0===n?void 0:n.call(t,...e)},onFocus:(...e)=>{var t,n;return null===(n=(t=this.options.current).onFocus)||void 0===n?void 0:n.call(t,...e)},onSelectionUpdate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onSelectionUpdate)||void 0===n?void 0:n.call(t,...e)},onTransaction:(...e)=>{var t,n;return null===(n=(t=this.options.current).onTransaction)||void 0===n?void 0:n.call(t,...e)},onUpdate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onUpdate)||void 0===n?void 0:n.call(t,...e)},onContentError:(...e)=>{var t,n;return null===(n=(t=this.options.current).onContentError)||void 0===n?void 0:n.call(t,...e)}};return new r.ML(e)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}onRender(e){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&0===e.length?this.editor.setOptions(this.options.current):this.refreshEditorInstance(e),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(null===this.previousDeps)return void(this.previousDeps=e);if(this.previousDeps.length===e.length&&this.previousDeps.every(((t,n)=>t===e[n])))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){const e=this.instanceId,t=this.editor;this.scheduledDestructionTimeout=setTimeout((()=>{this.isComponentMounted&&this.instanceId===e?t&&t.setOptions(this.options.current):t&&!t.isDestroyed&&(t.destroy(),this.instanceId===e&&this.setEditor(null))}),1)}}function Tt(e={},t=[]){const n=(0,mt.useRef)(e);n.current=e;const[r]=(0,mt.useState)((()=>new jt(n))),o=bt.useSyncExternalStore(r.subscribe,r.getEditor,r.getServerSnapshot);return(0,mt.useDebugValue)(o),(0,mt.useEffect)(r.onRender(t)),function(e){const[t]=(0,mt.useState)((()=>new Nt(e.editor))),n=Lt.useSyncExternalStoreWithSelector(t.subscribe,t.getSnapshot,t.getServerSnapshot,e.selector,e.equalityFn);(0,mt.useEffect)((()=>t.watch(e.editor)),[e.editor,t]),(0,mt.useDebugValue)(n)}({editor:o,selector:({transactionNumber:t})=>!1===e.shouldRerenderOnTransaction?null:e.immediatelyRender&&0===t?0:t+1}),o}const Zt=(0,mt.createContext)({editor:null}),Pt=(Zt.Consumer,()=>(0,mt.useContext)(Zt));const Rt=e=>{const[t,n]=(0,mt.useState)(null),{editor:r}=Pt();return(0,mt.useEffect)((()=>{var n;if(!t)return;if((null===(n=e.editor)||void 0===n?void 0:n.isDestroyed)||(null===r||void 0===r?void 0:r.isDestroyed))return;const{pluginKey:o="bubbleMenu",editor:i,tippyOptions:a={},updateDelay:s,shouldShow:l=null}=e,c=i||r;if(!c)return void console.warn("BubbleMenu component is not rendered inside of an editor component or does not have editor prop.");const u=pt({updateDelay:s,editor:c,element:t,pluginKey:o,shouldShow:l,tippyOptions:a});return c.registerPlugin(u),()=>c.unregisterPlugin(o)}),[e.editor,r,t]),mt.createElement("div",{ref:n,className:e.className,style:{visibility:"hidden"}},e.children)},It=(0,mt.createContext)({onDragStart:void 0}),Dt=()=>(0,mt.useContext)(It),zt=e=>{const t=e.as||"div",{nodeViewContentRef:n}=Dt();return mt.createElement(t,{...e,ref:n,"data-node-view-content":"",style:{whiteSpace:"pre-wrap",...e.style}})},Ht=mt.forwardRef(((e,t)=>{const{onDragStart:n}=Dt(),r=e.as||"div";return mt.createElement(r,{...e,ref:t,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...e.style}})}));class Bt{constructor(e,{editor:t,props:n={},as:r="div",className:o="",attrs:i}){this.ref=null,this.id=Math.floor(4294967295*Math.random()).toString(),this.component=e,this.editor=t,this.props=n,this.element=document.createElement(r),this.element.classList.add("react-renderer"),o&&this.element.classList.add(...o.split(" ")),i&&Object.keys(i).forEach((e=>{this.element.setAttribute(e,i[e])})),this.editor.isInitialized?(0,gt.flushSync)((()=>{this.render()})):this.render()}render(){var e;const t=this.component,n=this.props,r=this.editor;(function(e){return!("function"!==typeof e||!e.prototype||!e.prototype.isReactComponent)}(t)||function(e){var t;return!("object"!==typeof e||"Symbol(react.forward_ref)"!==(null===(t=e.$$typeof)||void 0===t?void 0:t.toString()))}(t))&&(n.ref=e=>{this.ref=e}),this.reactElement=mt.createElement(t,n),null===(e=null===r||void 0===r?void 0:r.contentComponent)||void 0===e||e.setRenderer(this.id,this)}updateProps(e={}){this.props={...this.props,...e},this.render()}destroy(){var e;const t=this.editor;null===(e=null===t||void 0===t?void 0:t.contentComponent)||void 0===e||e.removeRenderer(this.id)}}class Ft extends r.DK{mount(){const e={editor:this.editor,node:this.node,decorations:this.decorations,selected:!1,extension:this.extension,getPos:()=>this.getPos(),updateAttributes:(e={})=>this.updateAttributes(e),deleteNode:()=>this.deleteNode()};if(!this.component.displayName){const e=e=>e.charAt(0).toUpperCase()+e.substring(1);this.component.displayName=e(this.extension.name)}const t={onDragStart:this.onDragStart.bind(this),nodeViewContentRef:e=>{e&&this.contentDOMElement&&e.firstChild!==this.contentDOMElement&&e.appendChild(this.contentDOMElement)}},n=this.component,r=mt.memo((e=>mt.createElement(It.Provider,{value:t},mt.createElement(n,e))));r.displayName="ReactNodeView",this.node.isLeaf?this.contentDOMElement=null:this.options.contentDOMElementTag?this.contentDOMElement=document.createElement(this.options.contentDOMElementTag):this.contentDOMElement=document.createElement(this.node.isInline?"span":"div"),this.contentDOMElement&&(this.contentDOMElement.style.whiteSpace="inherit");let o=this.node.isInline?"span":"div";this.options.as&&(o=this.options.as);const{className:i=""}=this.options;this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.editor.on("selectionUpdate",this.handleSelectionUpdate),this.renderer=new Bt(r,{editor:this.editor,props:e,as:o,className:`node-${this.node.type.name} ${i}`.trim(),attrs:this.options.attrs})}get dom(){var e;if(this.renderer.element.firstElementChild&&!(null===(e=this.renderer.element.firstElementChild)||void 0===e?void 0:e.hasAttribute("data-node-view-wrapper")))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}handleSelectionUpdate(){const{from:e,to:t}=this.editor.state.selection;if(e<=this.getPos()&&t>=this.getPos()+this.node.nodeSize){if(this.renderer.props.selected)return;this.selectNode()}else{if(!this.renderer.props.selected)return;this.deselectNode()}}update(e,t){const n=e=>{this.renderer.updateProps(e)};if(e.type!==this.node.type)return!1;if("function"===typeof this.options.update){const r=this.node,o=this.decorations;return this.node=e,this.decorations=t,this.options.update({oldNode:r,oldDecorations:o,newNode:e,newDecorations:t,updateProps:()=>n({node:e,decorations:t})})}return e===this.node&&this.decorations===t||(this.node=e,this.decorations=t,n({node:e,decorations:t})),!0}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element.classList.add("ProseMirror-selectednode")}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element.classList.remove("ProseMirror-selectednode")}destroy(){this.renderer.destroy(),this.editor.off("selectionUpdate",this.handleSelectionUpdate),this.contentDOMElement=null}}function Vt(e,t){return n=>n.editor.contentComponent?new Ft(e,n,t):{}}},41460:function(e,t,n){"use strict";n.d(t,{Z:function(){return ve}});var r=n(40240);const o=/^\s*>\s$/,i=r.NB.create({name:"blockquote",addOptions:()=>({HTMLAttributes:{}}),content:"block+",group:"block",defining:!0,parseHTML:()=>[{tag:"blockquote"}],renderHTML({HTMLAttributes:e}){return["blockquote",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setBlockquote:()=>({commands:e})=>e.wrapIn(this.name),toggleBlockquote:()=>({commands:e})=>e.toggleWrap(this.name),unsetBlockquote:()=>({commands:e})=>e.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[(0,r.S0)({find:o,type:this.type})]}}),a=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,s=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,l=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,c=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,u=r.vc.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:e=>"normal"!==e.style.fontWeight&&null},{style:"font-weight=400",clearMark:e=>e.type.name===this.name},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}]},renderHTML({HTMLAttributes:e}){return["strong",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[(0,r.Cf)({find:a,type:this.type}),(0,r.Cf)({find:l,type:this.type})]},addPasteRules(){return[(0,r.K9)({find:s,type:this.type}),(0,r.K9)({find:c,type:this.type})]}}),d="textStyle",f=/^\s*([-+*])\s$/,p=r.NB.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:e}){return["ul",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(d)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=(0,r.S0)({find:f,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=(0,r.S0)({find:f,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(d),editor:this.editor})),[e]}}),h=/(?:^|\s)(`(?!\s+`)((?:[^`]+))`(?!\s+`))$/,m=/(?:^|\s)(`(?!\s+`)((?:[^`]+))`(?!\s+`))/g,g=r.vc.create({name:"code",addOptions:()=>({HTMLAttributes:{}}),excludes:"_",code:!0,exitable:!0,parseHTML:()=>[{tag:"code"}],renderHTML({HTMLAttributes:e}){return["code",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setCode:()=>({commands:e})=>e.setMark(this.name),toggleCode:()=>({commands:e})=>e.toggleMark(this.name),unsetCode:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[(0,r.Cf)({find:h,type:this.type})]},addPasteRules(){return[(0,r.K9)({find:m,type:this.type})]}});var v=n(45667);const y=r.NB.create({name:"doc",topNode:!0,content:"block+"});var b=n(53742),w=n(1587),C=n(3317),x=n(2310),k=n(40344);class _ extends C.Y1{constructor(e){super(e,e)}map(e,t){let n=e.resolve(t.map(this.head));return _.valid(n)?new _(n):C.Y1.near(n)}content(){return x.p2.empty}eq(e){return e instanceof _&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for GapCursor.fromJSON");return new _(e.resolve(t.pos))}getBookmark(){return new S(this.anchor)}static valid(e){let t=e.parent;if(t.isTextblock||!function(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),r=e.node(t);if(0!=n)for(let e=r.child(n-1);;e=e.lastChild){if(0==e.childCount&&!e.inlineContent||e.isAtom||e.type.spec.isolating)return!0;if(e.inlineContent)return!1}else if(r.type.spec.isolating)return!0}return!0}(e)||!function(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),r=e.node(t);if(n!=r.childCount)for(let e=r.child(n);;e=e.firstChild){if(0==e.childCount&&!e.inlineContent||e.isAtom||e.type.spec.isolating)return!0;if(e.inlineContent)return!1}else if(r.type.spec.isolating)return!0}return!0}(e))return!1;let n=t.type.spec.allowGapCursor;if(null!=n)return n;let r=t.contentMatchAt(e.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(e,t,n=!1){e:for(;;){if(!n&&_.valid(e))return e;let r=e.pos,o=null;for(let n=e.depth;;n--){let i=e.node(n);if(t>0?e.indexAfter(n)<i.childCount:e.index(n)>0){o=i.child(t>0?e.indexAfter(n):e.index(n)-1);break}if(0==n)return null;r+=t;let a=e.doc.resolve(r);if(_.valid(a))return a}for(;;){let i=t>0?o.firstChild:o.lastChild;if(!i){if(o.isAtom&&!o.isText&&!C.qv.isSelectable(o)){e=e.doc.resolve(r+o.nodeSize*t),n=!1;continue e}break}o=i,r+=t;let a=e.doc.resolve(r);if(_.valid(a))return a}return null}}}_.prototype.visible=!1,_.findFrom=_.findGapCursorFrom,C.Y1.jsonID("gapcursor",_);class S{constructor(e){this.pos=e}map(e){return new S(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return _.valid(t)?new _(t):C.Y1.near(t)}}const E=(0,w.$)({ArrowLeft:M("horiz",-1),ArrowRight:M("horiz",1),ArrowUp:M("vert",-1),ArrowDown:M("vert",1)});function M(e,t){const n="vert"==e?t>0?"down":"up":t>0?"right":"left";return function(e,r,o){let i=e.selection,a=t>0?i.$to:i.$from,s=i.empty;if(i instanceof C.Bs){if(!o.endOfTextblock(n)||0==a.depth)return!1;s=!1,a=e.doc.resolve(t>0?a.after():a.before())}let l=_.findGapCursorFrom(a,t,s);return!!l&&(r&&r(e.tr.setSelection(new _(l))),!0)}}function L(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!_.valid(r))return!1;let o=e.posAtCoords({left:n.clientX,top:n.clientY});return!(o&&o.inside>-1&&C.qv.isSelectable(e.state.doc.nodeAt(o.inside)))&&(e.dispatch(e.state.tr.setSelection(new _(r))),!0)}function N(e,t){if("insertCompositionText"!=t.inputType||!(e.state.selection instanceof _))return!1;let{$from:n}=e.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;let o=x.HY.empty;for(let a=r.length-1;a>=0;a--)o=x.HY.from(r[a].createAndFill(null,o));let i=e.state.tr.replace(n.pos,n.pos,new x.p2(o,0,0));return i.setSelection(C.Bs.near(i.doc.resolve(n.pos+1))),e.dispatch(i),!1}function O(e){if(!(e.selection instanceof _))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",k.EH.create(e.doc,[k.p.widget(e.selection.head,t,{key:"gapcursor"})])}const A=r.hj.create({name:"gapCursor",addProseMirrorPlugins:()=>[new C.Sy({props:{decorations:O,createSelectionBetween:(e,t,n)=>t.pos==n.pos&&_.valid(n)?new _(n):null,handleClick:L,handleKeyDown:E,handleDOMEvents:{beforeinput:N}}})],extendNodeSchema(e){var t;const n={name:e.name,options:e.options,storage:e.storage};return{allowGapCursor:null!==(t=(0,r.nU)((0,r.Nl)(e,"allowGapCursor",n)))&&void 0!==t?t:null}}});var j=n(54692);const T=r.NB.create({name:"heading",addOptions:()=>({levels:[1,2,3,4,5,6],HTMLAttributes:{}}),content:"inline*",group:"block",defining:!0,addAttributes:()=>({level:{default:1,rendered:!1}}),parseHTML(){return this.options.levels.map((e=>({tag:`h${e}`,attrs:{level:e}})))},renderHTML({node:e,HTMLAttributes:t}){return[`h${this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0]}`,(0,r.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.setNode(this.name,e),toggleHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return this.options.levels.reduce(((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})})),{})},addInputRules(){return this.options.levels.map((e=>(0,r.zK)({find:new RegExp(`^(#{1,${e}})\\s$`),type:this.type,getAttributes:{level:e}})))}});var Z=200,P=function(){};P.prototype.append=function(e){return e.length?(e=P.from(e),!this.length&&e||e.length<Z&&this.leafAppend(e)||this.length<Z&&e.leafPrepend(this)||this.appendInner(e)):this},P.prototype.prepend=function(e){return e.length?P.from(e).append(this):this},P.prototype.appendInner=function(e){return new I(this,e)},P.prototype.slice=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.length),e>=t?P.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},P.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},P.prototype.forEach=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},P.prototype.map=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length);var r=[];return this.forEach((function(t,n){return r.push(e(t,n))}),t,n),r},P.from=function(e){return e instanceof P?e:e&&e.length?new R(e):P.empty};var R=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return 0==e&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,r){for(var o=t;o<n;o++)if(!1===e(this.values[o],r+o))return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){for(var o=t-1;o>=n;o--)if(!1===e(this.values[o],r+o))return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=Z)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=Z)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(P);P.empty=new R([]);var I=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,r){var o=this.left.length;return!(t<o&&!1===this.left.forEachInner(e,t,Math.min(n,o),r))&&(!(n>o&&!1===this.right.forEachInner(e,Math.max(t-o,0),Math.min(this.length,n)-o,r+o))&&void 0)},t.prototype.forEachInvertedInner=function(e,t,n,r){var o=this.left.length;return!(t>o&&!1===this.right.forEachInvertedInner(e,t-o,Math.max(n,o)-o,r+o))&&(!(n<o&&!1===this.left.forEachInvertedInner(e,Math.min(t,o),n,r))&&void 0)},t.prototype.sliceInner=function(e,t){if(0==e&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(P),D=P,z=n(49485);class H{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){if(0==this.eventCount)return null;let n,r,o=this.items.length;for(;;o--){if(this.items.get(o-1).selection){--o;break}}t&&(n=this.remapping(o,this.items.length),r=n.maps.length);let i,a,s=e.tr,l=[],c=[];return this.items.forEach(((e,t)=>{if(!e.step)return n||(n=this.remapping(o,t+1),r=n.maps.length),r--,void c.push(e);if(n){c.push(new B(e.map));let t,o=e.step.map(n.slice(r));o&&s.maybeStep(o).doc&&(t=s.mapping.maps[s.mapping.maps.length-1],l.push(new B(t,void 0,void 0,l.length+c.length))),r--,t&&n.appendMap(t,r)}else s.maybeStep(e.step);return e.selection?(i=n?e.selection.map(n.slice(r)):e.selection,a=new H(this.items.slice(0,o).append(c.reverse().concat(l)),this.eventCount-1),!1):void 0}),this.items.length,0),{remaining:a,transform:s,selection:i}}addTransform(e,t,n,r){let o=[],i=this.eventCount,a=this.items,s=!r&&a.length?a.get(a.length-1):null;for(let c=0;c<e.steps.length;c++){let n,l=e.steps[c].invert(e.docs[c]),u=new B(e.mapping.maps[c],l,t);(n=s&&s.merge(u))&&(u=n,c?o.pop():a=a.slice(0,a.length-1)),o.push(u),t&&(i++,t=void 0),r||(s=u)}let l=i-n.depth;return l>V&&(a=function(e,t){let n;return e.forEach(((e,r)=>{if(e.selection&&0==t--)return n=r,!1})),e.slice(n)}(a,l),i-=l),new H(a.append(o),i)}remapping(e,t){let n=new z.vs;return this.items.forEach(((t,r)=>{let o=null!=t.mirrorOffset&&r-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,o)}),e,t),n}addMaps(e){return 0==this.eventCount?this:new H(this.items.append(e.map((e=>new B(e)))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let n=[],r=Math.max(0,this.items.length-t),o=e.mapping,i=e.steps.length,a=this.eventCount;this.items.forEach((e=>{e.selection&&a--}),r);let s=t;this.items.forEach((t=>{let r=o.getMirror(--s);if(null==r)return;i=Math.min(i,r);let l=o.maps[r];if(t.step){let i=e.steps[r].invert(e.docs[r]),c=t.selection&&t.selection.map(o.slice(s+1,r));c&&a++,n.push(new B(l,i,c))}else n.push(new B(l))}),r);let l=[];for(let d=t;d<i;d++)l.push(new B(o.maps[d]));let c=this.items.slice(0,r).append(l).append(n),u=new H(c,a);return u.emptyItemCount()>500&&(u=u.compress(this.items.length-n.length)),u}emptyItemCount(){let e=0;return this.items.forEach((t=>{t.step||e++})),e}compress(e=this.items.length){let t=this.remapping(0,e),n=t.maps.length,r=[],o=0;return this.items.forEach(((i,a)=>{if(a>=e)r.push(i),i.selection&&o++;else if(i.step){let e=i.step.map(t.slice(n)),a=e&&e.getMap();if(n--,a&&t.appendMap(a,n),e){let s=i.selection&&i.selection.map(t.slice(n));s&&o++;let l,c=new B(a.invert(),e,s),u=r.length-1;(l=r.length&&r[u].merge(c))?r[u]=l:r.push(c)}}else i.map&&n--}),this.items.length,0),new H(D.from(r.reverse()),o)}}H.empty=new H(D.empty,0);class B{constructor(e,t,n,r){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=r}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new B(t.getMap().invert(),t,this.selection)}}}class F{constructor(e,t,n,r,o){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=r,this.prevComposition=o}}const V=20;function q(e){let t=[];for(let n=e.length-1;n>=0&&0==t.length;n--)e[n].forEach(((e,n,r,o)=>t.push(r,o)));return t}function U(e,t){if(!e)return null;let n=[];for(let r=0;r<e.length;r+=2){let o=t.map(e[r],1),i=t.map(e[r+1],-1);o<=i&&n.push(o,i)}return n}let $=!1,W=null;function K(e){let t=e.plugins;if(W!=t){$=!1,W=t;for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){$=!0;break}}return $}const G=new C.H$("history"),Y=new C.H$("closeHistory");function J(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new C.Sy({key:G,state:{init:()=>new F(H.empty,H.empty,null,0,-1),apply:(t,n,r)=>function(e,t,n,r){let o,i=n.getMeta(G);if(i)return i.historyState;n.getMeta(Y)&&(e=new F(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(0==n.steps.length)return e;if(a&&a.getMeta(G))return a.getMeta(G).redo?new F(e.done.addTransform(n,void 0,r,K(t)),e.undone,q(n.mapping.maps),e.prevTime,e.prevComposition):new F(e.done,e.undone.addTransform(n,void 0,r,K(t)),null,e.prevTime,e.prevComposition);if(!1===n.getMeta("addToHistory")||a&&!1===a.getMeta("addToHistory"))return(o=n.getMeta("rebased"))?new F(e.done.rebased(n,o),e.undone.rebased(n,o),U(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new F(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),U(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);{let o=n.getMeta("composition"),i=0==e.prevTime||!a&&e.prevComposition!=o&&(e.prevTime<(n.time||0)-r.newGroupDelay||!function(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach(((e,r)=>{for(let o=0;o<t.length;o+=2)e<=t[o+1]&&r>=t[o]&&(n=!0)})),n}(n,e.prevRanges)),s=a?U(e.prevRanges,n.mapping):q(n.mapping.maps);return new F(e.done.addTransform(n,i?t.selection.getBookmark():void 0,r,K(t)),H.empty,s,n.time,null==o?e.prevComposition:o)}}(n,r,t,e)},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,r="historyUndo"==n?Q:"historyRedo"==n?ee:null;return!!r&&(t.preventDefault(),r(e.state,e.dispatch))}}}})}function X(e,t){return(n,r)=>{let o=G.getState(n);if(!o||0==(e?o.undone:o.done).eventCount)return!1;if(r){let i=function(e,t,n){let r=K(t),o=G.get(t).spec.config,i=(n?e.undone:e.done).popEvent(t,r);if(!i)return null;let a=i.selection.resolve(i.transform.doc),s=(n?e.done:e.undone).addTransform(i.transform,t.selection.getBookmark(),o,r),l=new F(n?s:i.remaining,n?i.remaining:s,null,0,-1);return i.transform.setSelection(a).setMeta(G,{redo:n,historyState:l})}(o,n,e);i&&r(t?i.scrollIntoView():i)}return!0}}const Q=X(!1,!0),ee=X(!0,!0);X(!1,!1),X(!0,!1);const te=r.hj.create({name:"history",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:e,dispatch:t})=>Q(e,t),redo:()=>({state:e,dispatch:t})=>ee(e,t)}),addProseMirrorPlugins(){return[J(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-\u044f":()=>this.editor.commands.undo(),"Shift-Mod-\u044f":()=>this.editor.commands.redo()}}}),ne=r.NB.create({name:"horizontalRule",addOptions:()=>({HTMLAttributes:{}}),group:"block",parseHTML:()=>[{tag:"hr"}],renderHTML({HTMLAttributes:e}){return["hr",(0,r.P1)(this.options.HTMLAttributes,e)]},addCommands(){return{setHorizontalRule:()=>({chain:e,state:t})=>{const{selection:n}=t,{$from:o,$to:i}=n,a=e();return 0===o.parentOffset?a.insertContentAt({from:Math.max(o.pos-1,0),to:i.pos},{type:this.name}):(0,r.EG)(n)?a.insertContentAt(i.pos,{type:this.name}):a.insertContent({type:this.name}),a.command((({tr:e,dispatch:t})=>{var n;if(t){const{$to:t}=e.selection,r=t.end();if(t.nodeAfter)t.nodeAfter.isTextblock?e.setSelection(C.Bs.create(e.doc,t.pos+1)):t.nodeAfter.isBlock?e.setSelection(C.qv.create(e.doc,t.pos)):e.setSelection(C.Bs.create(e.doc,t.pos));else{const o=null===(n=t.parent.type.contentMatch.defaultType)||void 0===n?void 0:n.create();o&&(e.insert(r,o),e.setSelection(C.Bs.create(e.doc,r+1)))}e.scrollIntoView()}return!0})).run()}}},addInputRules(){return[(0,r.x2)({find:/^(?:---|\u2014-|___\s|\*\*\*\s)$/,type:this.type})]}}),re=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,oe=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,ie=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,ae=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,se=r.vc.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:e=>"normal"!==e.style.fontStyle&&null},{style:"font-style=normal",clearMark:e=>e.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:e}){return["em",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[(0,r.Cf)({find:re,type:this.type}),(0,r.Cf)({find:ie,type:this.type})]},addPasteRules(){return[(0,r.K9)({find:oe,type:this.type}),(0,r.K9)({find:ae,type:this.type})]}});var le=n(66458);const ce="textStyle",ue=/^(\d+)\.\s$/,de=r.NB.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:void 0,parseHTML:e=>e.getAttribute("type")}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:e}){const{start:t,...n}=e;return 1===t?["ol",(0,r.P1)(this.options.HTMLAttributes,n),0]:["ol",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(ce)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=(0,r.S0)({find:ue,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=(0,r.S0)({find:ue,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(ce)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[e]}}),fe=r.NB.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),pe=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,he=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,me=r.vc.create({name:"strike",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:e=>!!e.includes("line-through")&&{}}],renderHTML({HTMLAttributes:e}){return["s",(0,r.P1)(this.options.HTMLAttributes,e),0]},addCommands(){return{setStrike:()=>({commands:e})=>e.setMark(this.name),toggleStrike:()=>({commands:e})=>e.toggleMark(this.name),unsetStrike:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[(0,r.Cf)({find:pe,type:this.type})]},addPasteRules(){return[(0,r.K9)({find:he,type:this.type})]}}),ge=r.NB.create({name:"text",group:"inline"}),ve=r.hj.create({name:"starterKit",addExtensions(){var e,t,n,r,o,a,s,l,c,d,f,h,m,w,C,x,k,_;const S=[];return!1!==this.options.bold&&S.push(u.configure(null===(e=this.options)||void 0===e?void 0:e.bold)),!1!==this.options.blockquote&&S.push(i.configure(null===(t=this.options)||void 0===t?void 0:t.blockquote)),!1!==this.options.bulletList&&S.push(p.configure(null===(n=this.options)||void 0===n?void 0:n.bulletList)),!1!==this.options.code&&S.push(g.configure(null===(r=this.options)||void 0===r?void 0:r.code)),!1!==this.options.codeBlock&&S.push(v.dn.configure(null===(o=this.options)||void 0===o?void 0:o.codeBlock)),!1!==this.options.document&&S.push(y.configure(null===(a=this.options)||void 0===a?void 0:a.document)),!1!==this.options.dropcursor&&S.push(b.m.configure(null===(s=this.options)||void 0===s?void 0:s.dropcursor)),!1!==this.options.gapcursor&&S.push(A.configure(null===(l=this.options)||void 0===l?void 0:l.gapcursor)),!1!==this.options.hardBreak&&S.push(j.U.configure(null===(c=this.options)||void 0===c?void 0:c.hardBreak)),!1!==this.options.heading&&S.push(T.configure(null===(d=this.options)||void 0===d?void 0:d.heading)),!1!==this.options.history&&S.push(te.configure(null===(f=this.options)||void 0===f?void 0:f.history)),!1!==this.options.horizontalRule&&S.push(ne.configure(null===(h=this.options)||void 0===h?void 0:h.horizontalRule)),!1!==this.options.italic&&S.push(se.configure(null===(m=this.options)||void 0===m?void 0:m.italic)),!1!==this.options.listItem&&S.push(le.H.configure(null===(w=this.options)||void 0===w?void 0:w.listItem)),!1!==this.options.orderedList&&S.push(de.configure(null===(C=this.options)||void 0===C?void 0:C.orderedList)),!1!==this.options.paragraph&&S.push(fe.configure(null===(x=this.options)||void 0===x?void 0:x.paragraph)),!1!==this.options.strike&&S.push(me.configure(null===(k=this.options)||void 0===k?void 0:k.strike)),!1!==this.options.text&&S.push(ge.configure(null===(_=this.options)||void 0===_?void 0:_.text)),S}})},9532:function(e,t,n){"use strict";n.d(t,{Z:function(){return gt}});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:function(){return le},hasStandardBrowserEnv:function(){return ce},hasStandardBrowserWebWorkerEnv:function(){return de},origin:function(){return fe}});const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,s=(l=Object.create(null),e=>{const t=i.call(e);return l[t]||(l[t]=t.slice(8,-1).toLowerCase())});var l;const c=e=>(e=e.toLowerCase(),t=>s(t)===e),u=e=>t=>typeof t===e,{isArray:d}=Array,f=u("undefined");const p=c("ArrayBuffer");const h=u("string"),m=u("function"),g=u("number"),v=e=>null!==e&&"object"===typeof e,y=e=>{if("object"!==s(e))return!1;const t=a(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},b=c("Date"),w=c("File"),C=c("Blob"),x=c("FileList"),k=c("URLSearchParams"),[_,S,E,M]=["ReadableStream","Request","Response","Headers"].map(c);function L(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let r,o;if("object"!==typeof e&&(e=[e]),d(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function N(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const O="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,A=e=>!f(e)&&e!==O;const j=(T="undefined"!==typeof Uint8Array&&a(Uint8Array),e=>T&&e instanceof T);var T;const Z=c("HTMLFormElement"),P=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),R=c("RegExp"),I=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};L(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},D="abcdefghijklmnopqrstuvwxyz",z="0123456789",H={DIGIT:z,ALPHA:D,ALPHA_DIGIT:D+D.toUpperCase()+z};const B=c("AsyncFunction");var F={isArray:d,isArrayBuffer:p,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&m(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||m(e.append)&&("formdata"===(t=s(e))||"object"===t&&m(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&p(e.buffer),t},isString:h,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:v,isPlainObject:y,isReadableStream:_,isRequest:S,isResponse:E,isHeaders:M,isUndefined:f,isDate:b,isFile:w,isBlob:C,isRegExp:R,isFunction:m,isStream:e=>v(e)&&m(e.pipe),isURLSearchParams:k,isTypedArray:j,isFileList:x,forEach:L,merge:function e(){const{caseless:t}=A(this)&&this||{},n={},r=(r,o)=>{const i=t&&N(n,o)||o;y(n[i])&&y(r)?n[i]=e(n[i],r):y(r)?n[i]=e({},r):d(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&L(arguments[o],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(L(t,((t,r)=>{n&&m(t)?e[r]=o(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 o,i,s;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],r&&!r(s,e,t)||l[s]||(t[s]=e[s],l[s]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:c,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const 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(!g(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Z,hasOwnProperty:P,hasOwnProp:P,reduceDescriptors:I,freezeMethods:e=>{I(e,((t,n)=>{if(m(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];m(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return d(e)?r(e):r(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:N,global:O,isContextDefined:A,ALPHABET:H,generateString:(e=16,t=H.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&m(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(v(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=d(e)?[]:{};return L(e,((e,t)=>{const i=n(e,r+1);!f(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:B,isThenable:e=>e&&(v(e)||m(e))&&m(e.then)&&m(e.catch)};function V(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}F.inherits(V,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:F.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const q=V.prototype,U={};["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=>{U[e]={value:e}})),Object.defineProperties(V,U),Object.defineProperty(q,"isAxiosError",{value:!0}),V.from=(e,t,n,r,o,i)=>{const a=Object.create(q);return F.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),V.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var $=V,W=n(94569).Buffer;function K(e){return F.isPlainObject(e)||F.isArray(e)}function G(e){return F.endsWith(e,"[]")?e.slice(0,-2):e}function Y(e,t,n){return e?e.concat(t).map((function(e,t){return e=G(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const J=F.toFlatObject(F,{},null,(function(e){return/^is[A-Z]/.test(e)}));var X=function(e,t,n){if(!F.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=F.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!F.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!==typeof Blob&&Blob)&&F.isSpecCompliantForm(t);if(!F.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(F.isDate(e))return e.toISOString();if(!s&&F.isBlob(e))throw new $("Blob is not supported. Use a Buffer instead.");return F.isArrayBuffer(e)||F.isTypedArray(e)?s&&"function"===typeof Blob?new Blob([e]):W.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"===typeof e)if(F.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(F.isArray(e)&&function(e){return F.isArray(e)&&!e.some(K)}(e)||(F.isFileList(e)||F.endsWith(n,"[]"))&&(s=F.toArray(e)))return n=G(n),s.forEach((function(e,r){!F.isUndefined(e)&&null!==e&&t.append(!0===a?Y([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!K(e)||(t.append(Y(o,n,i),l(e)),!1)}const u=[],d=Object.assign(J,{defaultVisitor:c,convertValue:l,isVisitable:K});if(!F.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!F.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),F.forEach(n,(function(n,i){!0===(!(F.isUndefined(n)||null===n)&&o.call(t,n,F.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function Q(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ee(e,t){this._pairs=[],e&&X(e,this,t)}const te=ee.prototype;te.append=function(e,t){this._pairs.push([e,t])},te.toString=function(e){const t=e?function(t){return e.call(this,t,Q)}:Q;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ne=ee;function re(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function oe(e,t,n){if(!t)return e;const r=n&&n.encode||re,o=n&&n.serialize;let i;if(i=o?o(t,n):F.isURLSearchParams(t)?t.toString():new ne(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}var ie=class{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){F.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ae={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},se={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:ne,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const le="undefined"!==typeof window&&"undefined"!==typeof document,ce=(ue="undefined"!==typeof navigator&&navigator.product,le&&["ReactNative","NativeScript","NS"].indexOf(ue)<0);var ue;const de="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,fe=le&&window.location.href||"http://localhost";var pe={...r,...se};var he=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&F.isArray(r)?r.length:i,s)return F.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&F.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&F.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(F.isFormData(e)&&F.isFunction(e.entries)){const n={};return F.forEachEntry(e,((e,r)=>{t(function(e){return F.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const me={transitional:ae,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=F.isObject(e);o&&F.isHTMLForm(e)&&(e=new FormData(e));if(F.isFormData(e))return r?JSON.stringify(he(e)):e;if(F.isArrayBuffer(e)||F.isBuffer(e)||F.isStream(e)||F.isFile(e)||F.isBlob(e)||F.isReadableStream(e))return e;if(F.isArrayBufferView(e))return e.buffer;if(F.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return X(e,new pe.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return pe.isNode&&F.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=F.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return X(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(F.isString(e))try{return(t||JSON.parse)(e),F.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||me.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(F.isResponse(e)||F.isReadableStream(e))return e;if(e&&F.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(n){if("SyntaxError"===o.name)throw $.from(o,$.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pe.classes.FormData,Blob:pe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};F.forEach(["delete","get","head","post","put","patch"],(e=>{me.headers[e]={}}));var ge=me;const ve=F.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"]);const ye=Symbol("internals");function be(e){return e&&String(e).trim().toLowerCase()}function we(e){return!1===e||null==e?e:F.isArray(e)?e.map(we):String(e)}function Ce(e,t,n,r,o){return F.isFunction(r)?r.call(this,t,n):(o&&(t=n),F.isString(t)?F.isString(r)?-1!==t.indexOf(r):F.isRegExp(r)?r.test(t):void 0:void 0)}class xe{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=be(t);if(!o)throw new Error("header name must be a non-empty string");const i=F.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=we(e))}const i=(e,t)=>F.forEach(e,((e,n)=>o(e,n,t)));if(F.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(F.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&ve[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(F.isHeaders(e))for(const[a,s]of e.entries())o(s,a,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=be(e)){const n=F.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(F.isFunction(t))return t.call(this,e,n);if(F.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=be(e)){const n=F.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ce(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=be(e)){const o=F.findKey(n,e);!o||t&&!Ce(0,n[o],o,t)||(delete n[o],r=!0)}}return F.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Ce(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return F.forEach(this,((r,o)=>{const i=F.findKey(n,o);if(i)return t[i]=we(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=we(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return F.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&F.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){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[ye]=this[ye]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=be(e);t[r]||(!function(e,t){const n=F.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return F.isArray(e)?e.forEach(r):r(e),this}}xe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),F.reduceDescriptors(xe.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),F.freezeMethods(xe);var ke=xe;function _e(e,t){const n=this||ge,r=t||n,o=ke.from(r.headers);let i=r.data;return F.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Se(e){return!(!e||!e.__CANCEL__)}function Ee(e,t,n){$.call(this,null==e?"canceled":e,$.ERR_CANCELED,t,n),this.name="CanceledError"}F.inherits(Ee,$,{__CANCEL__:!0});var Me=Ee;function Le(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new $("Request failed with status code "+n.status,[$.ERR_BAD_REQUEST,$.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}var Ne=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}};var Oe=function(e,t){let n=0;const r=1e3/t;let o=null;return function(){const t=!0===this,i=Date.now();if(t||i-n>r)return o&&(clearTimeout(o),o=null),n=i,e.apply(null,arguments);o||(o=setTimeout((()=>(o=null,n=Date.now(),e.apply(null,arguments))),r-(i-n)))}},Ae=(e,t,n=3)=>{let r=0;const o=Ne(50,250);return Oe((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a};c[t?"download":"upload"]=!0,e(c)}),n)},je=pe.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=F.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},Te=pe.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];F.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),F.isString(r)&&a.push("path="+r),F.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Ze(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Pe=e=>e instanceof ke?{...e}:e;function Re(e,t){t=t||{};const n={};function r(e,t,n){return F.isPlainObject(e)&&F.isPlainObject(t)?F.merge.call({caseless:n},e,t):F.isPlainObject(t)?F.merge({},t):F.isArray(t)?t.slice():t}function o(e,t,n){return F.isUndefined(t)?F.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!F.isUndefined(t))return r(void 0,t)}function a(e,t){return F.isUndefined(t)?F.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,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:(e,t)=>o(Pe(e),Pe(t),!0)};return F.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);F.isUndefined(a)&&i!==s||(n[r]=a)})),n}var Ie=e=>{const t=Re({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=t;if(t.headers=s=ke.from(s),t.url=oe(Ze(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),F.isFormData(r))if(pe.hasStandardBrowserEnv||pe.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(pe.hasStandardBrowserEnv&&(o&&F.isFunction(o)&&(o=o(t)),o||!1!==o&&je(t.url))){const e=i&&a&&Te.read(a);e&&s.set(i,e)}return t};var De="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Ie(e);let o=r.data;const i=ke.from(r.headers).normalize();let a,{responseType:s}=r;function l(){r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let c=new XMLHttpRequest;function u(){if(!c)return;const r=ke.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());Le((function(e){t(e),l()}),(function(e){n(e),l()}),{data:s&&"text"!==s&&"json"!==s?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c}),c=null}c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout,"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(u)},c.onabort=function(){c&&(n(new $("Request aborted",$.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new $("Network Error",$.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const t=r.transitional||ae;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new $(e,t.clarifyTimeoutError?$.ETIMEDOUT:$.ECONNABORTED,r,c)),c=null},void 0===o&&i.setContentType(null),"setRequestHeader"in c&&F.forEach(i.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),F.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),s&&"json"!==s&&(c.responseType=r.responseType),"function"===typeof r.onDownloadProgress&&c.addEventListener("progress",Ae(r.onDownloadProgress,!0)),"function"===typeof r.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",Ae(r.onUploadProgress)),(r.cancelToken||r.signal)&&(a=t=>{c&&(n(!t||t.type?new Me(null,e,c):t),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const d=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);d&&-1===pe.protocols.indexOf(d)?n(new $("Unsupported protocol "+d+":",$.ERR_BAD_REQUEST,e)):c.send(o||null)}))};var ze=(e,t)=>{let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof $?t:new Me(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{o(new $(`timeout ${t} of ms exceeded`,$.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",o):e.unsubscribe(o))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",o)));const{signal:s}=r;return s.unsubscribe=a,[s,()=>{i&&clearTimeout(i),i=null}]};const He=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Be=(e,t,n,r,o)=>{const i=async function*(e,t,n){for await(const r of e)yield*He(ArrayBuffer.isView(r)?r:await n(String(r)),t)}(e,t,o);let a=0;return new ReadableStream({type:"bytes",async pull(e){const{done:t,value:o}=await i.next();if(t)return e.close(),void r();let s=o.byteLength;n&&n(a+=s),e.enqueue(new Uint8Array(o))},cancel:e=>(r(e),i.return())},{highWaterMark:2})},Fe=(e,t)=>{const n=null!=e;return r=>setTimeout((()=>t({lengthComputable:n,total:e,loaded:r})))},Ve="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,qe=Ve&&"function"===typeof ReadableStream,Ue=Ve&&("function"===typeof TextEncoder?($e=new TextEncoder,e=>$e.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var $e;const We=qe&&(()=>{let e=!1;const t=new Request(pe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Ke=qe&&!!(()=>{try{return F.isReadableStream(new Response("").body)}catch(e){}})(),Ge={stream:Ke&&(e=>e.body)};var Ye;Ve&&(Ye=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Ge[e]&&(Ge[e]=F.isFunction(Ye[e])?t=>t[e]():(t,n)=>{throw new $(`Response type '${e}' is not supported`,$.ERR_NOT_SUPPORT,n)})})));const Je=async(e,t)=>{const n=F.toFiniteNumber(e.getContentLength());return null==n?(async e=>null==e?0:F.isBlob(e)?e.size:F.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:F.isArrayBufferView(e)?e.byteLength:(F.isURLSearchParams(e)&&(e+=""),F.isString(e)?(await Ue(e)).byteLength:void 0))(t):n};const Xe={http:null,xhr:De,fetch:Ve&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=Ie(e);c=c?(c+"").toLowerCase():"text";let p,h,[m,g]=o||i||a?ze([o,i],a):[];const v=()=>{!p&&setTimeout((()=>{m&&m.unsubscribe()})),p=!0};let y;try{if(l&&We&&"get"!==n&&"head"!==n&&0!==(y=await Je(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});F.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body&&(r=Be(n.body,65536,Fe(y,Ae(l)),null,Ue))}F.isString(d)||(d=d?"cors":"omit"),h=new Request(t,{...f,signal:m,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:d});let o=await fetch(h);const i=Ke&&("stream"===c||"response"===c);if(Ke&&(s||i)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=F.toFiniteNumber(o.headers.get("content-length"));o=new Response(Be(o.body,65536,s&&Fe(t,Ae(s,!0)),i&&v,Ue),e)}c=c||"text";let a=await Ge[F.findKey(Ge,c)||"text"](o,e);return!i&&v(),g&&g(),await new Promise(((t,n)=>{Le(t,n,{data:a,headers:ke.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:h})}))}catch(b){if(v(),b&&"TypeError"===b.name&&/fetch/i.test(b.message))throw Object.assign(new $("Network Error",$.ERR_NETWORK,e,h),{cause:b.cause||b});throw $.from(b,b&&b.code,e,h)}})};F.forEach(Xe,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const Qe=e=>`- ${e}`,et=e=>F.isFunction(e)||null===e||!1===e;var tt=e=>{e=F.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!et(n)&&(r=Xe[(t=String(n)).toLowerCase()],void 0===r))throw new $(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(Qe).join("\n"):" "+Qe(e[0]):"as no adapter specified";throw new $("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function nt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Me(null,e)}function rt(e){nt(e),e.headers=ke.from(e.headers),e.data=_e.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return tt(e.adapter||ge.adapter)(e).then((function(t){return nt(e),t.data=_e.call(e,e.transformResponse,t),t.headers=ke.from(t.headers),t}),(function(t){return Se(t)||(nt(e),t&&t.response&&(t.response.data=_e.call(e,e.transformResponse,t.response),t.response.headers=ke.from(t.response.headers))),Promise.reject(t)}))}const ot="1.7.2",it={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{it[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const at={};it.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new $(r(o," has been removed"+(t?" in "+t:"")),$.ERR_DEPRECATED);return t&&!at[o]&&(at[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var st={assertOptions:function(e,t,n){if("object"!==typeof e)throw new $("options must be an object",$.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new $("option "+i+" must be "+n,$.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new $("Unknown option "+i,$.ERR_BAD_OPTION)}},validators:it};const lt=st.validators;class ct{constructor(e){this.defaults=e,this.interceptors={request:new ie,response:new ie}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(r){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},t=Re(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&st.assertOptions(n,{silentJSONParsing:lt.transitional(lt.boolean),forcedJSONParsing:lt.transitional(lt.boolean),clarifyTimeoutError:lt.transitional(lt.boolean)},!1),null!=r&&(F.isFunction(r)?t.paramsSerializer={serialize:r}:st.assertOptions(r,{encode:lt.function,serialize:lt.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&F.merge(o.common,o[t.method]);o&&F.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=ke.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[rt.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let f=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{f=e(f)}catch(p){t.call(this,p);break}}try{c=rt.call(this,f)}catch(p){return Promise.reject(p)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return oe(Ze((e=Re(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}F.forEach(["delete","get","head","options"],(function(e){ct.prototype[e]=function(t,n){return this.request(Re(n||{},{method:e,url:t,data:(n||{}).data}))}})),F.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Re(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}ct.prototype[e]=t(),ct.prototype[e+"Form"]=t(!0)}));var ut=ct;class dt{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const 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;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Me(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new dt((function(t){e=t})),cancel:e}}}var ft=dt;const pt={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(pt).forEach((([e,t])=>{pt[t]=e}));var ht=pt;const mt=function e(t){const n=new ut(t),r=o(ut.prototype.request,n);return F.extend(r,ut.prototype,n,{allOwnKeys:!0}),F.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Re(t,n))},r}(ge);mt.Axios=ut,mt.CanceledError=Me,mt.CancelToken=ft,mt.isCancel=Se,mt.VERSION=ot,mt.toFormData=X,mt.AxiosError=$,mt.Cancel=mt.CanceledError,mt.all=function(e){return Promise.all(e)},mt.spread=function(e){return function(t){return e.apply(null,t)}},mt.isAxiosError=function(e){return F.isObject(e)&&!0===e.isAxiosError},mt.mergeConfig=Re,mt.AxiosHeaders=ke,mt.formToJSON=e=>he(F.isHTMLForm(e)?new FormData(e):e),mt.getAdapter=tt,mt.HttpStatusCode=ht,mt.default=mt;var gt=mt},4814:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function o(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}n.d(t,{W:function(){return o}}),t.Z=o},82034:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});const r=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),i=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),s=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();function l(e){const t=e.regex,n=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(e),l=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+i.join("|")+")"},{begin:":(:)?("+a.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...l,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...l,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:o.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...l,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+r.join("|")+")\\b"}]}}},76550:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});const r="[A-Za-z$_][0-9A-Za-z$_]*",o=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],i=["true","false","null","undefined","NaN","Infinity"],a=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],s=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],l=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],c=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],u=[].concat(l,a,s);function d(e){const t=e.regex,n=r,d="<>",f="</>",p={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];if("<"===r||","===r)return void t.ignoreMatch();let o;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const i=e.input.substring(n);((o=i.match(/^\s*=/))||(o=i.match(/^\s+extends\s+/))&&0===o.index)&&t.ignoreMatch()}},h={$pattern:r,keyword:o,literal:i,built_in:u,"variable.language":c},m="\\.([0-9](_?[0-9])*)",g="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",v={className:"number",variants:[{begin:`(\\b(${g})((${m})|\\.)?|(${m}))[eE][+-]?([0-9](_?[0-9])*)\\b`},{begin:`\\b(${g})\\b((${m})\\b|\\.)?|(${m})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:h,contains:[]},b={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},w={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"css"}},C={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"graphql"}},x={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,y]},k={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},_=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,w,C,x,{match:/\$\d+/},v];y.contains=_.concat({begin:/\{/,end:/\}/,keywords:h,contains:["self"].concat(_)});const S=[].concat(k,y.contains),E=S.concat([{begin:/(\s*)\(/,end:/\)/,keywords:h,contains:["self"].concat(S)}]),M={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:E},L={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},N={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...a,...s]}},O={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[M],illegal:/%/};const A={match:t.concat(/\b/,(j=[...l,"super","import"].map((e=>`${e}\\s*\\(`)),t.concat("(?!",j.join("|"),")")),n,t.lookahead(/\s*\(/)),className:"title.function",relevance:0};var j;const T={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Z={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},M]},P="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",R={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[M]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:h,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:N},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,w,C,x,k,{match:/\$\d+/},v,N,{className:"attr",begin:n+t.lookahead(":"),relevance:0},R,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[k,e.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:d,end:f},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:p.begin,"on:begin":p.isTrulyOpeningTag,end:p.end}],subLanguage:"xml",contains:[{begin:p.begin,end:p.end,skip:!0,contains:["self"]}]}]},O,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[M,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},T,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[M]},A,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},L,Z,{match:/\$[(.]/}]}}},30597:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});const r="[A-Za-z$_][0-9A-Za-z$_]*",o=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],i=["true","false","null","undefined","NaN","Infinity"],a=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],s=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],l=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],c=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],u=[].concat(l,a,s);function d(e){const t=e.regex,n=r,d="<>",f="</>",p={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];if("<"===r||","===r)return void t.ignoreMatch();let o;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const i=e.input.substring(n);((o=i.match(/^\s*=/))||(o=i.match(/^\s+extends\s+/))&&0===o.index)&&t.ignoreMatch()}},h={$pattern:r,keyword:o,literal:i,built_in:u,"variable.language":c},m="\\.([0-9](_?[0-9])*)",g="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",v={className:"number",variants:[{begin:`(\\b(${g})((${m})|\\.)?|(${m}))[eE][+-]?([0-9](_?[0-9])*)\\b`},{begin:`\\b(${g})\\b((${m})\\b|\\.)?|(${m})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:h,contains:[]},b={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},w={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"css"}},C={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"graphql"}},x={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,y]},k={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},_=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,w,C,x,{match:/\$\d+/},v];y.contains=_.concat({begin:/\{/,end:/\}/,keywords:h,contains:["self"].concat(_)});const S=[].concat(k,y.contains),E=S.concat([{begin:/(\s*)\(/,end:/\)/,keywords:h,contains:["self"].concat(S)}]),M={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:E},L={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},N={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...a,...s]}},O={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[M],illegal:/%/};const A={match:t.concat(/\b/,(j=[...l,"super","import"].map((e=>`${e}\\s*\\(`)),t.concat("(?!",j.join("|"),")")),n,t.lookahead(/\s*\(/)),className:"title.function",relevance:0};var j;const T={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Z={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},M]},P="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",R={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[M]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:h,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:N},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,w,C,x,k,{match:/\$\d+/},v,N,{className:"attr",begin:n+t.lookahead(":"),relevance:0},R,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[k,e.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:d,end:f},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:p.begin,"on:begin":p.isTrulyOpeningTag,end:p.end}],subLanguage:"xml",contains:[{begin:p.begin,end:p.end,skip:!0,contains:["self"]}]}]},O,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[M,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},T,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[M]},A,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},L,Z,{match:/\$[(.]/}]}}function f(e){const t=d(e),n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},s={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[t.exports.CLASS_REFERENCE]},l={$pattern:r,keyword:o.concat(["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"]),literal:i,built_in:u.concat(n),"variable.language":c},f={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},p=(e,t,n)=>{const r=e.contains.findIndex((e=>e.label===t));if(-1===r)throw new Error("can not find mode to replace");e.contains.splice(r,1,n)};Object.assign(t.keywords,l),t.exports.PARAMS_CONTAINS.push(f);const h=t.contains.find((e=>"attr"===e.className));t.exports.PARAMS_CONTAINS.push([t.exports.CLASS_REFERENCE,h]),t.contains=t.contains.concat([f,a,s]),p(t,"shebang",e.SHEBANG()),p(t,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/});return t.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t}},43687:function(e,t,n){"use strict";function r(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(o,{begin:/\(/,end:/\)/}),a=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,s,a,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,i,s,a]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}n.d(t,{Z:function(){return r}})},27777:function(e,t,n){"use strict";var r=n(50153);r.domToReact,r.htmlToDOM,r.attributesToProps,r.Comment,r.Element,r.ProcessingInstruction,r.Text;t.ZP=r},18846: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("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[W]}function i(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===K}(e)||Array.isArray(e)||!!e[$]||!!(null===(t=e.constructor)||void 0===t?void 0:t[$])||f(e)||p(e))}function a(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:G)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function s(e){var t=e[W];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:f(e)?2:p(e)?3:0}function l(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){return 2===s(e)?e.get(t):e[t]}function u(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return F&&e instanceof Map}function p(e){return V&&e instanceof Set}function h(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Y(e);delete t[W];for(var n=G(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function g(e,t){return void 0===t&&(t=!1),y(e)||o(e)||!i(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&a(e,(function(e,t){return g(t,!0)}),!0)),e}function v(){r(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=J[e];return t||r(18,e),t}function w(e,t){J[e]||(J[e]=t)}function C(){return H}function x(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function k(e){_(e),e.p.forEach(E),e.p=null}function _(e){e===H&&(H=e.l)}function S(e){return H={p:[],l:H,h:e,m:!0,_:0}}function E(e){var t=e[W];0===t.i||1===t.i?t.j():t.g=!0}function M(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.O||b("ES5").S(t,e,o),o?(n[W].P&&(k(t),r(4)),i(e)&&(e=L(t,e),t.l||O(t,e)),t.u&&b("Patches").M(n[W].t,e,t.u,t.s)):e=L(t,n,[]),k(t),t.u&&t.v(t.u,t.s),e!==U?e:void 0}function L(e,t,n){if(y(t))return t;var r=t[W];if(!r)return a(t,(function(o,i){return N(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return O(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=m(r.k):r.o,i=o,s=!1;3===r.i&&(i=new Set(o),o.clear(),s=!0),a(i,(function(t,i){return N(e,r,o,t,i,n,s)})),O(e,o,!1),n&&e.u&&b("Patches").N(r,n,e.u,e.s)}return r.o}function N(e,t,n,r,a,s,c){if(o(a)){var d=L(e,a,s&&t&&3!==t.i&&!l(t.R,r)?s.concat(r):void 0);if(u(n,r,d),!o(d))return;e.m=!1}else c&&n.add(a);if(i(a)&&!y(a)){if(!e.h.D&&e._<1)return;L(e,a),t&&t.A.l||O(e,a)}}function O(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&g(t,n)}function A(e,t){var n=e[W];return(n?h(n):e)[t]}function j(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function T(e){e.P||(e.P=!0,e.l&&T(e.l))}function Z(e){e.o||(e.o=m(e.t))}function P(e,t,n){var r=f(t)?b("MapSet").F(t,n):p(t)?b("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:C(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=X;n&&(o=[r],i=Q);var a=Proxy.revocable(o,i),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(t,n):b("ES5").J(t,n);return(n?n.A:C()).p.push(r),r}function R(e){return o(e)||r(22,e),function e(t){if(!i(t))return t;var n,r=t[W],o=s(t);if(r){if(!r.P&&(r.i<4||!b("ES5").K(r)))return r.t;r.I=!0,n=I(t,o),r.I=!1}else n=I(t,o);return a(n,(function(t,o){r&&c(r.t,t)===o||u(n,t,e(o))})),3===o?new Set(n):n}(e)}function I(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}function D(){function e(e,t){var n=i[e];return n?n.enumerable=t:i[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[W];return X.get(t,e)},set:function(t){var n=this[W];X.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][W];if(!o.P)switch(o.i){case 5:r(o)&&T(o);break;case 4:n(o)&&T(o)}}}function n(e){for(var t=e.t,n=e.k,r=G(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==W){var a=t[i];if(void 0===a&&!l(t,i))return!0;var s=n[i],c=s&&s[W];if(c?c.t!==a:!d(s,a))return!0}}var u=!!t[W];return r.length!==G(t).length+(u?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var i={};w("ES5",{J:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=Y(n);delete i[W];for(var a=G(i),s=0;s<a.length;s++){var l=a[s];i[l]=e(l,t||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={i:r?5:4,A:n?n.A:C(),P:!1,I:!1,R:{},l:n,t:t,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,W,{value:i,writable:!0}),o},S:function(e,n,i){i?o(n)&&n[W].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[W];if(n){var o=n.t,i=n.k,s=n.R,c=n.i;if(4===c)a(i,(function(t){t!==W&&(void 0!==o[t]||l(o,t)?s[t]||e(i[t]):(s[t]=!0,T(n)))})),a(o,(function(e){void 0!==i[e]||l(i,e)||(s[e]=!1,T(n))}));else if(5===c){if(r(n)&&(T(n),s.length=!0),i.length<o.length)for(var u=i.length;u<o.length;u++)s[u]=!1;else for(var d=o.length;d<i.length;d++)s[d]=!0;for(var f=Math.min(i.length,o.length),p=0;p<f;p++)i.hasOwnProperty(p)||(s[p]=!0),void 0===s[p]&&e(i[p])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}n.d(t,{Vk:function(){return R},mv:function(){return o},o$:function(){return i},pV:function(){return D}});var z,H,B="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),F="undefined"!=typeof Map,V="undefined"!=typeof Set,q="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,U=B?Symbol.for("immer-nothing"):((z={})["immer-nothing"]=!0,z),$=B?Symbol.for("immer-draftable"):"__$immer_draftable",W=B?Symbol.for("immer-state"):"__$immer_state",K=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),G="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Y=Object.getOwnPropertyDescriptors||function(e){var t={};return G(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},J={},X={get:function(e,t){if(t===W)return e;var n=h(e);if(!l(n,t))return function(e,t,n){var r,o=j(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!i(r)?r:r===A(e.t,t)?(Z(e),e.o[t]=P(e.A.h,r,e)):r},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=j(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=A(h(e),t),i=null==o?void 0:o[W];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(d(n,o)&&(void 0!==n||l(e.t,t)))return!0;Z(e),T(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==A(e.t,t)||t in e.t?(e.R[t]=!1,Z(e),T(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},Q={};a(X,(function(e,t){Q[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Q.deleteProperty=function(e,t){return Q.set.call(this,e,t,void 0)},Q.set=function(e,t,n){return X.set.call(this,e[0],t,n,e[0])};var ee=function(){function e(e){var t=this;this.O=q,this.D=!0,this.produce=function(e,n,o){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return s.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(o))}))}}var l;if("function"!=typeof n&&r(6),void 0!==o&&"function"!=typeof o&&r(7),i(e)){var c=S(t),u=P(t,e,void 0),d=!0;try{l=n(u),d=!1}finally{d?k(c):_(c)}return"undefined"!=typeof Promise&&l instanceof Promise?l.then((function(e){return x(c,o),M(e,c)}),(function(e){throw k(c),e})):(x(c,o),M(l,c))}if(!e||"object"!=typeof e){if(void 0===(l=n(e))&&(l=e),l===U&&(l=void 0),t.D&&g(l,!0),o){var f=[],p=[];b("Patches").M(e,l,f,p),o(f,p)}return l}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){i(e)||r(8),o(e)&&(e=R(e));var t=S(this),n=P(this,e,void 0);return n[W].C=!0,_(t),n},t.finishDraft=function(e,t){var n=(e&&e[W]).A;return x(n,t),M(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!q&&r(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var i=b("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),te=new ee,ne=te.produce;te.produceWithPatches.bind(te),te.setAutoFreeze.bind(te),te.setUseProxies.bind(te),te.applyPatches.bind(te),te.createDraft.bind(te),te.finishDraft.bind(te);t.ZP=ne},13827:function(e,t,n){"use strict";n.d(t,{$:function(){return ye}});const r=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],o=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],i=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],s=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();var l="\\.([0-9](_*[0-9])*)",c="[0-9a-fA-F](_*[0-9a-fA-F])*",u={className:"number",variants:[{begin:`(\\b([0-9](_*[0-9])*)((${l})|\\.)?|(${l}))[eE][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:`\\b([0-9](_*[0-9])*)((${l})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${l})[fFdD]?\\b`},{begin:"\\b([0-9](_*[0-9])*)[fFdD]\\b"},{begin:`\\b0[xX]((${c})\\.?|(${c})?\\.(${c}))[pP][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${c})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function d(e,t,n){return-1===n?"":e.replace(t,(r=>d(e,t,n-1)))}const f="[A-Za-z$_][0-9A-Za-z$_]*",p=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],h=["true","false","null","undefined","NaN","Infinity"],m=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],g=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],v=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],y=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],b=[].concat(v,m,g);var w="\\.([0-9](_*[0-9])*)",C="[0-9a-fA-F](_*[0-9a-fA-F])*",x={className:"number",variants:[{begin:`(\\b([0-9](_*[0-9])*)((${w})|\\.)?|(${w}))[eE][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:`\\b([0-9](_*[0-9])*)((${w})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${w})[fFdD]?\\b`},{begin:"\\b([0-9](_*[0-9])*)[fFdD]\\b"},{begin:`\\b0[xX]((${C})\\.?|(${C})?\\.(${C}))[pP][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${C})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};const k=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],_=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],S=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],E=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],M=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),L=S.concat(E);const N=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],O=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],A=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],j=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],T=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function Z(e){return e?"string"===typeof e?e:e.source:null}function P(e){return R("(?=",e,")")}function R(...e){return e.map((e=>Z(e))).join("")}function I(...e){const t=function(e){const t=e[e.length-1];return"object"===typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>Z(e))).join("|")+")"}const D=e=>R(/\b/,e,/\w$/.test(e)?/\b/:/\B/),z=["Protocol","Type"].map(D),H=["init","self"].map(D),B=["Any","Self"],F=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],V=["false","nil","true"],q=["assignment","associativity","higherThan","left","lowerThan","none","right"],U=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],$=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],W=I(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),K=I(W,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),G=R(W,K,"*"),Y=I(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),J=I(Y,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),X=R(Y,J,"*"),Q=R(/[A-Z]/,J,"*"),ee=["autoclosure",R(/convention\(/,I("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",R(/objc\(/,X,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],te=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];const ne="[A-Za-z$_][0-9A-Za-z$_]*",re=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],oe=["true","false","null","undefined","NaN","Infinity"],ie=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ae=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],se=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],le=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],ce=[].concat(se,ie,ae);var ue=n(5e3),de=n(60571);const fe=Object.assign(pe(Error),{eval:pe(EvalError),range:pe(RangeError),reference:pe(ReferenceError),syntax:pe(SyntaxError),type:pe(TypeError),uri:pe(URIError)});function pe(e){return t.displayName=e.displayName||e.name,t;function t(t,...n){const r=t?de(t,...n):t;return new e(r)}}const he={}.hasOwnProperty,me="hljs-";function ge(e,t,n={}){let r=n.prefix;if("string"!==typeof e)throw fe("Expected `string` for name, got `%s`",e);if(!ue.getLanguage(e))throw fe("Unknown language: `%s` is not registered",e);if("string"!==typeof t)throw fe("Expected `string` for value, got `%s`",t);null!==r&&void 0!==r||(r=me),ue.configure({__emitter:ve,classPrefix:r});const o=ue.highlight(t,{language:e,ignoreIllegals:!0});if(ue.configure({}),o.errorRaised)throw o.errorRaised;return o._emitter.root.data.language=o.language,o._emitter.root.data.relevance=o.relevance,o._emitter.root}class ve{constructor(e){this.options=e,this.root={type:"root",data:{language:null,relevance:0},children:[]},this.stack=[this.root]}addText(e){if(""===e)return;const t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){const n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:"element",tagName:"span",properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){const t={type:"element",tagName:"span",properties:{className:e.split(".").map(((e,t)=>t?e+"_".repeat(t):this.options.classPrefix+e))},children:[]};this.stack[this.stack.length-1].children.push(t),this.stack.push(t)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const ye={highlight:ge,highlightAuto:function(e,t={}){const n=t.subset||ue.listLanguages();let r=t.prefix,o=-1,i={type:"root",data:{language:null,relevance:0},children:[]};if(null!==r&&void 0!==r||(r=me),"string"!==typeof e)throw fe("Expected `string` for value, got `%s`",e);for(;++o<n.length;){const r=n[o];if(!ue.getLanguage(r))continue;const a=ge(r,e,t);a.data.relevance>i.data.relevance&&(i=a)}return i},registerLanguage:function(e,t){ue.registerLanguage(e,t)},registered:function(e){return Boolean(ue.getLanguage(e))},listLanguages:function(){return ue.listLanguages()},registerAlias:function(e,t){if("string"===typeof e)ue.registerAliases(t,{languageName:e});else{let t;for(t in e)he.call(e,t)&&ue.registerAliases(e[t],{languageName:t})}}};ye.registerLanguage("arduino",(function(e){const t={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},n=function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",i="(?!struct)(decltype\\(auto\\)|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},d=t.optional(o)+e.IDENT_RE+"\\s*\\(",f={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},p={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},h=[p,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:f,contains:h.concat([{begin:/\(/,end:/\)/,keywords:f,contains:h.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:f,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:f,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,g,p,h,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:f,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:f},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}(e),r=n.keywords;return r.type=[...r.type,...t.type],r.literal=[...r.literal,...t.literal],r.built_in=[...r.built_in,...t.built_in],r._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n})),ye.registerLanguage("bash",(function(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,o]};o.contains.push(a);const s={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},l=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[l,e.SHEBANG(),c,s,e.HASH_COMMENT_MODE,i,{match:/(\/[a-z._-]+)+/},a,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},n]}})),ye.registerLanguage("c",(function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",i="(decltype\\(auto\\)|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},d=t.optional(o)+e.IDENT_RE+"\\s*\\(",f={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},p=[c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],h={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:f,contains:p.concat([{begin:/\(/,end:/\)/,keywords:f,contains:p.concat(["self"]),relevance:0}]),relevance:0},m={begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:f,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:f,disableAutodetect:!0,illegal:"</",contains:[].concat(h,m,p,[c,{begin:e.IDENT_RE+"::",keywords:f},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:f}}})),ye.registerLanguage("cpp",(function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",i="(?!struct)(decltype\\(auto\\)|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},d=t.optional(o)+e.IDENT_RE+"\\s*\\(",f={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},p={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},h=[p,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:f,contains:h.concat([{begin:/\(/,end:/\)/,keywords:f,contains:h.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+i+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:f,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:f,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,g,p,h,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:f,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:f},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}})),ye.registerLanguage("csharp",(function(e){const t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},i=e.inherit(o,{illegal:/\n/}),a={className:"subst",begin:/\{/,end:/\}/,keywords:t},s=e.inherit(a,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,s]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},a]},u=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]});a.contains=[c,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],s.contains=[u,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const d={variants:[c,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},f={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},p=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",h={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},d,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,f,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,f,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+p+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,f],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,r,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},h]}})),ye.registerLanguage("css",(function(e){const t=e.regex,n=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}))(e),l=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+i.join("|")+")"},{begin:":(:)?("+a.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...l,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...l,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:o.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...l,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+r.join("|")+")\\b"}]}})),ye.registerLanguage("diff",(function(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}})),ye.registerLanguage("go",(function(e){const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}})),ye.registerLanguage("graphql",(function(e){const t=e.regex;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}})),ye.registerLanguage("ini",(function(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const o={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[r,i,o,a,n,"self"],relevance:0},l=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:t.concat(l,"(\\s*\\.\\s*",l,")*",t.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[r,s,i,o,a,n]}}]}})),ye.registerLanguage("java",(function(e){const t=e.regex,n="[\xc0-\u02b8a-zA-Z_$][\xc0-\u02b8a-zA-Z_$0-9]*",r=n+d("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),o={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},i={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},a={className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:o,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:o,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,u,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},u,i]}})),ye.registerLanguage("javascript",(function(e){const t=e.regex,n=f,r="<>",o="</>",i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];if("<"===r||","===r)return void t.ignoreMatch();let o;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const i=e.input.substring(n);((o=i.match(/^\s*=/))||(o=i.match(/^\s+extends\s+/))&&0===o.index)&&t.ignoreMatch()}},a={$pattern:f,keyword:p,literal:h,built_in:b,"variable.language":y},s="\\.([0-9](_?[0-9])*)",l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${s})|\\.)?|(${s}))[eE][+-]?([0-9](_?[0-9])*)\\b`},{begin:`\\b(${l})\\b((${s})\\b|\\.)?|(${s})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},w={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},C={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},x={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},k={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},_=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,w,C,x,{match:/\$\d+/},c];u.contains=_.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(_)});const S=[].concat(k,u.contains),E=S.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(S)}]),M={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:E},L={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},N={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...m,...g]}},O={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[M],illegal:/%/},A={match:t.concat(/\b/,(j=[...v,"super","import"],t.concat("(?!",j.join("|"),")")),n,t.lookahead(/\(/)),className:"title.function",relevance:0};var j;const T={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Z={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},M]},P="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",R={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[M]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:N},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,w,C,x,k,{match:/\$\d+/},c,N,{className:"attr",begin:n+t.lookahead(":"),relevance:0},R,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[k,e.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r,end:o},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},O,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[M,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},T,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[M]},A,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},L,Z,{match:/\$[(.]/}]}})),ye.registerLanguage("json",(function(e){const t=["true","false","null"],n={scope:"literal",beginKeywords:t.join(" ")};return{name:"JSON",keywords:{literal:t},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,n,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}})),ye.registerLanguage("kotlin",(function(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},o={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},i={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,r]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,o,r]}]};r.contains.push(i);const a={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},s={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(i,{className:"string"}),"self"]}]},l=x,c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),u={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},d=u;return d.variants[1].contains=[u],u.variants[1].contains=[d],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n,a,s,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[u,e.C_LINE_COMMENT_MODE,c],relevance:0},e.C_LINE_COMMENT_MODE,c,a,s,i,e.C_NUMBER_MODE]},c]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},a,s]},i,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},l]}})),ye.registerLanguage("less",(function(e){const t=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}))(e),n=L,r="([\\w-]+|@\\{[\\w-]+\\})",o=[],i=[],a=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},s=function(e,t,n){return{className:e,begin:t,relevance:n}},l={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:_.join(" ")},c={begin:"\\(",end:"\\)",contains:i,keywords:l,relevance:0};i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a("'"),a('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,c,s("variable","@@?[\\w-]+",10),s("variable","@\\{[\\w-]+\\}"),s("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const u=i.concat({begin:/\{/,end:/\}/,contains:o}),d={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(i)},f={begin:r+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+M.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:i}}]},p={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:l,returnEnd:!0,contains:i,relevance:0}},h={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:u}},m={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:r,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,d,s("keyword","all\\b"),s("variable","@\\{[\\w-]+\\}"),{begin:"\\b("+k.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,s("selector-tag",r,0),s("selector-id","#"+r),s("selector-class","\\."+r,0),s("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+S.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+E.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:u},{begin:"!important"},t.FUNCTION_DISPATCH]},g={begin:`[\\w-]+:(:)?(${n.join("|")})`,returnBegin:!0,contains:[m]};return o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,h,g,f,m,d,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:o}})),ye.registerLanguage("lua",(function(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},o=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[",n,{contains:[r],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:o.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:o}].concat(o)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}})),ye.registerLanguage("makefile",(function(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t]},o={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,r,o,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},i]}})),ye.registerLanguage("markdown",(function(e){const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},r={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},o={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},i=e.inherit(r,{contains:[]}),a=e.inherit(o,{contains:[]});r.contains.push(a),o.contains.push(i);let s=[t,n];return[r,o,i,a].forEach((e=>{e.contains=e.contains.concat(s)})),s=s.concat(r,o),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:s}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},r,o,{className:"quote",begin:"^>\\s+",contains:s,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},n,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}})),ye.registerLanguage("objectivec",(function(e){const t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}})),ye.registerLanguage("perl",(function(e){const t=e.regex,n=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"].join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},i={begin:/->\{/,end:/\}/},a={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},s=[e.BACKSLASH_ESCAPE,o,a],l=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],c=(e,r,o="\\1")=>{const i="\\1"===o?o:t.concat(o,r);return t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,i,/(?:\\.|[^\\\/])*?/,o,n)},u=(e,r,o)=>t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,o,n),d=[a,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),i,{className:"string",contains:s,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:c("s|tr|y",t.either(...l,{capture:!0}))},{begin:c("s|tr|y","\\(","\\)")},{begin:c("s|tr|y","\\[","\\]")},{begin:c("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:u("(?:m|qr)?",/\//,/\//)},{begin:u("m|qr",t.either(...l,{capture:!0}),/\1/)},{begin:u("m|qr",/\(/,/\)/)},{begin:u("m|qr",/\[/,/\]/)},{begin:u("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=d,i.contains=d,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:d}})),ye.registerLanguage("php",(function(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),o=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),i={scope:"variable",match:"\\$+"+r},a={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},s=e.inherit(e.APOS_STRING_MODE,{illegal:null}),l="[ \t\n]",c={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(a)}),s,{begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(a),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},u={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},d=["false","null","true"],f=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],p=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],h={keyword:f,literal:(e=>{const t=[];return e.forEach((e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())})),t})(d),built_in:p},m=e=>e.map((e=>e.replace(/\|\d+$/,""))),g={variants:[{match:[/new/,t.concat(l,"+"),t.concat("(?!",m(p).join("\\b|"),"\\b)"),o],scope:{1:"keyword",4:"title.class"}}]},v=t.concat(r,"\\b(?!\\()"),y={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),v],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[o,t.concat(/::/,t.lookahead(/(?!class\b)/)),v],scope:{1:"title.class",3:"variable.constant"}},{match:[o,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},b={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},w={relevance:0,begin:/\(/,end:/\)/,keywords:h,contains:[b,i,y,e.C_BLOCK_COMMENT_MODE,c,u,g]},C={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",m(f).join("\\b|"),"|",m(p).join("\\b|"),"\\b)"),r,t.concat(l,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[w]};w.contains.push(C);const x=[b,y,e.C_BLOCK_COMMENT_MODE,c,u,g];return{case_insensitive:!1,keywords:h,contains:[{begin:t.concat(/#\[\s*/,o),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:d,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:d,keyword:["new","array"]},contains:["self",...x]},...x,{scope:"meta",match:o}]},e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},i,C,y,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},g,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:h,contains:["self",i,y,e.C_BLOCK_COMMENT_MODE,c,u]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},c,u]}})),ye.registerLanguage("php-template",(function(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}})),ye.registerLanguage("plaintext",(function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}})),ye.registerLanguage("python",(function(e){const t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],o={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},i={className:"meta",begin:/^(>>>|\.\.\.) /},a={className:"subst",begin:/\{/,end:/\}/,keywords:o,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,s,a]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,a]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,f={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`}]},p={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:o,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},h={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:["self",i,f,l,e.HASH_COMMENT_MODE]}]};return a.contains=[l,f,i],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,illegal:/(<\/|\?)|=>/,contains:[i,f,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},l,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[h]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,h,l]}]}})),ye.registerLanguage("python-repl",(function(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}})),ye.registerLanguage("r",(function(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),o=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[o,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[i,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:o},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}})),ye.registerLanguage("ruby",(function(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),o=t.concat(r,/(::\w+)*/),i={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},a={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[a]}),e.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:i},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[0-9](_?[0-9])*",f={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},p={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:i}]},h=[u,{variants:[{match:[/class\s+/,o,/\s+<\s+/,o]},{match:[/\b(class|module)\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},{match:[/(include|extend)\s+/,o],scope:{2:"title.class"},keywords:i},{relevance:0,match:[o,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[p]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},f,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);c.contains=h,p.contains=h;const m=[{begin:/^\s*=>/,starts:{end:"$",contains:h}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:i,contains:h}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(m).concat(l).concat(h)}})),ye.registerLanguage("rust",(function(e){const t=e.regex,n={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let\b)/,e.IDENT_RE,t.lookahead(/\s*\(/))},r="([ui](8|16|32|64|128|size)|f(32|64))?",o=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],i=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:i,keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:o},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+r},{begin:"\\b0o([0-7_]+)"+r},{begin:"\\b0x([A-Fa-f0-9_]+)"+r},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+r}],relevance:0},{begin:[/fn/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,e.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:o,type:i}},{className:"punctuation",begin:"->"},n]}})),ye.registerLanguage("scss",(function(e){const t=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}))(e),n=j,r=A,o="@[a-z-]+",i={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+N.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},i,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+T.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,i,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:o,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:O.join(" ")},contains:[{begin:o,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},i,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}})),ye.registerLanguage("shell",(function(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}})),ye.registerLanguage("sql",(function(e){const t=e.regex,n=e.COMMENT("--","$"),r=["true","false","unknown"],o=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],i=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],a=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],s=i,l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter((e=>!i.includes(e))),c={begin:t.concat(/\b/,t.either(...s),/\s*\(/),relevance:0,keywords:{built_in:s}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){const r=n;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e))}(l,{when:e=>e.length<3}),literal:r,type:o,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:t.either(...a),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:l.concat(a),literal:r,type:o}},{className:"type",begin:t.either("double precision","large object","with timezone","without timezone")},c,{className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}})),ye.registerLanguage("swift",(function(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],o={match:[/\./,I(...z,...H)],className:{2:"keyword"}},i={match:R(/\./,I(...F)),relevance:0},a=F.filter((e=>"string"===typeof e)).concat(["_|0"]),s={variants:[{className:"keyword",match:I(...F.filter((e=>"string"!==typeof e)).concat(B).map(D),...H)}]},l={$pattern:I(/\b\w+/,/#\w+/),keyword:a.concat(U),literal:V},c=[o,i,s],u=[{match:R(/\./,I(...$)),relevance:0},{className:"built_in",match:R(/\b/,I(...$),/(?=\()/)}],d={match:/->/,relevance:0},f=[d,{className:"operator",relevance:0,variants:[{match:G},{match:`\\.(\\.|${K})+`}]}],p="([0-9a-fA-F]_*)+",h={className:"number",relevance:0,variants:[{match:"\\b(([0-9]_*)+)(\\.(([0-9]_*)+))?([eE][+-]?(([0-9]_*)+))?\\b"},{match:`\\b0x(${p})(\\.(${p}))?([pP][+-]?(([0-9]_*)+))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},m=(e="")=>({className:"subst",variants:[{match:R(/\\/,e,/[0\\tnr"']/)},{match:R(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),g=(e="")=>({className:"subst",match:R(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(e="")=>({className:"subst",label:"interpol",begin:R(/\\/,e,/\(/),end:/\)/}),y=(e="")=>({begin:R(e,/"""/),end:R(/"""/,e),contains:[m(e),g(e),v(e)]}),b=(e="")=>({begin:R(e,/"/),end:R(/"/,e),contains:[m(e),v(e)]}),w={className:"string",variants:[y(),y("#"),y("##"),y("###"),b(),b("#"),b("##"),b("###")]},C={match:R(/`/,X,/`/)},x=[C,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${J}+`}],k=[{match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:te,contains:[...f,h,w]}]}},{className:"keyword",match:R(/@/,I(...ee))},{className:"meta",match:R(/@/,X)}],_={match:P(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:R(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,J,"+")},{className:"type",match:Q,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:R(/\s+&\s+/,P(Q)),relevance:0}]},S={begin:/</,end:/>/,keywords:l,contains:[...r,...c,...k,d,_]};_.contains.push(S);const E={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:R(X,/\s*:/),keywords:"_|0",relevance:0},...r,...c,...u,...f,h,w,...x,...k,_]},M={begin:/</,end:/>/,contains:[...r,_]},L={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:I(P(R(X,/\s*:/)),P(R(X,/\s+/,X,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:X}]},...r,...c,...f,h,w,...k,_,E],endsParent:!0,illegal:/["']/},N={match:[/func/,/\s+/,I(C.match,X,G)],className:{1:"keyword",3:"title.function"},contains:[M,L,t],illegal:[/\[/,/%/]},O={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[M,L,t],illegal:/\[|%/},A={match:[/operator/,/\s+/,G],className:{1:"keyword",3:"title"}},j={begin:[/precedencegroup/,/\s+/,Q],className:{1:"keyword",3:"title"},contains:[_],keywords:[...q,...V],end:/}/};for(const T of w.variants){const e=T.contains.find((e=>"interpol"===e.label));e.keywords=l;const t=[...c,...u,...f,h,w,...x];e.contains=[...t,{begin:/\(/,end:/\)/,contains:["self",...t]}]}return{name:"Swift",keywords:l,contains:[...r,N,O,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:l,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...c]},A,j,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},...c,...u,...f,h,w,...x,...k,_,E]}})),ye.registerLanguage("typescript",(function(e){const t=function(e){const t=e.regex,n=ne,r="<>",o="</>",i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];if("<"===r||","===r)return void t.ignoreMatch();let o;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1);return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch());const i=e.input.substring(n);((o=i.match(/^\s*=/))||(o=i.match(/^\s+extends\s+/))&&0===o.index)&&t.ignoreMatch()}},a={$pattern:ne,keyword:re,literal:oe,built_in:ce,"variable.language":le},s="\\.([0-9](_?[0-9])*)",l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${s})|\\.)?|(${s}))[eE][+-]?([0-9](_?[0-9])*)\\b`},{begin:`\\b(${l})\\b((${s})\\b|\\.)?|(${s})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},f={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},m={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},g=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,f,p,h,{match:/\$\d+/},c];u.contains=g.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(g)});const v=[].concat(m,u.contains),y=v.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(v)}]),b={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:y},w={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...ie,...ae]}},x={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[b],illegal:/%/},k={match:t.concat(/\b/,(_=[...se,"super","import"],t.concat("(?!",_.join("|"),")")),n,t.lookahead(/\(/)),className:"title.function",relevance:0};var _;const S={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},E={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},b]},M="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",L={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(M)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[b]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:y,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,f,p,h,m,{match:/\$\d+/},c,C,{className:"attr",begin:n+t.lookahead(":"),relevance:0},L,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[m,e.REGEXP_MODE,{className:"function",begin:M,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:y}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r,end:o},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},x,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[b,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},S,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[b]},k,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},w,E,{match:/\$[(.]/}]}}(e),n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],r={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[t.exports.CLASS_REFERENCE]},i={$pattern:ne,keyword:re.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:oe,built_in:ce.concat(n),"variable.language":le},a={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},s=(e,t,n)=>{const r=e.contains.findIndex((e=>e.label===t));if(-1===r)throw new Error("can not find mode to replace");e.contains.splice(r,1,n)};return Object.assign(t.keywords,i),t.exports.PARAMS_CONTAINS.push(a),t.contains=t.contains.concat([a,r,o]),s(t,"shebang",e.SHEBANG()),s(t,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),t.contains.find((e=>"func.def"===e.label)).relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t})),ye.registerLanguage("vbnet",(function(e){const t=e.regex,n=/\d{1,2}\/\d{1,2}\/\d{4}/,r=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,i=/\d{1,2}(:\d{1,2}){1,2}/,a={className:"literal",variants:[{begin:t.concat(/# */,t.either(r,n),/ *#/)},{begin:t.concat(/# */,i,/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,t.either(r,n),/ +/,t.either(o,i),/ *#/)}]},s=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),l=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},a,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},s,l,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[l]}]}})),ye.registerLanguage("wasm",(function(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);return t.contains.push("self"),{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"]},contains:[e.COMMENT(/;;/,/$/),t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},{className:"variable",begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},e.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},{className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/}]}})),ye.registerLanguage("xml",(function(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=e.inherit(o,{begin:/\(/,end:/\)/}),a=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,s,a,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,i,s,a]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}})),ye.registerLanguage("yaml",(function(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},o=e.inherit(r,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),i={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},a={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},s={begin:/\{/,end:/\}/,contains:[a],illegal:"\\n",relevance:0},l={begin:"\\[",end:"\\]",contains:[a],illegal:"\\n",relevance:0},c=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},i,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,l,r],u=[...c];return u.pop(),u.push(o),a.contains=u,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:c}}))},1587:function(e,t,n){"use strict";n.d(t,{$:function(){return h},h:function(){return p}});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},o={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},i="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),a="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),s=0;s<10;s++)r[48+s]=r[96+s]=String(s);for(s=1;s<=24;s++)r[s+111]="F"+s;for(s=65;s<=90;s++)r[s]=String.fromCharCode(s+32),o[s]=String.fromCharCode(s);for(var l in r)o.hasOwnProperty(l)||(o[l]=r[l]);var c=n(3317);const u="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function d(e){let t,n,r,o,i=e.split(/-(?!$)/),a=i[i.length-1];"Space"==a&&(a=" ");for(let s=0;s<i.length-1;s++){let e=i[s];if(/^(cmd|meta|m)$/i.test(e))o=!0;else if(/^a(lt)?$/i.test(e))t=!0;else if(/^(c|ctrl|control)$/i.test(e))n=!0;else if(/^s(hift)?$/i.test(e))r=!0;else{if(!/^mod$/i.test(e))throw new Error("Unrecognized modifier name: "+e);u?o=!0:n=!0}}return t&&(a="Alt-"+a),n&&(a="Ctrl-"+a),o&&(a="Meta-"+a),r&&(a="Shift-"+a),a}function f(e,t,n=!0){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n&&t.shiftKey&&(e="Shift-"+e),e}function p(e){return new c.Sy({props:{handleKeyDown:h(e)}})}function h(e){let t=function(e){let t=Object.create(null);for(let n in e)t[d(n)]=e[n];return t}(e);return function(e,n){let s,l=function(e){var t=!(i&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||a&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?o:r)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}(n),c=t[f(l,n)];if(c&&c(e.state,e.dispatch,e))return!0;if(1==l.length&&" "!=l){if(n.shiftKey){let r=t[f(l,n,!1)];if(r&&r(e.state,e.dispatch,e))return!0}if((n.shiftKey||n.altKey||n.metaKey||l.charCodeAt(0)>127)&&(s=r[n.keyCode])&&s!=l){let r=t[f(s,n)];if(r&&r(e.state,e.dispatch,e))return!0}}return!1}}},2310:function(e,t,n){"use strict";function r(e){this.content=e}n.d(t,{aw:function(){return X},PW:function(){return le},HY:function(){return s},vc:function(){return d},ZU:function(){return G},NB:function(){return A},Ts:function(){return N},e4:function(){return f},V_:function(){return Y},p2:function(){return p}}),r.prototype={constructor:r,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,t,n){var o=n&&n!=e?this.remove(n):this,i=o.find(e),a=o.content.slice();return-1==i?a.push(n||e,t):(a[i+1]=t,n&&(a[i]=n)),new r(a)},remove:function(e){var t=this.find(e);if(-1==t)return this;var n=this.content.slice();return n.splice(t,2),new r(n)},addToStart:function(e,t){return new r([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new r(n)},addBefore:function(e,t,n){var o=this.remove(t),i=o.content.slice(),a=o.find(e);return i.splice(-1==a?i.length:a,0,t,n),new r(i)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=r.from(e)).size?new r(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=r.from(e)).size?new r(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=r.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach((function(t,n){e[t]=n})),e},get size(){return this.content.length>>1}},r.from=function(e){if(e instanceof r)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new r(t)};var o=r;function i(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let o=e.child(r),a=t.child(r);if(o!=a){if(!o.sameMarkup(a))return n;if(o.isText&&o.text!=a.text){for(let e=0;o.text[e]==a.text[e];e++)n++;return n}if(o.content.size||a.content.size){let e=i(o.content,a.content,n+1);if(null!=e)return e}n+=o.nodeSize}else n+=o.nodeSize}}function a(e,t,n,r){for(let o=e.childCount,i=t.childCount;;){if(0==o||0==i)return o==i?null:{a:n,b:r};let s=e.child(--o),l=t.child(--i),c=s.nodeSize;if(s!=l){if(!s.sameMarkup(l))return{a:n,b:r};if(s.isText&&s.text!=l.text){let e=0,t=Math.min(s.text.length,l.text.length);for(;e<t&&s.text[s.text.length-e-1]==l.text[l.text.length-e-1];)e++,n--,r--;return{a:n,b:r}}if(s.content.size||l.content.size){let e=a(s.content,l.content,n-1,r-1);if(e)return e}n-=c,r-=c}else n-=c,r-=c}}class s{constructor(e,t){if(this.content=e,this.size=t||0,null==t)for(let n=0;n<e.length;n++)this.size+=e[n].nodeSize}nodesBetween(e,t,n,r=0,o){for(let i=0,a=0;a<t;i++){let s=this.content[i],l=a+s.nodeSize;if(l>e&&!1!==n(s,r+a,o||null,i)&&s.content.size){let o=a+1;s.nodesBetween(Math.max(0,e-o),Math.min(s.content.size,t-o),n,r+o)}a=l}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,r){let o="",i=!0;return this.nodesBetween(e,t,((a,s)=>{let l=a.isText?a.text.slice(Math.max(e,s)-s,t-s):a.isLeaf?r?"function"===typeof r?r(a):r:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&l||a.isTextblock)&&n&&(i?i=!1:o+=n),o+=l}),0),o}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,n=e.firstChild,r=this.content.slice(),o=0;for(t.isText&&t.sameMarkup(n)&&(r[r.length-1]=t.withText(t.text+n.text),o=1);o<e.content.length;o++)r.push(e.content[o]);return new s(r,this.size+e.size)}cut(e,t=this.size){if(0==e&&t==this.size)return this;let n=[],r=0;if(t>e)for(let o=0,i=0;i<t;o++){let a=this.content[o],s=i+a.nodeSize;s>e&&((i<e||s>t)&&(a=a.isText?a.cut(Math.max(0,e-i),Math.min(a.text.length,t-i)):a.cut(Math.max(0,e-i-1),Math.min(a.content.size,t-i-1))),n.push(a),r+=a.nodeSize),i=s}return new s(n,r)}cutByIndex(e,t){return e==t?s.empty:0==e&&t==this.content.length?this:new s(this.content.slice(e,t))}replaceChild(e,t){let n=this.content[e];if(n==t)return this;let r=this.content.slice(),o=this.size+t.nodeSize-n.nodeSize;return r[e]=t,new s(r,o)}addToStart(e){return new s([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new s(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t<this.content.length;t++){let r=this.content[t];e(r,n,t),n+=r.nodeSize}}findDiffStart(e,t=0){return i(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return a(this,e,t,n)}findIndex(e,t=-1){if(0==e)return c(0,e);if(e==this.size)return c(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let o=r+this.child(n).nodeSize;if(o>=e)return o==e||t>0?c(n+1,o):c(n,r);r=o}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map((e=>e.toJSON())):null}static fromJSON(e,t){if(!t)return s.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new s(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return s.empty;let t,n=0;for(let r=0;r<e.length;r++){let o=e[r];n+=o.nodeSize,r&&o.isText&&e[r-1].sameMarkup(o)?(t||(t=e.slice(0,r)),t[t.length-1]=o.withText(t[t.length-1].text+o.text)):t&&t.push(o)}return new s(t||e,n)}static from(e){if(!e)return s.empty;if(e instanceof s)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new s([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}s.empty=new s([],0);const l={index:0,offset:0};function c(e,t){return l.index=e,l.offset=t,l}function u(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!u(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!u(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}class d{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let r=0;r<e.length;r++){let o=e[r];if(this.eq(o))return e;if(this.type.excludes(o.type))t||(t=e.slice(0,r));else{if(o.type.excludes(this.type))return e;!n&&o.type.rank>this.type.rank&&(t||(t=e.slice(0,r)),t.push(this),n=!0),t&&t.push(o)}}return t||(t=e.slice()),n||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&u(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let n=e.marks[t.type];if(!n)throw new RangeError(`There is no mark type ${t.type} in this schema`);let r=n.create(t.attrs);return n.checkAttrs(r.attrs),r}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&0==e.length)return d.none;if(e instanceof d)return[e];let t=e.slice();return t.sort(((e,t)=>e.type.rank-t.type.rank)),t}}d.none=[];class f extends Error{}class p{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let n=m(this.content,e+this.openStart,t);return n&&new p(n,this.openStart,this.openEnd)}removeBetween(e,t){return new p(h(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return p.empty;let n=t.openStart||0,r=t.openEnd||0;if("number"!=typeof n||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new p(s.fromJSON(e,t.content),n,r)}static maxOpen(e,t=!0){let n=0,r=0;for(let o=e.firstChild;o&&!o.isLeaf&&(t||!o.type.spec.isolating);o=o.firstChild)n++;for(let o=e.lastChild;o&&!o.isLeaf&&(t||!o.type.spec.isolating);o=o.lastChild)r++;return new p(e,n,r)}}function h(e,t,n){let{index:r,offset:o}=e.findIndex(t),i=e.maybeChild(r),{index:a,offset:s}=e.findIndex(n);if(o==t||i.isText){if(s!=n&&!e.child(a).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return e.replaceChild(r,i.copy(h(i.content,t-o-1,n-o-1)))}function m(e,t,n,r){let{index:o,offset:i}=e.findIndex(t),a=e.maybeChild(o);if(i==t||a.isText)return r&&!r.canReplace(o,o,n)?null:e.cut(0,t).append(n).append(e.cut(t));let s=m(a.content,t-i-1,n);return s&&e.replaceChild(o,a.copy(s))}function g(e,t,n){if(n.openStart>e.depth)throw new f("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new f("Inconsistent open depths");return v(e,t,n,0)}function v(e,t,n,r){let o=e.index(r),i=e.node(r);if(o==t.index(r)&&r<e.depth-n.openStart){let a=v(e,t,n,r+1);return i.copy(i.content.replaceChild(o,a))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=r||t.depth!=r){let{start:o,end:a}=function(e,t){let n=t.depth-e.openStart,r=t.node(n).copy(e.content);for(let o=n-1;o>=0;o--)r=t.node(o).copy(s.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}(n,e);return x(i,k(e,o,a,t,r))}{let r=e.parent,o=r.content;return x(r,o.cut(0,e.parentOffset).append(n.content).append(o.cut(t.parentOffset)))}}return x(i,_(e,t,r))}function y(e,t){if(!t.type.compatibleContent(e.type))throw new f("Cannot join "+t.type.name+" onto "+e.type.name)}function b(e,t,n){let r=e.node(n);return y(r,t.node(n)),r}function w(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function C(e,t,n,r){let o=(t||e).node(n),i=0,a=t?t.index(n):o.childCount;e&&(i=e.index(n),e.depth>n?i++:e.textOffset&&(w(e.nodeAfter,r),i++));for(let s=i;s<a;s++)w(o.child(s),r);t&&t.depth==n&&t.textOffset&&w(t.nodeBefore,r)}function x(e,t){return e.type.checkContent(t),e.copy(t)}function k(e,t,n,r,o){let i=e.depth>o&&b(e,t,o+1),a=r.depth>o&&b(n,r,o+1),l=[];return C(null,e,o,l),i&&a&&t.index(o)==n.index(o)?(y(i,a),w(x(i,k(e,t,n,r,o+1)),l)):(i&&w(x(i,_(e,t,o+1)),l),C(t,n,o,l),a&&w(x(a,_(n,r,o+1)),l)),C(r,null,o,l),new s(l)}function _(e,t,n){let r=[];if(C(null,e,n,r),e.depth>n){w(x(b(e,t,n+1),_(e,t,n+1)),r)}return C(t,null,n,r),new s(r)}p.empty=new p(s.empty,0,0);class S{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return null==e?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[3*this.resolveDepth(e)]}index(e){return this.path[3*this.resolveDepth(e)+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}start(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}after(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[3*t],r=0==t?0:this.path[3*t-1]+1;for(let o=0;o<e;o++)r+=n.child(o).nodeSize;return r}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return d.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),r=e.maybeChild(t);if(!n){let e=n;n=r,r=e}let o=n.marks;for(var i=0;i<o.length;i++)!1!==o[i].type.spec.inclusive||r&&o[i].isInSet(r.marks)||(o=o[i--].removeFromSet(o));return o}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,r=e.parent.maybeChild(e.index());for(var o=0;o<n.length;o++)!1!==n[o].type.spec.inclusive||r&&n[o].isInSet(r.marks)||(n=n[o--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new N(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let n=[],r=0,o=t;for(let i=e;;){let{index:e,offset:t}=i.content.findIndex(o),a=o-t;if(n.push(i,e,r+t),!a)break;if(i=i.child(e),i.isText)break;o=a-1,r+=t+1}return new S(t,n,o)}static resolveCached(e,t){let n=L.get(e);if(n)for(let o=0;o<n.elts.length;o++){let e=n.elts[o];if(e.pos==t)return e}else L.set(e,n=new E);let r=n.elts[n.i]=S.resolve(e,t);return n.i=(n.i+1)%M,r}}class E{constructor(){this.elts=[],this.i=0}}const M=12,L=new WeakMap;class N{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const O=Object.create(null);class A{constructor(e,t,n,r=d.none){this.type=e,this.attrs=t,this.marks=r,this.content=n||s.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,r=0){this.content.nodesBetween(e,t,n,r,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,n,r){return this.content.textBetween(e,t,n,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&u(this.attrs,t||e.defaultAttrs||O)&&d.sameSet(this.marks,n||d.none)}copy(e=null){return e==this.content?this:new A(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new A(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return p.empty;let r=this.resolve(e),o=this.resolve(t),i=n?0:r.sharedDepth(t),a=r.start(i),s=r.node(i).content.cut(r.pos-a,o.pos-a);return new p(s,r.depth-i,o.depth-i)}replace(e,t,n){return g(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:r}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(r==e||t.isText)return t;e-=r+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(0==e)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n<e)return{node:this.content.child(t),index:t,offset:n};let r=this.content.child(t-1);return{node:r,index:t-1,offset:n-r.nodeSize}}resolve(e){return S.resolveCached(this,e)}resolveNoCache(e){return S.resolve(this,e)}rangeHasMark(e,t,n){let r=!1;return t>e&&this.nodesBetween(e,t,(e=>(n.isInSet(e.marks)&&(r=!0),!r))),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),T(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,n=s.empty,r=0,o=n.childCount){let i=this.contentMatchAt(e).matchFragment(n,r,o),a=i&&i.matchFragment(this.content,t);if(!a||!a.validEnd)return!1;for(let s=r;s<o;s++)if(!this.type.allowsMarks(n.child(s).marks))return!1;return!0}canReplaceWith(e,t,n,r){if(r&&!this.type.allowsMarks(r))return!1;let o=this.contentMatchAt(e).matchType(n),i=o&&o.matchFragment(this.content,t);return!!i&&i.validEnd}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=d.none;for(let t=0;t<this.marks.length;t++){let n=this.marks[t];n.type.checkAttrs(n.attrs),e=n.addToSet(e)}if(!d.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map((e=>e.type.name))}`);this.content.forEach((e=>e.check()))}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map((e=>e.toJSON()))),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let n;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,n)}let r=s.fromJSON(e,t.content),o=e.nodeType(t.type).create(t.attrs,r,n);return o.type.checkAttrs(o.attrs),o}}A.prototype.text=void 0;class j extends A{constructor(e,t,n,r){if(super(e,t,null,r),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):T(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new j(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new j(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function T(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class Z{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let n=new P(e,t);if(null==n.next)return Z.empty;let r=R(n);n.next&&n.err("Unexpected trailing text");let o=function(e){let t=Object.create(null);return n(F(e,0));function n(r){let o=[];r.forEach((t=>{e[t].forEach((({term:t,to:n})=>{if(!t)return;let r;for(let e=0;e<o.length;e++)o[e][0]==t&&(r=o[e][1]);F(e,n).forEach((e=>{r||o.push([t,r=[]]),-1==r.indexOf(e)&&r.push(e)}))}))}));let i=t[r.join(",")]=new Z(r.indexOf(e.length-1)>-1);for(let e=0;e<o.length;e++){let r=o[e][1].sort(B);i.next.push({type:o[e][0],next:t[r.join(",")]||n(r)})}return i}}(function(e){let t=[[]];return o(i(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){let o={term:r,to:n};return t[e].push(o),o}function o(e,t){e.forEach((e=>e.to=t))}function i(e,t){if("choice"==e.type)return e.exprs.reduce(((e,n)=>e.concat(i(n,t))),[]);if("seq"!=e.type){if("star"==e.type){let a=n();return r(t,a),o(i(e.expr,a),a),[r(a)]}if("plus"==e.type){let a=n();return o(i(e.expr,t),a),o(i(e.expr,a),a),[r(a)]}if("opt"==e.type)return[r(t)].concat(i(e.expr,t));if("range"==e.type){let a=t;for(let t=0;t<e.min;t++){let t=n();o(i(e.expr,a),t),a=t}if(-1==e.max)o(i(e.expr,a),a);else for(let t=e.min;t<e.max;t++){let t=n();r(a,t),o(i(e.expr,a),t),a=t}return[r(a)]}if("name"==e.type)return[r(t,void 0,e.value)];throw new Error("Unknown expr type")}for(let r=0;;r++){let a=i(e.exprs[r],t);if(r==e.exprs.length-1)return a;o(a,t=n())}}}(r));return function(e,t){for(let n=0,r=[e];n<r.length;n++){let e=r[n],o=!e.validEnd,i=[];for(let t=0;t<e.next.length;t++){let{type:n,next:a}=e.next[t];i.push(n.name),!o||n.isText||n.hasRequiredAttrs()||(o=!1),-1==r.indexOf(a)&&r.push(a)}o&&t.err("Only non-generatable nodes ("+i.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(o,n),o}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let r=this;for(let o=t;r&&o<n;o++)r=r.matchType(e.child(o).type);return r}get inlineContent(){return 0!=this.next.length&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!t.isText&&!t.hasRequiredAttrs())return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let r=[this];return function o(i,a){let l=i.matchFragment(e,n);if(l&&(!t||l.validEnd))return s.from(a.map((e=>e.createAndFill())));for(let e=0;e<i.next.length;e++){let{type:t,next:n}=i.next[e];if(!t.isText&&!t.hasRequiredAttrs()&&-1==r.indexOf(n)){r.push(n);let e=o(n,a.concat(t));if(e)return e}}return null}(this,[])}findWrapping(e){for(let n=0;n<this.wrapCache.length;n+=2)if(this.wrapCache[n]==e)return this.wrapCache[n+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),o=r.match;if(o.matchType(e)){let e=[];for(let t=r;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<o.next.length;e++){let{type:i,next:a}=o.next[e];i.isLeaf||i.hasRequiredAttrs()||i.name in t||r.type&&!a.validEnd||(n.push({match:i.contentMatch,type:i,via:r}),t[i.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];return function t(n){e.push(n);for(let r=0;r<n.next.length;r++)-1==e.indexOf(n.next[r].next)&&t(n.next[r].next)}(this),e.map(((t,n)=>{let r=n+(t.validEnd?"*":" ")+" ";for(let o=0;o<t.next.length;o++)r+=(o?", ":"")+t.next[o].type.name+"->"+e.indexOf(t.next[o].next);return r})).join("\n")}}Z.empty=new Z(!0);class P{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function R(e){let t=[];do{t.push(I(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function I(e){let t=[];do{t.push(D(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function D(e){let t=function(e){if(e.eat("(")){let t=R(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){let t=function(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let o=[];for(let i in n){let e=n[i];e.isInGroup(t)&&o.push(e)}0==o.length&&e.err("No node type or group '"+t+"' found");return o}(e,e.next).map((t=>(null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t})));return e.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}e.err("Unexpected token '"+e.next+"'")}(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=H(e,t)}return t}function z(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function H(e,t){let n=z(e),r=n;return e.eat(",")&&(r="}"!=e.next?z(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function B(e,t){return t-e}function F(e,t){let n=[];return function t(r){let o=e[r];if(1==o.length&&!o[0].term)return t(o[0].to);n.push(r);for(let e=0;e<o.length;e++){let{term:r,to:i}=o[e];r||-1!=n.indexOf(i)||t(i)}}(t),n.sort(B)}function V(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function q(e,t){let n=Object.create(null);for(let r in e){let o=t&&t[r];if(void 0===o){let t=e[r];if(!t.hasDefault)throw new RangeError("No value supplied for attribute "+r);o=t.default}n[r]=o}return n}function U(e,t,n,r){for(let o in t)if(!(o in e))throw new RangeError(`Unsupported attribute ${o} for ${n} of type ${o}`);for(let o in e){let n=e[o];n.validate&&n.validate(t[o])}}function $(e,t){let n=Object.create(null);if(t)for(let r in t)n[r]=new K(e,r,t[r]);return n}class W{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=$(e,n.attrs),this.defaultAttrs=V(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==e),this.isText="text"==e}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==Z.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:q(this.attrs,e)}create(e=null,t,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new A(this,this.computeAttrs(e),s.from(t),d.setFrom(n))}createChecked(e=null,t,n){return t=s.from(t),this.checkContent(t),new A(this,this.computeAttrs(e),t,d.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),(t=s.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let r=this.contentMatch.matchFragment(t),o=r&&r.fillBefore(s.empty,!0);return o?new A(this,e,t.append(o),d.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let n=0;n<e.childCount;n++)if(!this.allowsMarks(e.child(n).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){U(this.attrs,e,"node",this.name)}allowsMarkType(e){return null==this.markSet||this.markSet.indexOf(e)>-1}allowsMarks(e){if(null==this.markSet)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(null==this.markSet)return e;let t;for(let n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:d.none:e}static compile(e,t){let n=Object.create(null);e.forEach(((e,r)=>n[e]=new W(e,t,r)));let r=t.spec.topNode||"doc";if(!n[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let o in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}}class K{constructor(e,t,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate="string"==typeof n.validate?function(e,t,n){let r=n.split("|");return n=>{let o=null===n?"null":typeof n;if(r.indexOf(o)<0)throw new RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${o}`)}}(e,t,n.validate):n.validate}get isRequired(){return!this.hasDefault}}class G{constructor(e,t,n,r){this.name=e,this.rank=t,this.schema=n,this.spec=r,this.attrs=$(e,r.attrs),this.excluded=null;let o=V(this.attrs);this.instance=o?new d(this,o):null}create(e=null){return!e&&this.instance?this.instance:new d(this,q(this.attrs,e))}static compile(e,t){let n=Object.create(null),r=0;return e.forEach(((e,o)=>n[e]=new G(e,r++,t,o))),n}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}checkAttrs(e){U(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class Y{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let r in e)t[r]=e[r];t.nodes=o.from(e.nodes),t.marks=o.from(e.marks||{}),this.nodes=W.compile(this.spec.nodes,this),this.marks=G.compile(this.spec.marks,this);let n=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let e=this.nodes[r],t=e.spec.content||"",o=e.spec.marks;if(e.contentMatch=n[t]||(n[t]=Z.parse(t,this.nodes)),e.inlineContent=e.contentMatch.inlineContent,e.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!e.isInline||!e.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=e}e.markSet="_"==o?null:o?J(this,o.split(" ")):""!=o&&e.inlineContent?null:[]}for(let r in this.marks){let e=this.marks[r],t=e.spec.excludes;e.excluded=null==t?[e]:""==t?[]:J(this,t.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,r){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof W))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,r)}text(e,t){let n=this.nodes.text;return new j(n,n.defaultAttrs,e,d.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return A.fromJSON(this,e)}markFromJSON(e){return d.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function J(e,t){let n=[];for(let r=0;r<t.length;r++){let o=t[r],i=e.marks[o],a=i;if(i)n.push(i);else for(let t in e.marks){let r=e.marks[t];("_"==o||r.spec.group&&r.spec.group.split(" ").indexOf(o)>-1)&&n.push(a=r)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}class X{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let n=this.matchedStyles=[];t.forEach((e=>{if(function(e){return null!=e.tag}(e))this.tags.push(e);else if(function(e){return null!=e.style}(e)){let t=/[^=]*/.exec(e.style)[0];n.indexOf(t)<0&&n.push(t),this.styles.push(e)}})),this.normalizeLists=!this.tags.some((t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)}))}parse(e,t={}){let n=new oe(this,t,!1);return n.addAll(e,d.none,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new oe(this,t,!0);return n.addAll(e,d.none,t.from,t.to),p.maxOpen(n.finish())}matchTag(e,t,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){let n=this.tags[r];if(ie(e,n.tag)&&(void 0===n.namespace||e.namespaceURI==n.namespace)&&(!n.context||t.matchesContext(n.context))){if(n.getAttrs){let t=n.getAttrs(e);if(!1===t)continue;n.attrs=t||void 0}return n}}}matchStyle(e,t,n,r){for(let o=r?this.styles.indexOf(r)+1:0;o<this.styles.length;o++){let r=this.styles[o],i=r.style;if(!(0!=i.indexOf(e)||r.context&&!n.matchesContext(r.context)||i.length>e.length&&(61!=i.charCodeAt(e.length)||i.slice(e.length+1)!=t))){if(r.getAttrs){let e=r.getAttrs(t);if(!1===e)continue;r.attrs=e||void 0}return r}}}static schemaRules(e){let t=[];function n(e){let n=null==e.priority?50:e.priority,r=0;for(;r<t.length;r++){let e=t[r];if((null==e.priority?50:e.priority)<n)break}t.splice(r,0,e)}for(let r in e.marks){let t=e.marks[r].spec.parseDOM;t&&t.forEach((e=>{n(e=ae(e)),e.mark||e.ignore||e.clearMark||(e.mark=r)}))}for(let r in e.nodes){let t=e.nodes[r].spec.parseDOM;t&&t.forEach((e=>{n(e=ae(e)),e.node||e.ignore||e.mark||(e.node=r)}))}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new X(e,X.schemaRules(e)))}}const Q={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},ee={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},te={ol:!0,ul:!0};function ne(e,t,n){return null!=t?(t?1:0)|("full"===t?2:0):e&&"pre"==e.whitespace?3:-5&n}class re{constructor(e,t,n,r,o,i){this.type=e,this.attrs=t,this.marks=n,this.solid=r,this.options=i,this.content=[],this.activeMarks=d.none,this.match=o||(4&i?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(s.from(e));if(!t){let t,n=this.type.contentMatch;return(t=n.findWrapping(e.type))?(this.match=n,t):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)}finish(e){if(!(1&this.options)){let e,t=this.content[this.content.length-1];if(t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))){let n=t;t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-e[0].length))}}let t=s.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(s.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Q.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class oe{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0;let r,o=t.topNode,i=ne(null,t.preserveWhitespace,0)|(n?4:0);r=o?new re(o.type,o.attrs,d.none,!0,t.topMatch||o.type.contentMatch,i):new re(n?null:e.schema.topNodeType,null,d.none,!0,null,i),this.nodes=[r],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){3==e.nodeType?this.addTextNode(e,t):1==e.nodeType&&this.addElement(e,t)}addTextNode(e,t){let n=e.nodeValue,r=this.top;if(2&r.options||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(n)){if(1&r.options)n=2&r.options?n.replace(/\r\n?/g,"\n"):n.replace(/\r?\n|\r/g," ");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let t=r.content[r.content.length-1],o=e.previousSibling;(!t||o&&"BR"==o.nodeName||t.isText&&/[ \t\r\n\u000c]$/.test(t.text))&&(n=n.slice(1))}n&&this.insertNode(this.parser.schema.text(n),t),this.findInText(e)}else this.findInside(e)}addElement(e,t,n){let r,o=e.nodeName.toLowerCase();te.hasOwnProperty(o)&&this.parser.normalizeLists&&function(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=1==t.nodeType?t.nodeName.toLowerCase():null;e&&te.hasOwnProperty(e)&&n?(n.appendChild(t),t=n):"li"==e?n=t:e&&(n=null)}}(e);let i=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(r=this.parser.matchTag(e,this,n));if(i?i.ignore:ee.hasOwnProperty(o))this.findInside(e),this.ignoreFallback(e,t);else if(!i||i.skip||i.closeParent){i&&i.closeParent?this.open=Math.max(0,this.open-1):i&&i.skip.nodeType&&(e=i.skip);let n,r=this.top,a=this.needsBlock;if(Q.hasOwnProperty(o))r.content.length&&r.content[0].isInline&&this.open&&(this.open--,r=this.top),n=!0,r.type||(this.needsBlock=!0);else if(!e.firstChild)return void this.leafFallback(e,t);let s=i&&i.skip?t:this.readStyles(e,t);s&&this.addAll(e,s),n&&this.sync(r),this.needsBlock=a}else{let n=this.readStyles(e,t);n&&this.addElementByRule(e,i,n,!1===i.consuming?r:void 0)}}leafFallback(e,t){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"),t)}ignoreFallback(e,t){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"),t)}readStyles(e,t){let n=e.style;if(n&&n.length)for(let r=0;r<this.parser.matchedStyles.length;r++){let e=this.parser.matchedStyles[r],o=n.getPropertyValue(e);if(o)for(let n;;){let r=this.parser.matchStyle(e,o,this,n);if(!r)break;if(r.ignore)return null;if(t=r.clearMark?t.filter((e=>!r.clearMark(e))):t.concat(this.parser.schema.marks[r.mark].create(r.attrs)),!1!==r.consuming)break;n=r}}return t}addElementByRule(e,t,n,r){let o,i;if(t.node)if(i=this.parser.schema.nodes[t.node],i.isLeaf)this.insertNode(i.create(t.attrs),n)||this.leafFallback(e,n);else{let e=this.enter(i,t.attrs||null,n,t.preserveWhitespace);e&&(o=!0,n=e)}else{let e=this.parser.schema.marks[t.mark];n=n.concat(e.create(t.attrs))}let a=this.top;if(i&&i.isLeaf)this.findInside(e);else if(r)this.addElement(e,n,r);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach((e=>this.insertNode(e,n)));else{let r=e;"string"==typeof t.contentElement?r=e.querySelector(t.contentElement):"function"==typeof t.contentElement?r=t.contentElement(e):t.contentElement&&(r=t.contentElement),this.findAround(e,r,!0),this.addAll(r,n),this.findAround(e,r,!1)}o&&this.sync(a)&&this.open--}addAll(e,t,n,r){let o=n||0;for(let i=n?e.childNodes[n]:e.firstChild,a=null==r?null:e.childNodes[r];i!=a;i=i.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(i,t);this.findAtPoint(e,o)}findPlace(e,t){let n,r;for(let o=this.open;o>=0;o--){let t=this.nodes[o],i=t.findWrapping(e);if(i&&(!n||n.length>i.length)&&(n=i,r=t,!i.length))break;if(t.solid)break}if(!n)return null;this.sync(r);for(let o=0;o<n.length;o++)t=this.enterInner(n[o],null,t,!1);return t}insertNode(e,t){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&(t=this.enterInner(e,null,t))}let n=this.findPlace(e,t);if(n){this.closeExtra();let t=this.top;t.match&&(t.match=t.match.matchType(e.type));let r=d.none;for(let o of n.concat(e.marks))(t.type?t.type.allowsMarkType(o.type):se(o.type,e.type))&&(r=o.addToSet(r));return t.content.push(e.mark(r)),!0}return!1}enter(e,t,n,r){let o=this.findPlace(e.create(t),n);return o&&(o=this.enterInner(e,t,n,!0,r)),o}enterInner(e,t,n,r=!1,o){this.closeExtra();let i=this.top;i.match=i.match&&i.match.matchType(e);let a=ne(e,o,i.options);4&i.options&&0==i.content.length&&(a|=4);let s=d.none;return n=n.filter((t=>!(i.type?i.type.allowsMarkType(t.type):se(t.type,e))||(s=t.addToSet(s),!1))),this.nodes.push(new re(e,t,s,r,null,a)),this.open++,n}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,n){if(e!=t&&this.find)for(let r=0;r<this.find.length;r++)if(null==this.find[r].pos&&1==e.nodeType&&e.contains(this.find[r].node)){t.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),n=this.options.context,r=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),o=-(n?n.depth+1:0)+(r?0:1),i=(e,a)=>{for(;e>=0;e--){let s=t[e];if(""==s){if(e==t.length-1||0==e)continue;for(;a>=o;a--)if(i(e-1,a))return!0;return!1}{let e=a>0||0==a&&r?this.nodes[a].type:n&&a>=o?n.node(a-o).type:null;if(!e||e.name!=s&&!e.isInGroup(s))return!1;a--}}return!0};return i(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let t in this.parser.schema.nodes){let e=this.parser.schema.nodes[t];if(e.isTextblock&&e.defaultAttrs)return e}}}function ie(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function ae(e){let t={};for(let n in e)t[n]=e[n];return t}function se(e,t){let n=t.schema.nodes;for(let r in n){let o=n[r];if(!o.allowsMarkType(e))continue;let i=[],a=e=>{i.push(e);for(let n=0;n<e.edgeCount;n++){let{type:r,next:o}=e.edge(n);if(r==t)return!0;if(i.indexOf(o)<0&&a(o))return!0}};if(a(o.contentMatch))return!0}}class le{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||(n=ue(t).createDocumentFragment());let r=n,o=[];return e.forEach((e=>{if(o.length||e.marks.length){let n=0,i=0;for(;n<o.length&&i<e.marks.length;){let t=e.marks[i];if(this.marks[t.type.name]){if(!t.eq(o[n][0])||!1===t.type.spec.spanning)break;n++,i++}else i++}for(;n<o.length;)r=o.pop()[1];for(;i<e.marks.length;){let n=e.marks[i++],a=this.serializeMark(n,e.isInline,t);a&&(o.push([n,r]),r.appendChild(a.dom),r=a.contentDOM||a.dom)}}r.appendChild(this.serializeNodeInner(e,t))})),n}serializeNodeInner(e,t){let{dom:n,contentDOM:r}=pe(ue(t),this.nodes[e.type.name](e),null,e.attrs);if(r){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,r)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let r=e.marks.length-1;r>=0;r--){let o=this.serializeMark(e.marks[r],e.isInline,t);o&&((o.contentDOM||o.dom).appendChild(n),n=o.dom)}return n}serializeMark(e,t,n={}){let r=this.marks[e.type.name];return r&&pe(ue(n),r(e,t),null,e.attrs)}static renderSpec(e,t,n=null,r){return pe(e,t,n,r)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new le(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=ce(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return ce(e.marks)}}function ce(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function ue(e){return e.document||window.document}const de=new WeakMap;function fe(e){let t=de.get(e);return void 0===t&&de.set(e,t=function(e){let t=null;function n(e){if(e&&"object"==typeof e)if(Array.isArray(e))if("string"==typeof e[0])t||(t=[]),t.push(e);else for(let t=0;t<e.length;t++)n(e[t]);else for(let t in e)n(e[t])}return n(e),t}(e)),t}function pe(e,t,n,r){if("string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&&null!=t.dom.nodeType)return t;let o,i=t[0];if("string"!=typeof i)throw new RangeError("Invalid array passed to renderSpec");if(r&&(o=fe(r))&&o.indexOf(t)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let a,s=i.indexOf(" ");s>0&&(n=i.slice(0,s),i=i.slice(s+1));let l=n?e.createElementNS(n,i):e.createElement(i),c=t[1],u=1;if(c&&"object"==typeof c&&null==c.nodeType&&!Array.isArray(c)){u=2;for(let e in c)if(null!=c[e]){let t=e.indexOf(" ");t>0?l.setAttributeNS(e.slice(0,t),e.slice(t+1),c[e]):l.setAttribute(e,c[e])}}for(let d=u;d<t.length;d++){let o=t[d];if(0===o){if(d<t.length-1||d>u)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}{let{dom:t,contentDOM:i}=pe(e,o,n,r);if(l.appendChild(t),i){if(a)throw new RangeError("Multiple content holes");a=i}}}return{dom:l,contentDOM:a}}},3317:function(e,t,n){"use strict";n.d(t,{Bs:function(){return u},C1:function(){return h},H$:function(){return L},Sy:function(){return S},Y1:function(){return a},qv:function(){return f},xm:function(){return s},yy:function(){return k}});var r=n(2310),o=n(49485);const i=Object.create(null);class a{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new s(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=r.p2.empty){let n=t.content.lastChild,o=null;for(let r=0;r<t.openEnd;r++)o=n,n=n.lastChild;let i=e.steps.length,a=this.ranges;for(let s=0;s<a.length;s++){let{$from:l,$to:c}=a[s],u=e.mapping.slice(i);e.replaceRange(u.map(l.pos),u.map(c.pos),s?r.p2.empty:t),0==s&&v(e,i,(n?n.isInline:o&&o.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,r=this.ranges;for(let o=0;o<r.length;o++){let{$from:i,$to:a}=r[o],s=e.mapping.slice(n),l=s.map(i.pos),c=s.map(a.pos);o?e.deleteRange(l,c):(e.replaceRangeWith(l,c,t),v(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let r=e.parent.inlineContent?new u(e):g(e.node(0),e.parent,e.pos,e.index(),t,n);if(r)return r;for(let o=e.depth-1;o>=0;o--){let r=t<0?g(e.node(0),e.node(o),e.before(o+1),e.index(o),t,n):g(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,t,n);if(r)return r}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new h(e.node(0))}static atStart(e){return g(e,e,0,0,1)||new h(e)}static atEnd(e){return g(e,e,e.content.size,e.childCount,-1)||new h(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=i[t.type];if(!n)throw new RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in i)throw new RangeError("Duplicate use of selection JSON ID "+e);return i[e]=t,t.prototype.jsonID=e,t}getBookmark(){return u.between(this.$anchor,this.$head).getBookmark()}}a.prototype.visible=!0;class s{constructor(e,t){this.$from=e,this.$to=t}}let l=!1;function c(e){l||e.parent.inlineContent||(l=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class u extends a{constructor(e,t=e){c(e),c(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return a.near(n);let r=e.resolve(t.map(this.anchor));return new u(r.parent.inlineContent?r:n,n)}replace(e,t=r.p2.empty){if(super.replace(e,t),t==r.p2.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof u&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new d(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new u(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(e,t,n){let r=e.pos-t.pos;if(n&&!r||(n=r>=0?1:-1),!t.parent.inlineContent){let e=a.findFrom(t,n,!0)||a.findFrom(t,-n,!0);if(!e)return a.near(t,n);t=e.$head}return e.parent.inlineContent||(0==r||(e=(a.findFrom(e,-n,!0)||a.findFrom(e,n,!0)).$anchor).pos<t.pos!=r<0)&&(e=t),new u(e,t)}}a.jsonID("text",u);class d{constructor(e,t){this.anchor=e,this.head=t}map(e){return new d(e.map(this.anchor),e.map(this.head))}resolve(e){return u.between(e.resolve(this.anchor),e.resolve(this.head))}}class f extends a{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(e,t){let{deleted:n,pos:r}=t.mapResult(this.anchor),o=e.resolve(r);return n?a.near(o):new f(o)}content(){return new r.p2(r.HY.from(this.node),0,0)}eq(e){return e instanceof f&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new p(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new f(e.resolve(t.anchor))}static create(e,t){return new f(e.resolve(t))}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}}f.prototype.visible=!1,a.jsonID("node",f);class p{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:n}=e.mapResult(this.anchor);return t?new d(n,n):new p(n)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&f.isSelectable(n)?new f(t):a.near(t)}}class h extends a{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=r.p2.empty){if(t==r.p2.empty){e.delete(0,e.doc.content.size);let t=a.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new h(e)}map(e){return new h(e)}eq(e){return e instanceof h}getBookmark(){return m}}a.jsonID("all",h);const m={map(){return this},resolve:e=>new h(e)};function g(e,t,n,r,o,i=!1){if(t.inlineContent)return u.create(e,n);for(let a=r-(o>0?0:1);o>0?a<t.childCount:a>=0;a+=o){let r=t.child(a);if(r.isAtom){if(!i&&f.isSelectable(r))return f.create(e,n-(o<0?r.nodeSize:0))}else{let t=g(e,r,n+o,o<0?r.childCount:0,o,i);if(t)return t}n+=r.nodeSize*o}return null}function v(e,t,n){let r=e.steps.length-1;if(r<t)return;let i,s=e.steps[r];(s instanceof o.Pu||s instanceof o.FC)&&(e.mapping.maps[r].forEach(((e,t,n,r)=>{null==i&&(i=r)})),e.setSelection(a.near(e.doc.resolve(i),n)))}class y extends o.wx{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=-3&(1|this.updated),this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=2,this}ensureMarks(e){return r.vc.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(e,t){super.addStep(e,t),this.updated=-3&this.updated,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||r.vc.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let r=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(null==n&&(n=t),n=null==n?t:n,!e)return this.deleteRange(t,n);let o=this.storedMarks;if(!o){let e=this.doc.resolve(t);o=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,o)),this.selection.empty||this.setSelection(a.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function b(e,t){return t&&e?e.bind(t):e}class w{constructor(e,t,n){this.name=e,this.init=b(t.init,n),this.apply=b(t.apply,n)}}const C=[new w("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new w("selection",{init:(e,t)=>e.selection||a.atStart(t.doc),apply:e=>e.selection}),new w("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,n,r)=>r.selection.$cursor?e.storedMarks:null}),new w("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t})];class x{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=C.slice(),t&&t.forEach((e=>{if(this.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new w(e.key,e.spec.state,e))}))}}class k{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=t){let t=this.config.plugins[n];if(t.spec.filterTransaction&&!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],n=this.applyInner(e),r=null;for(;;){let o=!1;for(let i=0;i<this.config.plugins.length;i++){let a=this.config.plugins[i];if(a.spec.appendTransaction){let s=r?r[i].n:0,l=r?r[i].state:this,c=s<t.length&&a.spec.appendTransaction.call(a,s?t.slice(s):t,l,n);if(c&&n.filterTransaction(c,i)){if(c.setMeta("appendedTransaction",e),!r){r=[];for(let e=0;e<this.config.plugins.length;e++)r.push(e<i?{state:n,n:t.length}:{state:this,n:0})}t.push(c),n=n.applyInner(c),o=!0}r&&(r[i]={state:n,n:t.length})}}if(!o)return{state:n,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new k(this.config),n=this.config.fields;for(let r=0;r<n.length;r++){let o=n[r];t[o.name]=o.apply(e,this[o.name],this,t)}return t}get tr(){return new y(this)}static create(e){let t=new x(e.doc?e.doc.type.schema:e.schema,e.plugins),n=new k(t);for(let r=0;r<t.fields.length;r++)n[t.fields[r].name]=t.fields[r].init(e,n);return n}reconfigure(e){let t=new x(this.schema,e.plugins),n=t.fields,r=new k(t);for(let o=0;o<n.length;o++){let t=n[o].name;r[t]=this.hasOwnProperty(t)?this[t]:n[o].init(e,r)}return r}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map((e=>e.toJSON()))),e&&"object"==typeof e)for(let n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],o=r.spec.state;o&&o.toJSON&&(t[n]=o.toJSON.call(r,this[r.key]))}return t}static fromJSON(e,t,n){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let o=new x(e.schema,e.plugins),i=new k(o);return o.fields.forEach((o=>{if("doc"==o.name)i.doc=r.NB.fromJSON(e.schema,t.doc);else if("selection"==o.name)i.selection=a.fromJSON(i.doc,t.selection);else if("storedMarks"==o.name)t.storedMarks&&(i.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(let r in n){let a=n[r],s=a.spec.state;if(a.key==o.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(t,r))return void(i[o.name]=s.fromJSON.call(a,e,t[r],i))}i[o.name]=o.init(e,i)}})),i}}function _(e,t,n){for(let r in e){let o=e[r];o instanceof Function?o=o.bind(t):"handleDOMEvents"==r&&(o=_(o,t,{})),n[r]=o}return n}class S{constructor(e){this.spec=e,this.props={},e.props&&_(e.props,this,this.props),this.key=e.key?e.key.key:M("plugin")}getState(e){return e[this.key]}}const E=Object.create(null);function M(e){return e in E?e+"$"+ ++E[e]:(E[e]=0,e+"$")}class L{constructor(e="key"){this.key=M(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}},49485:function(e,t,n){"use strict";n.d(t,{Ax:function(){return M},FC:function(){return y},GJ:function(){return O},Mn:function(){return L},Pu:function(){return v},dR:function(){return j},k9:function(){return x},nd:function(){return k},nj:function(){return A},vs:function(){return l},wx:function(){return U}});var r=n(2310);const o=Math.pow(2,16);function i(e){return 65535&e}class a{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class s{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&s.empty)return s.empty}recover(e){let t=0,n=i(e);if(!this.inverted)for(let r=0;r<n;r++)t+=this.ranges[3*r+2]-this.ranges[3*r+1];return this.ranges[3*n]+t+function(e){return(e-(65535&e))/o}(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let r=0,i=this.inverted?2:1,s=this.inverted?1:2;for(let l=0;l<this.ranges.length;l+=3){let c=this.ranges[l]-(this.inverted?r:0);if(c>e)break;let u=this.ranges[l+i],d=this.ranges[l+s],f=c+u;if(e<=f){let i=c+r+((u?e==c?-1:e==f?1:t:t)<0?0:d);if(n)return i;let s=e==(t<0?c:f)?null:l/3+(e-c)*o,p=e==c?2:e==f?1:4;return(t<0?e!=c:e!=f)&&(p|=8),new a(i,p,s)}r+=d-u}return n?e+r:new a(e+r,0,null)}touches(e,t){let n=0,r=i(t),o=this.inverted?2:1,a=this.inverted?1:2;for(let i=0;i<this.ranges.length;i+=3){let t=this.ranges[i]-(this.inverted?n:0);if(t>e)break;let s=this.ranges[i+o];if(e<=t+s&&i==3*r)return!0;n+=this.ranges[i+a]-s}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,o=0;r<this.ranges.length;r+=3){let i=this.ranges[r],a=i-(this.inverted?o:0),s=i+(this.inverted?0:o),l=this.ranges[r+t],c=this.ranges[r+n];e(a,a+l,s,s+c),o+=c-l}}invert(){return new s(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?s.empty:new s(e<0?[0,-e,0]:[0,0,e])}}s.empty=new s([]);class l{constructor(e=[],t,n=0,r=e.length){this.maps=e,this.mirror=t,this.from=n,this.to=r}slice(e=0,t=this.maps.length){return new l(this.maps,this.mirror,e,t)}copy(){return new l(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(e,t){this.to=this.maps.push(e),null!=t&&this.setMirror(this.maps.length-1,t)}appendMapping(e){for(let t=0,n=this.maps.length;t<e.maps.length;t++){let r=e.getMirror(t);this.appendMap(e.maps[t],null!=r&&r<t?n+r:void 0)}}getMirror(e){if(this.mirror)for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,n=this.maps.length+e.maps.length;t>=0;t--){let r=e.getMirror(t);this.appendMap(e.maps[t].invert(),null!=r&&r>t?n-r-1:void 0)}}invert(){let e=new l;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;n<this.to;n++)e=this.maps[n].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,n){let r=0;for(let o=this.from;o<this.to;o++){let n=this.maps[o].mapResult(e,t);if(null!=n.recover){let t=this.getMirror(o);if(null!=t&&t>o&&t<this.to){o=t,e=this.maps[t].recover(n.recover);continue}}r|=n.delInfo,e=n.pos}return n?e:new a(e,r,null)}}const c=Object.create(null);class u{getMap(){return s.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=c[t.stepType];if(!n)throw new RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in c)throw new RangeError("Duplicate use of step JSON ID "+e);return c[e]=t,t.prototype.jsonID=e,t}}class d{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new d(e,null)}static fail(e){return new d(null,e)}static fromReplace(e,t,n,o){try{return d.ok(e.replace(t,n,o))}catch(i){if(i instanceof r.e4)return d.fail(i.message);throw i}}}function f(e,t,n){let o=[];for(let r=0;r<e.childCount;r++){let i=e.child(r);i.content.size&&(i=i.copy(f(i.content,t,i))),i.isInline&&(i=t(i,n,r)),o.push(i)}return r.HY.fromArray(o)}class p extends u{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),o=n.node(n.sharedDepth(this.to)),i=new r.p2(f(t.content,((e,t)=>e.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e),o),t.openStart,t.openEnd);return d.fromReplace(e,this.from,this.to,i)}invert(){return new h(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new p(t.pos,n.pos,this.mark)}merge(e){return e instanceof p&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new p(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new p(t.from,t.to,e.markFromJSON(t.mark))}}u.jsonID("addMark",p);class h extends u{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new r.p2(f(t.content,(e=>e.mark(this.mark.removeFromSet(e.marks))),e),t.openStart,t.openEnd);return d.fromReplace(e,this.from,this.to,n)}invert(){return new p(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new h(t.pos,n.pos,this.mark)}merge(e){return e instanceof h&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new h(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new h(t.from,t.to,e.markFromJSON(t.mark))}}u.jsonID("removeMark",h);class m extends u{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return d.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return d.fromReplace(e,this.pos,this.pos+1,new r.p2(r.HY.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let e=this.mark.addToSet(t.marks);if(e.length==t.marks.length){for(let n=0;n<t.marks.length;n++)if(!t.marks[n].isInSet(e))return new m(this.pos,t.marks[n]);return new m(this.pos,this.mark)}}return new g(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new m(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new m(t.pos,e.markFromJSON(t.mark))}}u.jsonID("addNodeMark",m);class g extends u{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return d.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return d.fromReplace(e,this.pos,this.pos+1,new r.p2(r.HY.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new m(this.pos,this.mark):this}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new g(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new g(t.pos,e.markFromJSON(t.mark))}}u.jsonID("removeNodeMark",g);class v extends u{constructor(e,t,n,r=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=r}apply(e){return this.structure&&b(e,this.from,this.to)?d.fail("Structure replace would overwrite content"):d.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new s([this.from,this.to-this.from,this.slice.size])}invert(e){return new v(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deletedAcross&&n.deletedAcross?null:new v(t.pos,Math.max(t.pos,n.pos),this.slice)}merge(e){if(!(e instanceof v)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;{let t=this.slice.size+e.slice.size==0?r.p2.empty:new r.p2(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new v(e.from,this.to,t,this.structure)}}{let t=this.slice.size+e.slice.size==0?r.p2.empty:new r.p2(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new v(this.from,this.to+(e.to-e.from),t,this.structure)}}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new v(t.from,t.to,r.p2.fromJSON(e,t.slice),!!t.structure)}}u.jsonID("replace",v);class y extends u{constructor(e,t,n,r,o,i,a=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=r,this.slice=o,this.insert=i,this.structure=a}apply(e){if(this.structure&&(b(e,this.from,this.gapFrom)||b(e,this.gapTo,this.to)))return d.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return d.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,t.content);return n?d.fromReplace(e,this.from,this.to,n):d.fail("Content does not fit in gap")}getMap(){return new s([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new y(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1),r=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),o=this.to==this.gapTo?n.pos:e.map(this.gapTo,1);return t.deletedAcross&&n.deletedAcross||r<t.pos||o>n.pos?null:new y(t.pos,n.pos,r,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new y(t.from,t.to,t.gapFrom,t.gapTo,r.p2.fromJSON(e,t.slice),t.insert,!!t.structure)}}function b(e,t,n){let r=e.resolve(t),o=n-t,i=r.depth;for(;o>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o>0){let e=r.node(i).maybeChild(r.indexAfter(i));for(;o>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,o--}}return!1}function w(e,t,n,o=n.contentMatch,i=!0){let a=e.doc.nodeAt(t),s=[],l=t+1;for(let c=0;c<a.childCount;c++){let t=a.child(c),u=l+t.nodeSize,d=o.matchType(t.type);if(d){o=d;for(let r=0;r<t.marks.length;r++)n.allowsMarkType(t.marks[r].type)||e.step(new h(l,u,t.marks[r]));if(i&&t.isText&&"pre"!=n.whitespace){let e,o,i=/\r?\n|\r/g;for(;e=i.exec(t.text);)o||(o=new r.p2(r.HY.from(n.schema.text(" ",n.allowedMarks(t.marks))),0,0)),s.push(new v(l+e.index,l+e.index+e[0].length,o))}}else s.push(new v(l,u,r.p2.empty));l=u}if(!o.validEnd){let t=o.fillBefore(r.HY.empty,!0);e.replace(l,l,new r.p2(t,0,0))}for(let r=s.length-1;r>=0;r--)e.step(s[r])}function C(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function x(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth;;--n){let r=e.$from.node(n),o=e.$from.index(n),i=e.$to.indexAfter(n);if(n<e.depth&&r.canReplace(o,i,t))return n;if(0==n||r.type.spec.isolating||!C(r,o,i))break}return null}function k(e,t,n=null,r=e){let o=function(e,t){let{parent:n,startIndex:r,endIndex:o}=e,i=n.contentMatchAt(r).findWrapping(t);if(!i)return null;let a=i.length?i[0]:t;return n.canReplaceWith(r,o,a)?i:null}(e,t),i=o&&function(e,t){let{parent:n,startIndex:r,endIndex:o}=e,i=n.child(r),a=t.contentMatch.findWrapping(i.type);if(!a)return null;let s=(a.length?a[a.length-1]:t).contentMatch;for(let l=r;s&&l<o;l++)s=s.matchType(n.child(l).type);return s&&s.validEnd?a:null}(r,t);return i?o.map(_).concat({type:t,attrs:n}).concat(i.map(_)):null}function _(e){return{type:e,attrs:null}}function S(e,t,n,r){t.forEach(((o,i)=>{if(o.isText){let a,s=/\r?\n|\r/g;for(;a=s.exec(o.text);){let o=e.mapping.slice(r).map(n+1+i+a.index);e.replaceWith(o,o+1,t.type.schema.linebreakReplacement.create())}}}))}function E(e,t,n,r){t.forEach(((o,i)=>{if(o.type==o.type.schema.linebreakReplacement){let o=e.mapping.slice(r).map(n+1+i);e.replaceWith(o,o+1,t.type.schema.text("\n"))}}))}function M(e,t,n=1,r){let o=e.resolve(t),i=o.depth-n,a=r&&r[r.length-1]||o.parent;if(i<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!a.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let c=o.depth-1,u=n-2;c>i;c--,u--){let e=o.node(c),t=o.index(c);if(e.type.spec.isolating)return!1;let n=e.content.cutByIndex(t,e.childCount),i=r&&r[u+1];i&&(n=n.replaceChild(0,i.type.create(i.attrs)));let a=r&&r[u]||e;if(!e.canReplace(t+1,e.childCount)||!a.type.validContent(n))return!1}let s=o.indexAfter(i),l=r&&r[0];return o.node(i).canReplaceWith(s,s,l?l.type:o.node(i+1).type)}function L(e,t){let n=e.resolve(t),r=n.index();return N(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function N(e,t){return!(!e||!t||e.isLeaf||!function(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:r}=e.type.schema;for(let o=0;o<t.childCount;o++){let i=t.child(o),a=i.type==r?e.type.schema.nodes.text:i.type;if(n=n.matchType(a),!n)return!1;if(!e.type.allowsMarks(i.marks))return!1}return n.validEnd}(e,t))}function O(e,t,n=-1){let r=e.resolve(t);for(let o=r.depth;;o--){let e,i,a=r.index(o);if(o==r.depth?(e=r.nodeBefore,i=r.nodeAfter):n>0?(e=r.node(o+1),a++,i=r.node(o).maybeChild(a)):(e=r.node(o).maybeChild(a-1),i=r.node(o+1)),e&&!e.isTextblock&&N(e,i)&&r.node(o).canReplace(a,a+1))return t;if(0==o)break;t=n<0?r.before(o):r.after(o)}}function A(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let o=n.content;for(let i=0;i<n.openStart;i++)o=o.firstChild.content;for(let i=1;i<=(0==n.openStart&&n.size?2:1);i++)for(let e=r.depth;e>=0;e--){let t=e==r.depth?0:r.pos<=(r.start(e+1)+r.end(e+1))/2?-1:1,n=r.index(e)+(t>0?1:0),a=r.node(e),s=!1;if(1==i)s=a.canReplace(n,n,o);else{let e=a.contentMatchAt(n).findWrapping(o.firstChild.type);s=e&&a.canReplaceWith(n,n,e[0])}if(s)return 0==t?r.pos:t<0?r.before(e+1):r.after(e+1)}return null}function j(e,t,n=t,o=r.p2.empty){if(t==n&&!o.size)return null;let i=e.resolve(t),a=e.resolve(n);return T(i,a,o)?new v(t,n,o):new Z(i,a,o).fit()}function T(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}u.jsonID("replaceAround",y);class Z{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=r.HY.empty;for(let r=0;r<=e.depth;r++){let t=e.node(r);this.frontier.push({type:t.type,match:t.contentMatchAt(e.indexAfter(r))})}for(let o=e.depth;o>0;o--)this.placed=r.HY.from(e.node(o).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,o=this.close(e<0?this.$to:n.doc.resolve(e));if(!o)return null;let i=this.placed,a=n.depth,s=o.depth;for(;a&&s&&1==i.childCount;)i=i.firstChild.content,a--,s--;let l=new r.p2(i,a,s);return e>-1?new y(n.pos,e,this.$to.pos,this.$to.end(),l,t):l.size||n.pos!=this.$to.pos?new v(n.pos,o.pos,l):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n<e;n++){let o=t.firstChild;if(t.childCount>1&&(r=0),o.type.spec.isolating&&r<=n){e=n;break}t=o.content}for(let t=1;t<=2;t++)for(let n=1==t?e:this.unplaced.openStart;n>=0;n--){let e,o=null;n?(o=I(this.unplaced.content,n-1).firstChild,e=o.content):e=this.unplaced.content;let i=e.firstChild;for(let a=this.depth;a>=0;a--){let e,{type:s,match:l}=this.frontier[a],c=null;if(1==t&&(i?l.matchType(i.type)||(c=l.fillBefore(r.HY.from(i),!1)):o&&s.compatibleContent(o.type)))return{sliceDepth:n,frontierDepth:a,parent:o,inject:c};if(2==t&&i&&(e=l.findWrapping(i.type)))return{sliceDepth:n,frontierDepth:a,parent:o,wrap:e};if(o&&l.matchType(o.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,o=I(e,t);return!(!o.childCount||o.firstChild.isLeaf)&&(this.unplaced=new r.p2(e,t+1,Math.max(n,o.size+t>=e.size-n?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,o=I(e,t);if(o.childCount<=1&&t>0){let i=e.size-t<=t+o.size;this.unplaced=new r.p2(P(e,t-1,1),t-1,i?t-1:n)}else this.unplaced=new r.p2(P(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:o,wrap:i}){for(;this.depth>t;)this.closeFrontierNode();if(i)for(let r=0;r<i.length;r++)this.openFrontierNode(i[r]);let a=this.unplaced,s=n?n.content:a.content,l=a.openStart-e,c=0,u=[],{match:d,type:f}=this.frontier[t];if(o){for(let e=0;e<o.childCount;e++)u.push(o.child(e));d=d.matchFragment(o)}let p=s.size+e-(a.content.size-a.openEnd);for(;c<s.childCount;){let e=s.child(c),t=d.matchType(e.type);if(!t)break;c++,(c>1||0==l||e.content.size)&&(d=t,u.push(D(e.mark(f.allowedMarks(e.marks)),1==c?l:0,c==s.childCount?p:-1)))}let h=c==s.childCount;h||(p=-1),this.placed=R(this.placed,t,r.HY.from(u)),this.frontier[t].match=d,h&&p<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let r=0,m=s;r<p;r++){let e=m.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),m=e.content}this.unplaced=h?0==e?r.p2.empty:new r.p2(P(a.content,e-1,1),e-1,p<0?a.openEnd:e-1):new r.p2(P(a.content,e,c),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e,t=this.frontier[this.depth];if(!t.type.isTextblock||!z(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(e=this.findCloseLevel(this.$to))&&e.depth==this.depth)return-1;let{depth:n}=this.$to,r=this.$to.after(n);for(;n>1&&r==this.$to.end(--n);)++r;return r}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:r}=this.frontier[t],o=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),i=z(e,t,r,n,o);if(i){for(let n=t-1;n>=0;n--){let{match:t,type:r}=this.frontier[n],o=z(e,n,r,t,!0);if(!o||o.childCount)continue e}return{depth:t,fit:i,move:o?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=R(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),r=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,r)}return e}openFrontierNode(e,t=null,n){let o=this.frontier[this.depth];o.match=o.match.matchType(e),this.placed=R(this.placed,this.depth,r.HY.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(r.HY.empty,!0);e.childCount&&(this.placed=R(this.placed,this.frontier.length,e))}}function P(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(P(e.firstChild.content,t-1,n)))}function R(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(R(e.lastChild.content,t-1,n)))}function I(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function D(e,t,n){if(t<=0)return e;let o=e.content;return t>1&&(o=o.replaceChild(0,D(o.firstChild,t-1,1==o.childCount?n-1:0))),t>0&&(o=e.type.contentMatch.fillBefore(o).append(o),n<=0&&(o=o.append(e.type.contentMatch.matchFragment(o).fillBefore(r.HY.empty,!0)))),e.copy(o)}function z(e,t,n,r,o){let i=e.node(t),a=o?e.indexAfter(t):e.index(t);if(a==i.childCount&&!n.compatibleContent(i.type))return null;let s=r.fillBefore(i.content,!0,a);return s&&!function(e,t,n){for(let r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}(n,i.content,a)?s:null}function H(e,t,n,o,i){if(t<n){let r=e.firstChild;e=e.replaceChild(0,r.copy(H(r.content,t+1,n,o,r)))}if(t>o){let t=i.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(r.HY.empty,!0))}return e}function B(e,t){let n=[];for(let r=Math.min(e.depth,t.depth);r>=0;r--){let o=e.start(r);if(o<e.pos-(e.depth-r)||t.end(r)>t.pos+(t.depth-r)||e.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(o==t.start(r)||r==e.depth&&r==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&r&&t.start(r-1)==o-1)&&n.push(r)}return n}class F extends u{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return d.fail("No node at attribute step's position");let n=Object.create(null);for(let r in t.attrs)n[r]=t.attrs[r];n[this.attr]=this.value;let o=t.type.create(n,null,t.marks);return d.fromReplace(e,this.pos,this.pos+1,new r.p2(r.HY.from(o),0,t.isLeaf?0:1))}getMap(){return s.empty}invert(e){return new F(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new F(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new F(t.pos,t.attr,t.value)}}u.jsonID("attr",F);class V extends u{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let r in e.attrs)t[r]=e.attrs[r];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return d.ok(n)}getMap(){return s.empty}invert(e){return new V(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if("string"!=typeof t.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new V(t.attr,t.value)}}u.jsonID("docAttr",V);let q=class extends Error{};q=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},(q.prototype=Object.create(Error.prototype)).constructor=q,q.prototype.name="TransformError";class U{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new l}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new q(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=r.p2.empty){let o=j(this.doc,e,t,n);return o&&this.step(o),this}replaceWith(e,t,n){return this.replace(e,t,new r.p2(r.HY.from(n),0,0))}delete(e,t){return this.replace(e,t,r.p2.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return function(e,t,n,o){if(!o.size)return e.deleteRange(t,n);let i=e.doc.resolve(t),a=e.doc.resolve(n);if(T(i,a,o))return e.step(new v(t,n,o));let s=B(i,e.doc.resolve(n));0==s[s.length-1]&&s.pop();let l=-(i.depth+1);s.unshift(l);for(let r=i.depth,h=i.pos-1;r>0;r--,h--){let e=i.node(r).type.spec;if(e.defining||e.definingAsContext||e.isolating)break;s.indexOf(r)>-1?l=r:i.before(r)==h&&s.splice(1,0,-r)}let c=s.indexOf(l),u=[],d=o.openStart;for(let r=o.content,h=0;;h++){let e=r.firstChild;if(u.push(e),h==o.openStart)break;r=e.content}for(let r=d-1;r>=0;r--){let e=u[r],t=(f=e.type).spec.defining||f.spec.definingForContent;if(t&&!e.sameMarkup(i.node(Math.abs(l)-1)))d=r;else if(t||!e.type.isTextblock)break}var f;for(let h=o.openStart;h>=0;h--){let t=(h+d+1)%(o.openStart+1),l=u[t];if(l)for(let u=0;u<s.length;u++){let d=s[(u+c)%s.length],f=!0;d<0&&(f=!1,d=-d);let p=i.node(d-1),h=i.index(d-1);if(p.canReplaceWith(h,h,l.type,l.marks))return e.replace(i.before(d),f?a.after(d):n,new r.p2(H(o.content,0,o.openStart,t),t,o.openEnd))}}let p=e.steps.length;for(let r=s.length-1;r>=0&&(e.replace(t,n,o),!(e.steps.length>p));r--){let e=s[r];e<0||(t=i.before(e),n=a.after(e))}}(this,e,t,n),this}replaceRangeWith(e,t,n){return function(e,t,n,o){if(!o.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let r=function(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(0==r.parentOffset)for(let o=r.depth-1;o>=0;o--){let e=r.index(o);if(r.node(o).canReplaceWith(e,e,n))return r.before(o+1);if(e>0)return null}if(r.parentOffset==r.parent.content.size)for(let o=r.depth-1;o>=0;o--){let e=r.indexAfter(o);if(r.node(o).canReplaceWith(e,e,n))return r.after(o+1);if(e<r.node(o).childCount)return null}return null}(e.doc,t,o.type);null!=r&&(t=n=r)}e.replaceRange(t,n,new r.p2(r.HY.from(o),0,0))}(this,e,t,n),this}deleteRange(e,t){return function(e,t,n){let r=e.doc.resolve(t),o=e.doc.resolve(n),i=B(r,o);for(let a=0;a<i.length;a++){let t=i[a],n=a==i.length-1;if(n&&0==t||r.node(t).type.contentMatch.validEnd)return e.delete(r.start(t),o.end(t));if(t>0&&(n||r.node(t-1).canReplace(r.index(t-1),o.indexAfter(t-1))))return e.delete(r.before(t),o.after(t))}for(let a=1;a<=r.depth&&a<=o.depth;a++)if(t-r.start(a)==r.depth-a&&n>r.end(a)&&o.end(a)-n!=o.depth-a&&r.start(a-1)==o.start(a-1)&&r.node(a-1).canReplace(r.index(a-1),o.index(a-1)))return e.delete(r.before(a),n);e.delete(t,n)}(this,e,t),this}lift(e,t){return function(e,t,n){let{$from:o,$to:i,depth:a}=t,s=o.before(a+1),l=i.after(a+1),c=s,u=l,d=r.HY.empty,f=0;for(let m=a,g=!1;m>n;m--)g||o.index(m)>0?(g=!0,d=r.HY.from(o.node(m).copy(d)),f++):c--;let p=r.HY.empty,h=0;for(let m=a,g=!1;m>n;m--)g||i.after(m+1)<i.end(m)?(g=!0,p=r.HY.from(i.node(m).copy(p)),h++):u++;e.step(new y(c,u,s,l,new r.p2(d.append(p),f,h),d.size-f,!0))}(this,e,t),this}join(e,t=1){return function(e,t,n){let o=null,{linebreakReplacement:i}=e.doc.type.schema,a=e.doc.resolve(t-n),s=a.node().type;if(i&&s.inlineContent){let e="pre"==s.whitespace,t=!!s.contentMatch.matchType(i);e&&!t?o=!1:!e&&t&&(o=!0)}let l=e.steps.length;if(!1===o){let r=e.doc.resolve(t+n);E(e,r.node(),r.before(),l)}s.inlineContent&&w(e,t+n-1,s,a.node().contentMatchAt(a.index()),null==o);let c=e.mapping.slice(l),u=c.map(t-n);if(e.step(new v(u,c.map(t+n,-1),r.p2.empty,!0)),!0===o){let t=e.doc.resolve(u);S(e,t.node(),t.before(),e.steps.length)}}(this,e,t),this}wrap(e,t){return function(e,t,n){let o=r.HY.empty;for(let s=n.length-1;s>=0;s--){if(o.size){let e=n[s].type.contentMatch.matchFragment(o);if(!e||!e.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}o=r.HY.from(n[s].type.create(n[s].attrs,o))}let i=t.start,a=t.end;e.step(new y(i,a,i,a,new r.p2(o,0,0),n.length,!0))}(this,e,t),this}setBlockType(e,t=e,n,o=null){return function(e,t,n,o,i){if(!o.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let a=e.steps.length;e.doc.nodesBetween(t,n,((t,n)=>{let s="function"==typeof i?i(t):i;if(t.isTextblock&&!t.hasMarkup(o,s)&&function(e,t,n){let r=e.resolve(t),o=r.index();return r.parent.canReplaceWith(o,o+1,n)}(e.doc,e.mapping.slice(a).map(n),o)){let i=null;if(o.schema.linebreakReplacement){let e="pre"==o.whitespace,t=!!o.contentMatch.matchType(o.schema.linebreakReplacement);e&&!t?i=!1:!e&&t&&(i=!0)}!1===i&&E(e,t,n,a),w(e,e.mapping.slice(a).map(n,1),o,void 0,null===i);let l=e.mapping.slice(a),c=l.map(n,1),u=l.map(n+t.nodeSize,1);return e.step(new y(c,u,c+1,u-1,new r.p2(r.HY.from(o.create(s,null,t.marks)),0,0),1,!0)),!0===i&&S(e,t,n,a),!1}}))}(this,e,t,n,o),this}setNodeMarkup(e,t,n=null,o){return function(e,t,n,o,i){let a=e.doc.nodeAt(t);if(!a)throw new RangeError("No node at given position");n||(n=a.type);let s=n.create(o,null,i||a.marks);if(a.isLeaf)return e.replaceWith(t,t+a.nodeSize,s);if(!n.validContent(a.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new y(t,t+a.nodeSize,t+1,t+a.nodeSize-1,new r.p2(r.HY.from(s),0,0),1,!0))}(this,e,t,n,o),this}setNodeAttribute(e,t,n){return this.step(new F(e,t,n)),this}setDocAttribute(e,t){return this.step(new V(e,t)),this}addNodeMark(e,t){return this.step(new m(e,t)),this}removeNodeMark(e,t){if(!(t instanceof r.vc)){let n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(!(t=t.isInSet(n.marks)))return this}return this.step(new g(e,t)),this}split(e,t=1,n){return function(e,t,n=1,o){let i=e.doc.resolve(t),a=r.HY.empty,s=r.HY.empty;for(let l=i.depth,c=i.depth-n,u=n-1;l>c;l--,u--){a=r.HY.from(i.node(l).copy(a));let e=o&&o[u];s=r.HY.from(e?e.type.create(e.attrs,s):i.node(l).copy(s))}e.step(new v(t,t,new r.p2(a.append(s),n,n),!0))}(this,e,t,n),this}addMark(e,t,n){return function(e,t,n,r){let o,i,a=[],s=[];e.doc.nodesBetween(t,n,((e,l,c)=>{if(!e.isInline)return;let u=e.marks;if(!r.isInSet(u)&&c.type.allowsMarkType(r.type)){let c=Math.max(l,t),d=Math.min(l+e.nodeSize,n),f=r.addToSet(u);for(let e=0;e<u.length;e++)u[e].isInSet(f)||(o&&o.to==c&&o.mark.eq(u[e])?o.to=d:a.push(o=new h(c,d,u[e])));i&&i.to==c?i.to=d:s.push(i=new p(c,d,r))}})),a.forEach((t=>e.step(t))),s.forEach((t=>e.step(t)))}(this,e,t,n),this}removeMark(e,t,n){return function(e,t,n,o){let i=[],a=0;e.doc.nodesBetween(t,n,((e,s)=>{if(!e.isInline)return;a++;let l=null;if(o instanceof r.ZU){let t,n=e.marks;for(;t=o.isInSet(n);)(l||(l=[])).push(t),n=t.removeFromSet(n)}else o?o.isInSet(e.marks)&&(l=[o]):l=e.marks;if(l&&l.length){let r=Math.min(s+e.nodeSize,n);for(let e=0;e<l.length;e++){let n,o=l[e];for(let e=0;e<i.length;e++){let t=i[e];t.step==a-1&&o.eq(i[e].style)&&(n=t)}n?(n.to=r,n.step=a):i.push({style:o,from:Math.max(s,t),to:r,step:a})}}})),i.forEach((t=>e.step(new h(t.from,t.to,t.style))))}(this,e,t,n),this}clearIncompatible(e,t,n){return w(this,e,t,n),this}}},40344:function(e,t,n){"use strict";n.d(t,{EH:function(){return Vt},p:function(){return Ht},tk:function(){return mn}});var r=n(3317),o=n(2310),i=n(49485);const a=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},s=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t};let l=null;const c=function(e,t,n){let r=l||(l=document.createRange());return r.setEnd(e,null==n?e.nodeValue.length:n),r.setStart(e,t||0),r},u=function(e,t,n,r){return n&&(f(e,t,n,r,-1)||f(e,t,n,r,1))},d=/^(img|br|input|textarea|hr)$/i;function f(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:p(e))){let n=e.parentNode;if(!n||1!=n.nodeType||h(e)||d.test(e.nodeName)||"false"==e.contentEditable)return!1;t=a(e)+(o<0?0:1),e=n}else{if(1!=e.nodeType)return!1;if("false"==(e=e.childNodes[t+(o<0?-1:0)]).contentEditable)return!1;t=o<0?p(e):0}}}function p(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function h(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const m=function(e){return e.focusNode&&u(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function g(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}const v="undefined"!=typeof navigator?navigator:null,y="undefined"!=typeof document?document:null,b=v&&v.userAgent||"",w=/Edge\/(\d+)/.exec(b),C=/MSIE \d/.exec(b),x=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(b),k=!!(C||x||w),_=C?document.documentMode:x?+x[1]:w?+w[1]:0,S=!k&&/gecko\/(\d+)/i.test(b);S&&(/Firefox\/(\d+)/.exec(b)||[0,0])[1];const E=!k&&/Chrome\/(\d+)/.exec(b),M=!!E,L=E?+E[1]:0,N=!k&&!!v&&/Apple Computer/.test(v.vendor),O=N&&(/Mobile\/\w+/.test(b)||!!v&&v.maxTouchPoints>2),A=O||!!v&&/Mac/.test(v.platform),j=!!v&&/Win/.test(v.platform),T=/Android \d/.test(b),Z=!!y&&"webkitFontSmoothing"in y.documentElement.style,P=Z?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function R(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function I(e,t){return"number"==typeof e?e:e[t]}function D(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function z(e,t,n){let r=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument;for(let a=n||e.dom;a;a=s(a)){if(1!=a.nodeType)continue;let e=a,n=e==i.body,s=n?R(i):D(e),l=0,c=0;if(t.top<s.top+I(r,"top")?c=-(s.top-t.top+I(o,"top")):t.bottom>s.bottom-I(r,"bottom")&&(c=t.bottom-t.top>s.bottom-s.top?t.top+I(o,"top")-s.top:t.bottom-s.bottom+I(o,"bottom")),t.left<s.left+I(r,"left")?l=-(s.left-t.left+I(o,"left")):t.right>s.right-I(r,"right")&&(l=t.right-s.right+I(o,"right")),l||c)if(n)i.defaultView.scrollBy(l,c);else{let n=e.scrollLeft,r=e.scrollTop;c&&(e.scrollTop+=c),l&&(e.scrollLeft+=l);let o=e.scrollLeft-n,i=e.scrollTop-r;t={left:t.left-o,top:t.top-i,right:t.right-o,bottom:t.bottom-i}}if(n||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function H(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=s(r));return t}function B(e,t){for(let n=0;n<e.length;n++){let{dom:r,top:o,left:i}=e[n];r.scrollTop!=o+t&&(r.scrollTop=o+t),r.scrollLeft!=i&&(r.scrollLeft=i)}}let F=null;function V(e,t){let n,r,o,i,a=2e8,s=0,l=t.top,u=t.top;for(let d=e.firstChild,f=0;d;d=d.nextSibling,f++){let e;if(1==d.nodeType)e=d.getClientRects();else{if(3!=d.nodeType)continue;e=c(d).getClientRects()}for(let c=0;c<e.length;c++){let p=e[c];if(p.top<=l&&p.bottom>=u){l=Math.max(p.bottom,l),u=Math.min(p.top,u);let e=p.left>t.left?p.left-t.left:p.right<t.left?t.left-p.right:0;if(e<a){n=d,a=e,r=e&&3==n.nodeType?{left:p.right<t.left?p.right:p.left,top:t.top}:t,1==d.nodeType&&e&&(s=f+(t.left>=(p.left+p.right)/2?1:0));continue}}else p.top>t.top&&!o&&p.left<=t.left&&p.right>=t.left&&(o=d,i={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!n&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(s=f+1)}}return!n&&o&&(n=o,r=i,a=0),n&&3==n.nodeType?function(e,t){let n=e.nodeValue.length,r=document.createRange();for(let o=0;o<n;o++){r.setEnd(e,o+1),r.setStart(e,o);let n=K(r,1);if(n.top!=n.bottom&&q(t,n))return{node:e,offset:o+(t.left>=(n.left+n.right)/2?1:0)}}return{node:e,offset:0}}(n,r):!n||a&&1==n.nodeType?{node:e,offset:s}:V(n,r)}function q(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function U(e,t,n){let r=e.childNodes.length;if(r&&n.top<n.bottom)for(let o=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),i=o;;){let n=e.childNodes[i];if(1==n.nodeType){let e=n.getClientRects();for(let r=0;r<e.length;r++){let o=e[r];if(q(t,o))return U(n,t,o)}}if((i=(i+1)%r)==o)break}return e}function $(e,t){let n,r=e.dom.ownerDocument,o=0,i=function(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:Math.min(p(r.offsetNode),r.offset)}}catch(r){}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:Math.min(p(r.startContainer),r.startOffset)}}}(r,t.left,t.top);i&&({node:n,offset:o}=i);let a,l=(e.root.elementFromPoint?e.root:r).elementFromPoint(t.left,t.top);if(!l||!e.dom.contains(1!=l.nodeType?l.parentNode:l)){let n=e.dom.getBoundingClientRect();if(!q(t,n))return null;if(l=U(e.dom,t,n),!l)return null}if(N)for(let u=l;n&&u;u=s(u))u.draggable&&(n=void 0);if(l=function(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(l,t),n){if(S&&1==n.nodeType&&(o=Math.min(o,n.childNodes.length),o<n.childNodes.length)){let e,r=n.childNodes[o];"IMG"==r.nodeName&&(e=r.getBoundingClientRect()).right<=t.left&&e.bottom>t.top&&o++}let r;Z&&o&&1==n.nodeType&&1==(r=n.childNodes[o-1]).nodeType&&"false"==r.contentEditable&&r.getBoundingClientRect().top>=t.top&&o--,n==e.dom&&o==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?a=e.state.doc.content.size:0!=o&&1==n.nodeType&&"BR"==n.childNodes[o-1].nodeName||(a=function(e,t,n,r){let o=-1;for(let i=t,a=!1;i!=e.dom;){let t=e.docView.nearestDesc(i,!0);if(!t)return null;if(1==t.dom.nodeType&&(t.node.isBlock&&t.parent||!t.contentDOM)){let e=t.dom.getBoundingClientRect();if(t.node.isBlock&&t.parent&&(!a&&e.left>r.left||e.top>r.top?o=t.posBefore:(!a&&e.right<r.left||e.bottom<r.top)&&(o=t.posAfter),a=!0),!t.contentDOM&&o<0&&!t.node.isText)return(t.node.isBlock?r.top<(e.top+e.bottom)/2:r.left<(e.left+e.right)/2)?t.posBefore:t.posAfter}i=t.dom.parentNode}return o>-1?o:e.docView.posFromDOM(t,n,-1)}(e,n,o,t))}null==a&&(a=function(e,t,n){let{node:r,offset:o}=V(t,n),i=-1;if(1==r.nodeType&&!r.firstChild){let e=r.getBoundingClientRect();i=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,o,i)}(e,l,t));let c=e.docView.nearestDesc(l,!0);return{pos:a,inside:c?c.posAtStart-c.border:-1}}function W(e){return e.top<e.bottom||e.left<e.right}function K(e,t){let n=e.getClientRects();if(n.length){let e=n[t<0?0:n.length-1];if(W(e))return e}return Array.prototype.find.call(n,W)||e.getBoundingClientRect()}const G=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Y(e,t,n){let{node:r,offset:o,atom:i}=e.docView.domFromPos(t,n<0?-1:1),a=Z||S;if(3==r.nodeType){if(!a||!G.test(r.nodeValue)&&(n<0?o:o!=r.nodeValue.length)){let e=o,t=o,i=n<0?1:-1;return n<0&&!o?(t++,i=-1):n>=0&&o==r.nodeValue.length?(e--,i=1):n<0?e--:t++,J(K(c(r,e,t),i),i<0)}{let e=K(c(r,o,o),n);if(S&&o&&/\s/.test(r.nodeValue[o-1])&&o<r.nodeValue.length){let t=K(c(r,o-1,o-1),-1);if(t.top==e.top){let n=K(c(r,o,o+1),-1);if(n.top!=e.top)return J(n,n.left<t.left)}}return e}}if(!e.state.doc.resolve(t-(i||0)).parent.inlineContent){if(null==i&&o&&(n<0||o==p(r))){let e=r.childNodes[o-1];if(1==e.nodeType)return X(e.getBoundingClientRect(),!1)}if(null==i&&o<p(r)){let e=r.childNodes[o];if(1==e.nodeType)return X(e.getBoundingClientRect(),!0)}return X(r.getBoundingClientRect(),n>=0)}if(null==i&&o&&(n<0||o==p(r))){let e=r.childNodes[o-1],t=3==e.nodeType?c(e,p(e)-(a?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return J(K(t,1),!1)}if(null==i&&o<p(r)){let e=r.childNodes[o];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?3==e.nodeType?c(e,0,a?0:1):1==e.nodeType?e:null:null;if(t)return J(K(t,-1),!0)}return J(K(3==r.nodeType?c(r):r,-n),n>=0)}function J(e,t){if(0==e.width)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function X(e,t){if(0==e.height)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function Q(e,t,n){let r=e.state,o=e.root.activeElement;r!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),o!=e.dom&&o&&o.focus()}}const ee=/[\u0590-\u08ac]/;let te=null,ne=null,re=!1;function oe(e,t,n){return te==t&&ne==n?re:(te=t,ne=n,re="up"==n||"down"==n?function(e,t,n){let r=t.selection,o="up"==n?r.$from:r.$to;return Q(e,t,(()=>{let{node:t}=e.docView.domFromPos(o.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let r=Y(e,o.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=c(e,0,e.nodeValue.length).getClientRects()}for(let e=0;e<t.length;e++){let o=t[e];if(o.bottom>o.top+1&&("up"==n?r.top-o.top>2*(o.bottom-r.top):o.bottom-r.bottom>2*(r.bottom-o.top)))return!1}}return!0}))}(e,t,n):function(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let o=r.parentOffset,i=!o,a=o==r.parent.content.size,s=e.domSelection();return s?ee.test(r.parent.textContent)&&s.modify?Q(e,t,(()=>{let{focusNode:t,focusOffset:o,anchorNode:i,anchorOffset:a}=e.domSelectionRange(),l=s.caretBidiLevel;s.modify("move",n,"character");let c=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:u,focusOffset:d}=e.domSelectionRange(),f=u&&!c.contains(1==u.nodeType?u:u.parentNode)||t==u&&o==d;try{s.collapse(i,a),t&&(t!=i||o!=a)&&s.extend&&s.extend(t,o)}catch(p){}return null!=l&&(s.caretBidiLevel=l),f})):"left"==n||"backward"==n?i:a:r.pos==r.start()||r.pos==r.end()}(e,t,n))}class ie{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,this.contentDOM=r,this.dirty=0,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,n=this.posAtStart;;t++){let r=this.children[t];if(r==e)return n;n+=r.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,n){if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(n<0){let n,r;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&(!(r=n.pmViewDesc)||r.parent!=this);)n=n.previousSibling;return n?this.posBeforeChild(r)+r.size:this.posAtStart}{let n,r;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&(!(r=n.pmViewDesc)||r.parent!=this);)n=n.nextSibling;return n?this.posBeforeChild(r):this.posAtEnd}}let r;if(e==this.dom&&this.contentDOM)r=t>a(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.previousSibling)break}if(null==r&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.nextSibling)break}}return(null==r?n>0:r)?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,r=e;r;r=r.parentNode){let o,i=this.getDesc(r);if(i&&(!t||i.node)){if(!n||!(o=i.nodeDOM)||(1==o.nodeType?o.contains(1==e.nodeType?e:e.parentNode):o==e))return i;n=!1}}}getDesc(e){let t=e.pmViewDesc;for(let n=t;n;n=n.parent)if(n==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let o=this.getDesc(r);if(o)return o.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let r=this.children[t],o=n+r.size;if(n==e&&o!=n){for(;!r.border&&r.children.length;)r=r.children[0];return r}if(e<o)return r.descAt(e-n-r.border);n=o}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n,r=0,o=0;for(let i=0;r<this.children.length;r++){let t=this.children[r],n=i+t.size;if(n>e||t instanceof fe){o=e-i;break}i=n}if(o)return this.children[r].domFromPos(o-this.children[r].border,t);for(;r&&!(n=this.children[r-1]).size&&n instanceof ae&&n.side>=0;r--);if(t<=0){let e,n=!0;for(;e=r?this.children[r-1]:null,e&&e.dom.parentNode!=this.contentDOM;r--,n=!1);return e&&t&&n&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?a(e.dom)+1:0}}{let e,n=!0;for(;e=r<this.children.length?this.children[r]:null,e&&e.dom.parentNode!=this.contentDOM;r++,n=!1);return e&&n&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?a(e.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,n=0){if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let r=-1,o=-1;for(let i=n,s=0;;s++){let n=this.children[s],l=i+n.size;if(-1==r&&e<=l){let o=i+n.border;if(e>=o&&t<=l-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,o);e=i;for(let t=s;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=a(n.dom)+1;break}e-=n.size}-1==r&&(r=0)}if(r>-1&&(l>t||s==this.children.length-1)){t=l;for(let e=s+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){o=a(n.dom);break}t+=n.size}-1==o&&(o=this.contentDOM.childNodes.length);break}i=l}return{node:this.contentDOM,from:e,to:t,fromOffset:r,toOffset:o}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:n}=this.domFromPos(e,0);if(1!=t.nodeType||n==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[n]}setSelection(e,t,n,r=!1){let o=Math.min(e,t),i=Math.max(e,t);for(let a=0,u=0;a<this.children.length;a++){let s=this.children[a],l=u+s.size;if(o>u&&i<l)return s.setSelection(e-u-s.border,t-u-s.border,n,r);u=l}let s=this.domFromPos(e,e?-1:1),l=t==e?s:this.domFromPos(t,t?-1:1),c=n.getSelection(),d=!1;if((S||N)&&e==t){let{node:e,offset:t}=s;if(3==e.nodeType){if(d=!(!t||"\n"!=e.nodeValue[t-1]),d&&t==e.nodeValue.length)for(let n,r=e;r;r=r.parentNode){if(n=r.nextSibling){"BR"==n.nodeName&&(s=l={node:n.parentNode,offset:a(n)+1});break}let e=r.pmViewDesc;if(e&&e.node&&e.node.isBlock)break}}else{let n=e.childNodes[t-1];d=n&&("BR"==n.nodeName||"false"==n.contentEditable)}}if(S&&c.focusNode&&c.focusNode!=l.node&&1==c.focusNode.nodeType){let e=c.focusNode.childNodes[c.focusOffset];e&&"false"==e.contentEditable&&(r=!0)}if(!(r||d&&N)&&u(s.node,s.offset,c.anchorNode,c.anchorOffset)&&u(l.node,l.offset,c.focusNode,c.focusOffset))return;let f=!1;if((c.extend||e==t)&&!d){c.collapse(s.node,s.offset);try{e!=t&&c.extend(l.node,l.offset),f=!0}catch(p){}}if(!f){if(e>t){let e=s;s=l,l=e}let n=document.createRange();n.setEnd(l.node,l.offset),n.setStart(s.node,s.offset),c.removeAllRanges(),c.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&"selection"!=e.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r<this.children.length;r++){let o=this.children[r],i=n+o.size;if(n==i?e<=i&&t>=n:e<i&&t>n){let r=n+o.border,a=i-o.border;if(e>=r&&t<=a)return this.dirty=e==n||t==i?2:1,void(e!=r||t!=a||!o.contentLost&&o.dom.parentNode==this.contentDOM?o.markDirty(e-r,t-r):o.dirty=3);o.dirty=o.dom!=o.contentDOM||o.dom.parentNode!=this.contentDOM||o.children.length?3:2}n=i}this.dirty=2}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?2:1;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}isText(e){return!1}}class ae extends ie{constructor(e,t,n,r){let o,i=t.type.toDOM;if("function"==typeof i&&(i=i(n,(()=>o?o.parent?o.parent.posBeforeChild(o):void 0:r))),!t.type.spec.raw){if(1!=i.nodeType){let e=document.createElement("span");e.appendChild(i),i=e}i.contentEditable="false",i.classList.add("ProseMirror-widget")}super(e,[],i,null),this.widget=t,this.widget=t,o=this}matchesWidget(e){return 0==this.dirty&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return!!t&&t(e)}ignoreMutation(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class se extends ie{constructor(e,t,n,r){super(e,[],t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}class le extends ie{constructor(e,t,n,r){super(e,[],n,r),this.mark=t}static create(e,t,n,r){let i=r.nodeViews[t.type.name],a=i&&i(t,r,n);return a&&a.dom||(a=o.PW.renderSpec(document,t.type.spec.toDOM(t,n),null,t.attrs)),new le(e,t,a.dom,a.contentDOM||a.dom)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return 3!=this.dirty&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),0!=this.dirty){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=0}}slice(e,t,n){let r=le.create(this.parent,this.mark,!0,n),o=this.children,i=this.size;t<i&&(o=Se(o,t,i,n)),e>0&&(o=Se(o,0,e,n));for(let a=0;a<o.length;a++)o[a].parent=r;return r.children=o,r}}class ce extends ie{constructor(e,t,n,r,o,i,a,s,l){super(e,[],o,i),this.node=t,this.outerDeco=n,this.innerDeco=r,this.nodeDOM=a}static create(e,t,n,r,i,a){let s,l=i.nodeViews[t.type.name],c=l&&l(t,i,(()=>s?s.parent?s.parent.posBeforeChild(s):void 0:a),n,r),u=c&&c.dom,d=c&&c.contentDOM;if(t.isText)if(u){if(3!=u.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else u=document.createTextNode(t.text);else if(!u){let e=o.PW.renderSpec(document,t.type.spec.toDOM(t),null,t.attrs);({dom:u,contentDOM:d}=e)}d||t.isText||"BR"==u.nodeName||(u.hasAttribute("contenteditable")||(u.contentEditable="false"),t.type.spec.draggable&&(u.draggable=!0));let f=u;return u=we(u,n,t),c?s=new pe(e,t,n,r,u,d||null,f,c,i,a+1):t.isText?new de(e,t,n,r,u,f,i):new ce(e,t,n,r,u,d||null,f,i,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(e.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let t=this.children.length-1;t>=0;t--){let n=this.children[t];if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode;break}}e.contentElement||(e.getContent=()=>o.HY.empty)}else e.contentElement=this.contentDOM;else e.getContent=()=>this.node.content;return e}matchesNode(e,t,n){return 0==this.dirty&&e.eq(this.node)&&Ce(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let n=this.node.inlineContent,r=t,i=e.composing?this.localCompositionInfo(e,t):null,a=i&&i.pos>-1?i:null,s=i&&i.pos<0,l=new ke(this,a&&a.node,e);!function(e,t,n,r){let o=t.locals(e),i=0;if(0==o.length){for(let n=0;n<e.childCount;n++){let a=e.child(n);r(a,o,t.forChild(i,a),n),i+=a.nodeSize}return}let a=0,s=[],l=null;for(let c=0;;){let u,d,f,p;for(;a<o.length&&o[a].to==i;){let e=o[a++];e.widget&&(u?(d||(d=[u])).push(e):u=e)}if(u)if(d){d.sort(_e);for(let e=0;e<d.length;e++)n(d[e],c,!!l)}else n(u,c,!!l);if(l)p=-1,f=l,l=null;else{if(!(c<e.childCount))break;p=c,f=e.child(c++)}for(let e=0;e<s.length;e++)s[e].to<=i&&s.splice(e--,1);for(;a<o.length&&o[a].from<=i&&o[a].to>i;)s.push(o[a++]);let h=i+f.nodeSize;if(f.isText){let e=h;a<o.length&&o[a].from<e&&(e=o[a].from);for(let t=0;t<s.length;t++)s[t].to<e&&(e=s[t].to);e<h&&(l=f.cut(e-i),f=f.cut(0,e-i),h=e,p=-1)}else for(;a<o.length&&o[a].to<h;)a++;r(f,f.isInline&&!f.isLeaf?s.filter((e=>!e.inline)):s.slice(),t.forChild(i,f),p),i=h}}(this.node,this.innerDeco,((t,i,a)=>{t.spec.marks?l.syncToMarks(t.spec.marks,n,e):t.type.side>=0&&!a&&l.syncToMarks(i==this.node.childCount?o.vc.none:this.node.child(i).marks,n,e),l.placeWidget(t,e,r)}),((t,o,a,c)=>{let u;l.syncToMarks(t.marks,n,e),l.findNodeMatch(t,o,a,c)||s&&e.state.selection.from>r&&e.state.selection.to<r+t.nodeSize&&(u=l.findIndexWithChild(i.node))>-1&&l.updateNodeAt(t,o,a,u,e)||l.updateNextNode(t,o,a,e,c,r)||l.addNode(t,o,a,e,r),r+=t.nodeSize})),l.syncToMarks([],n,e),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||2==this.dirty)&&(a&&this.protectLocalComposition(e,a),he(this.contentDOM,this.children,e),O&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}localCompositionInfo(e,t){let{from:n,to:o}=e.state.selection;if(!(e.state.selection instanceof r.Bs)||n<t||o>t+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let e=i.nodeValue,r=function(e,t,n,r){for(let o=0,i=0;o<e.childCount&&i<=r;){let a=e.child(o++),s=i;if(i+=a.nodeSize,!a.isText)continue;let l=a.text;for(;o<e.childCount;){let t=e.child(o++);if(i+=t.nodeSize,!t.isText)break;l+=t.text}if(i>=n){if(i>=r&&l.slice(r-t.length-s,r-s)==t)return r-t.length;let e=s<r?l.lastIndexOf(t,r-s-1):-1;if(e>=0&&e+t.length+s>=n)return s+e;if(n==r&&l.length>=r+t.length-s&&l.slice(r-s,r-s+t.length)==t)return r}}return-1}(this.node.content,e,n-t,o-t);return r<0?null:{node:i,pos:r,text:e}}return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let o=t;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let i=new se(this,o,t,r);e.input.compositionNodes.push(i),this.children=Se(this.children,n,n+r.length,e,i)}update(e,t,n,r){return!(3==this.dirty||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,r),!0)}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}updateOuterDeco(e){if(Ce(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=ye(this.dom,this.nodeDOM,ve(this.outerDeco,this.node,t),ve(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function ue(e,t,n,r,o){we(r,t,e);let i=new ce(void 0,e,t,n,r,r,r,o,0);return i.contentDOM&&i.updateChildren(o,0),i}class de extends ce{constructor(e,t,n,r,o,i,a){super(e,t,n,r,o,null,i,a,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),0==this.dirty&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=0,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(e,t,n){let r=this.node.cut(e,t),o=document.createTextNode(r.text);return new de(this.parent,r,this.outerDeco,this.innerDeco,o,o,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}get domAtom(){return!1}isText(e){return this.node.text==e}}class fe extends ie{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class pe extends ce{constructor(e,t,n,r,o,i,a,s,l,c){super(e,t,n,r,o,i,a,l,c),this.spec=s}update(e,t,n,r){if(3==this.dirty)return!1;if(this.spec.update){let o=this.spec.update(e,t,n);return o&&this.updateInner(e,t,n,r),o}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function he(e,t,n){let r=e.firstChild,o=!1;for(let i=0;i<t.length;i++){let a=t[i],s=a.dom;if(s.parentNode==e){for(;s!=r;)r=xe(r),o=!0;r=r.nextSibling}else o=!0,e.insertBefore(s,r);if(a instanceof le){let t=r?r.previousSibling:e.lastChild;he(a.contentDOM,a.children,n),r=t?t.nextSibling:e.firstChild}}for(;r;)r=xe(r),o=!0;o&&n.trackWrites==e&&(n.trackWrites=null)}const me=function(e){e&&(this.nodeName=e)};me.prototype=Object.create(null);const ge=[new me];function ve(e,t,n){if(0==e.length)return ge;let r=n?ge[0]:new me,o=[r];for(let i=0;i<e.length;i++){let a=e[i].type.attrs;if(a){a.nodeName&&o.push(r=new me(a.nodeName));for(let e in a){let i=a[e];null!=i&&(n&&1==o.length&&o.push(r=new me(t.isInline?"span":"div")),"class"==e?r.class=(r.class?r.class+" ":"")+i:"style"==e?r.style=(r.style?r.style+";":"")+i:"nodeName"!=e&&(r[e]=i))}}}return o}function ye(e,t,n,r){if(n==ge&&r==ge)return t;let o=t;for(let i=0;i<r.length;i++){let t=r[i],a=n[i];if(i){let n;a&&a.nodeName==t.nodeName&&o!=e&&(n=o.parentNode)&&n.nodeName.toLowerCase()==t.nodeName||(n=document.createElement(t.nodeName),n.pmIsDeco=!0,n.appendChild(o),a=ge[0]),o=n}be(o,a||ge[0],t)}return o}function be(e,t,n){for(let r in t)"class"==r||"style"==r||"nodeName"==r||r in n||e.removeAttribute(r);for(let r in n)"class"!=r&&"style"!=r&&"nodeName"!=r&&n[r]!=t[r]&&e.setAttribute(r,n[r]);if(t.class!=n.class){let r=t.class?t.class.split(" ").filter(Boolean):[],o=n.class?n.class.split(" ").filter(Boolean):[];for(let t=0;t<r.length;t++)-1==o.indexOf(r[t])&&e.classList.remove(r[t]);for(let t=0;t<o.length;t++)-1==r.indexOf(o[t])&&e.classList.add(o[t]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let n,r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;for(;n=r.exec(t.style);)e.style.removeProperty(n[1])}n.style&&(e.style.cssText+=n.style)}}function we(e,t,n){return ye(e,e,ge,ve(t,n,1!=e.nodeType))}function Ce(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function xe(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class ke{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=function(e,t){let n=t,r=n.children.length,o=e.childCount,i=new Map,a=[];e:for(;o>0;){let s;for(;;)if(r){let e=n.children[r-1];if(!(e instanceof le)){s=e,r--;break}n=e,r=e.children.length}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=s.node;if(l){if(l!=e.child(o-1))break;--o,i.set(s,o),a.push(s)}}return{index:o,matched:i,matches:a.reverse()}}(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,n){let r=0,o=this.stack.length>>1,i=Math.min(o,e.length);for(;r<i&&(r==o-1?this.top:this.stack[r+1<<1]).matchesMark(e[r])&&!1!==e[r].type.spec.spanning;)r++;for(;r<o;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o<e.length;){this.stack.push(this.top,this.index+1);let r=-1;for(let t=this.index;t<Math.min(this.index+3,this.top.children.length);t++){let n=this.top.children[t];if(n.matchesMark(e[o])&&!this.isLocked(n.dom)){r=t;break}}if(r>-1)r>this.index&&(this.changed=!0,this.destroyBetween(this.index,r)),this.top=this.top.children[this.index];else{let r=le.create(this.top,e[o],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,o++}}findNodeMatch(e,t,n,r){let o,i=-1;if(r>=this.preMatch.index&&(o=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&o.matchesNode(e,t,n))i=this.top.children.indexOf(o,this.index);else for(let a=this.index,s=Math.min(this.top.children.length,a+5);a<s;a++){let r=this.top.children[a];if(r.matchesNode(e,t,n)&&!this.preMatch.matched.has(r)){i=a;break}}return!(i<0)&&(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(e,t,n,r,o){let i=this.top.children[r];return 3==i.dirty&&i.dom==i.contentDOM&&(i.dirty=2),!!i.update(e,t,n,o)&&(this.destroyBetween(this.index,r),this.index++,!0)}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let t=e.pmViewDesc;if(t)for(let e=this.index;e<this.top.children.length;e++)if(this.top.children[e]==t)return e;return-1}e=t}}updateNextNode(e,t,n,r,o,i){for(let a=this.index;a<this.top.children.length;a++){let s=this.top.children[a];if(s instanceof ce){let l=this.preMatch.matched.get(s);if(null!=l&&l!=o)return!1;let c,u=s.dom,d=this.isLocked(u)&&!(e.isText&&s.node&&s.node.isText&&s.nodeDOM.nodeValue==e.text&&3!=s.dirty&&Ce(t,s.outerDeco));if(!d&&s.update(e,t,n,r))return this.destroyBetween(this.index,a),s.dom!=u&&(this.changed=!0),this.index++,!0;if(!d&&(c=this.recreateWrapper(s,e,t,n,r,i)))return this.destroyBetween(this.index,a),this.top.children[this.index]=c,c.contentDOM&&(c.dirty=2,c.updateChildren(r,i+1),c.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,n,r,o,i){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!Ce(n,e.outerDeco)||!r.eq(e.innerDeco))return null;let a=ce.create(this.top,t,n,r,o,i);if(a.contentDOM){a.children=e.children,e.children=[];for(let e of a.children)e.parent=a}return e.destroy(),a}addNode(e,t,n,r,o){let i=ce.create(this.top,e,t,n,r,o);i.contentDOM&&i.updateChildren(r,o+1),this.top.children.splice(this.index++,0,i),this.changed=!0}placeWidget(e,t,n){let r=this.index<this.top.children.length?this.top.children[this.index]:null;if(!r||!r.matchesWidget(e)||e!=r.widget&&r.widget.type.toDOM.parentNode){let r=new ae(this.top,e,t,n);this.top.children.splice(this.index++,0,r),this.changed=!0}else this.index++}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof le;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof de)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((N||M)&&e&&"false"==e.dom.contentEditable&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let n=document.createElement(e);"IMG"==e&&(n.className="ProseMirror-separator",n.alt=""),"BR"==e&&(n.className="ProseMirror-trailingBreak");let r=new fe(this.top,[],n,null);t!=this.top?t.children.push(r):t.children.splice(this.index++,0,r),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||1==e.nodeType&&e.contains(this.lock.parentNode))}}function _e(e,t){return e.type.side-t.type.side}function Se(e,t,n,r,o){let i=[];for(let a=0,s=0;a<e.length;a++){let l=e[a],c=s,u=s+=l.size;c>=n||u<=t?i.push(l):(c<t&&i.push(l.slice(0,t-c,r)),o&&(i.push(o),o=void 0),u>n&&i.push(l.slice(n-c,l.size,r)))}return i}function Ee(e,t=null){let n=e.domSelectionRange(),o=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),s=i&&0==i.size,l=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(l<0)return null;let c,u,d=o.resolve(l);if(m(n)){for(c=l;i&&!i.node;)i=i.parent;let e=i.node;if(i&&e.isAtom&&r.qv.isSelectable(e)&&i.parent&&(!e.isInline||!function(e,t,n){for(let r=0==t,o=t==p(e);r||o;){if(e==n)return!0;let t=a(e);if(!(e=e.parentNode))return!1;r=r&&0==t,o=o&&t==p(e)}}(n.focusNode,n.focusOffset,i.dom))){let e=i.posBefore;u=new r.qv(l==e?d:o.resolve(e))}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let t=l,r=l;for(let o=0;o<n.rangeCount;o++){let i=n.getRangeAt(o);t=Math.min(t,e.docView.posFromDOM(i.startContainer,i.startOffset,1)),r=Math.max(r,e.docView.posFromDOM(i.endContainer,i.endOffset,-1))}if(t<0)return null;[c,l]=r==e.state.selection.anchor?[r,t]:[t,r],d=o.resolve(l)}else c=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(c<0)return null}let f=o.resolve(c);if(!u){u=Pe(e,f,d,"pointer"==t||e.state.selection.head<d.pos&&!s?1:-1)}return u}function Me(e){return e.editable?e.hasFocus():Ie(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function Le(e,t=!1){let n=e.state.selection;if(Te(e,n),Me(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&M){let t=e.domSelectionRange(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&u(t.anchorNode,t.anchorOffset,n.anchorNode,n.anchorOffset))return e.input.mouseDown.delayedSelectionSync=!0,void e.domObserver.setCurSelection()}if(e.domObserver.disconnectSelection(),e.cursorWrapper)!function(e){let t=e.domSelection(),n=document.createRange();if(!t)return;let r=e.cursorWrapper.dom,o="IMG"==r.nodeName;o?n.setStart(r.parentNode,a(r)+1):n.setStart(r,0);n.collapse(!0),t.removeAllRanges(),t.addRange(n),!o&&!e.state.selection.visible&&k&&_<=11&&(r.disabled=!0,r.disabled=!1)}(e);else{let o,i,{anchor:a,head:s}=n;!Ne||n instanceof r.Bs||(n.$from.parent.inlineContent||(o=Oe(e,n.from)),n.empty||n.$from.parent.inlineContent||(i=Oe(e,n.to))),e.docView.setSelection(a,s,e.root,t),Ne&&(o&&je(o),i&&je(i)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(e){let t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);let n=e.domSelectionRange(),r=n.anchorNode,o=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{n.anchorNode==r&&n.anchorOffset==o||(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout((()=>{Me(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")}),20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const Ne=N||M&&L<63;function Oe(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),o=r<n.childNodes.length?n.childNodes[r]:null,i=r?n.childNodes[r-1]:null;if(N&&o&&"false"==o.contentEditable)return Ae(o);if((!o||"false"==o.contentEditable)&&(!i||"false"==i.contentEditable)){if(o)return Ae(o);if(i)return Ae(i)}}function Ae(e){return e.contentEditable="true",N&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function je(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function Te(e,t){if(t instanceof r.qv){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Ze(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Ze(e)}function Ze(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function Pe(e,t,n,o){return e.someProp("createSelectionBetween",(r=>r(e,t,n)))||r.Bs.between(t,n,o)}function Re(e){return!(e.editable&&!e.hasFocus())&&Ie(e)}function Ie(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch(n){return!1}}function De(e,t){let{$anchor:n,$head:o}=e.selection,i=t>0?n.max(o):n.min(o),a=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return a&&r.Y1.findFrom(a,t)}function ze(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function He(e,t,n){let o=e.state.selection;if(!(o instanceof r.Bs)){if(o instanceof r.qv&&o.node.isInline)return ze(e,new r.Bs(t>0?o.$to:o.$from));{let n=De(e.state,t);return!!n&&ze(e,n)}}if(n.indexOf("s")>-1){let{$head:n}=o,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let a=e.state.doc.resolve(n.pos+i.nodeSize*(t<0?-1:1));return ze(e,new r.Bs(o.$anchor,a))}if(!o.empty)return!1;if(e.endOfTextblock(t>0?"forward":"backward")){let n=De(e.state,t);return!!(n&&n instanceof r.qv)&&ze(e,n)}if(!(A&&n.indexOf("m")>-1)){let n,i=o.$head,a=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter;if(!a||a.isText)return!1;let s=t<0?i.pos-a.nodeSize:i.pos;return!!(a.isAtom||(n=e.docView.descAt(s))&&!n.contentDOM)&&(r.qv.isSelectable(a)?ze(e,new r.qv(t<0?e.state.doc.resolve(i.pos-a.nodeSize):i)):!!Z&&ze(e,new r.Bs(e.state.doc.resolve(t<0?s:s+a.nodeSize))))}}function Be(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Fe(e,t){let n=e.pmViewDesc;return n&&0==n.size&&(t<0||e.nextSibling||"BR"!=e.nodeName)}function Ve(e,t){return t<0?function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o,i,s=!1;S&&1==n.nodeType&&r<Be(n)&&Fe(n.childNodes[r],-1)&&(s=!0);for(;;)if(r>0){if(1!=n.nodeType)break;{let e=n.childNodes[r-1];if(Fe(e,-1))o=n,i=--r;else{if(3!=e.nodeType)break;n=e,r=n.nodeValue.length}}}else{if(qe(n))break;{let t=n.previousSibling;for(;t&&Fe(t,-1);)o=n.parentNode,i=a(t),t=t.previousSibling;if(t)n=t,r=Be(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}s?Ue(e,n,r):o&&Ue(e,o,i)}(e):function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o,i,s=Be(n);for(;;)if(r<s){if(1!=n.nodeType)break;if(!Fe(n.childNodes[r],1))break;o=n,i=++r}else{if(qe(n))break;{let t=n.nextSibling;for(;t&&Fe(t,1);)o=t.parentNode,i=a(t)+1,t=t.nextSibling;if(t)n=t,r=0,s=Be(n);else{if(n=n.parentNode,n==e.dom)break;r=s=0}}}o&&Ue(e,o,i)}(e)}function qe(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function Ue(e,t,n){if(3!=t.nodeType){let e,r;(r=function(e,t){for(;e&&t==e.childNodes.length&&!h(e);)t=a(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;e=n,t=0}}(t,n))?(t=r,n=0):(e=function(e,t){for(;e&&!t&&!h(e);)t=a(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;t=(e=n).childNodes.length}}(t,n))&&(t=e,n=e.nodeValue.length)}let r=e.domSelection();if(!r)return;if(m(r)){let e=document.createRange();e.setEnd(t,n),e.setStart(t,n),r.removeAllRanges(),r.addRange(e)}else r.extend&&r.extend(t,n);e.domObserver.setCurSelection();let{state:o}=e;setTimeout((()=>{e.state==o&&Le(e)}),50)}function $e(e,t){let n=e.state.doc.resolve(t);if(!M&&!j&&n.parent.inlineContent){let r=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),o=(n.top+n.bottom)/2;if(o>r.top&&o<r.bottom&&Math.abs(n.left-r.left)>1)return n.left<r.left?"ltr":"rtl"}if(t<n.end()){let n=e.coordsAtPos(t+1),o=(n.top+n.bottom)/2;if(o>r.top&&o<r.bottom&&Math.abs(n.left-r.left)>1)return n.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function We(e,t,n){let o=e.state.selection;if(o instanceof r.Bs&&!o.empty||n.indexOf("s")>-1)return!1;if(A&&n.indexOf("m")>-1)return!1;let{$from:i,$to:a}=o;if(!i.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=De(e.state,t);if(n&&n instanceof r.qv)return ze(e,n)}if(!i.parent.inlineContent){let n=t<0?i:a,s=o instanceof r.C1?r.Y1.near(n,t):r.Y1.findFrom(n,t);return!!s&&ze(e,s)}return!1}function Ke(e,t){if(!(e.state.selection instanceof r.Bs))return!0;let{$head:n,$anchor:o,empty:i}=e.state.selection;if(!n.sameParent(o))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let a=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(a&&!a.isText){let r=e.state.tr;return t<0?r.delete(n.pos-a.nodeSize,n.pos):r.delete(n.pos,n.pos+a.nodeSize),e.dispatch(r),!0}return!1}function Ge(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function Ye(e,t){let n=t.keyCode,r=function(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);if(8==n||A&&72==n&&"c"==r)return Ke(e,-1)||Ve(e,-1);if(46==n&&!t.shiftKey||A&&68==n&&"c"==r)return Ke(e,1)||Ve(e,1);if(13==n||27==n)return!0;if(37==n||A&&66==n&&"c"==r){let t=37==n?"ltr"==$e(e,e.state.selection.from)?-1:1:-1;return He(e,t,r)||Ve(e,t)}if(39==n||A&&70==n&&"c"==r){let t=39==n?"ltr"==$e(e,e.state.selection.from)?1:-1:1;return He(e,t,r)||Ve(e,t)}return 38==n||A&&80==n&&"c"==r?We(e,-1,r)||Ve(e,-1):40==n||A&&78==n&&"c"==r?function(e){if(!N||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;Ge(e,n,"true"),setTimeout((()=>Ge(e,n,"false")),20)}return!1}(e)||We(e,1,r)||Ve(e,1):r==(A?"m":"c")&&(66==n||73==n||89==n||90==n)}function Je(e,t){e.someProp("transformCopied",(n=>{t=n(t,e)}));let n=[],{content:r,openStart:i,openEnd:a}=t;for(;i>1&&a>1&&1==r.childCount&&1==r.firstChild.childCount;){i--,a--;let e=r.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),r=e.content}let s=e.someProp("clipboardSerializer")||o.PW.fromSchema(e.state.schema),l=st(),c=l.createElement("div");c.appendChild(s.serializeFragment(r,{document:l}));let u,d=c.firstChild,f=0;for(;d&&1==d.nodeType&&(u=it[d.nodeName.toLowerCase()]);){for(let e=u.length-1;e>=0;e--){let t=l.createElement(u[e]);for(;c.firstChild;)t.appendChild(c.firstChild);c.appendChild(t),f++}d=c.firstChild}return d&&1==d.nodeType&&d.setAttribute("data-pm-slice",`${i} ${a}${f?` -${f}`:""} ${JSON.stringify(n)}`),{dom:c,text:e.someProp("clipboardTextSerializer",(n=>n(t,e)))||t.content.textBetween(0,t.content.size,"\n\n"),slice:t}}function Xe(e,t,n,r,i){let a,s,l=i.parent.type.spec.code;if(!n&&!t)return null;let c=t&&(r||l||!n);if(c){if(e.someProp("transformPastedText",(n=>{t=n(t,l||r,e)})),l)return t?new o.p2(o.HY.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):o.p2.empty;let n=e.someProp("clipboardTextParser",(n=>n(t,i,r,e)));if(n)s=n;else{let n=i.marks(),{schema:r}=e.state,s=o.PW.fromSchema(r);a=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach((e=>{let t=a.appendChild(document.createElement("p"));e&&t.appendChild(s.serializeNode(r.text(e,n)))}))}}else e.someProp("transformPastedHTML",(t=>{n=t(n,e)})),a=function(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n,r=st().createElement("div"),o=/<([a-z][^>\s]+)/i.exec(e);(n=o&&it[o[1].toLowerCase()])&&(e=n.map((e=>"<"+e+">")).join("")+e+n.map((e=>"</"+e+">")).reverse().join(""));if(r.innerHTML=function(e){let t=window.trustedTypes;return t?t.createPolicy("detachedDocument",{createHTML:e=>e}).createHTML(e):e}(e),n)for(let i=0;i<n.length;i++)r=r.querySelector(n[i])||r;return r}(n),Z&&function(e){let t=e.querySelectorAll(M?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let r=t[n];1==r.childNodes.length&&"\xa0"==r.textContent&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),r)}}(a);let u=a&&a.querySelector("[data-pm-slice]"),d=u&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(u.getAttribute("data-pm-slice")||"");if(d&&d[3])for(let o=+d[3];o>0;o--){let e=a.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;if(!e)break;a=e}if(!s){let t=e.someProp("clipboardParser")||e.someProp("domParser")||o.aw.fromSchema(e.state.schema);s=t.parseSlice(a,{preserveWhitespace:!(!c&&!d),context:i,ruleFromNode:e=>"BR"!=e.nodeName||e.nextSibling||!e.parentNode||Qe.test(e.parentNode.nodeName)?null:{ignore:!0}})}if(d)s=function(e,t){if(!e.size)return e;let n,r=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch(l){return e}let{content:i,openStart:a,openEnd:s}=e;for(let c=n.length-2;c>=0;c-=2){let e=r.nodes[n[c]];if(!e||e.hasRequiredAttrs())break;i=o.HY.from(e.create(n[c+1],i)),a++,s++}return new o.p2(i,a,s)}(ot(s,+d[1],+d[2]),d[4]);else if(s=o.p2.maxOpen(function(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let r,i=t.node(n).contentMatchAt(t.index(n)),a=[];if(e.forEach((e=>{if(!a)return;let t,n=i.findWrapping(e.type);if(!n)return a=null;if(t=a.length&&r.length&&tt(n,r,e,a[a.length-1],0))a[a.length-1]=t;else{a.length&&(a[a.length-1]=nt(a[a.length-1],r.length));let t=et(e,n);a.push(t),i=i.matchType(t.type),r=n}})),a)return o.HY.from(a)}return e}(s.content,i),!0),s.openStart||s.openEnd){let e=0,t=0;for(let n=s.content.firstChild;e<s.openStart&&!n.type.spec.isolating;e++,n=n.firstChild);for(let n=s.content.lastChild;t<s.openEnd&&!n.type.spec.isolating;t++,n=n.lastChild);s=ot(s,e,t)}return e.someProp("transformPasted",(t=>{s=t(s,e)})),s}const Qe=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function et(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,o.HY.from(e));return e}function tt(e,t,n,r,i){if(i<e.length&&i<t.length&&e[i]==t[i]){let a=tt(e,t,n,r.lastChild,i+1);if(a)return r.copy(r.content.replaceChild(r.childCount-1,a));if(r.contentMatchAt(r.childCount).matchType(i==e.length-1?n.type:e[i+1]))return r.copy(r.content.append(o.HY.from(et(n,e,i+1))))}}function nt(e,t){if(0==t)return e;let n=e.content.replaceChild(e.childCount-1,nt(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(o.HY.empty,!0);return e.copy(n.append(r))}function rt(e,t,n,r,i,a){let s=t<0?e.firstChild:e.lastChild,l=s.content;return e.childCount>1&&(a=0),i<r-1&&(l=rt(l,t,n,r,i+1,a)),i>=n&&(l=t<0?s.contentMatchAt(0).fillBefore(l,a<=i).append(l):l.append(s.contentMatchAt(s.childCount).fillBefore(o.HY.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,s.copy(l))}function ot(e,t,n){return t<e.openStart&&(e=new o.p2(rt(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new o.p2(rt(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const it={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let at=null;function st(){return at||(at=document.implementation.createHTMLDocument("title"))}const lt={},ct={},ut={touchstart:!0,touchmove:!0};class dt{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function ft(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function pt(e){e.someProp("handleDOMEvents",(t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>ht(e,t))}))}function ht(e,t){return e.someProp("handleDOMEvents",(n=>{let r=n[t.type];return!!r&&(r(e,t)||t.defaultPrevented)}))}function mt(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function gt(e){return{left:e.clientX,top:e.clientY}}function vt(e,t,n,r,o){if(-1==r)return!1;let i=e.state.doc.resolve(r);for(let a=i.depth+1;a>0;a--)if(e.someProp(t,(t=>a>i.depth?t(e,n,i.nodeAfter,i.before(a),o,!0):t(e,n,i.node(a),i.before(a),o,!1))))return!0;return!1}function yt(e,t,n){if(e.focused||e.focus(),e.state.selection.eq(t))return;let r=e.state.tr.setSelection(t);"pointer"==n&&r.setMeta("pointer",!0),e.dispatch(r)}function bt(e,t,n,o,i){return vt(e,"handleClickOn",t,n,o)||e.someProp("handleClick",(n=>n(e,t,o)))||(i?function(e,t){if(-1==t)return!1;let n,o,i=e.state.selection;i instanceof r.qv&&(n=i.node);let a=e.state.doc.resolve(t);for(let s=a.depth+1;s>0;s--){let e=s>a.depth?a.nodeAfter:a.node(s);if(r.qv.isSelectable(e)){o=n&&i.$from.depth>0&&s>=i.$from.depth&&a.before(i.$from.depth+1)==i.$from.pos?a.before(i.$from.depth):a.before(s);break}}return null!=o&&(yt(e,r.qv.create(e.state.doc,o),"pointer"),!0)}(e,n):function(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),o=n.nodeAfter;return!!(o&&o.isAtom&&r.qv.isSelectable(o))&&(yt(e,new r.qv(n),"pointer"),!0)}(e,n))}function wt(e,t,n,r){return vt(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",(n=>n(e,t,r)))}function Ct(e,t,n,o){return vt(e,"handleTripleClickOn",t,n,o)||e.someProp("handleTripleClick",(n=>n(e,t,o)))||function(e,t,n){if(0!=n.button)return!1;let o=e.state.doc;if(-1==t)return!!o.inlineContent&&(yt(e,r.Bs.create(o,0,o.content.size),"pointer"),!0);let i=o.resolve(t);for(let a=i.depth+1;a>0;a--){let t=a>i.depth?i.nodeAfter:i.node(a),n=i.before(a);if(t.inlineContent)yt(e,r.Bs.create(o,n+1,n+1+t.content.size),"pointer");else{if(!r.qv.isSelectable(t))continue;yt(e,r.qv.create(o,n),"pointer")}return!0}}(e,n,o)}function xt(e){return Ot(e)}ct.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!St(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!T||!M||13!=n.keyCode))if(e.domObserver.selectionChanged(e.domSelectionRange())?e.domObserver.flush():229!=n.keyCode&&e.domObserver.forceFlush(),!O||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",(t=>t(e,n)))||Ye(e,n)?n.preventDefault():ft(e,"key");else{let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout((()=>{e.input.lastIOSEnter==t&&(e.someProp("handleKeyDown",(t=>t(e,g(13,"Enter")))),e.input.lastIOSEnter=0)}),200)}},ct.keyup=(e,t)=>{16==t.keyCode&&(e.input.shiftKey=!1)},ct.keypress=(e,t)=>{let n=t;if(St(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||A&&n.metaKey)return;if(e.someProp("handleKeyPress",(t=>t(e,n))))return void n.preventDefault();let o=e.state.selection;if(!(o instanceof r.Bs)||!o.$from.sameParent(o.$to)){let t=String.fromCharCode(n.charCode);/[\r\n]/.test(t)||e.someProp("handleTextInput",(n=>n(e,o.$from.pos,o.$to.pos,t)))||e.dispatch(e.state.tr.insertText(t).scrollIntoView()),n.preventDefault()}};const kt=A?"metaKey":"ctrlKey";lt.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=xt(e),o=Date.now(),i="singleClick";o-e.input.lastClick.time<500&&function(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}(n,e.input.lastClick)&&!n[kt]&&("singleClick"==e.input.lastClick.type?i="doubleClick":"doubleClick"==e.input.lastClick.type&&(i="tripleClick")),e.input.lastClick={time:o,x:n.clientX,y:n.clientY,type:i};let a=e.posAtCoords(gt(n));a&&("singleClick"==i?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new _t(e,a,n,!!r)):("doubleClick"==i?wt:Ct)(e,a.pos,a.inside,n)?n.preventDefault():ft(e,"pointer"))};class _t{constructor(e,t,n,o){let i,a;if(this.view=e,this.pos=t,this.event=n,this.flushed=o,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!n[kt],this.allowDefault=n.shiftKey,t.inside>-1)i=e.state.doc.nodeAt(t.inside),a=t.inside;else{let n=e.state.doc.resolve(t.pos);i=n.parent,a=n.depth?n.before():0}const s=o?null:n.target,l=s?e.docView.nearestDesc(s,!0):null;this.target=l&&1==l.dom.nodeType?l.dom:null;let{selection:c}=e.state;(0==n.button&&i.type.spec.draggable&&!1!==i.type.spec.selectable||c instanceof r.qv&&c.from<=a&&c.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!S||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout((()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),ft(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout((()=>Le(this.view))),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(gt(e))),this.updateAllowDefault(e),this.allowDefault||!t?ft(this.view,"pointer"):bt(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||N&&this.mightDrag&&!this.mightDrag.node.isAtom||M&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(yt(this.view,r.Y1.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):ft(this.view,"pointer")}move(e){this.updateAllowDefault(e),ft(this.view,"pointer"),0==e.buttons&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}function St(e,t){return!!e.composing||!!(N&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}lt.touchstart=e=>{e.input.lastTouch=Date.now(),xt(e),ft(e,"pointer")},lt.touchmove=e=>{e.input.lastTouch=Date.now(),ft(e,"pointer")},lt.contextmenu=e=>xt(e);const Et=T?5e3:-1;function Mt(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout((()=>Ot(e)),t))}function Lt(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=function(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function Nt(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=function(e,t){for(;;){if(3==e.nodeType&&t)return e;if(1==e.nodeType&&t>0){if("false"==e.contentEditable)return null;t=p(e=e.childNodes[t-1])}else{if(!e.parentNode||h(e))return null;t=a(e),e=e.parentNode}}}(t.focusNode,t.focusOffset),r=function(e,t){for(;;){if(3==e.nodeType&&t<e.nodeValue.length)return e;if(1==e.nodeType&&t<e.childNodes.length){if("false"==e.contentEditable)return null;e=e.childNodes[t],t=0}else{if(!e.parentNode||h(e))return null;t=a(e)+1,e=e.parentNode}}}(t.focusNode,t.focusOffset);if(n&&r&&n!=r){let t=r.pmViewDesc,o=e.domObserver.lastChangedTextNode;if(n==o||r==o)return o;if(!t||!t.isText(r.nodeValue))return r;if(e.input.compositionNode==r){let e=n.pmViewDesc;if(e&&e.isText(n.nodeValue))return r}}return n||r}function Ot(e,t=!1){if(!(T&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),Lt(e),t||e.docView&&e.docView.dirty){let n=Ee(e);return n&&!n.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(n)):!e.markCursor&&!t||e.state.selection.empty?e.updateState(e.state):e.dispatch(e.state.tr.deleteSelection()),!0}return!1}}ct.compositionstart=ct.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$to;if(t.selection instanceof r.Bs&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some((e=>!1===e.type.spec.inclusive))))e.markCursor=e.state.storedMarks||n.marks(),Ot(e,!0),e.markCursor=null;else if(Ot(e,!t.selection.empty),S&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,r=t.focusOffset;n&&1==n.nodeType&&0!=r;){let t=r<0?n.lastChild:n.childNodes[r-1];if(!t)break;if(3==t.nodeType){let n=e.domSelection();n&&n.collapse(t,t.nodeValue.length);break}n=t,r=-1}}e.input.composing=!0}Mt(e,Et)},ct.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.compositionPendingChanges&&Promise.resolve().then((()=>e.domObserver.flush())),e.input.compositionID++,Mt(e,20))};const At=k&&_<15||O&&P<604;function jt(e,t,n,r,i){let a=Xe(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",(t=>t(e,i,a||o.p2.empty))))return!0;if(!a)return!1;let s=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(a),l=s?e.state.tr.replaceSelectionWith(s,r):e.state.tr.replaceSelection(a);return e.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Tt(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}lt.copy=ct.cut=(e,t)=>{let n=t,r=e.state.selection,o="cut"==n.type;if(r.empty)return;let i=At?null:n.clipboardData,a=r.content(),{dom:s,text:l}=Je(e,a);i?(n.preventDefault(),i.clearData(),i.setData("text/html",s.innerHTML),i.setData("text/plain",l)):function(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),o=document.createRange();o.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(o),setTimeout((()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()}),50)}(e,s),o&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},ct.paste=(e,t)=>{let n=t;if(e.composing&&!T)return;let r=At?null:n.clipboardData,o=e.input.shiftKey&&45!=e.input.lastKeyCode;r&&jt(e,Tt(r),r.getData("text/html"),o,n)?n.preventDefault():function(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let o=e.input.shiftKey&&45!=e.input.lastKeyCode;setTimeout((()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?jt(e,r.value,null,o,t):jt(e,r.textContent,r.innerHTML,o,t)}),50)}(e,n)};class Zt{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}}const Pt=A?"altKey":"ctrlKey";lt.dragstart=(e,t)=>{let n=t,o=e.input.mouseDown;if(o&&o.done(),!n.dataTransfer)return;let i,a=e.state.selection,s=a.empty?null:e.posAtCoords(gt(n));if(s&&s.pos>=a.from&&s.pos<=(a instanceof r.qv?a.to-1:a.to));else if(o&&o.mightDrag)i=r.qv.create(e.state.doc,o.mightDrag.pos);else if(n.target&&1==n.target.nodeType){let t=e.docView.nearestDesc(n.target,!0);t&&t.node.type.spec.draggable&&t!=e.docView&&(i=r.qv.create(e.state.doc,t.posBefore))}let l=(i||e.state.selection).content(),{dom:c,text:u,slice:d}=Je(e,l);(!n.dataTransfer.files.length||!M||L>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(At?"Text":"text/html",c.innerHTML),n.dataTransfer.effectAllowed="copyMove",At||n.dataTransfer.setData("text/plain",u),e.dragging=new Zt(d,!n[Pt],i)},lt.dragend=e=>{let t=e.dragging;window.setTimeout((()=>{e.dragging==t&&(e.dragging=null)}),50)},ct.dragover=ct.dragenter=(e,t)=>t.preventDefault(),ct.drop=(e,t)=>{let n=t,a=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let s=e.posAtCoords(gt(n));if(!s)return;let l=e.state.doc.resolve(s.pos),c=a&&a.slice;c?e.someProp("transformPasted",(t=>{c=t(c,e)})):c=Xe(e,Tt(n.dataTransfer),At?null:n.dataTransfer.getData("text/html"),!1,l);let u=!(!a||n[Pt]);if(e.someProp("handleDrop",(t=>t(e,n,c||o.p2.empty,u))))return void n.preventDefault();if(!c)return;n.preventDefault();let d=c?(0,i.nj)(e.state.doc,l.pos,c):l.pos;null==d&&(d=l.pos);let f=e.state.tr;if(u){let{node:e}=a;e?e.replace(f):f.deleteSelection()}let p=f.mapping.map(d),h=0==c.openStart&&0==c.openEnd&&1==c.content.childCount,m=f.doc;if(h?f.replaceRangeWith(p,p,c.content.firstChild):f.replaceRange(p,p,c),f.doc.eq(m))return;let g=f.doc.resolve(p);if(h&&r.qv.isSelectable(c.content.firstChild)&&g.nodeAfter&&g.nodeAfter.sameMarkup(c.content.firstChild))f.setSelection(new r.qv(g));else{let t=f.mapping.map(d);f.mapping.maps[f.mapping.maps.length-1].forEach(((e,n,r,o)=>t=o)),f.setSelection(Pe(e,g,f.doc.resolve(t)))}e.focus(),e.dispatch(f.setMeta("uiEvent","drop"))},lt.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout((()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&Le(e)}),20))},lt.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},lt.beforeinput=(e,t)=>{if(M&&T&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout((()=>{if(e.input.domChangeCount!=t)return;if(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",(t=>t(e,g(8,"Backspace")))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())}),50)}};for(let Cn in ct)lt[Cn]=ct[Cn];function Rt(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class It{constructor(e,t){this.toDOM=e,this.spec=t||Ft,this.side=this.spec.side||0}map(e,t,n,r){let{pos:o,deleted:i}=e.mapResult(t.from+r,this.side<0?-1:1);return i?null:new Ht(o-n,o-n,this)}valid(){return!0}eq(e){return this==e||e instanceof It&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Rt(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Dt{constructor(e,t){this.attrs=e,this.spec=t||Ft}map(e,t,n,r){let o=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,i=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return o>=i?null:new Ht(o,i,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof Dt&&Rt(this.attrs,e.attrs)&&Rt(this.spec,e.spec)}static is(e){return e.type instanceof Dt}destroy(){}}class zt{constructor(e,t){this.attrs=e,this.spec=t||Ft}map(e,t,n,r){let o=e.mapResult(t.from+r,1);if(o.deleted)return null;let i=e.mapResult(t.to+r,-1);return i.deleted||i.pos<=o.pos?null:new Ht(o.pos-n,i.pos-n,this)}valid(e,t){let n,{index:r,offset:o}=e.content.findIndex(t.from);return o==t.from&&!(n=e.child(r)).isText&&o+n.nodeSize==t.to}eq(e){return this==e||e instanceof zt&&Rt(this.attrs,e.attrs)&&Rt(this.spec,e.spec)}destroy(){}}class Ht{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(e,t){return new Ht(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,n){return this.type.map(e,this,t,n)}static widget(e,t,n){return new Ht(e,e,new It(t,n))}static inline(e,t,n,r){return new Ht(e,t,new Dt(n,r))}static node(e,t,n,r){return new Ht(e,t,new zt(n,r))}get spec(){return this.type.spec}get inline(){return this.type instanceof Dt}get widget(){return this.type instanceof It}}const Bt=[],Ft={};class Vt{constructor(e,t){this.local=e.length?e:Bt,this.children=t.length?t:Bt}static create(e,t){return t.length?Gt(t,e,0,Ft):qt}find(e,t,n){let r=[];return this.findInner(null==e?0:e,null==t?1e9:t,r,0,n),r}findInner(e,t,n,r,o){for(let i=0;i<this.local.length;i++){let a=this.local[i];a.from<=t&&a.to>=e&&(!o||o(a.spec))&&n.push(a.copy(a.from+r,a.to+r))}for(let i=0;i<this.children.length;i+=3)if(this.children[i]<t&&this.children[i+1]>e){let a=this.children[i]+1;this.children[i+2].findInner(e-a,t-a,n,r+a,o)}}map(e,t,n){return this==qt||0==e.maps.length?this:this.mapInner(e,t,0,0,n||Ft)}mapInner(e,t,n,r,o){let i;for(let a=0;a<this.local.length;a++){let s=this.local[a].map(e,n,r);s&&s.type.valid(t,s)?(i||(i=[])).push(s):o.onRemove&&o.onRemove(this.local[a].spec)}return this.children.length?function(e,t,n,r,o,i,a){let s=e.slice();for(let c=0,u=i;c<n.maps.length;c++){let e=0;n.maps[c].forEach(((t,n,r,o)=>{let i=o-r-(n-t);for(let a=0;a<s.length;a+=3){let r=s[a+1];if(r<0||t>r+u-e)continue;let o=s[a]+u-e;n>=o?s[a+1]=t<=o?-2:-1:t>=u&&i&&(s[a]+=i,s[a+1]+=i)}e+=i})),u=n.maps[c].map(u,-1)}let l=!1;for(let c=0;c<s.length;c+=3)if(s[c+1]<0){if(-2==s[c+1]){l=!0,s[c+1]=-1;continue}let t=n.map(e[c]+i),u=t-o;if(u<0||u>=r.content.size){l=!0;continue}let d=n.map(e[c+1]+i,-1)-o,{index:f,offset:p}=r.content.findIndex(u),h=r.maybeChild(f);if(h&&p==u&&p+h.nodeSize==d){let r=s[c+2].mapInner(n,h,t+1,e[c]+i+1,a);r!=qt?(s[c]=u,s[c+1]=d,s[c+2]=r):(s[c+1]=-2,l=!0)}else l=!0}if(l){let l=function(e,t,n,r,o,i,a){function s(e,t){for(let i=0;i<e.local.length;i++){let s=e.local[i].map(r,o,t);s?n.push(s):a.onRemove&&a.onRemove(e.local[i].spec)}for(let n=0;n<e.children.length;n+=3)s(e.children[n+2],e.children[n]+t+1)}for(let l=0;l<e.length;l+=3)-1==e[l+1]&&s(e[l+2],t[l]+i+1);return n}(s,e,t,n,o,i,a),c=Gt(l,r,0,a);t=c.local;for(let e=0;e<s.length;e+=3)s[e+1]<0&&(s.splice(e,3),e-=3);for(let e=0,t=0;e<c.children.length;e+=3){let n=c.children[e];for(;t<s.length&&s[t]<n;)t+=3;s.splice(t,0,c.children[e],c.children[e+1],c.children[e+2])}}return new Vt(t.sort(Yt),s)}(this.children,i||[],e,t,n,r,o):i?new Vt(i.sort(Yt),Bt):qt}add(e,t){return t.length?this==qt?Vt.create(e,t):this.addInner(e,t,0):this}addInner(e,t,n){let r,o=0;e.forEach(((e,i)=>{let a,s=i+n;if(a=Wt(t,e,s)){for(r||(r=this.children.slice());o<r.length&&r[o]<i;)o+=3;r[o]==i?r[o+2]=r[o+2].addInner(e,a,s+1):r.splice(o,0,i,i+e.nodeSize,Gt(a,e,s+1,Ft)),o+=3}}));let i=$t(o?Kt(t):t,-n);for(let a=0;a<i.length;a++)i[a].type.valid(e,i[a])||i.splice(a--,1);return new Vt(i.length?this.local.concat(i).sort(Yt):this.local,r||this.children)}remove(e){return 0==e.length||this==qt?this:this.removeInner(e,0)}removeInner(e,t){let n=this.children,r=this.local;for(let o=0;o<n.length;o+=3){let r,i=n[o]+t,a=n[o+1]+t;for(let t,n=0;n<e.length;n++)(t=e[n])&&t.from>i&&t.to<a&&(e[n]=null,(r||(r=[])).push(t));if(!r)continue;n==this.children&&(n=this.children.slice());let s=n[o+2].removeInner(r,i+1);s!=qt?n[o+2]=s:(n.splice(o,3),o-=3)}if(r.length)for(let o,i=0;i<e.length;i++)if(o=e[i])for(let e=0;e<r.length;e++)r[e].eq(o,t)&&(r==this.local&&(r=this.local.slice()),r.splice(e--,1));return n==this.children&&r==this.local?this:r.length||n.length?new Vt(r,n):qt}forChild(e,t){if(this==qt)return this;if(t.isLeaf)return Vt.empty;let n,r;for(let a=0;a<this.children.length;a+=3)if(this.children[a]>=e){this.children[a]==e&&(n=this.children[a+2]);break}let o=e+1,i=o+t.content.size;for(let a=0;a<this.local.length;a++){let e=this.local[a];if(e.from<i&&e.to>o&&e.type instanceof Dt){let t=Math.max(o,e.from)-o,n=Math.min(i,e.to)-o;t<n&&(r||(r=[])).push(e.copy(t,n))}}if(r){let e=new Vt(r.sort(Yt),Bt);return n?new Ut([e,n]):e}return n||qt}eq(e){if(this==e)return!0;if(!(e instanceof Vt)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return Jt(this.localsInner(e))}localsInner(e){if(this==qt)return Bt;if(e.inlineContent||!this.local.some(Dt.is))return this.local;let t=[];for(let n=0;n<this.local.length;n++)this.local[n].type instanceof Dt||t.push(this.local[n]);return t}forEachSet(e){e(this)}}Vt.empty=new Vt([],[]),Vt.removeOverlap=Jt;const qt=Vt.empty;class Ut{constructor(e){this.members=e}map(e,t){const n=this.members.map((n=>n.map(e,t,Ft)));return Ut.from(n)}forChild(e,t){if(t.isLeaf)return Vt.empty;let n=[];for(let r=0;r<this.members.length;r++){let o=this.members[r].forChild(e,t);o!=qt&&(o instanceof Ut?n=n.concat(o.members):n.push(o))}return Ut.from(n)}eq(e){if(!(e instanceof Ut)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,n=!0;for(let r=0;r<this.members.length;r++){let o=this.members[r].localsInner(e);if(o.length)if(t){n&&(t=t.slice(),n=!1);for(let e=0;e<o.length;e++)t.push(o[e])}else t=o}return t?Jt(n?t:t.sort(Yt)):Bt}static from(e){switch(e.length){case 0:return qt;case 1:return e[0];default:return new Ut(e.every((e=>e instanceof Vt))?e:e.reduce(((e,t)=>e.concat(t instanceof Vt?t:t.members)),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}}function $t(e,t){if(!t||!e.length)return e;let n=[];for(let r=0;r<e.length;r++){let o=e[r];n.push(new Ht(o.from+t,o.to+t,o.type))}return n}function Wt(e,t,n){if(t.isLeaf)return null;let r=n+t.nodeSize,o=null;for(let i,a=0;a<e.length;a++)(i=e[a])&&i.from>n&&i.to<r&&((o||(o=[])).push(i),e[a]=null);return o}function Kt(e){let t=[];for(let n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function Gt(e,t,n,r){let o=[],i=!1;t.forEach(((t,a)=>{let s=Wt(e,t,a+n);if(s){i=!0;let e=Gt(s,t,n+a+1,r);e!=qt&&o.push(a,a+t.nodeSize,e)}}));let a=$t(i?Kt(e):e,-n).sort(Yt);for(let s=0;s<a.length;s++)a[s].type.valid(t,a[s])||(r.onRemove&&r.onRemove(a[s].spec),a.splice(s--,1));return a.length||o.length?new Vt(a,o):qt}function Yt(e,t){return e.from-t.from||e.to-t.to}function Jt(e){let t=e;for(let n=0;n<t.length-1;n++){let r=t[n];if(r.from!=r.to)for(let o=n+1;o<t.length;o++){let i=t[o];if(i.from!=r.from){i.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,i.from),Xt(t,o,r.copy(i.from,r.to)));break}i.to!=r.to&&(t==e&&(t=e.slice()),t[o]=i.copy(i.from,r.to),Xt(t,o+1,i.copy(r.to,i.to)))}}return t}function Xt(e,t,n){for(;t<e.length&&Yt(n,e[t])>0;)t++;e.splice(t,0,n)}function Qt(e){let t=[];return e.someProp("decorations",(n=>{let r=n(e.state);r&&r!=qt&&t.push(r)})),e.cursorWrapper&&t.push(Vt.create(e.state.doc,[e.cursorWrapper.deco])),Ut.from(t)}const en={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},tn=k&&_<=11;class nn{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class rn{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new nn,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver((e=>{for(let t=0;t<e.length;t++)this.queue.push(e[t]);k&&_<=11&&e.some((e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length))?this.flushSoon():this.flush()})),tn&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout((()=>{this.flushingSoon=-1,this.flush()}),20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,en)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout((()=>this.flush()),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout((()=>this.suppressingSelectionUpdates=!1),50)}onSelectionChange(){if(Re(this.view)){if(this.suppressingSelectionUpdates)return Le(this.view);if(k&&_<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&u(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t,n=new Set;for(let o=e.focusNode;o;o=s(o))n.add(o);for(let o=e.anchorNode;o;o=s(o))if(n.has(o)){t=o;break}let r=t&&this.view.docView.nearestDesc(t);return r&&r.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}selectionChanged(e){return!this.suppressingSelectionUpdates&&!this.currentSelection.eq(e)&&Re(this.view)&&!this.ignoreSelectionChange(e)}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let n=e.domSelectionRange(),o=this.selectionChanged(n),i=-1,a=-1,s=!1,l=[];if(e.editable)for(let r=0;r<t.length;r++){let e=this.registerMutation(t[r],l);e&&(i=i<0?e.from:Math.min(e.from,i),a=a<0?e.to:Math.max(e.to,a),e.typeOver&&(s=!0))}if(S&&l.length){let t=l.filter((e=>"BR"==e.nodeName));if(2==t.length){let[e,n]=t;e.parentNode&&e.parentNode.parentNode==n.parentNode?n.remove():e.remove()}else{let{focusNode:n}=this.currentSelection;for(let r of t){let t=r.parentNode;!t||"LI"!=t.nodeName||n&&ln(e,n)==t||r.remove()}}}let c=null;i<0&&o&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&m(n)&&(c=Ee(e))&&c.eq(r.Y1.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Le(e),this.currentSelection.set(n),e.scrollToSelection()):(i>-1||o)&&(i>-1&&(e.docView.markDirty(i,a),function(e){if(on.has(e))return;if(on.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)){if(e.requiresGeckoHackNode=S,an)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),an=!0}}(e)),this.handleDOMChange(i,a,s,l),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||Le(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;n<e.addedNodes.length;n++){let r=e.addedNodes[n];t.push(r),3==r.nodeType&&(this.lastChangedTextNode=r)}if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let r=e.previousSibling,o=e.nextSibling;if(k&&_<=11&&e.addedNodes.length)for(let t=0;t<e.addedNodes.length;t++){let{previousSibling:n,nextSibling:i}=e.addedNodes[t];(!n||Array.prototype.indexOf.call(e.addedNodes,n)<0)&&(r=n),(!i||Array.prototype.indexOf.call(e.addedNodes,i)<0)&&(o=i)}let i=r&&r.parentNode==e.target?a(r)+1:0,s=n.localPosFromDOM(e.target,i,-1),l=o&&o.parentNode==e.target?a(o):e.target.childNodes.length;return{from:s,to:n.localPosFromDOM(e.target,l,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:(this.lastChangedTextNode=e.target,{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let on=new WeakMap,an=!1;function sn(e,t){let n=t.startContainer,r=t.startOffset,o=t.endContainer,i=t.endOffset,a=e.domAtPos(e.state.selection.anchor);return u(a.node,a.offset,o,i)&&([n,r,o,i]=[o,i,n,r]),{anchorNode:n,anchorOffset:r,focusNode:o,focusOffset:i}}function ln(e,t){for(let n=t.parentNode;n&&n!=e.dom;n=n.parentNode){let t=e.docView.nearestDesc(n,!0);if(t&&t.node.isBlock)return n}return null}function cn(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(N&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}if(e.parentNode.lastChild==e||N&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const un=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function dn(e,t,n,i,a){let s=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=Ee(e,t);if(n&&!e.state.selection.eq(n)){if(M&&T&&13===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",(t=>t(e,g(13,"Enter")))))return;let r=e.state.tr.setSelection(n);"pointer"==t?r.setMeta("pointer",!0):"key"==t&&r.scrollIntoView(),s&&r.setMeta("composition",s),e.dispatch(r)}return}let l=e.state.doc.resolve(t),c=l.sharedDepth(n);t=l.before(c+1),n=e.state.doc.resolve(n).after(c+1);let u,d,f=e.state.selection,p=function(e,t,n){let r,{node:i,fromOffset:a,toOffset:s,from:l,to:c}=e.docView.parseRange(t,n),u=e.domSelectionRange(),d=u.anchorNode;if(d&&e.dom.contains(1==d.nodeType?d:d.parentNode)&&(r=[{node:d,offset:u.anchorOffset}],m(u)||r.push({node:u.focusNode,offset:u.focusOffset})),M&&8===e.input.lastKeyCode)for(let o=s;o>a;o--){let e=i.childNodes[o-1],t=e.pmViewDesc;if("BR"==e.nodeName&&!t){s=o;break}if(!t||t.size)break}let f=e.state.doc,p=e.someProp("domParser")||o.aw.fromSchema(e.state.schema),h=f.resolve(l),g=null,v=p.parse(i,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:a,to:s,preserveWhitespace:"pre"!=h.parent.type.whitespace||"full",findPositions:r,ruleFromNode:cn,context:h});if(r&&null!=r[0].pos){let e=r[0].pos,t=r[1]&&r[1].pos;null==t&&(t=e),g={anchor:e+l,head:t+l}}return{doc:v,sel:g,from:l,to:c}}(e,t,n),h=e.state.doc,v=h.slice(p.from,p.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(u=e.state.selection.to,d="end"):(u=e.state.selection.from,d="start"),e.input.lastKeyCode=null;let y=function(e,t,n,r,o){let i=e.findDiffStart(t,n);if(null==i)return null;let{a:a,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if("end"==o){r-=a+Math.max(0,i-Math.min(a,s))-i}if(a<i&&e.size<t.size){let e=r<=i&&r>=a?i-r:0;i-=e,i&&i<t.size&&hn(t.textBetween(i-1,i+1))&&(i+=e?1:-1),s=i+(s-a),a=i}else if(s<i){let t=r<=i&&r>=s?i-r:0;i-=t,i&&i<e.size&&hn(e.textBetween(i-1,i+1))&&(i+=t?1:-1),a=i+(a-s),s=i}return{start:i,endA:a,endB:s}}(v.content,p.doc.content,p.from,u,d);if(y&&e.input.domChangeCount++,(O&&e.input.lastIOSEnter>Date.now()-225||T)&&a.some((e=>1==e.nodeType&&!un.test(e.nodeName)))&&(!y||y.endA>=y.endB)&&e.someProp("handleKeyDown",(t=>t(e,g(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(!y){if(!(i&&f instanceof r.Bs&&!f.empty&&f.$head.sameParent(f.$anchor))||e.composing||p.sel&&p.sel.anchor!=p.sel.head){if(p.sel){let t=fn(e,e.state.doc,p.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);s&&n.setMeta("composition",s),e.dispatch(n)}}return}y={start:f.from,endA:f.to,endB:f.to}}e.state.selection.from<e.state.selection.to&&y.start==y.endB&&e.state.selection instanceof r.Bs&&(y.start>e.state.selection.from&&y.start<=e.state.selection.from+2&&e.state.selection.from>=p.from?y.start=e.state.selection.from:y.endA<e.state.selection.to&&y.endA>=e.state.selection.to-2&&e.state.selection.to<=p.to&&(y.endB+=e.state.selection.to-y.endA,y.endA=e.state.selection.to)),k&&_<=11&&y.endB==y.start+1&&y.endA==y.start&&y.start>p.from&&" \xa0"==p.doc.textBetween(y.start-p.from-1,y.start-p.from+1)&&(y.start--,y.endA--,y.endB--);let b,w=p.doc.resolveNoCache(y.start-p.from),C=p.doc.resolveNoCache(y.endB-p.from),x=h.resolve(y.start),S=w.sameParent(C)&&w.parent.inlineContent&&x.end()>=y.endA;if((O&&e.input.lastIOSEnter>Date.now()-225&&(!S||a.some((e=>"DIV"==e.nodeName||"P"==e.nodeName)))||!S&&w.pos<p.doc.content.size&&!w.sameParent(C)&&(b=r.Y1.findFrom(p.doc.resolve(w.pos+1),1,!0))&&b.head==C.pos)&&e.someProp("handleKeyDown",(t=>t(e,g(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(e.state.selection.anchor>y.start&&function(e,t,n,r,o){if(n-t<=o.pos-r.pos||pn(r,!0,!1)<o.pos)return!1;let i=e.resolve(t);if(!r.parent.isTextblock){let e=i.nodeAfter;return null!=e&&n==t+e.nodeSize}if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;let a=e.resolve(pn(i,!0,!0));return!(!a.parent.isTextblock||a.pos>n||pn(a,!0,!1)<n)&&r.parent.content.cut(r.parentOffset).eq(a.parent.content)}(h,y.start,y.endA,w,C)&&e.someProp("handleKeyDown",(t=>t(e,g(8,"Backspace")))))return void(T&&M&&e.domObserver.suppressSelectionUpdates());M&&T&&y.endB==y.start&&(e.input.lastAndroidDelete=Date.now()),T&&!S&&w.start()!=C.start()&&0==C.parentOffset&&w.depth==C.depth&&p.sel&&p.sel.anchor==p.sel.head&&p.sel.head==y.endA&&(y.endB-=2,C=p.doc.resolveNoCache(y.endB-p.from),setTimeout((()=>{e.someProp("handleKeyDown",(function(t){return t(e,g(13,"Enter"))}))}),20));let E,L,N,A=y.start,j=y.endA;if(S)if(w.pos==C.pos)k&&_<=11&&0==w.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout((()=>Le(e)),20)),E=e.state.tr.delete(A,j),L=h.resolve(y.start).marksAcross(h.resolve(y.endA));else if(y.endA==y.endB&&(N=function(e,t){let n,r,i,a=e.firstChild.marks,s=t.firstChild.marks,l=a,c=s;for(let o=0;o<s.length;o++)l=s[o].removeFromSet(l);for(let o=0;o<a.length;o++)c=a[o].removeFromSet(c);if(1==l.length&&0==c.length)r=l[0],n="add",i=e=>e.mark(r.addToSet(e.marks));else{if(0!=l.length||1!=c.length)return null;r=c[0],n="remove",i=e=>e.mark(r.removeFromSet(e.marks))}let u=[];for(let o=0;o<t.childCount;o++)u.push(i(t.child(o)));if(o.HY.from(u).eq(e))return{mark:r,type:n}}(w.parent.content.cut(w.parentOffset,C.parentOffset),x.parent.content.cut(x.parentOffset,y.endA-x.start()))))E=e.state.tr,"add"==N.type?E.addMark(A,j,N.mark):E.removeMark(A,j,N.mark);else if(w.parent.child(w.index()).isText&&w.index()==C.index()-(C.textOffset?0:1)){let t=w.parent.textBetween(w.parentOffset,C.parentOffset);if(e.someProp("handleTextInput",(n=>n(e,A,j,t))))return;E=e.state.tr.insertText(t,A,j)}if(E||(E=e.state.tr.replace(A,j,p.doc.slice(y.start-p.from,y.endB-p.from))),p.sel){let t=fn(e,E.doc,p.sel);t&&!(M&&T&&e.composing&&t.empty&&(y.start!=y.endB||e.input.lastAndroidDelete<Date.now()-100)&&(t.head==A||t.head==E.mapping.map(j)-1)||k&&t.empty&&t.head==A)&&E.setSelection(t)}L&&E.ensureMarks(L),s&&E.setMeta("composition",s),e.dispatch(E.scrollIntoView())}function fn(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:Pe(e,t.resolve(n.anchor),t.resolve(n.head))}function pn(e,t,n){let r=e.depth,o=t?e.end():e.pos;for(;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,o++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));for(;t&&!t.isLeaf;)t=t.firstChild,o++}return o}function hn(e){if(2!=e.length)return!1;let t=e.charCodeAt(0),n=e.charCodeAt(1);return t>=56320&&t<=57343&&n>=55296&&n<=56319}class mn{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new dt,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(wn),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):"function"==typeof e?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=yn(this),vn(this),this.nodeViews=bn(this),this.docView=ue(this.state.doc,gn(this),Qt(this),this.dom,this),this.domObserver=new rn(this,((e,t,n,r)=>dn(this,e,t,n,r))),this.domObserver.start(),function(e){for(let t in lt){let n=lt[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!mt(e,t)||ht(e,t)||!e.editable&&t.type in ct||n(e,t)},ut[t]?{passive:!0}:void 0)}N&&e.dom.addEventListener("input",(()=>null)),pt(e)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&pt(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(wn),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let n in this._props)t[n]=this._props[n];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var n;let r=this.state,o=!1,i=!1;e.storedMarks&&this.composing&&(Lt(this),i=!0),this.state=e;let a=r.plugins!=e.plugins||this._props.plugins!=t.plugins;if(a||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=bn(this);(function(e,t){let n=0,r=0;for(let o in e){if(e[o]!=t[o])return!0;n++}for(let o in t)r++;return n!=r})(e,this.nodeViews)&&(this.nodeViews=e,o=!0)}(a||t.handleDOMEvents!=this._props.handleDOMEvents)&&pt(this),this.editable=yn(this),vn(this);let s=Qt(this),l=gn(this),c=r.plugins==e.plugins||r.doc.eq(e.doc)?e.scrollToSelection>r.scrollToSelection?"to selection":"preserve":"reset",d=o||!this.docView.matchesNode(e.doc,l,s);!d&&e.selection.eq(r.selection)||(i=!0);let f="preserve"==c&&i&&null==this.dom.style.overflowAnchor&&function(e){let t,n,r=e.dom.getBoundingClientRect(),o=Math.max(0,r.top);for(let i=(r.left+r.right)/2,a=o+1;a<Math.min(innerHeight,r.bottom);a+=5){let r=e.root.elementFromPoint(i,a);if(!r||r==e.dom||!e.dom.contains(r))continue;let s=r.getBoundingClientRect();if(s.top>=o-20){t=r,n=s.top;break}}return{refDOM:t,refTop:n,stack:H(e.dom)}}(this);if(i){this.domObserver.stop();let t=d&&(k||M)&&!this.composing&&!r.selection.empty&&!e.selection.empty&&function(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}(r.selection,e.selection);if(d){let n=M?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Nt(this)),!o&&this.docView.update(e.doc,l,s,this)||(this.docView.updateOuterDeco(l),this.docView.destroy(),this.docView=ue(e.doc,l,s,this.dom,this)),n&&!this.trackWrites&&(t=!0)}t||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return u(t.node,t.offset,n.anchorNode,n.anchorOffset)}(this))?Le(this,t):(Te(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(r),(null===(n=this.dragging)||void 0===n?void 0:n.node)&&!r.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,r),"reset"==c?this.dom.scrollTop=0:"to selection"==c?this.scrollToSelection():f&&function({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;B(n,0==r?0:r-t)}(f)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(this.someProp("handleScrollToSelection",(e=>e(this))));else if(this.state.selection instanceof r.qv){let t=this.docView.domAfterPos(this.state.selection.from);1==t.nodeType&&z(this,t.getBoundingClientRect(),e)}else z(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let t=0;t<this.pluginViews.length;t++){let n=this.pluginViews[t];n.update&&n.update(this,e)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e<this.directPlugins.length;e++){let t=this.directPlugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}for(let e=0;e<this.state.plugins.length;e++){let t=this.state.plugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}}}updateDraggedNode(e,t){let n=e.node,o=-1;if(this.state.doc.nodeAt(n.from)==n.node)o=n.from;else{let e=n.from+(this.state.doc.content.size-t.doc.content.size);(e>0&&this.state.doc.nodeAt(e))==n.node&&(o=e)}this.dragging=new Zt(e.slice,e.move,o<0?void 0:r.qv.create(this.state.doc,o))}someProp(e,t){let n,r=this._props&&this._props[e];if(null!=r&&(n=t?t(r):r))return n;for(let i=0;i<this.directPlugins.length;i++){let r=this.directPlugins[i].props[e];if(null!=r&&(n=t?t(r):r))return n}let o=this.state.plugins;if(o)for(let i=0;i<o.length;i++){let r=o[i].props[e];if(null!=r&&(n=t?t(r):r))return n}}hasFocus(){if(k){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if("false"==e.contentEditable)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&function(e){if(e.setActive)return e.setActive();if(F)return e.focus(F);let t=H(e);e.focus(null==F?{get preventScroll(){return F={preventScroll:!0},!0}}:void 0),F||(F=!1,B(t,0))}(this.dom),Le(this),this.domObserver.start()}get root(){let e=this._root;if(null==e)for(let t=this.dom.parentNode;t;t=t.parentNode)if(9==t.nodeType||11==t.nodeType&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t;return e||document}updateRoot(){this._root=null}posAtCoords(e){return $(this,e)}coordsAtPos(e,t=1){return Y(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(e,t){return oe(this,t||this.state,e)}pasteHTML(e,t){return jt(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return jt(this,e,null,!0,t||new ClipboardEvent("paste"))}destroy(){this.docView&&(!function(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Qt(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,l=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){ht(e,t)||!lt[t.type]||!e.editable&&t.type in ct||lt[t.type](e,t)}(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){let e=this.domSelection();return e?N&&11===this.root.nodeType&&function(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom&&function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return sn(e,n)}let n;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",r,!0),n?sn(e,n):null}(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function gn(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",(n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))})),t.translate||(t.translate="no"),[Ht.node(0,e.state.doc.content.size,t)]}function vn(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:Ht.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function yn(e){return!e.someProp("editable",(t=>!1===t(e.state)))}function bn(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function wn(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}},57659:function(e,t,n){"use strict";n.d(t,{ZP:function(){return E},an:function(){return d},zF:function(){return c}});const r="@@redux-undo/UNDO",o="@@redux-undo/REDO",i="@@redux-undo/JUMP_TO_FUTURE",a="@@redux-undo/JUMP_TO_PAST",s="@@redux-undo/JUMP",l="@@redux-undo/CLEAR_HISTORY",c={undo:()=>({type:r}),redo:()=>({type:o}),jumpToFuture:e=>({type:i,index:e}),jumpToPast:e=>({type:a,index:e}),jump:e=>({type:s,index:e}),clearHistory:()=>({type:l})};function u(e,t=[]){return Array.isArray(e)?e:"string"==typeof e?[e]:t}function d(e){const t=u(e);return e=>t.indexOf(e.type)>=0}function f(e,t,n,r=null){return{past:e,present:t,future:n,group:r,_latestUnfiltered:t,index:e.length,limit:e.length+n.length+1}}let p,h;const m="#9E9E9E",g="#03A9F4",v="#4CAF50";function y(e,t,n){return[`%c${e}`,`color: ${t}; font-weight: bold`,n]}function b(e,t){h={header:[],prev:[],action:[],next:[],msgs:[]},p&&(console.group?(h.header=["%credux-undo","font-style: italic","action",e.type],h.action=y("action",g,e),h.prev=y("prev history",m,t)):(h.header=["redux-undo action",e.type],h.action=["action",e],h.prev=["prev history",t]))}function w(e){p&&(console.group?h.next=y("next history",v,e):h.next=["next history",e],function(){const{header:e,prev:t,next:n,action:r,msgs:o}=h;console.group?(console.groupCollapsed(...e),console.log(...t),console.log(...r),console.log(...n),console.log(...o),console.groupEnd()):(console.log(...e),console.log(...t),console.log(...r),console.log(...n),console.log(...o))}())}function C(...e){p&&(h.msgs=h.msgs.concat([...e,"\n"]))}function x(e,t){const n=f([],e,[]);return t&&(n._latestUnfiltered=null),n}function k(e,t){if(t<0||t>=e.future.length)return e;const{past:n,future:r,_latestUnfiltered:o}=e;return f([...n,o,...r.slice(0,t)],r[t],r.slice(t+1))}function _(e,t){if(t<0||t>=e.past.length)return e;const{past:n,future:r,_latestUnfiltered:o}=e,i=n.slice(0,t),a=[...n.slice(t+1),o,...r];return f(i,n[t],a)}function S(e,t){return t>0?k(e,t-1):t<0?_(e,e.past.length+t):e}function E(e,t={}){!function(e){p=e}(t.debug);const n={limit:void 0,filter:()=>!0,groupBy:()=>null,undoType:r,redoType:o,jumpToPastType:a,jumpToFutureType:i,jumpType:s,neverSkipReducer:!1,ignoreInitialState:!1,syncFilter:!1,...t,initTypes:u(t.initTypes,["@@redux-undo/INIT"]),clearHistoryType:u(t.clearHistoryType,[l])},c=n.neverSkipReducer?(t,n,...r)=>({...t,present:e(t.present,n,...r)}):e=>e;let d;return(t=d,r={},...o)=>{b(r,t);let i,a=t;if(!d){if(C("history is uninitialized"),void 0===t){return a=x(e(t,{type:"@@redux-undo/CREATE_HISTORY"},...o),n.ignoreInitialState),C("do not set initialState on probe actions"),w(a),a}!function(e){return typeof e.present<"u"&&typeof e.future<"u"&&typeof e.past<"u"&&Array.isArray(e.future)&&Array.isArray(e.past)}(t)?(a=d=x(t,n.ignoreInitialState),C("initialHistory initialized: initialState is not a history",d)):(a=d=n.ignoreInitialState?t:f(t.past,t.present,t.future),C("initialHistory initialized: initialState is a history",d))}switch(r.type){case void 0:return a;case n.undoType:return i=S(a,-1),C("perform undo"),w(i),c(i,r,...o);case n.redoType:return i=S(a,1),C("perform redo"),w(i),c(i,r,...o);case n.jumpToPastType:return i=_(a,r.index),C(`perform jumpToPast to ${r.index}`),w(i),c(i,r,...o);case n.jumpToFutureType:return i=k(a,r.index),C(`perform jumpToFuture to ${r.index}`),w(i),c(i,r,...o);case n.jumpType:return i=S(a,r.index),C(`perform jump to ${r.index}`),w(i),c(i,r,...o);case function(e,t){return t.indexOf(e)>-1?e:!e}(r.type,n.clearHistoryType):return i=x(a.present,n.ignoreInitialState),C("perform clearHistory"),w(i),c(i,r,...o);default:if(i=e(a.present,r,...o),n.initTypes.some((e=>e===r.type)))return C("reset history due to init action"),w(d),d;if(a._latestUnfiltered===i)return a;if("function"==typeof n.filter&&!n.filter(r,i,a)){const e=f(a.past,i,a.future,a.group);return n.syncFilter||(e._latestUnfiltered=a._latestUnfiltered),C("filter ignored action, not storing it in past"),w(e),e}const t=n.groupBy(r,i,a);if(null!=t&&t===a.group){const e=f(a.past,i,a.future,a.group);return C("groupBy grouped the action with the previous action"),w(e),e}return a=function(e,t,n,r){const o=e.past.length+1;C("inserting",t),C("new free: ",n-o);const{past:i,_latestUnfiltered:a}=e,s=n&&n<=o,l=i.slice(s?1:0);return f(null!=a?[...l,a]:l,t,[],r)}(a,i,n.limit,t),C("inserted new state into history"),w(a),a}}}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[49774,40179],(function(){return t(94596),t(5342)}));var n=e.O();_N_E=n}]);