-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.0a1416ef.js
22 lines (20 loc) · 254 KB
/
dashboard.0a1416ef.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
!function(){function e(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function t(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}function n(e){return e&&e.__esModule?e.default:e}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},o=r.parcelRequired170;o.register("7Rtb0",(function(n,r){e(n.exports),t(n.exports,"default",(function(){return s}));var a=o("kzx6d"),i=o("gyIK3"),u=o("iUoPL");function s(){return(0,a.jsx)(u.default,{children:(0,a.jsx)(i.default,{})})}})),o.register("gyIK3",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("kzx6d"),a=o("dg13O");function i(){return(0,r.jsx)("div",{className:"text-center text-black font-retina w-full h-full overflow-hidden antialiased",children:(0,r.jsx)(a.default,{})})}})),o.register("dg13O",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("kzx6d"),a=o("jlPE3"),i=o("aHRrx");function u(){var e=(0,a.useAppsContext)().listApps;return(0,r.jsx)(r.Fragment,{children:e.map((function(e,t){return(0,r.jsx)("div",{style:{zIndex:10+e.window.zIndex},className:"absolute top-0 left-0 w-full h-full min-h-screen min-w-full overflow-hidden pointer-events-none translate-x-0 app-move-max",children:e.window.borders?(0,r.jsx)(i.AppWithWindow,{children:e}):e.window.visible&&e.content},t)}))})}})),o.register("jlPE3",(function(e,n){t(e.exports,"AppsProvider",(function(){return w})),t(e.exports,"useAppsContext",(function(){return x}));var r=o("1Az1C"),a=o("4xw6S"),i=o("eoWaN"),u=o("xTBlz"),s=o("kzx6d"),l=o("bgGuN"),c=(l=o("bgGuN"),o("iOm35")),f=o("1mLJx"),d=o("4ngUF"),h=o("3M8Fw"),p=o("8O0AD"),g=o("jlXCm"),m=o("2TEhH"),v=o("3nstR"),y=o("30Rf6"),b=(0,l.createContext)(void 0);function w(e){var t=(0,i.default)((0,l.useState)(3),2),n=t[0],o=(t[1],(0,y.useGeneral)().installed),w=(0,i.default)((0,l.useState)([{name:"home",content:(0,s.jsx)(p.default,{}),icon:(0,s.jsx)(c.FcHome,{className:"w-full h-full"}),window:{listed:!1,borders:!1,title:"Inicio",visible:!0,zIndex:0,nodeRef:(0,l.useRef)(void 0),position:{x:0,y:0}}},{name:"configuration",content:(0,s.jsx)(h.default,{}),icon:(0,s.jsx)(c.FcSettings,{className:"w-full h-full"}),window:{borders:!0,title:"Configuración",visible:!1,zIndex:0,nodeRef:(0,l.useRef)(void 0),position:{x:0,y:0}}},{name:"license",content:(0,s.jsx)(m.default,{}),icon:(0,s.jsx)(c.FcRules,{className:"w-full h-full"}),window:{listed:!1,borders:!0,title:"Licencia",visible:!1,zIndex:0,nodeRef:(0,l.useRef)(void 0),position:{x:0,y:0}}},{name:"bookmarks",content:(0,s.jsx)(d.default,{}),icon:(0,s.jsx)(c.FcBookmark,{className:"w-full h-full"}),window:{listed:!0,borders:!0,title:"Marcadores",visible:!1,zIndex:0,nodeRef:(0,l.useRef)(void 0),position:{x:0,y:0}}},{name:"bookmarks-editor",content:(0,s.jsx)(f.default,{}),icon:(0,s.jsx)(c.FcBookmark,{className:"w-full h-full"}),window:{listed:!1,borders:!0,title:"Editor de marcadores",visible:!1,zIndex:0,nodeRef:(0,l.useRef)(void 0),position:{x:0,y:0},onClose:function(){T("bookmarks")}}},{name:"welcome",content:(0,s.jsx)(v.default,{}),icon:(0,s.jsx)(c.FcInfo,{className:"w-full h-full"}),window:{listed:!1,borders:!0,title:"Introducción",visible:Number(localStorage.getItem("app-welcome-last-new"))<n,zIndex:0,nodeRef:(0,l.useRef)(void 0),position:{x:0,y:0},canClose:!1,onClose:function(){}}},{name:"installation",content:(0,s.jsx)(g.default,{}),icon:(0,s.jsx)(c.FcInternal,{className:"w-full h-full"}),window:{listed:!o.get,borders:!0,title:"Instalación",visible:!1,zIndex:0,nodeRef:(0,l.useRef)(void 0),position:{x:0,y:0},canClose:!0,onClose:function(){}}},{name:"unnamed",content:(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"p-12 ",children:(0,s.jsx)("p",{className:"p-6 ",children:"Sin contenido..."})})}),icon:(0,s.jsx)(c.FcCancel,{className:"w-full h-full"}),window:{listed:!1,borders:!0,title:"Sin título",visible:!1,zIndex:0,nodeRef:(0,l.useRef)(void 0),position:{x:0,y:0}}}]),2),x=w[0],E=w[1],S=(0,l.useCallback)((function(e){return x.findIndex((function(t){return t.name===e}))}),[x]),j=(0,l.useCallback)((function(){var e=0;return x.forEach((function(t){var n=t.window.zIndex;n>e&&(e=n)})),e<0?0:e}),[x]),N=((0,l.useCallback)((function(){var e=9999;return x.forEach((function(t){var n=t.window.zIndex;n<e&&(e=n)})),e}),[x]),(0,l.useCallback)((function(e,t){var n=S(e);if(-1===n)return!1;var r=t||x;r[n].window.zIndex=j()+1;var o=function(){var e=9999;return r.forEach((function(t){var n=t.window.zIndex;n<e&&(e=n)})),e};if(o()>0)do{for(var a=0;a<=r.length;a++)r[a].window.zIndex=r[a].window.zIndex-1}while(o()>0);if(t)return r;E((0,u.default)(r))}),[x])),T=(0,l.useCallback)((function(e){var t=S(e);if(-1===t)return console.log("cannot find app by name",e),!1;var n=(0,u.default)(x);return!0!==n[t].window.visible&&(n[t].window.visible=!0,n[t].window.position={x:0,y:0},n[t].window.zIndex=j()+1),setTimeout((function(){var t=N(e,n);n=t,E((0,u.default)(n))}),100),!0}),[x]),k=(0,l.useCallback)((function(e){var t=S(e);if(-1===t)return!1;var n=x;n[t].window.visible=!1,n[t].window.zIndex=0,void 0!==n[t].window.onClose&&n[t].window.onClose(),E((0,u.default)(n))}),[x]),O=(0,l.useCallback)((function(e,t){var n=S(e);if(-1===n)return!1;var r=x,o=t.x,a=t.y;r[n].window.position={x:o,y:a},E((0,u.default)(r))}),[x]),C={listApps:x,actions:{openByName:T,closeByName:k,bringToFrontByName:N,getLastzIndex:j,setPositionByName:O},lastNews:n};return(0,s.jsx)(b.Provider,(0,a.default)((0,r.default)({},e),{value:C}))}function x(){return(0,l.useContext)(b)}})),o.register("1Az1C",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("5hoHS");function a(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.default)(e,t,n[t])}))}return e}})),o.register("5hoHS",(function(e,n){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}t(e.exports,"default",(function(){return r}))})),o.register("4xw6S",(function(e,n){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}t(e.exports,"default",(function(){return r}))})),o.register("xTBlz",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("hPdQz"),a=o("4zbeD"),i=o("gZwxJ"),u=o("P8HNM");function s(e){return(0,r.default)(e)||(0,a.default)(e)||(0,u.default)(e)||(0,i.default)()}})),o.register("hPdQz",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("2YDeG");function a(e){if(Array.isArray(e))return(0,r.default)(e)}})),o.register("gZwxJ",(function(e,n){function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t(e.exports,"default",(function(){return r}))})),o.register("iOm35",(function(e,n){t(e.exports,"FcBookmark",(function(){return a})),t(e.exports,"FcCancel",(function(){return i})),t(e.exports,"FcHome",(function(){return u})),t(e.exports,"FcInfo",(function(){return s})),t(e.exports,"FcInternal",(function(){return l})),t(e.exports,"FcPlus",(function(){return c})),t(e.exports,"FcRemoveImage",(function(){return f})),t(e.exports,"FcRules",(function(){return d})),t(e.exports,"FcSettings",(function(){return h})),o("exlhp");var r=o("4D5en");function a(e){return(0,r.GenIcon)({tag:"svg",attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"path",attr:{fill:"#F44336",d:"M37,43l-13-6l-13,6V9c0-2.2,1.8-4,4-4h18c2.2,0,4,1.8,4,4V43z"}}]})(e)}function i(e){return(0,r.GenIcon)({tag:"svg",attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"path",attr:{fill:"#D50000",d:"M24,6C14.1,6,6,14.1,6,24s8.1,18,18,18s18-8.1,18-18S33.9,6,24,6z M24,10c3.1,0,6,1.1,8.4,2.8L12.8,32.4 C11.1,30,10,27.1,10,24C10,16.3,16.3,10,24,10z M24,38c-3.1,0-6-1.1-8.4-2.8l19.6-19.6C36.9,18,38,20.9,38,24C38,31.7,31.7,38,24,38 z"}}]})(e)}function u(e){return(0,r.GenIcon)({tag:"svg",attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"polygon",attr:{fill:"#E8EAF6",points:"42,39 6,39 6,23 24,6 42,23"}},{tag:"g",attr:{fill:"#C5CAE9"},child:[{tag:"polygon",attr:{points:"39,21 34,16 34,9 39,9"}},{tag:"rect",attr:{x:"6",y:"39",width:"36",height:"5"}}]},{tag:"polygon",attr:{fill:"#B71C1C",points:"24,4.3 4,22.9 6,25.1 24,8.4 42,25.1 44,22.9"}},{tag:"rect",attr:{x:"18",y:"28",fill:"#D84315",width:"12",height:"16"}},{tag:"rect",attr:{x:"21",y:"17",fill:"#01579B",width:"6",height:"6"}},{tag:"path",attr:{fill:"#FF8A65",d:"M27.5,35.5c-0.3,0-0.5,0.2-0.5,0.5v2c0,0.3,0.2,0.5,0.5,0.5S28,38.3,28,38v-2C28,35.7,27.8,35.5,27.5,35.5z"}}]})(e)}function s(e){return(0,r.GenIcon)({tag:"svg",attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"circle",attr:{fill:"#2196F3",cx:"24",cy:"24",r:"21"}},{tag:"rect",attr:{x:"22",y:"22",fill:"#fff",width:"4",height:"11"}},{tag:"circle",attr:{fill:"#fff",cx:"24",cy:"16.5",r:"2.5"}}]})(e)}function l(e){return(0,r.GenIcon)({tag:"svg",attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"circle",attr:{fill:"#B3E5FC",cx:"24",cy:"30",r:"15"}},{tag:"g",attr:{fill:"#1565C0"},child:[{tag:"polygon",attr:{points:"24,38.7 15,28 33,28"}},{tag:"rect",attr:{x:"21",y:"5",width:"6",height:"26"}}]}]})(e)}function c(e){return(0,r.GenIcon)({tag:"svg",attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"circle",attr:{fill:"#4CAF50",cx:"24",cy:"24",r:"21"}},{tag:"g",attr:{fill:"#fff"},child:[{tag:"rect",attr:{x:"21",y:"14",width:"6",height:"20"}},{tag:"rect",attr:{x:"14",y:"21",width:"20",height:"6"}}]}]})(e)}function f(e){return(0,r.GenIcon)({tag:"svg",attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"path",attr:{fill:"#8CBCD6",d:"M40,41H8c-2.2,0-4-1.8-4-4V11c0-2.2,1.8-4,4-4h32c2.2,0,4,1.8,4,4v26C44,39.2,42.2,41,40,41z"}},{tag:"circle",attr:{fill:"#B3DDF5",cx:"35",cy:"16",r:"3"}},{tag:"polygon",attr:{fill:"#9AC9E3",points:"20,16 9,32 31,32"}},{tag:"polygon",attr:{fill:"#B3DDF5",points:"31,22 23,32 39,32"}},{tag:"circle",attr:{fill:"#F44336",cx:"38",cy:"38",r:"10"}},{tag:"g",attr:{fill:"#fff"},child:[{tag:"rect",attr:{x:"36.5",y:"32",transform:"matrix(-.707 .707 -.707 -.707 91.74 38)",width:"3",height:"12"}},{tag:"rect",attr:{x:"36.5",y:"32",transform:"matrix(-.707 -.707 .707 -.707 38 91.74)",width:"3",height:"12"}}]}]})(e)}function d(e){return(0,r.GenIcon)({tag:"svg",attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"path",attr:{fill:"#42A5F5",d:"M39,45H9c0,0-3-0.1-3-8h36C42,44.9,39,45,39,45z"}},{tag:"rect",attr:{x:"8",y:"3",fill:"#90CAF9",width:"32",height:"34"}},{tag:"g",attr:{fill:"#1976D2"},child:[{tag:"rect",attr:{x:"18",y:"15",width:"16",height:"2"}},{tag:"rect",attr:{x:"18",y:"19",width:"16",height:"2"}},{tag:"rect",attr:{x:"18",y:"23",width:"16",height:"2"}},{tag:"rect",attr:{x:"18",y:"27",width:"16",height:"2"}},{tag:"rect",attr:{x:"18",y:"31",width:"16",height:"2"}}]},{tag:"g",attr:{fill:"#1976D2"},child:[{tag:"rect",attr:{x:"14",y:"15",width:"2",height:"2"}},{tag:"rect",attr:{x:"14",y:"19",width:"2",height:"2"}},{tag:"rect",attr:{x:"14",y:"23",width:"2",height:"2"}},{tag:"rect",attr:{x:"14",y:"27",width:"2",height:"2"}},{tag:"rect",attr:{x:"14",y:"31",width:"2",height:"2"}}]}]})(e)}function h(e){return(0,r.GenIcon)({tag:"svg",attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"path",attr:{fill:"#607D8B",d:"M39.6,27.2c0.1-0.7,0.2-1.4,0.2-2.2s-0.1-1.5-0.2-2.2l4.5-3.2c0.4-0.3,0.6-0.9,0.3-1.4L40,10.8 c-0.3-0.5-0.8-0.7-1.3-0.4l-5,2.3c-1.2-0.9-2.4-1.6-3.8-2.2l-0.5-5.5c-0.1-0.5-0.5-0.9-1-0.9h-8.6c-0.5,0-1,0.4-1,0.9l-0.5,5.5 c-1.4,0.6-2.7,1.3-3.8,2.2l-5-2.3c-0.5-0.2-1.1,0-1.3,0.4l-4.3,7.4c-0.3,0.5-0.1,1.1,0.3,1.4l4.5,3.2c-0.1,0.7-0.2,1.4-0.2,2.2 s0.1,1.5,0.2,2.2L4,30.4c-0.4,0.3-0.6,0.9-0.3,1.4L8,39.2c0.3,0.5,0.8,0.7,1.3,0.4l5-2.3c1.2,0.9,2.4,1.6,3.8,2.2l0.5,5.5 c0.1,0.5,0.5,0.9,1,0.9h8.6c0.5,0,1-0.4,1-0.9l0.5-5.5c1.4-0.6,2.7-1.3,3.8-2.2l5,2.3c0.5,0.2,1.1,0,1.3-0.4l4.3-7.4 c0.3-0.5,0.1-1.1-0.3-1.4L39.6,27.2z M24,35c-5.5,0-10-4.5-10-10c0-5.5,4.5-10,10-10c5.5,0,10,4.5,10,10C34,30.5,29.5,35,24,35z"}},{tag:"path",attr:{fill:"#455A64",d:"M24,13c-6.6,0-12,5.4-12,12c0,6.6,5.4,12,12,12s12-5.4,12-12C36,18.4,30.6,13,24,13z M24,30 c-2.8,0-5-2.2-5-5c0-2.8,2.2-5,5-5s5,2.2,5,5C29,27.8,26.8,30,24,30z"}}]})(e)}})),o.register("exlhp",(function(e,t){o("fO8dI");var n,r,a=o("4D5en");o("d18oJ"),n=e.exports,r=a,Object.keys(r).forEach((function(e){"default"===e||"__esModule"===e||n.hasOwnProperty(e)||Object.defineProperty(n,e,{enumerable:!0,get:function(){return r[e]}})}))})),o.register("fO8dI",(function(e,t){})),o.register("4D5en",(function(e,r){t(e.exports,"GenIcon",(function(){return c}),(function(e){return c=e}));var a=o("bgGuN"),i=o("d18oJ"),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)},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};function l(e){return e&&e.map((function(e,t){return n(a).createElement(e.tag,u({key:t},e.attr),l(e.child))}))}function c(e){return function(t){return n(a).createElement(f,u({attr:u({},e.attr)},t),l(e.child))}}function f(e){var t=function(t){var r,o=e.attr,i=e.size,l=e.title,c=s(e,["attr","size","title"]),f=i||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n(a).createElement("svg",u({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,c,{className:r,style:u(u({color:e.color||t.color},t.style),e.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),l&&n(a).createElement("title",null,l),e.children)};return void 0!==i.IconContext?n(a).createElement(i.IconContext.Consumer,null,(function(e){return t(e)})):t(i.DefaultContext)}})),o.register("d18oJ",(function(e,r){t(e.exports,"DefaultContext",(function(){return i})),t(e.exports,"IconContext",(function(){return u}));var a=o("bgGuN"),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},u=n(a).createContext&&n(a).createContext(i)})),o.register("1mLJx",(function(e,r){t(e.exports,"default",(function(){return y}));var a=o("1Az1C"),i=o("4xw6S"),u=o("fpfNJ"),s=o("eoWaN"),l=o("xTBlz"),c=o("kzx6d"),f=o("bgGuN"),d=o("j24tv"),h=o("iOm35"),p=o("fIPJu"),g=o("hyEi4"),m=o("jlPE3"),v=o("57c48");function y(){var e=(0,g.useShortcuts)(),t=e.List,r=e.editor,o=(0,s.default)((0,f.useState)(!1),2),y=o[0],b=o[1],w=function(){var e=n(d)(r.new.get.iconUrl)&&n(d)(r.new.get.url),t=r.new.get.iconUrl.startsWith("http://")||r.new.get.iconUrl.startsWith("https://")||r.new.get.url.startsWith("http://")||r.new.get.url.startsWith("https://");return!(!e||!t)},x=(0,m.useAppsContext)().actions;return(0,c.jsxs)("div",{className:"grid w-auto h-auto grid-flow-row gap-6 p-6 ",children:[(0,c.jsxs)("div",{className:"grid w-full h-full grid-flow-col grid-cols-3 gap-6 ",children:[(0,c.jsxs)("div",{className:"grid w-full h-full grid-flow-row col-span-2 gap-4 place-content-center",children:[(0,c.jsxs)("div",{className:"grid w-full h-auto grid-flow-row gap-2 place-content-center",children:[(0,c.jsx)("span",{children:"Nombre:"}),(0,c.jsx)(p.default,{placeholder:"Gmail",defaultValue:r.new.get.name,onEnter:function(e){r.new.set((0,i.default)((0,a.default)({},r.new.get),{name:e})),b(!1)}})]}),(0,c.jsxs)("div",{className:"grid w-full h-auto grid-flow-row gap-2 place-content-center",children:[(0,c.jsx)("span",{children:"Link:"}),(0,c.jsx)(p.default,{placeholder:"https://gmail.com",defaultValue:r.new.get.url,onEnter:function(e){r.new.set((0,i.default)((0,a.default)({},r.new.get),{url:e})),b(!1)}})]}),(0,c.jsxs)("div",{className:"grid w-full h-auto grid-flow-row gap-2 place-content-center",children:[(0,c.jsx)("div",{className:"grid grid-flow-col gap-1 place-content-center",children:(0,c.jsx)("span",{children:"Ícono:"})}),(0,c.jsx)(p.default,{placeholder:"https://mail.google.com",defaultValue:r.new.get.iconUrl,onEnter:function(e){r.new.set((0,i.default)((0,a.default)({},r.new.get),{iconUrl:e})),b(!1)}})]})]}),(0,c.jsxs)("div",{className:"grid grid-flow-row gap-2 place-items-center",children:[(0,c.jsxs)("div",{className:"grid gap-2 place-items-center",children:[(0,c.jsx)("span",{children:"Vista previa:"}),(0,c.jsx)("div",{className:"relative grid w-16 h-16 overflow-hidden rounded cursor-pointer bg-gradient-to-br place-content-center from-blue-500 to-rose-500 transform-gpu group",children:n(d)(r.new.get.iconUrl)?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"absolute grid self-center w-12 h-12 transition-all rounded-md place-self-center place-content-center transform-gpu bg-white/25 group-hover:bg-white/50"}),(0,c.jsx)("div",{className:"absolute grid self-center w-12 h-12 transition-all pointer-events-none place-self-center place-content-center transform-gpu ",children:(0,c.jsx)("img",{loading:"lazy",className:"object-cover object-center w-8 h-8 pointer-events-none drop-shadow-md",src:"https://www.google.com/s2/favicons?domain=".concat(r.new.get.iconUrl,"&sz=",48),alt:""})})]}):(0,c.jsx)(h.FcRemoveImage,{className:"w-8 h-8 "})})]}),(0,c.jsxs)("div",{className:"grid max-w-xs grid-flow-row gap-4 text-lg place-content-center",children:[(0,c.jsx)(v.default,{onClick:function(){var e,n,o;w()&&(e=t.get,(n=r.new.get).index,o=(0,u.default)(n,["index"]),e[r.new.get.index]=o,t.set((0,l.default)(e)),x.closeByName("bookmarks-editor")),!w()&&b(!0)},enabled:w(),children:"Guardar"}),(0,c.jsx)(v.default,{color:"red",onClick:function(){var e,n;e=t.get,(n=r.new.get).index,(0,u.default)(n,["index"]),e.splice(r.new.get.index,1),t.set((0,l.default)(e)),x.closeByName("bookmarks-editor"),b(!1)},enabled:!0,children:"Eliminar"})]})]})]}),(0,c.jsx)("p",{className:" transition-all overflow-hidden grid grid-flow-row place-content-center max-w-xs text-center rounded duration-500 ease-[cubic-bezier(0.34,1.56,0.64,1)] text-white font-medium bg-red-500 ".concat(y?"h-12 p-1 scale-100":"h-0 p-0 scale-75"),children:"Los links deben llevar http:// o https:// y ser válidos."})]})}})),o.register("fpfNJ",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("50FPi");function a(e,t){if(null==e)return{};var n,o,a=(0,r.default)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}})),o.register("50FPi",(function(e,n){function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}t(e.exports,"default",(function(){return r}))})),o.register("j24tv",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e,t){if((0,n.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,i.default)(t,l)).validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var o,u,d,h,p,g,m,v;if(m=e.split("#"),e=m.shift(),m=e.split("?"),e=m.shift(),(m=e.split("://")).length>1){if(o=m.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(o))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;m[0]=e.substr(2)}}if(""===(e=m.join("://")))return!1;if(m=e.split("/"),""===(e=m.shift())&&!t.require_host)return!0;if((m=e.split("@")).length>1){if(t.disallow_auth)return!1;if(""===m[0])return!1;if((u=m.shift()).indexOf(":")>=0&&u.split(":").length>2)return!1;var y=u.split(":"),b=(S=2,function(e){if(Array.isArray(e))return e}(E=y)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw a}}return n}}(E,S)||function(e,t){if(e){if("string"==typeof e)return s(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)?s(e,t):void 0}}(E,S)||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.")}()),w=b[0],x=b[1];if(""===w&&""===x)return!1}var E,S;h=m.join("@"),g=null,v=null;var j=h.match(c);j?(d="",v=j[1],g=j[2]||null):(m=h.split(":"),d=m.shift(),m.length&&(g=m.join(":")));if(null!==g&&g.length>0){if(p=parseInt(g,10),!/^[0-9]+$/.test(g)||p<=0||p>65535)return!1}else if(t.require_port)return!1;return t.host_whitelist?f(d,t.host_whitelist):!!((0,a.default)(d)||(0,r.default)(d,t)||v&&(0,a.default)(v,6))&&(d=d||v,!t.host_blacklist||!f(d,t.host_blacklist))};var n=u(o("jOKOs")),r=u(o("2Znti")),a=u(o("7ZFd2")),i=u(o("fBPC0"));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},c=/^\[([^\]]+)\](?::([0-9]+))?$/;function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e===r||(o=r,"[object RegExp]"===Object.prototype.toString.call(o)&&r.test(e)))return!0}var o;return!1}e.exports=e.exports.default,e.exports.default=e.exports.default})),o.register("jOKOs",(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(e.exports,"__esModule",{value:!0}),e.exports.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=n(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},e.exports=e.exports.default,e.exports.default=e.exports.default})),o.register("2Znti",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e,t){(0,n.default)(e),(t=(0,r.default)(t,i)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var o=e.split("."),a=o[o.length-1];if(t.require_tld){if(o.length<2)return!1;if(!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(a))return!1;if(/\s/.test(a))return!1}return!(!t.allow_numeric_tld&&/^\d+$/.test(a))&&o.every((function(e){return!(e.length>63)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var n=a(o("jOKOs")),r=a(o("fBPC0"));function a(e){return e&&e.__esModule?e:{default:e}}var i={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1};e.exports=e.exports.default,e.exports.default=e.exports.default})),o.register("fBPC0",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},e.exports=e.exports.default,e.exports.default=e.exports.default})),o.register("7ZFd2",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,r.default)(t),!(n=String(n)))return e(t,4)||e(t,6);if("4"===n){if(!u.test(t))return!1;var o=t.split(".").sort((function(e,t){return e-t}));return o[3]<=255}return"6"===n&&!!l.test(t)};var n,r=(n=o("jOKOs"))&&n.__esModule?n:{default:n};var a="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",i="(".concat(a,"[.]){3}").concat(a),u=new RegExp("^".concat(i,"$")),s="(?:[0-9a-fA-F]{1,4})",l=new RegExp("^("+"(?:".concat(s,":){7}(?:").concat(s,"|:)|")+"(?:".concat(s,":){6}(?:").concat(i,"|:").concat(s,"|:)|")+"(?:".concat(s,":){5}(?::").concat(i,"|(:").concat(s,"){1,2}|:)|")+"(?:".concat(s,":){4}(?:(:").concat(s,"){0,1}:").concat(i,"|(:").concat(s,"){1,3}|:)|")+"(?:".concat(s,":){3}(?:(:").concat(s,"){0,2}:").concat(i,"|(:").concat(s,"){1,4}|:)|")+"(?:".concat(s,":){2}(?:(:").concat(s,"){0,3}:").concat(i,"|(:").concat(s,"){1,5}|:)|")+"(?:".concat(s,":){1}(?:(:").concat(s,"){0,4}:").concat(i,"|(:").concat(s,"){1,6}|:)|")+"(?::((?::".concat(s,"){0,5}:").concat(i,"|(?::").concat(s,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");e.exports=e.exports.default,e.exports.default=e.exports.default})),o.register("fIPJu",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("kzx6d"),a=o("bgGuN");function i(e){var t=e.defaultValue,n=e.disabled,o=e.placeholder,i=e.onEnter,u=e.className,s=(0,a.useRef)(void 0);return s.current&&void 0!==t&&(s.current.value=t),(0,r.jsx)("input",{ref:s,type:"text",name:"",id:"",autoComplete:"neverPleasePlease",autoCorrect:"neverPleasePlease",className:"bg-white/90 text-black h-7 px-1.5 rounded transition-all outline outline-1 outline-black/10 focus:outline-blue-500 hover:outline-blue-500 ring-inset ring-1 ring-neutral-50 focus:ring-blue-500 hover:shadow-sm focus:shadow-sm w-full "+u,defaultValue:t,disabled:n,spellCheck:!1,placeholder:o,onKeyUp:function(e){i(e.currentTarget.value)}})}})),o.register("hyEi4",(function(e,n){t(e.exports,"ProviderShortcuts",(function(){return c})),t(e.exports,"useShortcuts",(function(){return f}));var r=o("1Az1C"),a=o("4xw6S"),i=o("eoWaN"),u=o("kzx6d"),s=o("bgGuN"),l=(0,s.createContext)(void 0);function c(e){var t=(0,i.default)((0,s.useState)(JSON.parse(localStorage.getItem("bookmarks-list"))||[]),2),n=t[0],o=t[1];(0,s.useEffect)((function(){localStorage.setItem("bookmarks-list",JSON.stringify(n))}),[n]);var c=(0,i.default)((0,s.useState)({name:"",url:"https://",iconUrl:"https://",index:5}),2),f=c[0],d=c[1],h={List:{get:n,set:o},editor:{new:{get:f,set:d}}};return(0,u.jsx)(l.Provider,(0,a.default)((0,r.default)({},e),{value:h}))}function f(){return(0,s.useContext)(l)}})),o.register("57c48",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("kzx6d");function a(e){var t=e.onClick,n=void 0===t?function(){}:t,o=e.color,a=void 0===o?"blue":o,i=e.textColor,u=void 0===i?"white":i,s=e.enabled,l=void 0===s||s,c=(e.text,e.className),f=void 0===c?"":c,d=e.children;return(0,r.jsx)("div",{onClick:n,className:"".concat("blue"===a?"bg-blue-500 from-blue-400/25 active:shadow-blue-900 hover:shadow-blue-900/30 shadow-blue-900/25 ":""," ")+"".concat("red"===a?"bg-red-500 from-red-400/25 active:shadow-red-900 hover:shadow-red-900/30 shadow-red-900/25 ":""," ")+"bg-gradient-to-b transform-gpu active:translate-y-1 active:shadow transition-all hover:shadow-lg rounded py-1 px-3 shadow-md cursor-pointer "+"".concat(l?"grayscale-0 ":" grayscale ")+f+" ",children:(0,r.jsx)("span",{className:" drop-shadow-md text-xs font-medium tracking-wide leading-none "+"text-".concat(u),children:d})})}})),o.register("4ngUF",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("eoWaN"),a=o("kzx6d"),i=o("bgGuN");o("dX9AM");var u=o("aIm2I");function s(){var e=function(e){h(!1),m(e)},t=(0,i.useRef)(void 0),n=(0,r.default)((0,i.useState)(0),2),o=n[0],s=n[1];(0,i.useEffect)((function(){void 0!==t&&void 0!==t.current&&s(t.current.scrollHeight)}));var f=(0,r.default)((0,i.useState)(!0),2),d=f[0],h=f[1],p=(0,r.default)((0,i.useState)("application"),2),g=p[0],m=p[1],v=(0,r.default)((0,i.useState)([{pageName:"application",displayText:"Esta aplicación",pageContent:(0,a.jsx)(u.default,{})},{pageName:"navigator",displayText:"Del navegador",pageContent:(0,a.jsx)(a.Fragment,{}),enabled:!1}]),1)[0];return(0,a.jsxs)("div",{className:" w-96 h-full p-6 select-none",children:[(0,a.jsxs)("div",{ref:t,className:" overflow-hidden transition-all duration-500 hidden ",style:{height:d?o:"0",paddingBottom:d?"12px":"0px"},children:[(0,a.jsx)("p",{className:"max-w-xs mx-auto opacity-80",children:"En esta página se puede configurar los íconos que aparecen en el tablero:"}),(0,a.jsx)("div",{className:" w-full h-3 grid items-end",children:(0,a.jsx)("div",{className:" mx-auto w-3/4 border-b border-black/5"})})]}),(0,a.jsx)("div",{className:" place-content-center h-auto w-full gap-3 font-medium hidden",children:v.map((function(t,n){var r=t.pageName,o=t.displayText;if(!1!==t.enabled)return(0,a.jsx)(l,{currentPageName:g,pageName:r,displayText:o,onClick:e},n)}))}),v.map((function(e,t){var n=e.pageName,r=e.pageContent;return(0,a.jsx)(c,{visible:g===n,children:r},t)}))]})}function l(e){var t=e.currentPageName,n=e.pageName,r=e.displayText,o=e.onClick;return(0,a.jsx)("div",{onClick:function(){o(n)},className:"grid place-content-center w-auto h-auto p-1.5 cursor-pointer "+"".concat(n===t?"text-neutral-800 ":"text-blue-600 hover:text-blue-500 "),children:(0,a.jsx)("span",{className:"transition-all duration-300 ",children:r})})}function c(e){var t=e.visible,n=e.children,o=(0,i.useRef)(void 0),u=(0,r.default)((0,i.useState)(0),2),s=u[0],l=u[1];return(0,i.useEffect)((function(){void 0!==o&&void 0!==o.current&&l(o.current.scrollHeight)})),(0,a.jsx)("div",{className:"transition-all duration-500 pt-1 "+"".concat(t?" ":"pointer-events-none ")+"".concat(t?"scale-100 ":"scale-75 "),style:{height:t?s:"0",opacity:t?1:0},children:(0,a.jsx)("div",{className:"h-full w-full overflow-hidden",ref:o,children:n})})}})),o.register("dX9AM",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.Scrollbars=void 0;var n,r=o("hqSis"),a=(n=r)&&n.__esModule?n:{default:n};e.exports.default=a.default,e.exports.Scrollbars=a.default})),o.register("hqSis",(function(e,t){var n=o("8CL7P");Object.defineProperty(e.exports,"__esModule",{value:!0});var r,a=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},i=(r=function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}},function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}),u=o("iDoON"),s=b(u),l=b(o("hVj1O")),c=o("bgGuN"),f=b(o("emcMr")),d=b(o("7iQdZ")),h=b(o("4ML9y")),p=b(o("lgyFJ")),g=b(o("4XU9b")),m=b(o("7dP7L")),v=o("b8Jrx"),y=o("Fg8ER");function b(e){return e&&e.__esModule?e:{default:e}}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var E=function(e){function t(e){var n;w(this,t);for(var r=arguments.length,o=Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];var i=x(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this,e].concat(o)));return i.getScrollLeft=i.getScrollLeft.bind(i),i.getScrollTop=i.getScrollTop.bind(i),i.getScrollWidth=i.getScrollWidth.bind(i),i.getScrollHeight=i.getScrollHeight.bind(i),i.getClientWidth=i.getClientWidth.bind(i),i.getClientHeight=i.getClientHeight.bind(i),i.getValues=i.getValues.bind(i),i.getThumbHorizontalWidth=i.getThumbHorizontalWidth.bind(i),i.getThumbVerticalHeight=i.getThumbVerticalHeight.bind(i),i.getScrollLeftForOffset=i.getScrollLeftForOffset.bind(i),i.getScrollTopForOffset=i.getScrollTopForOffset.bind(i),i.scrollLeft=i.scrollLeft.bind(i),i.scrollTop=i.scrollTop.bind(i),i.scrollToLeft=i.scrollToLeft.bind(i),i.scrollToTop=i.scrollToTop.bind(i),i.scrollToRight=i.scrollToRight.bind(i),i.scrollToBottom=i.scrollToBottom.bind(i),i.handleTrackMouseEnter=i.handleTrackMouseEnter.bind(i),i.handleTrackMouseLeave=i.handleTrackMouseLeave.bind(i),i.handleHorizontalTrackMouseDown=i.handleHorizontalTrackMouseDown.bind(i),i.handleVerticalTrackMouseDown=i.handleVerticalTrackMouseDown.bind(i),i.handleHorizontalThumbMouseDown=i.handleHorizontalThumbMouseDown.bind(i),i.handleVerticalThumbMouseDown=i.handleVerticalThumbMouseDown.bind(i),i.handleWindowResize=i.handleWindowResize.bind(i),i.handleScroll=i.handleScroll.bind(i),i.handleDrag=i.handleDrag.bind(i),i.handleDragEnd=i.handleDragEnd.bind(i),i.state={didMountUniversal:!1},i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,n.default)(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){this.props.universal&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,u.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var e=this.view||{},t=e.scrollLeft,n=void 0===t?0:t,r=e.scrollTop,o=void 0===r?0:r,a=e.scrollWidth,i=void 0===a?0:a,u=e.scrollHeight,s=void 0===u?0:u,l=e.clientWidth,c=void 0===l?0:l,f=e.clientHeight,d=void 0===f?0:f;return{left:n/(i-c)||0,top:o/(s-d)||0,scrollLeft:n,scrollTop:o,scrollWidth:i,scrollHeight:s,clientWidth:c,clientHeight:d}}},{key:"getThumbHorizontalWidth",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,o=r.scrollWidth,a=r.clientWidth,i=(0,g.default)(this.trackHorizontal),u=Math.ceil(a/o*i);return i<=u?0:t||Math.max(u,n)}},{key:"getThumbVerticalHeight",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,o=r.scrollHeight,a=r.clientHeight,i=(0,m.default)(this.trackVertical),u=Math.ceil(a/o*i);return i<=u?0:t||Math.max(u,n)}},{key:"getScrollLeftForOffset",value:function(e){var t=this.view,n=t.scrollWidth,r=t.clientWidth;return e/((0,g.default)(this.trackHorizontal)-this.getThumbHorizontalWidth())*(n-r)}},{key:"getScrollTopForOffset",value:function(e){var t=this.view,n=t.scrollHeight,r=t.clientHeight;return e/((0,m.default)(this.trackVertical)-this.getThumbVerticalHeight())*(n-r)}},{key:"scrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollLeft=e)}},{key:"scrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollTop=e)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if("undefined"!=typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,o=this.thumbVertical;e.addEventListener("scroll",this.handleScroll),(0,h.default)()&&(t.addEventListener("mouseenter",this.handleTrackMouseEnter),t.addEventListener("mouseleave",this.handleTrackMouseLeave),t.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),r.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),o.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!=typeof document&&this.view){var e=this.view,t=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,o=this.thumbVertical;e.removeEventListener("scroll",this.handleScroll),(0,h.default)()&&(t.removeEventListener("mouseenter",this.handleTrackMouseEnter),t.removeEventListener("mouseleave",this.handleTrackMouseLeave),t.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),r.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),o.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(e){var t=this,n=this.props,r=n.onScroll,o=n.onScrollFrame;r&&r(e),this.update((function(e){var n=e.scrollLeft,r=e.scrollTop;t.viewScrollLeft=n,t.viewScrollTop=r,o&&o(e)})),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var e=this.props.onScrollStart;e&&e(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleScrollStop",value:function(){var e=this.props.onScrollStop;e&&e(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleWindowResize",value:function(){(0,h.default)(!1),this.forceUpdate()}},{key:"handleHorizontalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientX,r=t.getBoundingClientRect().left,o=this.getThumbHorizontalWidth(),a=Math.abs(r-n)-o/2;this.view.scrollLeft=this.getScrollLeftForOffset(a)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,r=t.getBoundingClientRect().top,o=this.getThumbVerticalHeight(),a=Math.abs(r-n)-o/2;this.view.scrollTop=this.getScrollTopForOffset(a)}},{key:"handleHorizontalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientX,r=t.offsetWidth,o=t.getBoundingClientRect().left;this.prevPageX=r-(n-o)}},{key:"handleVerticalThumbMouseDown",value:function(e){e.preventDefault(),this.handleDragStart(e);var t=e.target,n=e.clientY,r=t.offsetHeight,o=t.getBoundingClientRect().top;this.prevPageY=r-(n-o)}},{key:"setupDragging",value:function(){(0,l.default)(document.body,v.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=p.default}},{key:"teardownDragging",value:function(){(0,l.default)(document.body,v.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(e){this.dragging=!0,e.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(e){if(this.prevPageX){var t=e.clientX,n=-this.trackHorizontal.getBoundingClientRect().left+t-(this.getThumbHorizontalWidth()-this.prevPageX);this.view.scrollLeft=this.getScrollLeftForOffset(n)}if(this.prevPageY){var r=e.clientY,o=-this.trackVertical.getBoundingClientRect().top+r-(this.getThumbVerticalHeight()-this.prevPageY);this.view.scrollTop=this.getScrollTopForOffset(o)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,l.default)(this.trackHorizontal,{opacity:1}),(0,l.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var e=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var t=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout((function(){(0,l.default)(e.trackHorizontal,{opacity:0}),(0,l.default)(e.trackVertical,{opacity:0})}),t)}}},{key:"detectScrolling",value:function(){var e=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval((function(){e.lastViewScrollLeft===e.viewScrollLeft&&e.lastViewScrollTop===e.viewScrollTop&&(clearInterval(e.detectScrollingInterval),e.scrolling=!1,e.handleScrollStop()),e.lastViewScrollLeft=e.viewScrollLeft,e.lastViewScrollTop=e.viewScrollTop}),100))}},{key:"raf",value:function(e){var t=this;this.requestFrame&&s.default.cancel(this.requestFrame),this.requestFrame=(0,s.default)((function(){t.requestFrame=void 0,e()}))}},{key:"update",value:function(e){var t=this;this.raf((function(){return t._update(e)}))}},{key:"_update",value:function(e){var t=this.props,n=t.onUpdate,r=t.hideTracksWhenNotNeeded,o=this.getValues();if((0,h.default)()){var a=o.scrollLeft,i=o.clientWidth,u=o.scrollWidth,s=(0,g.default)(this.trackHorizontal),c=this.getThumbHorizontalWidth(),f={width:c,transform:"translateX("+a/(u-i)*(s-c)+"px)"},d=o.scrollTop,p=o.clientHeight,v=o.scrollHeight,y=(0,m.default)(this.trackVertical),b=this.getThumbVerticalHeight(),w={height:b,transform:"translateY("+d/(v-p)*(y-b)+"px)"};if(r){var x={visibility:u>i?"visible":"hidden"},E={visibility:v>p?"visible":"hidden"};(0,l.default)(this.trackHorizontal,x),(0,l.default)(this.trackVertical,E)}(0,l.default)(this.thumbHorizontal,f),(0,l.default)(this.thumbVertical,w)}n&&n(o),"function"==typeof e&&e(o)}},{key:"render",value:function(){var e=this,t=(0,h.default)(),n=this.props,r=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),o=n.renderTrackHorizontal,i=n.renderTrackVertical,u=n.renderThumbHorizontal,s=n.renderThumbVertical,l=n.tagName,f=(n.hideTracksWhenNotNeeded,n.autoHide),p=(n.autoHideTimeout,n.autoHideDuration),g=(n.thumbSize,n.thumbMinSize,n.universal),m=n.autoHeight,y=n.autoHeightMin,b=n.autoHeightMax,w=n.style,x=n.children,E=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),S=this.state.didMountUniversal,j=a({},v.containerStyleDefault,m&&a({},v.containerStyleAutoHeight,{minHeight:y,maxHeight:b}),w),N=a({},v.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},m&&a({},v.viewStyleAutoHeight,{minHeight:(0,d.default)(y)?"calc("+y+" + "+t+"px)":y+t,maxHeight:(0,d.default)(b)?"calc("+b+" + "+t+"px)":b+t}),m&&g&&!S&&{minHeight:y,maxHeight:b},g&&!S&&v.viewStyleUniversalInitial),T={transition:"opacity "+p+"ms",opacity:0},k=a({},v.trackHorizontalStyleDefault,f&&T,(!t||g&&!S)&&{display:"none"}),O=a({},v.trackVerticalStyleDefault,f&&T,(!t||g&&!S)&&{display:"none"});return(0,c.createElement)(l,a({},E,{style:j,ref:function(t){e.container=t}}),[(0,c.cloneElement)(r({style:N}),{key:"view",ref:function(t){e.view=t}},x),(0,c.cloneElement)(o({style:k}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,c.cloneElement)(u({style:v.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,c.cloneElement)(i({style:O}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,c.cloneElement)(s({style:v.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(c.Component);e.exports.default=E,E.propTypes={onScroll:f.default.func,onScrollFrame:f.default.func,onScrollStart:f.default.func,onScrollStop:f.default.func,onUpdate:f.default.func,renderView:f.default.func,renderTrackHorizontal:f.default.func,renderTrackVertical:f.default.func,renderThumbHorizontal:f.default.func,renderThumbVertical:f.default.func,tagName:f.default.string,thumbSize:f.default.number,thumbMinSize:f.default.number,hideTracksWhenNotNeeded:f.default.bool,autoHide:f.default.bool,autoHideTimeout:f.default.number,autoHideDuration:f.default.number,autoHeight:f.default.bool,autoHeightMin:f.default.oneOfType([f.default.number,f.default.string]),autoHeightMax:f.default.oneOfType([f.default.number,f.default.string]),universal:f.default.bool,style:f.default.object,children:f.default.node},E.defaultProps={renderView:y.renderViewDefault,renderTrackHorizontal:y.renderTrackHorizontalDefault,renderTrackVertical:y.renderTrackVerticalDefault,renderThumbHorizontal:y.renderThumbHorizontalDefault,renderThumbVertical:y.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}})),o.register("iDoON",(function(e,t){for(var n=o("2k0wl"),a="undefined"==typeof window?r:window,i=["moz","webkit"],u="AnimationFrame",s=a.requestAnimationFrame,l=a.cancelAnimationFrame||a.cancelRequestAnimationFrame,c=0;!s&&c<i.length;c++)s=a[i[c]+"Request"+u],l=a[i[c]+"Cancel"+u]||a[i[c]+"CancelRequest"+u];if(!s||!l){var f=0,d=0,h=[];s=function(e){if(0===h.length){var t=n(),r=Math.max(0,16.666666666666668-(t-f));f=r+t,setTimeout((function(){var e=h.slice(0);h.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(f)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(r))}return h.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return s.call(a,e)},e.exports.cancel=function(){l.apply(a,arguments)},e.exports.polyfill=function(e){e||(e=a),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}})),o.register("2k0wl",(function(e,t){var n=o("diTYl");(function(){var t,r,o,a,i,u;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=n&&n.hrtime?(e.exports=function(){return(t()-i)/1e6},r=n.hrtime,a=(t=function(){var e;return 1e9*(e=r())[0]+e[1]})(),u=1e9*n.uptime(),i=a-u):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(e.exports)})),o.register("diTYl",(function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,l=[],c=!1,f=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):f=-1,l.length&&h())}function h(){if(!c){var e=u(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++f<t;)s&&s[f].run();f=-1,t=l.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function g(){}o.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||u(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}})),o.register("hVj1O",(function(e,t){var n=o("kF4XF"),r=o("cbpkg"),a={float:"cssFloat"},i=o("ctaeV");function u(e,t,o){var u=a[t];if(void 0===u&&(u=function(e){var t=r(e),o=n(t);return a[t]=a[e]=a[o]=o,o}(t)),u){if(void 0===o)return e.style[u];e.style[u]=i(u,o)}}function s(e,t){for(var n in t)t.hasOwnProperty(n)&&u(e,n,t[n])}function l(){2===arguments.length?"string"==typeof arguments[1]?arguments[0].style.cssText=arguments[1]:s(arguments[0],arguments[1]):u(arguments[0],arguments[1],arguments[2])}e.exports=l,e.exports.set=l,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce((function(t,n){return t[n]=u(e,n||""),t}),{}):u(e,t||"")}})),o.register("kF4XF",(function(e,t){var n=null,r=["Webkit","Moz","O","ms"];e.exports=function(e){n||(n=document.createElement("div"));var t=n.style;if(e in t)return e;for(var o=e.charAt(0).toUpperCase()+e.slice(1),a=r.length;a>=0;a--){var i=r[a]+o;if(i in t)return i}return!1}})),o.register("cbpkg",(function(e,t){var n=o("hkd7T");e.exports=function(e){return n(e).replace(/\s(\w)/g,(function(e,t){return t.toUpperCase()}))}})),o.register("hkd7T",(function(e,t){var n=o("hJUND");e.exports=function(e){return n(e).replace(/[\W_]+(.|$)/g,(function(e,t){return t?" "+t:""})).trim()}})),o.register("hJUND",(function(e,t){e.exports=function(e){return n.test(e)?e.toLowerCase():r.test(e)?(function(e){return e.replace(a,(function(e,t){return t?" "+t:""}))}(e)||e).toLowerCase():o.test(e)?function(e){return e.replace(i,(function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")}))}(e).toLowerCase():e.toLowerCase()};var n=/\s/,r=/(_|-|\.|:)/,o=/([a-z][A-Z]|[A-Z][a-z])/;var a=/[\W_]+(.|$)/g;var i=/(.)([A-Z]+)/g})),o.register("ctaeV",(function(e,t){var n={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=function(e,t){return"number"!=typeof t||n[e]?t:t+"px"}})),o.register("emcMr",(function(e,t){e.exports=o("lt2VM")()})),o.register("lt2VM",(function(e,t){"use strict";var n=o("f166b");function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){var e=function(e,t,r,o,a,i){if(i!==n){var u=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 u.name="Invariant Violation",u}},t=function(){return e};e.isRequired=e;var o={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:a,resetWarningCache:r};return o.PropTypes=o,o}})),o.register("f166b",(function(e,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"})),o.register("7iQdZ",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e){return"string"==typeof e}})),o.register("4ML9y",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(e&&!1!==i)return i;if("undefined"!=typeof document){var t=document.createElement("div");(0,a.default)(t,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(t),i=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}else i=0;return i||0};var n,r=o("hVj1O"),a=(n=r)&&n.__esModule?n:{default:n};var i=!1})),o.register("lgyFJ",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(){return!1}})),o.register("4XU9b",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e){var t=e.clientWidth,n=getComputedStyle(e),r=n.paddingLeft,o=n.paddingRight;return t-parseFloat(r)-parseFloat(o)}})),o.register("7dP7L",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e){var t=e.clientHeight,n=getComputedStyle(e),r=n.paddingTop,o=n.paddingBottom;return t-parseFloat(r)-parseFloat(o)}})),o.register("b8Jrx",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});e.exports.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},e.exports.containerStyleAutoHeight={height:"auto"},e.exports.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},e.exports.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},e.exports.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},e.exports.trackHorizontalStyleDefault={position:"absolute",height:6},e.exports.trackVerticalStyleDefault={position:"absolute",width:6},e.exports.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},e.exports.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},e.exports.disableSelectStyle={userSelect:"none"},e.exports.disableSelectStyleReset={userSelect:""}})),o.register("Fg8ER",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var n=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};e.exports.renderViewDefault=function(e){return i.default.createElement("div",e)},e.exports.renderTrackHorizontalDefault=function(e){var t=e.style,r=u(e,["style"]),o=n({},t,{right:2,bottom:2,left:2,borderRadius:3});return i.default.createElement("div",n({style:o},r))},e.exports.renderTrackVerticalDefault=function(e){var t=e.style,r=u(e,["style"]),o=n({},t,{right:2,bottom:2,top:2,borderRadius:3});return i.default.createElement("div",n({style:o},r))},e.exports.renderThumbHorizontalDefault=function(e){var t=e.style,r=u(e,["style"]),o=n({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return i.default.createElement("div",n({style:o},r))},e.exports.renderThumbVerticalDefault=function(e){var t=e.style,r=u(e,["style"]),o=n({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return i.default.createElement("div",n({style:o},r))};var r,a=o("bgGuN"),i=(r=a)&&r.__esModule?r:{default:r};function u(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}})),o.register("aIm2I",(function(e,r){t(e.exports,"default",(function(){return p}));var a=o("1Az1C"),i=o("4xw6S"),u=o("eoWaN"),s=o("kzx6d"),l=o("hyEi4"),c=o("iOm35"),f=o("dX9AM"),d=o("bgGuN"),h=o("jlPE3");function p(){var e=(0,l.useShortcuts)(),t=e.List,r=e.editor,o=(0,u.default)((0,d.useState)(0),2),c=o[0],p=o[1],m=(0,u.default)((0,d.useState)(0),2),v=m[0],y=m[1],b=(0,h.useAppsContext)().actions;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"w-full h-48 overflow-hidden rounded-xl",children:(0,s.jsx)(n(f),{onUpdate:function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight,o=.05*Math.min(t,20),a=n-r,i=.05*(a-Math.max(t,a-20));p(o),y(i)},children:(0,s.jsxs)("div",{className:"relative w-full h-full ",children:[(0,s.jsxs)("div",{className:"grid place-items-center grid-flow-row w-full h-full "+"".concat(0===t.get.length?"grid-cols-1 ":"")+"".concat(1===t.get.length?"grid-cols-2 ":"")+"".concat(t.get.length>1?"grid-cols-3 ":""),children:[t.get.map((function(e,n){return(0,s.jsx)(g,{bookmark:e,onClick:function(){!function(e){var n;n=(0,i.default)((0,a.default)({},t.get[e]),{index:e}),r.new.set(n),b.openByName("bookmarks-editor"),b.closeByName("bookmarks")}(n)}},n)})),(0,s.jsx)(g,{onClick:function(){r.new.set({name:"",url:"",iconUrl:"",index:t.get.length}),b.openByName("bookmarks-editor"),b.closeByName("bookmarks")},editor:!0})]}),(0,s.jsx)("div",{style:{opacity:c},className:"fixed top-0 w-full h-4 bg-gradient-to-b from-black/25 to-transparent"}),(0,s.jsx)("div",{style:{opacity:v},className:"fixed bottom-0 w-full h-4 bg-gradient-to-t from-black/25 to-transparent"})]})})})})}function g(e){var t=e.bookmark,n=e.onClick,r=e.editor,o=void 0!==r&&r;return(0,s.jsxs)("div",{onClick:function(){n&&n()},className:"relative grid w-16 h-16 gap-2 p-1 transition-all rounded shadow-sm cursor-pointer place-items-center ring-1 bg-gradient-radial from-white ring-black/5 bg-neutral-100/50 hover:bg-white/50 active:bg-neutral-300/50 active:translate-y-1 hover:shadow-lg active:shadow group",children:[o&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(c.FcPlus,{className:"object-cover object-center w-8 h-8 drop-shadow-md"})}),t&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("img",{className:"object-cover object-center w-8 h-8 transition-all drop-shadow-md group-hover:drop-shadow-lg",src:"https://www.google.com/s2/favicons?domain=".concat(t.iconUrl,"&sz=",48),alt:""})})]})}})),o.register("3M8Fw",(function(e,n){t(e.exports,"default",(function(){return f}));var r=o("eoWaN"),a=o("kzx6d"),i=o("bgGuN");o("jlPE3");var u=o("4WsQZ"),s=o("8i7cL"),l=o("aUaku"),c=o("jeeo9");function f(){var e=function(e){m(!1),b(e)},t=(0,i.useRef)(void 0),n=(0,r.default)((0,i.useState)(0),2),o=n[0],f=n[1];(0,i.useEffect)((function(){void 0!==t&&void 0!==t.current&&f(t.current.scrollHeight)}),[]);var p=(0,r.default)((0,i.useState)(!0),2),g=p[0],m=p[1],v=(0,r.default)((0,i.useState)("none"),2),y=v[0],b=v[1],w=(0,r.default)((0,i.useState)([{pageName:"general",displayText:"General",pageContent:(0,a.jsx)(l.default,{})},{pageName:"clock",displayText:"Reloj",pageContent:(0,a.jsx)(u.default,{})},{pageName:"wallpaper",displayText:"Fondo",pageContent:(0,a.jsx)(c.default,{})},{pageName:"fonts",displayText:"Fuentes",pageContent:(0,a.jsx)(s.default,{})}]),1)[0];return(0,a.jsxs)("div",{className:" w-full h-full p-6 select-none",children:[(0,a.jsxs)("div",{ref:t,className:" overflow-hidden transition-all duration-500",style:{height:g?o:"0",paddingBottom:g?"12px":"0px"},children:[(0,a.jsx)("p",{className:"max-w-xs mx-auto opacity-80",children:"A continuación, se muestran las opciones disponibles para personalizar tu tablero:"}),(0,a.jsx)("div",{className:" w-full h-3 grid items-end",children:(0,a.jsx)("div",{className:" mx-auto w-3/4 border-b border-black/5"})})]}),(0,a.jsx)("div",{className:" flex place-content-center h-auto w-full gap-3 font-medium",children:w.map((function(t,n){var r=t.pageName,o=t.displayText;if(!1!==t.enabled)return(0,a.jsx)(d,{currentPageName:y,pageName:r,displayText:o,onClick:e},n)}))}),w.map((function(e,t){var n=e.pageName,r=e.pageContent;return(0,a.jsx)(h,{visible:y===n,children:r},t)}))]})}function d(e){var t=e.currentPageName,n=e.pageName,r=e.displayText,o=e.onClick;return(0,a.jsx)("div",{onClick:function(){o(n)},className:"grid place-content-center w-auto h-auto p-1.5 cursor-pointer "+"".concat(n===t?"text-neutral-800 ":"text-blue-600 hover:text-blue-500 "),children:(0,a.jsx)("span",{className:"transition-all duration-300 ",children:r})})}function h(e){var t=e.visible,n=e.children,o=(0,i.useRef)(void 0),u=(0,r.default)((0,i.useState)(0),2),s=u[0],l=u[1];return(0,i.useEffect)((function(){void 0!==o&&void 0!==o.current&&l(o.current.scrollHeight)}),[n]),(0,a.jsx)("div",{className:"transition-all duration-500 pt-1 "+"".concat(t?" ":"pointer-events-none ")+"".concat(t?"scale-100 ":"scale-75 "),style:{height:t?s:"0",opacity:t?1:0},children:(0,a.jsx)("div",{className:"h-full w-full",ref:o,children:n})})}})),o.register("4WsQZ",(function(e,n){t(e.exports,"default",(function(){return f}));var r=o("eoWaN"),a=o("kzx6d"),i=o("bgGuN"),u=o("fIPJu"),s=o("4G0TR"),l=o("7PdoZ"),c=o("kMdwv");function f(){var e=(0,s.useClock)(),t=e.FormatOptions,n=e.FormatOption,o=e.FormatTop,f=e.FormatBottom,d=(0,r.default)((0,i.useState)(n.get),2),h=d[0],p=d[1];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:" p-3",children:[(0,a.jsx)("p",{className:"max-w-xs opacity-80 pb-3",children:"Personaliza el contenido del reloj:"}),(0,a.jsxs)("div",{className:"".concat("hidden "),children:[(0,a.jsx)("p",{className:" pt-3 pb-2",children:"Formato:"}),(0,a.jsxs)("div",{className:" p-2 grid h-auto grid-cols-3 gap-3 justify-items-end items-center w-full max-w-xs overflow-hidden whitespace-nowrap ",children:[(0,a.jsx)("p",{children:"Parte superior:"}),(0,a.jsx)(u.default,{className:"col-span-2",onEnter:function(e){o.set(e)},defaultValue:o.get}),(0,a.jsx)("p",{children:"Parte inferior:"}),(0,a.jsx)(u.default,{className:"col-span-2",onEnter:function(e){f.set(e)},defaultValue:f.get})]})]})]}),(0,a.jsxs)("div",{className:"p-3 h-min grid-flow-col place-items-center gap-3 "+"".concat("hidden "),children:[(0,a.jsx)("span",{onClick:function(){o.set("EEEE, d 'de' MMMM, yyyy"),f.set("HH:mm")},className:" pt-3 font-medium text-blue-600 hover:text-blue-500 transition-all cursor-pointer grid grid-flow-col items-center gap-1",children:"Reiniciar"}),(0,a.jsxs)("a",{href:"https://unicode-org.github.io/icu/userguide/format_parse/datetime/#date-field-symbol-table",target:"_blank",rel:"noopener noreferrer",className:" pt-3 font-medium text-blue-600 hover:text-blue-500 transition-all cursor-pointer grid grid-flow-col items-center gap-1",children:["Ayuda ",(0,a.jsx)(l.GoLinkExternal,{})]})]}),(0,a.jsxs)("div",{className:" p-3 grid place-items-center grid-flow-col grid-cols-2 max-w-xs ",children:[(0,a.jsx)("p",{className:"font-medium leading-none place-self-start justify-center text-center w-full pt-3",children:"Formato:"}),(0,a.jsx)(c.default,{options:t,defaultActive:h,onChange:function(e){p(e),n.set(e)}})]})]})}})),o.register("4G0TR",(function(e,n){t(e.exports,"ProviderClock",(function(){return c})),t(e.exports,"useClock",(function(){return f}));var r=o("1Az1C"),a=o("4xw6S"),i=o("eoWaN"),u=o("kzx6d"),s=o("bgGuN"),l=(0,s.createContext)(void 0);function c(e){var t=(0,i.default)((0,s.useState)([{displayName:"Predeterminado",value:{top:"EEEE, d 'de' MMMM, yyyy",bottom:"HH:mm"}},{displayName:"Predeterminado con am/pm",value:{top:"EEEE, d 'de' MMMM, yyyy",bottom:"h:mm aaa"}},{displayName:"Personalizado",value:{customizable:!0},enabled:!1,visible:!1}]),2),n=t[0],o=(t[1],(0,i.default)((0,s.useState)(localStorage.getItem("clock-format-option")||"0"),2)),c=o[0],f=o[1];(0,s.useEffect)((function(){localStorage.setItem("clock-format-option",c)}),[c]);var d=(0,i.default)((0,s.useState)(localStorage.getItem("clock-format-top")||"EEEE, d 'de' MMMM, yyyy"),2),h=d[0],p=d[1];(0,s.useEffect)((function(){localStorage.setItem("clock-format-top",h)}),[h]);var g=(0,i.default)((0,s.useState)(localStorage.getItem("clock-format-bottom")||"HH:mm"),2),m=g[0],v=g[1];(0,s.useEffect)((function(){localStorage.setItem("clock-format-bottom",m)}),[m]);var y={FormatOptions:n,FormatOption:{get:c,set:f},FormatTop:{get:h,set:p},FormatBottom:{get:m,set:v}};return(0,u.jsx)(l.Provider,(0,a.default)((0,r.default)({},e),{value:y}))}function f(){return(0,s.useContext)(l)}})),o.register("7PdoZ",(function(e,n){t(e.exports,"GoLinkExternal",(function(){return a})),o("exlhp");var r=o("4D5en");function a(e){return(0,r.GenIcon)({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M11 10h1v3c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h3v1H1v10h10v-3zM6 2l2.25 2.25L5 7.5 6.5 9l3.25-3.25L12 8V2H6z"}}]})(e)}})),o.register("kMdwv",(function(e,r){t(e.exports,"default",(function(){return c}));var a=o("eoWaN"),i=o("kzx6d"),u=o("bgGuN"),s=o("dX9AM"),l=o("4Jarh");function c(e){var t=e.options,r=e.defaultActive,o=e.onChange,c=(0,a.default)((0,u.useState)(!1),2),f=c[0],d=c[1],h=(0,u.useRef)(null);return(0,u.useEffect)((function(){return document.addEventListener("click",(function(e){h.current!==e.target&&d(!1)}),!0),function(){document.removeEventListener("click",(function(e){h.current!==e.target&&d(!1)}),!0)}}),[d]),(0,i.jsxs)("div",{className:"".concat(f?"expanded":""," relative inline-block w-full shadow-none group drop-shadow "),children:[(0,i.jsxs)("button",{ref:h,type:"button",className:"w-full justify-between h-8 px-2 transition-all bg-white/90 rounded-md group-hover:text-blue-500 duration-150 grid grid-flow-col items-center",onClick:function(e){e.preventDefault(),e.stopPropagation(),d(!f)},onKeyPress:function(e){e.preventDefault(),d(!f)},children:[(0,i.jsx)("p",{className:"leading-none m-0 mt-0.5 p-0 box-border pointer-events-none",children:t[r].displayName}),(0,i.jsx)(l.HiChevronDown,{className:"h-5 w-5 transition-all duration-150 delay-[0] group-hover:text-blue-500 pointer-events-none ".concat(f&&"rotate-180"," ")})]}),(0,i.jsx)(n(s),{className:" w-full transition-all ".concat(f?"h-16":"h-0"," z-10 bg-white rounded-lg mt-2"),renderThumbVertical:function(){return(0,i.jsx)("div",{className:"bg-black/20 h-8 rounded-lg"})},renderTrackHorizontal:function(){return(0,i.jsx)("div",{className:" hidden"})},renderThumbHorizontal:function(){return(0,i.jsx)("div",{className:" hidden"})},children:(0,i.jsx)("ul",{className:"overflow-hidden shadow-none bg-transparent rounded-none h-auto w-full z-0",children:Array.isArray(t)&&t.map((function(e,n){var a=e.displayName===t[r].displayName;if(!1!==e.visible)return(0,i.jsx)("li",{className:"h-full min-h-[2rem] w-full grid "+"".concat(!1===e.enabled?"pointer-events-none opacity-50 ":""),children:(0,i.jsx)("button",{type:"button",className:" block transition-all duration-150 hover:bg-blue-400/25 p-0 m-0 w-full h-full ".concat(a?" bg-blue-400/25":""),onClick:function(){o&&o(n),d(!1)},onKeyPress:function(){o&&o(n),d(!1)},children:e.displayName})},n)}))})})]})}})),o.register("4Jarh",(function(e,n){t(e.exports,"HiChevronDown",(function(){return a})),t(e.exports,"HiViewGrid",(function(){return i})),o("exlhp");var r=o("4D5en");function a(e){return(0,r.GenIcon)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}}]})(e)}function i(e){return(0,r.GenIcon)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{d:"M5 3a2 2 0 00-2 2v2a2 2 0 002 2h2a2 2 0 002-2V5a2 2 0 00-2-2H5zM5 11a2 2 0 00-2 2v2a2 2 0 002 2h2a2 2 0 002-2v-2a2 2 0 00-2-2H5zM11 5a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V5zM11 13a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z"}}]})(e)}})),o.register("8i7cL",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("eoWaN"),a=o("kzx6d"),i=o("bgGuN"),u=o("dbkhG"),s=o("eQqkJ");function l(){var e=(0,r.default)((0,i.useState)(void 0),2),t=e[0],n=e[1];(0,i.useLayoutEffect)((function(){var e=localStorage.getItem("font-dashboard");n(e||"Comfortaa")}),[]);var o=(0,s.useFonts)().Loaded;return(0,a.jsxs)("div",{className:" p-3",children:[(0,a.jsx)("p",{className:"max-w-xs opacity-80 pb-3",children:"Selecciona las tipografías que más te gusten:"}),(0,a.jsxs)("div",{className:" p-3 grid place-items-center grid-flow-col ",children:[(0,a.jsx)("p",{className:"font-medium leading-none place-self-start justify-center text-center w-full pt-3",children:"Reloj:"}),(0,a.jsx)(u.default,{limit:100,apiKey:"AIzaSyAKWXbqcl2N70MY2UyNuPUWriTmq7tZIFA",activeFontFamily:t,pickerId:"dashboard",onChange:function(e){var t;t=e.family,n(t),localStorage.setItem("font-dashboard",t)},onLoad:function(){o.set(!0)}})]})]})}})),o.register("dbkhG",(function(e,r){t(e.exports,"default",(function(){return v}));var a=o("eB1zD"),i=o("aIuti"),u=o("5hoHS"),s=o("cgXdC"),l=o("1Az1C"),c=o("4xw6S"),f=o("eyAQi"),d=o("kzx6d"),h=o("4Jarh"),p=o("4vNQ1"),g=o("bgGuN"),m=o("dX9AM");var v=function(e){"use strict";(0,s.default)(r,e);var t=(0,f.default)(r);function r(e){var o;(0,i.default)(this,r),o=t.call(this,e),(0,u.default)((0,a.default)(o),"state",{expanded:!1,loadingStatus:"loading"}),(0,u.default)((0,a.default)(o),"componentDidMount",(function(){o.fontManager.init().then((function(){o.setState({loadingStatus:"finished"})})).catch((function(e){o.setState({loadingStatus:"error"}),console.error("Error trying to fetch the list of available fonts"),console.error(e)}))})),(0,u.default)((0,a.default)(o),"componentDidUpdate",(function(e){var t=o.props,n=t.activeFontFamily,r=t.onChange,a=t.onLoad,i=void 0===a?function(){}:a;if(n!==e.activeFontFamily)var u=setInterval((function(){"finished"===o.state.loadingStatus&&(clearInterval(u),o.setActiveFontFamily(n),i())}),0);r!==e.onChange&&o.fontManager.setOnChange(r)})),(0,u.default)((0,a.default)(o),"onClose",(function(e){for(var t=e.target,n=document.getElementById("font-picker".concat(o.fontManager.selectorSuffix));;){if(t===n)return;if(!t.parentNode)return void o.toggleExpanded();t=t.parentNode}})),(0,u.default)((0,a.default)(o),"onSelection",(function(e){var t=e.target.textContent;if(!t)throw Error("Missing font family in clicked font button");o.setActiveFontFamily(t),o.toggleExpanded()})),(0,u.default)((0,a.default)(o),"setActiveFontFamily",(function(e){o.fontManager.setActiveFont(e)})),(0,u.default)((0,a.default)(o),"generateFontList",(function(e){var t=o.props.activeFontFamily;return"finished"!==o.state.loadingStatus?(0,d.jsx)("div",{}):(0,d.jsx)("ul",{className:"font-list shadow-none bg-transparent rounded-none h-auto max-h-max z-0",children:e.map((function(e){var n=e.family===t,r=e.family.replace(/\s+/g,"-").toLowerCase();return(0,d.jsx)("li",{className:"font-list-item",children:(0,d.jsx)("button",{type:"button",id:"font-button-".concat(r).concat(o.fontManager.selectorSuffix),className:" font-button transition-all duration-150 hover:bg-blue-400/25 ".concat(n?"active-font bg-blue-400/25":""),onClick:o.onSelection,onKeyPress:o.onSelection,children:e.family})},r)}))})})),(0,u.default)((0,a.default)(o),"toggleExpanded",(function(){o.state.expanded?(o.setState({expanded:!1}),document.removeEventListener("click",o.onClose)):(o.setState({expanded:!0}),document.addEventListener("click",o.onClose))})),(0,u.default)((0,a.default)(o),"render",(function(){var e=o.props,t=e.activeFontFamily,r=e.sort,a=o.state,i=a.expanded,u=a.loadingStatus,s=Array.from(o.fontManager.getFonts().values());return"alphabet"===r&&s.sort((function(e,t){return e.family.localeCompare(t.family)})),(0,d.jsxs)("div",{id:"font-picker".concat(o.fontManager.selectorSuffix),className:"".concat(i?"expanded":""," shadow-none group drop-shadow"),children:[(0,d.jsxs)("button",{type:"button",className:"dropdown-button transition-all bg-white/90 rounded-md group-hover:text-blue-500 duration-150 grid grid-flow-col items-center",onClick:o.toggleExpanded,onKeyPress:o.toggleExpanded,children:[(0,d.jsx)("p",{className:"leading-none mt-0.5 dropdown-font-family apply-font".concat(o.fontManager.selectorSuffix),children:t}),(0,d.jsx)(h.HiChevronDown,{className:"h-5 w-5 transition-all duration-150 delay-[0] group-hover:text-blue-500 ".concat(i&&"rotate-180"," ")})]}),"finished"===u&&(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(n(m),{className:" w-full transition-all ".concat(i?"h-52":" h-0"," z-10 bg-white rounded-lg mt-2"),renderThumbVertical:function(e){return(0,d.jsx)("div",(0,c.default)((0,l.default)({},e),{className:"thumb-vertical bg-black/20 h-8 rounded-lg"}))},children:o.generateFontList(s)})})]})}));var s=o.props,f=s.apiKey,g=s.activeFontFamily,v=s.pickerId,y=s.families,b=s.categories,w=s.scripts,x=s.variants,E=s.filter,S=s.limit,j=s.sort,N=s.onChange,T={pickerId:v,families:y,categories:b,scripts:w,variants:x,filter:E,limit:S,sort:j};return o.fontManager=new(0,p.FontManager)(f,g,T,N),o}return r}(g.PureComponent);(0,u.default)(v,"defaultProps",{activeFontFamily:p.FONT_FAMILY_DEFAULT,onChange:function(){},pickerId:p.OPTIONS_DEFAULTS.pickerId,families:p.OPTIONS_DEFAULTS.families,categories:p.OPTIONS_DEFAULTS.categories,scripts:p.OPTIONS_DEFAULTS.scripts,variants:p.OPTIONS_DEFAULTS.variants,filter:p.OPTIONS_DEFAULTS.filter,limit:p.OPTIONS_DEFAULTS.limit,sort:p.OPTIONS_DEFAULTS.sort})})),o.register("eB1zD",(function(e,n){function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t(e.exports,"default",(function(){return r}))})),o.register("aIuti",(function(e,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t(e.exports,"default",(function(){return r}))})),o.register("cgXdC",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("3tJmM");function a(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}}),t&&(0,r.default)(e,t)}})),o.register("3tJmM",(function(e,n){function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){return r(e,t)}t(e.exports,"default",(function(){return o}))})),o.register("eyAQi",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("9KXWp"),a=o("4Tmbp"),i=o("h7OZA");function u(e){var t=(0,r.default)();return function(){var n,r=(0,a.default)(e);if(t){var o=(0,a.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,i.default)(this,n)}}})),o.register("9KXWp",(function(e,n){function r(){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}}t(e.exports,"default",(function(){return r}))})),o.register("4Tmbp",(function(e,n){function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function o(e){return r(e)}t(e.exports,"default",(function(){return o}))})),o.register("h7OZA",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("eB1zD"),a=o("8CL7P");function i(e,t){return!t||"object"!==(0,a.default)(t)&&"function"!=typeof t?(0,r.default)(e):t}})),o.register("4vNQ1",(function(e,n){t(e.exports,"FONT_FAMILY_DEFAULT",(function(){return S})),t(e.exports,"OPTIONS_DEFAULTS",(function(){return j})),t(e.exports,"FontManager",(function(){return N}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var r=function(){return r=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},r.apply(this,arguments)};function o(e,t,n,r){return new(n||(n=Promise))((function(o,a){var i=function(e){try{s(r.next(e))}catch(e){a(e)}},u=function(e){try{s(r.throw(e))}catch(e){a(e)}},s=function(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(i,u)};s((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,o,a,i=function(e){return function(t){return u([e,t])}},u=function(a){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}},s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a}function i(e){return e.replace(/\s+/g,"-").toLowerCase()}function u(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.overrideMimeType("application/json"),r.open("GET",e,!0),r.onreadystatechange=function(){4===r.readyState&&(200!==r.status?n(new Error("Response has status code "+r.status)):t(r.responseText))},r.send()}))}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('@charset "UTF-8";\ndiv[id^=font-picker] {\n position: relative;\n display: inline-block;\n width: 200px;\n box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);\n}\ndiv[id^=font-picker] * {\n box-sizing: border-box;\n}\ndiv[id^=font-picker] p {\n margin: 0;\n padding: 0;\n}\ndiv[id^=font-picker] button {\n color: inherit;\n font-size: inherit;\n background: none;\n border: 0;\n outline: none;\n cursor: pointer;\n}\ndiv[id^=font-picker] .dropdown-button {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 35px;\n padding: 0 10px;\n background: #cbcbcb;\n}\ndiv[id^=font-picker] .dropdown-button:hover, div[id^=font-picker] .dropdown-button:focus {\n background: #bebebe;\n}\ndiv[id^=font-picker] .dropdown-button .dropdown-font-name {\n overflow: hidden;\n white-space: nowrap;\n}\ndiv[id^=font-picker] .dropdown-icon {\n margin-left: 10px;\n}\n@-webkit-keyframes spinner {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes spinner {\n to {\n transform: rotate(360deg);\n }\n}\ndiv[id^=font-picker] .dropdown-icon.loading::before {\n display: block;\n width: 10px;\n height: 10px;\n border: 2px solid #b2b2b2;\n border-top-color: #000000;\n border-radius: 50%;\n -webkit-animation: spinner 0.6s linear infinite;\n animation: spinner 0.6s linear infinite;\n content: "";\n}\ndiv[id^=font-picker] .dropdown-icon.finished::before {\n display: block;\n width: 0;\n height: 0;\n margin: 0 2px;\n border-top: 6px solid #000000;\n border-right: 5px solid transparent;\n border-left: 5px solid transparent;\n transition: transform 0.3s;\n content: "";\n}\ndiv[id^=font-picker] .dropdown-icon.error::before {\n content: "⚠";\n}\ndiv[id^=font-picker].expanded .dropdown-icon.finished::before {\n transform: rotate(-180deg);\n}\ndiv[id^=font-picker].expanded ul {\n max-height: 200px;\n}\ndiv[id^=font-picker] ul {\n position: absolute;\n z-index: 1;\n width: 100%;\n max-height: 0;\n margin: 0;\n padding: 0;\n overflow-x: hidden;\n overflow-y: auto;\n background: #eaeaea;\n box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);\n transition: 0.3s;\n -webkit-overflow-scrolling: touch;\n}\ndiv[id^=font-picker] ul li {\n height: 35px;\n list-style: none;\n}\ndiv[id^=font-picker] ul li button {\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n padding: 0 10px;\n white-space: nowrap;\n}\ndiv[id^=font-picker] ul li button:hover, div[id^=font-picker] ul li button:focus {\n background: #dddddd;\n}\ndiv[id^=font-picker] ul li button.active-font {\n background: #d1d1d1;\n}');function s(e){return o(this,void 0,void 0,(function(){var t,n,o;return a(this,(function(a){switch(a.label){case 0:return(t=new URL("https://www.googleapis.com/webfonts/v1/webfonts")).searchParams.append("sort","popularity"),t.searchParams.append("key",e),[4,u(t.href)];case 1:return n=a.sent(),o=JSON.parse(n),[2,o.items.map((function(e){var t=e.family,n=e.subsets,o=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,["family","subsets"]);return r(r({},o),{family:t,id:i(t),scripts:n})}))]}}))}))}var l=document.createElement("style");function c(e,t,n){var r="\n\t\t.apply-font"+n+' {\n\t\t\tfont-family: "'+e.family+'"'+(t?', "'+t+'"':"")+";\n\t\t}\n\t",o=function(e){var t="active-font-"+e,n=document.getElementById(t);return n||((n=document.createElement("style")).id=t,document.head.appendChild(n)),n}(n);o.innerHTML=r}document.head.appendChild(l);var f="data-is-preview";function d(e){return"font-"+e}function h(e,t){var n=document.getElementById(d(e));return null==t?null!==n:null!==n&&n.getAttribute(f)===t.toString()}function p(e,t){var n=document.createElement("style");n.id=d(e),n.setAttribute(f,t.toString()),document.head.appendChild(n)}function g(e,t){var n=d(e),r=document.getElementById(n);r?r.textContent=t:console.error('Could not fill stylesheet: Stylesheet with ID "'+n+'" not found')}function m(e,t){var n,r=[];do{(n=e.exec(t))&&r.push(n[1])}while(n);return r}var v=/@font-face {([\s\S]*?)}/gm,y=/font-family: ['"](.*?)['"]/gm;function b(e,t,n,r){return o(this,void 0,void 0,(function(){var o,i,s,l,c;return a(this,(function(a){return o=new URL("https://fonts.googleapis.com/css"),i=n.join(","),s=e.map((function(e){return e.family+":"+i})),o.searchParams.append("family",s.join("|")),o.searchParams.append("subset",t.join(",")),r&&(l=e.map((function(e){return e.family})).join(""),c=l.split("").filter((function(e,t,n){return n.indexOf(e)===t})).join(""),o.searchParams.append("text",c)),o.searchParams.append("font-display","swap"),[2,u(o.href)]}))}))}function w(e,t,n,r){return o(this,void 0,void 0,(function(){var o,u,s,c;return a(this,(function(a){switch(a.label){case 0:return o=Array.from(e.values()),(u=o.map((function(e){return e.id})).filter((function(e){return!h(e)}))).forEach((function(e){return p(e,!0)})),[4,b(o,t,n,!0)];case 1:return s=a.sent(),c=function(e){var t=m(v,e),n={};return t.forEach((function(e){var t=i(m(y,e)[0]);t in n||(n[t]=""),n[t]+="@font-face {\n"+e+"\n}\n\n"})),n}(s),o.forEach((function(e){if(function(e,t){var n="\n\t\t\t#font-button-"+i(e.family)+t+' {\n\t\t\t\tfont-family: "'+e.family+'";\n\t\t\t}\n\t\t';l.appendChild(document.createTextNode(n))}(e,r),u.includes(e.id)){if(!(e.id in c))return void console.error('Missing styles for font "'+e.family+'" (fontId "'+e.id+'") in Google Fonts response');g(e.id,c[e.id])}})),[2]}}))}))}function x(e,t,n,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return h(e.id,!1)?(c(e,t,i),[3,3]):[3,1];case 1:return h(e.id,!0)?(u=e.id,s=!1,l=d(u),(m=document.getElementById(l))?m.setAttribute(f,s.toString()):console.error('Could not change stylesheet type: Stylesheet with ID "'+l+'" not found')):p(e.id,!1),[4,b([e],n,r,!1)];case 2:o=a.sent(),c(e,t,i),g(e.id,o),a.label=3;case 3:return[2]}var u,s,l,m}))}))}var E,S="Open Sans",j={pickerId:"",families:[],categories:[],scripts:["latin"],variants:["regular"],filter:function(){return!0},limit:50,sort:"alphabet"},N=((E=function(e,t,n,r){void 0===t&&(t=S);var o=n.pickerId,a=void 0===o?j.pickerId:o,i=n.families,u=void 0===i?j.families:i,s=n.categories,l=void 0===s?j.categories:s,c=n.scripts,f=void 0===c?j.scripts:c,d=n.variants,h=void 0===d?j.variants:d,p=n.filter,g=void 0===p?j.filter:p,m=n.limit,v=void 0===m?j.limit:m,y=n.sort,b=void 0===y?j.sort:y;void 0===r&&(r=function(){}),this.fonts=new Map,function(e){if(e.match(/[^0-9a-z]/i))throw Error("The `pickerId` parameter may only contain letters and digits")}(a),this.selectorSuffix=a?"-"+a:"",this.apiKey=e,this.options={pickerId:a,families:u,categories:l,scripts:f,variants:h,filter:g,limit:v,sort:b},this.onChange=r,this.addFont(t,!1),this.setActiveFont(t,!1)}).prototype.init=function(){return o(this,void 0,void 0,(function(){var e,t,n,r,o;return a(this,(function(a){switch(a.label){case 0:return[4,s(this.apiKey)];case 1:for(e=a.sent(),t=function(t){var r=e[t];if(n.fonts.size>=n.options.limit)return"break";n.fonts.has(r.family)||0!==n.options.families.length&&!n.options.families.includes(r.family)||0!==n.options.categories.length&&!n.options.categories.includes(r.category)||!n.options.scripts.every((function(e){return r.scripts.includes(e)}))||!n.options.variants.every((function(e){return r.variants.includes(e)}))||!0!==n.options.filter(r)||n.fonts.set(r.family,r)},n=this,r=0;r<e.length&&"break"!==t(r);r+=1);return(o=new Map(this.fonts)).delete(this.activeFontFamily),w(o,this.options.scripts,this.options.variants,this.selectorSuffix),[2,this.fonts]}}))}))},E.prototype.getFonts=function(){return this.fonts},E.prototype.addFont=function(e,t){void 0===t&&(t=!0);var n={family:e,id:i(e)};if(this.fonts.set(e,n),t){var r=new Map;r.set(e,n),w(r,this.options.scripts,this.options.variants,this.selectorSuffix)}},E.prototype.removeFont=function(e){this.fonts.delete(e)},E.prototype.getActiveFont=function(){var e=this.fonts.get(this.activeFontFamily);if(e)return e;throw Error('Cannot get active font: "'+this.activeFontFamily+'" is not in the font list')},E.prototype.setActiveFont=function(e,t){var n=this;void 0===t&&(t=!0);var r=this.activeFontFamily,o=this.fonts.get(e);if(!o)throw Error('Cannot update active font: "'+e+'" is not in the font list');this.activeFontFamily=e,x(o,r,this.options.scripts,this.options.variants,this.selectorSuffix).then((function(){t&&n.onChange(o)}))},E.prototype.setOnChange=function(e){this.onChange=e},E)})),o.register("eQqkJ",(function(e,n){t(e.exports,"ProviderFonts",(function(){return c})),t(e.exports,"useFonts",(function(){return f}));var r=o("1Az1C"),a=o("4xw6S"),i=o("eoWaN"),u=o("kzx6d"),s=o("bgGuN"),l=(0,s.createContext)(void 0);function c(e){var t=(0,i.default)((0,s.useState)(!1),2),n={Loaded:{get:t[0],set:t[1]}};return(0,u.jsx)(l.Provider,(0,a.default)((0,r.default)({},e),{value:n}))}function f(){return(0,s.useContext)(l)}})),o.register("aUaku",(function(e,r){t(e.exports,"default",(function(){return f}));var a=o("5Lv42"),i=o("eoWaN"),u=o("1hwKC"),s=o("kzx6d"),l=o("bgGuN"),c=o("jlPE3");function f(){var e=(0,i.default)((0,l.useState)(void 0),2),t=e[0],r=e[1],f=(0,c.useAppsContext)().actions;return(0,l.useEffect)((function(){var e,t=(e=(0,a.default)(n(u).mark((function e(){var t;return n(u).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o("hqXl8");case 2:t=e.sent,r(t.default());case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)});t()}),[]),(0,s.jsxs)("div",{className:"grid grid-flow-row gap-4 p-3 text-center place-content-center place-items-center",children:[(0,s.jsxs)("div",{className:"grid grid-flow-row gap-1 ",children:[(0,s.jsx)("span",{className:"opacity-75",children:"Links útiles:"}),(0,s.jsxs)("div",{className:"grid grid-flow-row gap-0.5 place-items-center place-content-center",children:[(0,s.jsx)(d,{onClick:function(){f.openByName("welcome")},children:"Mostrar bienvenida"}),(0,s.jsx)(d,{onClick:function(){localStorage.clear(),location.reload()},children:"Reiniciar de fábrica"})]})]}),(0,s.jsx)("div",{className:"w-full h-px bg-black/5"}),(0,s.jsxs)("p",{className:"w-full ",children:["Versión: ",t||"..."]})]})}function d(e){var t=e.children,n=e.onClick,r=void 0===n?function(){}:n;return(0,s.jsx)("span",{onClick:function(){r&&r()},className:"font-medium text-blue-600 transition-all cursor-pointer hover:text-blue-500 whitespace-nowrap w-min",children:t})}})),o.register("hqXl8",(function(e,t){e.exports=o("ksEtm")(o("jMecr").getBundleURL("dGjXq")+o("8t4e8").resolve("20Vu0")).then((function(){return o("htYSX")}))})),o.register("jeeo9",(function(e,n){t(e.exports,"default",(function(){return c}));var r=o("eoWaN"),a=o("kzx6d"),i=o("1mIdx"),u=o("bgGuN"),s=o("6Lt4P"),l=o("gKYmB");function c(){var e=(0,l.useWallpaper)(),t=e.Visibility,n=e.Quality,o=e.Reload,c=(0,r.default)((0,u.useState)([{name:"bing",displayText:"Bing",enabled:!0},{name:"unsplash",displayText:"Unsplash",enabled:!1},{name:"custom",displayText:"Personalizado",enabled:!1}]),2),f=c[0],d=(c[1],(0,r.default)((0,u.useState)("bing"),2)),h=d[0],p=d[1];return(0,a.jsxs)("div",{className:" p-3",children:[(0,a.jsx)("p",{className:"max-w-xs opacity-80 pb-3",children:"Elige el servicio que proporciona el fondo:"}),(0,a.jsx)("div",{className:" p-3 flex flex-col gap-1.5 font-medium",children:f.map((function(e,t){return(0,a.jsxs)("div",{className:"\n flex gap-3 items-center cursor-pointer\n transition-all\n ".concat(!e.enabled&&"opacity-50"),onClick:function(){e.enabled&&p(e.name)},children:[(0,a.jsx)(s.default,{checked:e.name===h,enabled:e.enabled,roundbox:!0}),(0,a.jsxs)("p",{className:" translate-y-[1px]",children:[e.displayText,e.enabled?"":(0,a.jsxs)("span",{className:"text-xs font-semibold opacity-75",children:[" ","(Próximamente)"]})]})]},t)}))}),"bing"===h&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"p-3 font-medium",children:"Opciones"}),(0,a.jsxs)("div",{className:" flex flex-row items-center gap-3",children:[(0,a.jsx)("p",{className:" font-normal",children:"Calidad:"}),(0,a.jsx)("div",{className:" p-3 h-auto w-full pb-8",children:(0,a.jsx)(i.default,{defaultValue:n.get,included:!1,min:1,max:3,marks:{1:"HD",2:"Full HD",3:"4K"},step:null,onChange:function(e){n.set(e),o.set(!0)}})})]})]}),(0,a.jsxs)("div",{className:" flex flex-row items-center gap-3",children:[(0,a.jsx)("p",{className:" font-normal",children:"Visibilidad:"}),(0,a.jsx)("div",{className:" p-3 h-auto w-full",children:(0,a.jsx)(i.default,{defaultValue:t.get,min:.5,max:1,step:1e-4,onChange:function(e){t.set(e)}})}),(0,a.jsxs)("p",{className:"text-xs font-semibold tracking-wider leading-none",children:["%",Number(100*t.get).toFixed(0)]})]})]})}})),o.register("1mIdx",(function(e,n){t(e.exports,"default",(function(){return r}));var r=o("eMexU").default})),o.register("eMexU",(function(e,r){t(e.exports,"default",(function(){return w}));var a=o("ewCAb"),i=o("ilONf"),u=o("6Prf5"),s=o("bh95x"),l=o("bgGuN"),c=o("9W3J2"),f=o("n7ApA"),d=o("c4Ezc"),h=o("jiHnl"),p=o("fwTc5"),g=o("3xyx3"),m=o("juUWj"),v=o("dZLMc"),y=o("kmckx"),b=o("9CBGo");o("cGO1W");var w=l.forwardRef((function(e,t){var r,o=e.prefixCls,w=void 0===o?"rc-slider":o,x=e.className,E=e.style,S=e.disabled,j=void 0!==S&&S,N=e.autoFocus,T=e.onFocus,k=e.onBlur,O=e.min,C=void 0===O?0:O,P=e.max,M=void 0===P?100:P,D=e.step,A=void 0===D?1:D,R=e.value,I=e.defaultValue,L=e.range,U=e.count,B=e.onChange,_=e.onBeforeChange,F=e.onAfterChange,H=e.allowCross,z=void 0===H||H,W=e.pushable,G=void 0!==W&&W,V=e.draggableTrack,q=e.reverse,Y=e.vertical,X=e.included,K=void 0===X||X,J=e.startPoint,Q=e.trackStyle,Z=e.handleStyle,$=e.railStyle,ee=e.dotStyle,te=e.activeDotStyle,ne=e.marks,re=e.dots,oe=e.handleRender,ae=e.tabIndex,ie=void 0===ae?0:ae,ue=e.ariaLabelForHandle,se=e.ariaLabelledByForHandle,le=e.ariaValueTextFormatterForHandle,ce=l.useRef(),fe=l.useRef(),de=l.useMemo((function(){return Y?q?"ttb":"btt":q?"rtl":"ltr"}),[q,Y]),he=l.useMemo((function(){return isFinite(C)?C:0}),[C]),pe=l.useMemo((function(){return isFinite(M)?M:100}),[M]),ge=l.useMemo((function(){return null!==A&&A<=0?1:A}),[A]),me=l.useMemo((function(){return!0===G?ge:G>=0&&G}),[G,ge]),ve=l.useMemo((function(){return Object.keys(ne||{}).map((function(e){var t=ne[e],n={value:Number(e)};return t&&"object"===(0,s.default)(t)&&!l.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n})).filter((function(e){var t=e.label;return t||"number"==typeof t})).sort((function(e,t){return e.value-t.value}))}),[ne]),ye=(0,b.default)(he,pe,ge,ve,z,me),be=(0,u.default)(ye,2),we=be[0],xe=be[1],Ee=(0,d.default)(I,{value:R}),Se=(0,u.default)(Ee,2),je=Se[0],Ne=Se[1],Te=l.useMemo((function(){var e=null==je?[]:Array.isArray(je)?je:[je],t=(0,u.default)(e,1)[0],n=null===je?[]:[void 0===t?he:t];if(L){if(n=(0,i.default)(e),U||void 0===je){var r=U>=0?U+1:2;for(n=n.slice(0,r);n.length<r;){var o;n.push(null!==(o=n[n.length-1])&&void 0!==o?o:he)}}n.sort((function(e,t){return e-t}))}return n.forEach((function(e,t){n[t]=we(e)})),n}),[je,L,he,U,we]),ke=l.useRef(Te);ke.current=Te;var Oe=function(e){return L?e:e[0]},Ce=function(e){var t=(0,i.default)(e).sort((function(e,t){return e-t}));B&&!n(f)(t,ke.current)&&B(Oe(t)),Ne(t)},Pe=function(e){if(!j){var t=0,n=pe-he;Te.forEach((function(r,o){var a=Math.abs(e-r);a<=n&&(n=a,t=o)}));var r=(0,i.default)(Te);r[t]=e,L&&!Te.length&&void 0===U&&r.push(e),null==_||_(Oe(r)),Ce(r),null==F||F(Oe(r))}},Me=l.useState(null),De=(0,u.default)(Me,2),Ae=De[0],Re=De[1];l.useEffect((function(){if(null!==Ae){var e=Te.indexOf(Ae);e>=0&&ce.current.focus(e)}Re(null)}),[Ae]);var Ie=l.useMemo((function(){return(!V||null!==ge)&&V}),[V,ge]),Le=(0,p.default)(fe,de,Te,he,pe,we,Ce,(function(){null==F||F(Oe(ke.current))}),xe),Ue=(0,u.default)(Le,4),Be=Ue[0],_e=Ue[1],Fe=Ue[2],He=Ue[3],ze=function(e,t){He(e,t),null==_||_(Oe(ke.current))},We=-1!==Be;l.useEffect((function(){if(!We){var e=Te.lastIndexOf(_e);ce.current.focus(e)}}),[We]);var Ge=l.useMemo((function(){return(0,i.default)(Fe).sort((function(e,t){return e-t}))}),[Fe]),Ve=l.useMemo((function(){return L?[Ge[0],Ge[Ge.length-1]]:[he,Ge[0]]}),[Ge,L,he]),qe=(0,u.default)(Ve,2),Ye=qe[0],Xe=qe[1];l.useImperativeHandle(t,(function(){return{focus:function(){ce.current.focus(0)},blur:function(){var e=document.activeElement;fe.current.contains(e)&&(null==e||e.blur())}}})),l.useEffect((function(){N&&ce.current.focus(0)}),[]);var Ke=l.useMemo((function(){return{min:he,max:pe,direction:de,disabled:j,step:ge,included:K,includedStart:Ye,includedEnd:Xe,range:L,tabIndex:ie,ariaLabelForHandle:ue,ariaLabelledByForHandle:se,ariaValueTextFormatterForHandle:le}}),[he,pe,de,j,ge,K,Ye,Xe,L,ie,ue,se,le]);return l.createElement(g.default.Provider,{value:Ke},l.createElement("div",{ref:fe,className:n(c)(w,x,(r={},(0,a.default)(r,"".concat(w,"-disabled"),j),(0,a.default)(r,"".concat(w,"-vertical"),Y),(0,a.default)(r,"".concat(w,"-horizontal"),!Y),(0,a.default)(r,"".concat(w,"-with-marks"),ve.length),r)),style:E,onMouseDown:function(e){e.preventDefault();var t,n=fe.current.getBoundingClientRect(),r=n.width,o=n.height,a=n.left,i=n.top,u=n.bottom,s=n.right,l=e.clientX,c=e.clientY;switch(de){case"btt":t=(u-c)/o;break;case"ttb":t=(c-i)/o;break;case"rtl":t=(s-l)/r;break;default:t=(l-a)/r}Pe(we(he+t*(pe-he)))}},l.createElement("div",{className:"".concat(w,"-rail"),style:$}),l.createElement(m.default,{prefixCls:w,style:Q,values:Ge,startPoint:J,onStartMove:Ie?ze:null}),l.createElement(y.default,{prefixCls:w,marks:ve,dots:re,style:ee,activeStyle:te}),l.createElement(h.default,{ref:ce,prefixCls:w,style:Z,values:Fe,draggingIndex:Be,onStartMove:ze,onOffsetChange:function(e,t){if(!j){var n=xe(Te,e,t);null==_||_(Oe(Te)),Ce(n.values),null==F||F(Oe(n.values)),Re(n.value)}},onFocus:T,onBlur:k,handleRender:oe}),l.createElement(v.default,{prefixCls:w,marks:ve,onClick:Pe})))}))})),o.register("ewCAb",(function(e,n){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}t(e.exports,"default",(function(){return r}))})),o.register("ilONf",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("1y71e"),a=o("dlVmS"),i=o("dUztN"),u=o("6T1Uz");function s(e){return(0,r.default)(e)||(0,a.default)(e)||(0,i.default)(e)||(0,u.default)()}})),o.register("1y71e",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("dx4r4");function a(e){if(Array.isArray(e))return(0,r.default)(e)}})),o.register("dx4r4",(function(e,n){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}t(e.exports,"default",(function(){return r}))})),o.register("dlVmS",(function(e,n){function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t(e.exports,"default",(function(){return r}))})),o.register("dUztN",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("dx4r4");function a(e,t){if(e){if("string"==typeof e)return(0,r.default)(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)?(0,r.default)(e,t):void 0}}})),o.register("6T1Uz",(function(e,n){function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t(e.exports,"default",(function(){return r}))})),o.register("6Prf5",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("8YboB"),a=o("02lZQ"),i=o("dUztN"),u=o("cfXlH");function s(e,t){return(0,r.default)(e)||(0,a.default)(e,t)||(0,i.default)(e,t)||(0,u.default)()}})),o.register("8YboB",(function(e,n){function r(e){if(Array.isArray(e))return e}t(e.exports,"default",(function(){return r}))})),o.register("02lZQ",(function(e,n){function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){u=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw o}}return a}}t(e.exports,"default",(function(){return r}))})),o.register("cfXlH",(function(e,n){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.")}t(e.exports,"default",(function(){return r}))})),o.register("bh95x",(function(e,n){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(e.exports,"default",(function(){return r}))})),o.register("9W3J2",(function(e,t){var n=o("8CL7P");
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var i=void 0===a?"undefined":(0,n.default)(a);if("string"===i||"number"===i)e.push(a);else if(Array.isArray(a)){if(a.length){var u=r.apply(null,a);u&&e.push(u)}}else if("object"===i)if(a.toString===Object.prototype.toString)for(var s in a)t.call(a,s)&&a[s]&&e.push(s);else e.push(a.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()})),o.register("n7ApA",(function(e,t){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 a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),s=0;s<a.length;s++){var l=a[s];if(!u(l))return!1;var c=e[l],f=t[l];if(!1===(o=n?n.call(r,c,f,l):void 0)||void 0===o&&c!==f)return!1}return!0}})),o.register("c4Ezc",(function(e,n){t(e.exports,"default",(function(){return d}));var r,a,i=o("6Prf5"),u=o("bgGuN"),s=o("1j2sh"),l=o("fTKrH"),c=o("gtfXG");function f(e){return void 0!==e}function d(e,t){var n=t||{},o=n.defaultValue,a=n.value,d=n.onChange,h=n.postState,p=(0,c.default)((function(){var t,n=void 0;return f(a)?(n=a,t=r.PROP):f(o)?(n="function"==typeof o?o():o,t=r.PROP):(n="function"==typeof e?e():e,t=r.INNER),[n,t,n]})),g=(0,i.default)(p,2),m=g[0],v=g[1],y=f(a)?a:m[0],b=h?h(y):y;(0,l.useLayoutUpdateEffect)((function(){v((function(e){var t=(0,i.default)(e,1)[0];return[a,r.PROP,t]}))}),[a]);var w=u.useRef(),x=(0,s.default)((function(e,t){v((function(t){var n=(0,i.default)(t,3),o=n[0],a=n[1],u=n[2],s="function"==typeof e?e(o):e;if(s===o)return t;var l=a===r.INNER&&w.current!==u?u:o;return[s,r.INNER,l]}),t)})),E=(0,s.default)(d);return(0,l.default)((function(){var e=(0,i.default)(m,3),t=e[0],n=e[1],o=e[2];t!==o&&n===r.INNER&&(E(t,o),w.current=o)}),[m]),[b,x]}(a=r||(r={}))[a.INNER=0]="INNER",a[a.PROP=1]="PROP"})),o.register("1j2sh",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("bgGuN");function a(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}})),o.register("fTKrH",(function(e,n){t(e.exports,"default",(function(){return i})),t(e.exports,"useLayoutUpdateEffect",(function(){return u}));var r=o("bgGuN"),a=(0,o("60TaA").default)()?r.useLayoutEffect:r.useEffect,i=a,u=function(e,t){var n=r.useRef(!0);a((function(){if(!n.current)return e()}),t),a((function(){return n.current=!1,function(){n.current=!0}}),[])}})),o.register("60TaA",(function(e,n){function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}t(e.exports,"default",(function(){return r}))})),o.register("gtfXG",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("6Prf5"),a=o("bgGuN");function i(e){var t=a.useRef(!1),n=a.useState(e),o=(0,r.default)(n,2),i=o[0],u=o[1];return a.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[i,function(e,n){n&&t.current||u(e)}]}})),o.register("jiHnl",(function(e,n){t(e.exports,"default",(function(){return c}));var r=o("cev9o"),a=o("kE0li"),i=o("bgGuN"),u=o("2DwZr"),s=o("646Xz"),l=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],c=i.forwardRef((function(e,t){var n=e.prefixCls,o=e.style,c=e.onStartMove,f=e.onOffsetChange,d=e.values,h=e.handleRender,p=e.draggingIndex,g=(0,a.default)(e,l),m=i.useRef({});return i.useImperativeHandle(t,(function(){return{focus:function(e){var t;null===(t=m.current[e])||void 0===t||t.focus()}}})),i.createElement(i.Fragment,null,d.map((function(e,t){return i.createElement(u.default,(0,r.default)({ref:function(e){e?m.current[t]=e:delete m.current[t]},dragging:p===t,prefixCls:n,style:(0,s.getIndex)(o,t),key:t,value:e,valueIndex:t,onStartMove:c,onOffsetChange:f,render:h},g))})))}))})),o.register("cev9o",(function(e,n){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)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}t(e.exports,"default",(function(){return r}))})),o.register("kE0li",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("iSuVx");function a(e,t){if(null==e)return{};var n,o,a=(0,r.default)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}})),o.register("iSuVx",(function(e,n){function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}t(e.exports,"default",(function(){return r}))})),o.register("2DwZr",(function(e,r){t(e.exports,"default",(function(){return g}));var a=o("cev9o"),i=o("51Aci"),u=o("ewCAb"),s=o("kE0li"),l=o("bgGuN"),c=o("9W3J2"),f=o("2vohw"),d=o("3xyx3"),h=o("646Xz"),p=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],g=l.forwardRef((function(e,t){var r,o,g=e.prefixCls,m=e.value,v=e.valueIndex,y=e.onStartMove,b=e.style,w=e.render,x=e.dragging,E=e.onOffsetChange,S=(0,s.default)(e,p),j=l.useContext(d.default),N=j.min,T=j.max,k=j.direction,O=j.disabled,C=j.range,P=j.tabIndex,M=j.ariaLabelForHandle,D=j.ariaLabelledByForHandle,A=j.ariaValueTextFormatterForHandle,R="".concat(g,"-handle"),I=function(e){O||y(e,v)},L=(0,h.getDirectionStyle)(k,m,N,T),U=l.createElement("div",(0,a.default)({ref:t,className:n(c)(R,(r={},(0,u.default)(r,"".concat(R,"-").concat(v+1),C),(0,u.default)(r,"".concat(R,"-dragging"),x),r)),style:(0,i.default)((0,i.default)({},L),b),onMouseDown:I,onTouchStart:I,onKeyDown:function(e){if(!O){var t=null;switch(e.which||e.keyCode){case f.default.LEFT:t="ltr"===k||"btt"===k?-1:1;break;case f.default.RIGHT:t="ltr"===k||"btt"===k?1:-1;break;case f.default.UP:t="ttb"!==k?1:-1;break;case f.default.DOWN:t="ttb"!==k?-1:1;break;case f.default.HOME:t="min";break;case f.default.END:t="max";break;case f.default.PAGE_UP:t=2;break;case f.default.PAGE_DOWN:t=-2}null!==t&&(e.preventDefault(),E(t,v))}},tabIndex:O?null:(0,h.getIndex)(P,v),role:"slider","aria-valuemin":N,"aria-valuemax":T,"aria-valuenow":m,"aria-disabled":O,"aria-label":(0,h.getIndex)(M,v),"aria-labelledby":(0,h.getIndex)(D,v),"aria-valuetext":null===(o=(0,h.getIndex)(A,v))||void 0===o?void 0:o(m)},S));return w&&(U=w(U,{index:v,prefixCls:g,value:m,dragging:x})),U}))})),o.register("51Aci",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("ewCAb");function a(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=arguments,n=function(n){var o=null!=t[n]?t[n]:{};n%2?a(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))},o=1;o<arguments.length;o++)n(o);return e}})),o.register("2vohw",(function(e,n){t(e.exports,"default",(function(){return o}));var r={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>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},o=r})),o.register("3xyx3",(function(e,n){t(e.exports,"default",(function(){return r}));var r=o("bgGuN").createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0})})),o.register("646Xz",(function(e,n){function r(e,t,n){return(e-t)/(n-t)}function o(e,t,n,o){var a=r(t,n,o),i={};switch(e){case"rtl":i.right="".concat(100*a,"%"),i.transform="translateX(50%)";break;case"btt":i.bottom="".concat(100*a,"%"),i.transform="translateY(50%)";break;case"ttb":i.top="".concat(100*a,"%"),i.transform="translateY(-50%)";break;default:i.left="".concat(100*a,"%"),i.transform="translateX(-50%)"}return i}function a(e,t){return Array.isArray(e)?e[t]:e}t(e.exports,"getOffset",(function(){return r})),t(e.exports,"getDirectionStyle",(function(){return o})),t(e.exports,"getIndex",(function(){return a}))})),o.register("fwTc5",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("ilONf"),a=o("6Prf5"),i=o("bgGuN");function u(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function s(e,t,n,o,s,l,c,f,d){var h=i.useState(null),p=(0,a.default)(h,2),g=p[0],m=p[1],v=i.useState(-1),y=(0,a.default)(v,2),b=y[0],w=y[1],x=i.useState(n),E=(0,a.default)(x,2),S=E[0],j=E[1],N=i.useState(n),T=(0,a.default)(N,2),k=T[0],O=T[1],C=i.useRef(null),P=i.useRef(null);i.useEffect((function(){-1===b&&j(n)}),[n,b]),i.useEffect((function(){return function(){document.removeEventListener("mousemove",C.current),document.removeEventListener("mouseup",P.current),document.removeEventListener("touchmove",C.current),document.removeEventListener("touchend",P.current)}}),[]);var M=function(e,t){S.some((function(t,n){return t!==e[n]}))&&(void 0!==t&&m(t),j(e),c(e))},D=function(e,t){if(-1===e){var n=k[0],a=k[k.length-1],i=o-n,u=s-a,c=t*(s-o);c=Math.max(c,i),c=Math.min(c,u);var f=l(n+c);c=f-n;var h=k.map((function(e){return e+c}));M(h)}else{var p=(s-o)*t,g=(0,r.default)(S);g[e]=k[e];var m=d(g,p,e,"dist");M(m.values,m.value)}},A=i.useRef(D);A.current=D;var R=i.useMemo((function(){var e=(0,r.default)(n).sort((function(e,t){return e-t})),t=(0,r.default)(S).sort((function(e,t){return e-t}));return e.every((function(e,n){return e===t[n]}))?S:n}),[n,S]);return[b,g,R,function(r,o){r.stopPropagation();var a=n[o];w(o),m(a),O(n);var i=u(r),s=i.pageX,l=i.pageY,c=function(n){n.preventDefault();var r,a=u(n),i=a.pageX,c=a.pageY,f=i-s,d=c-l,h=e.current.getBoundingClientRect(),p=h.width,g=h.height;switch(t){case"btt":r=-d/g;break;case"ttb":r=d/g;break;case"rtl":r=-f/p;break;default:r=f/p}A.current(o,r)},d=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",c),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",c),C.current=null,P.current=null,w(-1),f()};document.addEventListener("mouseup",d),document.addEventListener("mousemove",c),document.addEventListener("touchend",d),document.addEventListener("touchmove",c),C.current=c,P.current=d}]}})),o.register("juUWj",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("bgGuN"),a=o("3xyx3"),i=o("AGBip"),u=o("646Xz");function s(e){var t=e.prefixCls,n=e.style,o=e.values,s=e.startPoint,l=e.onStartMove,c=r.useContext(a.default),f=c.included,d=c.range,h=c.min,p=r.useMemo((function(){if(!d){if(0===o.length)return[];var e=null!=s?s:h,t=o[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],r=0;r<o.length-1;r+=1)n.push({start:o[r],end:o[r+1]});return n}),[o,d,s,h]);return f?p.map((function(e,o){var a=e.start,s=e.end;return r.createElement(i.default,{index:o,prefixCls:t,style:(0,u.getIndex)(n,o),start:a,end:s,key:o,onStartMove:l})})):null}})),o.register("AGBip",(function(e,r){t(e.exports,"default",(function(){return c}));var a=o("51Aci"),i=o("bgGuN"),u=o("9W3J2"),s=o("3xyx3"),l=o("646Xz");function c(e){var t=e.prefixCls,r=e.style,o=e.start,c=e.end,f=e.index,d=e.onStartMove,h=i.useContext(s.default),p=h.direction,g=h.min,m=h.max,v=h.disabled,y=h.range,b="".concat(t,"-track"),w=(0,l.getOffset)(o,g,m),x=(0,l.getOffset)(c,g,m),E=function(e){!v&&d&&d(e,-1)},S={};switch(p){case"rtl":S.right="".concat(100*w,"%"),S.width="".concat(100*x-100*w,"%");break;case"btt":S.bottom="".concat(100*w,"%"),S.height="".concat(100*x-100*w,"%");break;case"ttb":S.top="".concat(100*w,"%"),S.height="".concat(100*x-100*w,"%");break;default:S.left="".concat(100*w,"%"),S.width="".concat(100*x-100*w,"%")}return i.createElement("div",{className:n(u)(b,y&&"".concat(b,"-").concat(f+1)),style:(0,a.default)((0,a.default)({},S),r),onMouseDown:E,onTouchStart:E})}})),o.register("dZLMc",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("bgGuN"),a=o("kQ4aW");function i(e){var t=e.prefixCls,n=e.marks,o=e.onClick,i="".concat(t,"-mark");return n.length?r.createElement("div",{className:i},n.map((function(e){var t=e.value,n=e.style,u=e.label;return r.createElement(a.default,{key:t,prefixCls:i,style:n,value:t,onClick:o},u)}))):null}})),o.register("kQ4aW",(function(e,r){t(e.exports,"default",(function(){return f}));var a=o("51Aci"),i=o("ewCAb"),u=o("bgGuN"),s=o("9W3J2"),l=o("646Xz"),c=o("3xyx3");function f(e){var t=e.prefixCls,r=e.style,o=e.children,f=e.value,d=e.onClick,h=u.useContext(c.default),p=h.min,g=h.max,m=h.direction,v=h.includedStart,y=h.includedEnd,b=h.included,w="".concat(t,"-text"),x=(0,l.getDirectionStyle)(m,f,p,g);return u.createElement("span",{className:n(s)(w,(0,i.default)({},"".concat(w,"-active"),b&&v<=f&&f<=y)),style:(0,a.default)((0,a.default)({},x),r),onMouseDown:function(e){e.stopPropagation()},onClick:function(){d(f)}},o)}})),o.register("kmckx",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("bgGuN"),a=o("3xyx3"),i=o("4dlmw");function u(e){var t=e.prefixCls,n=e.marks,o=e.dots,u=e.style,s=e.activeStyle,l=r.useContext(a.default),c=l.min,f=l.max,d=l.step,h=r.useMemo((function(){var e=new Set;if(n.forEach((function(t){e.add(t.value)})),o&&null!==d)for(var t=c;t<=f;)e.add(t),t+=d;return Array.from(e)}),[c,f,d,o,n]);return r.createElement("div",{className:"".concat(t,"-step")},h.map((function(e){return r.createElement(i.default,{prefixCls:t,key:e,value:e,style:u,activeStyle:s})})))}})),o.register("4dlmw",(function(e,r){t(e.exports,"default",(function(){return f}));var a=o("ewCAb"),i=o("51Aci"),u=o("bgGuN"),s=o("9W3J2"),l=o("646Xz"),c=o("3xyx3");function f(e){var t=e.prefixCls,r=e.value,o=e.style,f=e.activeStyle,d=u.useContext(c.default),h=d.min,p=d.max,g=d.direction,m=d.included,v=d.includedStart,y=d.includedEnd,b="".concat(t,"-dot"),w=m&&v<=r&&r<=y,x=(0,i.default)((0,i.default)({},(0,l.getDirectionStyle)(g,r,h,p)),"function"==typeof o?o(r):o);return w&&(x=(0,i.default)((0,i.default)({},x),"function"==typeof f?f(r):f)),u.createElement("span",{className:n(s)(b,(0,a.default)({},"".concat(b,"-active"),w)),style:x})}})),o.register("9CBGo",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("ilONf"),a=o("bgGuN");function i(e,t,n,o,i,u){var s=a.useCallback((function(n){var r=isFinite(n)?n:e;return r=Math.min(t,n),r=Math.max(e,r)}),[e,t]),l=a.useCallback((function(r){if(null!==n){var o=e+Math.round((s(r)-e)/n)*n,a=function(e){return(String(e).split(".")[1]||"").length},i=Math.max(a(n),a(t),a(e)),u=Number(o.toFixed(i));return e<=u&&u<=t?u:null}return null}),[n,e,t,s]),c=a.useCallback((function(r){var a=s(r),i=o.map((function(e){return e.value}));null!==n&&i.push(l(r)),i.push(e,t);var u=i[0],c=t-e;return i.forEach((function(e){var t=Math.abs(a-e);t<=c&&(u=e,c=t)})),u}),[e,t,o,n,s,l]),f=function a(i,u,s){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof u){var f,d=i[s],h=d+u,p=[];o.forEach((function(e){p.push(e.value)})),p.push(e,t),p.push(l(d));var g=u>0?1:-1;"unit"===c?p.push(l(d+g*n)):p.push(l(h)),p=p.filter((function(e){return null!==e})).filter((function(e){return u<0?e<=d:e>=d})),"unit"===c&&(p=p.filter((function(e){return e!==d})));var m="unit"===c?d:h;f=p[0];var v=Math.abs(f-m);if(p.forEach((function(e){var t=Math.abs(e-m);t<v&&(f=e,v=t)})),void 0===f)return u<0?e:t;if("dist"===c)return f;if(Math.abs(u)>1){var y=(0,r.default)(i);return y[s]=f,a(y,u-g,s,c)}return f}return"min"===u?e:"max"===u?t:void 0},d=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",o=e[n],a=f(e,t,n,r);return{value:a,changed:a!==o}},h=function(e){return null===u&&0===e||"number"==typeof u&&e<u};return[c,function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(c),a=o[n],s=f(o,t,n,r);if(o[n]=s,!1===i){var l=u||0;n>0&&o[n-1]!==a&&(o[n]=Math.max(o[n],o[n-1]+l)),n<o.length-1&&o[n+1]!==a&&(o[n]=Math.min(o[n],o[n+1]-l))}else if("number"==typeof u||null===u){for(var p=n+1;p<o.length;p+=1)for(var g=!0;h(o[p]-o[p-1])&&g;){var m=d(o,1,p);o[p]=m.value,g=m.changed}for(var v=n;v>0;v-=1)for(var y=!0;h(o[v]-o[v-1])&&y;){var b=d(o,-1,v-1);o[v-1]=b.value,y=b.changed}for(var w=o.length-1;w>0;w-=1)for(var x=!0;h(o[w]-o[w-1])&&x;){var E=d(o,-1,w-1);o[w-1]=E.value,x=E.changed}for(var S=0;S<o.length-1;S+=1)for(var j=!0;h(o[S+1]-o[S])&&j;){var N=d(o,1,S+1);o[S+1]=N.value,j=N.changed}}return{value:o[n],values:o}}]}})),o.register("cGO1W",(function(e,t){})),o.register("6Lt4P",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("kzx6d");function a(e){var t=e.checked,n=e.onClick,o=e.enabled,a=void 0===o||o,i=e.roundbox,u=void 0!==i&&i;return(0,r.jsx)("div",{onClick:function(){n&&a&&n()},className:"\n ".concat(u?"rounded-full":"rounded","\n group\n w-3.5 h-3.5 cursor-pointer\n transition-all\n shadow hover:shadow-md active:shadow-sm\n outline outline-1 \n ring-1 ring-inset \n active:opacity-90 active:translate-y-0.5\n ").concat(!a&&"grayscale","\n ").concat(t?"bg-blue-500 hover:bg-blue-400 ring-blue-600 hover:ring-blue-500\n outline-neutral-200/0 hover:outline-neutral-300/0":"bg-white/75 ring-white\n outline-neutral-200 hover:outline-neutral-300","\n ")})}})),o.register("gKYmB",(function(e,n){t(e.exports,"ProviderWallpaper",(function(){return c})),t(e.exports,"useWallpaper",(function(){return f}));var r=o("1Az1C"),a=o("4xw6S"),i=o("eoWaN"),u=o("kzx6d"),s=o("bgGuN"),l=(0,s.createContext)(void 0);function c(e){var t=(0,i.default)((0,s.useState)(Number(localStorage.getItem("wallpaper-visibility"))||.75),2),n=t[0],o=t[1];(0,s.useLayoutEffect)((function(){localStorage.setItem("wallpaper-visibility",String(n))}),[n]);var c=(0,i.default)((0,s.useState)(localStorage.getItem("wallpaper-service")||"bing"),2),f=c[0],d=c[1];(0,s.useLayoutEffect)((function(){localStorage.setItem("wallpaper-service",String(f))}),[f]);var h=(0,i.default)((0,s.useState)(Number(localStorage.getItem("wallpaper-quality"))||2),2),p=h[0],g=h[1];(0,s.useLayoutEffect)((function(){localStorage.setItem("wallpaper-quality",String(p))}),[p]);var m=(0,i.default)((0,s.useState)(!0),2),v=m[0],y=m[1],b={Service:{get:f,set:d},Visibility:{get:n,set:o},Quality:{get:p,set:g},Reload:{get:v,set:y}};return(0,u.jsx)(l.Provider,(0,a.default)((0,r.default)({},e),{value:b}))}function f(){return(0,s.useContext)(l)}})),o.register("8O0AD",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("kzx6d"),a=o("b2enW"),i=o("g3Qed"),u=o("cSY3I"),s=o("hJ3hh");function l(){return(0,r.jsxs)("div",{about:"home",className:"z-0 translate-x-0 absolute left-0 right-0 top-0 min-h-screen min-w-full overflow-hidden grid grid-flow-row place-content-center text-white",children:[(0,r.jsx)(s.default,{}),(0,r.jsx)(a.default,{}),(0,r.jsx)(i.default,{}),(0,r.jsx)(u.default,{})]})}})),o.register("b2enW",(function(e,n){t(e.exports,"default",(function(){return f}));var r=o("eoWaN"),a=o("kzx6d"),i=o("bgGuN"),u=o("3NhTK"),s=o("h3Js8"),l=o("eQqkJ"),c=o("4G0TR");function f(){var e=(0,r.default)((0,i.useState)({updateEvery:100}),2),t=e[0],n=(e[1],(0,r.default)((0,i.useState)(""),2)),o=n[0],f=n[1],d=(0,r.default)((0,i.useState)(""),2),h=d[0],p=d[1],g=(0,c.useClock)(),m=g.FormatOptions,v=g.FormatOption,y=g.FormatTop,b=g.FormatBottom;(0,i.useLayoutEffect)((function(){var e=function(){f((0,u.default)(new Date,m[v.get].value.top,{locale:s.default})),p((0,u.default)(new Date,m[v.get].value.bottom,{locale:s.default}),{})};e();var n=setInterval((function(){e()}),t.updateEvery);return function(){clearInterval(n)}}),[y,b]);var w=(0,l.useFonts)().Loaded;return(0,a.jsx)("div",{about:"home-clock",className:" drop-shadow-[0px_2rem_8rem_black] select-none apply-font-dashboard transition-all delay-100 duration-300 ",style:{opacity:w.get?1:0},children:(0,a.jsx)("div",{className:"drop-shadow-[0px_0.5rem_1rem_black]",children:(0,a.jsxs)("div",{className:" flex flex-col place-content-center gap-8",children:[(0,a.jsx)("span",{className:"text-3xl 2xl:text-4xl",children:o}),(0,a.jsx)("span",{className:"text-8xl 2xl:text-9xl",children:h})]})})})}})),o.register("3NhTK",(function(e,n){t(e.exports,"default",(function(){return w}));var r=o("7WHTg"),a=o("hnaCS"),i=o("ldEnR"),u=o("dwvPB"),s=o("dxFQh"),l=o("2IHn4"),c=o("cvDK0"),f=o("ePjce"),d=o("cqhw2"),h=o("2aRyP"),p=o("e3kfL"),g=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,m=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,v=/^'([^]*?)'?$/,y=/''/g,b=/[a-zA-Z]/;function w(e,t,n){var o,v,y,w,E,S,j,N,T,k,O,C,P,M,D,A,R,I;(0,d.default)(2,arguments);var L=String(t),U=(0,h.getDefaultOptions)(),B=null!==(o=null!==(v=null==n?void 0:n.locale)&&void 0!==v?v:U.locale)&&void 0!==o?o:p.default,_=(0,f.default)(null!==(y=null!==(w=null!==(E=null!==(S=null==n?void 0:n.firstWeekContainsDate)&&void 0!==S?S:null==n||null===(j=n.locale)||void 0===j||null===(N=j.options)||void 0===N?void 0:N.firstWeekContainsDate)&&void 0!==E?E:U.firstWeekContainsDate)&&void 0!==w?w:null===(T=U.locale)||void 0===T||null===(k=T.options)||void 0===k?void 0:k.firstWeekContainsDate)&&void 0!==y?y:1);if(!(_>=1&&_<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=(0,f.default)(null!==(O=null!==(C=null!==(P=null!==(M=null==n?void 0:n.weekStartsOn)&&void 0!==M?M:null==n||null===(D=n.locale)||void 0===D||null===(A=D.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==P?P:U.weekStartsOn)&&void 0!==C?C:null===(R=U.locale)||void 0===R||null===(I=R.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==O?O:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!B.localize)throw new RangeError("locale must contain localize property");if(!B.formatLong)throw new RangeError("locale must contain formatLong property");var H=(0,i.default)(e);if(!(0,r.default)(H))throw new RangeError("Invalid time value");var z=(0,l.default)(H),W=(0,a.default)(H,z),G={firstWeekContainsDate:_,weekStartsOn:F,locale:B,_originalDate:H},V=L.match(m).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,s.default[t])(e,B.formatLong):e})).join("").match(g).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return x(r);var a=u.default[o];if(a)return null!=n&&n.useAdditionalWeekYearTokens||!(0,c.isProtectedWeekYearToken)(r)||(0,c.throwProtectedError)(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!(0,c.isProtectedDayOfYearToken)(r)||(0,c.throwProtectedError)(r,t,String(e)),a(W,r,B.localize,G);if(o.match(b))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("");return V}function x(e){var t=e.match(v);return t?t[1].replace(y,"'"):e}})),o.register("7WHTg",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("ARvDz"),a=o("ldEnR"),i=o("cqhw2");function u(e){if((0,i.default)(1,arguments),!(0,r.default)(e)&&"number"!=typeof e)return!1;var t=(0,a.default)(e);return!isNaN(Number(t))}})),o.register("ARvDz",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("cqhw2");function a(e){return(0,r.default)(1,arguments),e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}})),o.register("cqhw2",(function(e,n){function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}t(e.exports,"default",(function(){return r}))})),o.register("ldEnR",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("cqhw2");function a(e){(0,r.default)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}})),o.register("hnaCS",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("9NyDV"),a=o("cqhw2"),i=o("ePjce");function u(e,t){(0,a.default)(2,arguments);var n=(0,i.default)(t);return(0,r.default)(e,-n)}})),o.register("9NyDV",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("ePjce"),a=o("ldEnR"),i=o("cqhw2");function u(e,t){(0,i.default)(2,arguments);var n=(0,a.default)(e).getTime(),o=(0,r.default)(t);return new Date(n+o)}})),o.register("ePjce",(function(e,n){function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}t(e.exports,"default",(function(){return r}))})),o.register("dwvPB",(function(e,n){t(e.exports,"default",(function(){return w}));var r=o("fWDyL"),a=o("7nYnS"),i=o("2OOUG"),u=o("4llpN"),s=o("afqOC"),l=o("6v1rA"),c=o("a65dN"),f="midnight",d="noon",h="morning",p="afternoon",g="evening",m="night";function v(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=r%60;if(0===a)return n+String(o);var i=t||"";return n+String(o)+i+(0,l.default)(a,2)}function y(e,t){return e%60==0?(e>0?"-":"+")+(0,l.default)(Math.abs(e)/60,2):b(e,t)}function b(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+(0,l.default)(Math.floor(o/60),2)+n+(0,l.default)(o%60,2)}var w={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return c.default.y(e,t)},Y:function(e,t,n,r){var o=(0,s.default)(e,r),a=o>0?o:1-o;if("YY"===t){var i=a%100;return(0,l.default)(i,2)}return"Yo"===t?n.ordinalNumber(a,{unit:"year"}):(0,l.default)(a,t.length)},R:function(e,t){var n=(0,i.default)(e);return(0,l.default)(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return(0,l.default)(n,t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,l.default)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,l.default)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return c.default.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return(0,l.default)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=(0,u.default)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):(0,l.default)(o,t.length)},I:function(e,t,n){var r=(0,a.default)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,l.default)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):c.default.d(e,t)},D:function(e,t,n){var o=(0,r.default)(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):(0,l.default)(o,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return(0,l.default)(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return(0,l.default)(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return(0,l.default)(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?d:0===o?f:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?g:o>=12?p:o>=4?h:m,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return c.default.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):c.default.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.default)(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.default)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):c.default.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):c.default.s(e,t)},S:function(e,t){return c.default.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return y(o);case"XXXX":case"XX":return b(o);default:return b(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return y(o);case"xxxx":case"xx":return b(o);default:return b(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+v(o,":");default:return"GMT"+b(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+v(o,":");default:return"GMT"+b(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e,a=Math.floor(o.getTime()/1e3);return(0,l.default)(a,t.length)},T:function(e,t,n,r){var o=(r._originalDate||e).getTime();return(0,l.default)(o,t.length)}}})),o.register("fWDyL",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("ldEnR"),a=o("cqhw2"),i=864e5;function u(e){(0,a.default)(1,arguments);var t=(0,r.default)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var o=t.getTime(),u=n-o;return Math.floor(u/i)+1}})),o.register("7nYnS",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("ldEnR"),a=o("cTvmt"),i=o("6YiJk"),u=o("cqhw2"),s=6048e5;function l(e){(0,u.default)(1,arguments);var t=(0,r.default)(e),n=(0,a.default)(t).getTime()-(0,i.default)(t).getTime();return Math.round(n/s)+1}})),o.register("cTvmt",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("ldEnR"),a=o("cqhw2");function i(e){(0,a.default)(1,arguments);var t=1,n=(0,r.default)(e),o=n.getUTCDay(),i=(o<t?7:0)+o-t;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}})),o.register("6YiJk",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("2OOUG"),a=o("cTvmt"),i=o("cqhw2");function u(e){(0,i.default)(1,arguments);var t=(0,r.default)(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var o=(0,a.default)(n);return o}})),o.register("2OOUG",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("ldEnR"),a=o("cqhw2"),i=o("cTvmt");function u(e){(0,a.default)(1,arguments);var t=(0,r.default)(e),n=t.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(n+1,0,4),o.setUTCHours(0,0,0,0);var u=(0,i.default)(o),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var l=(0,i.default)(s);return t.getTime()>=u.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}})),o.register("4llpN",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("ldEnR"),a=o("3f8Qn"),i=o("oCaGa"),u=o("cqhw2"),s=6048e5;function l(e,t){(0,u.default)(1,arguments);var n=(0,r.default)(e),o=(0,a.default)(n,t).getTime()-(0,i.default)(n,t).getTime();return Math.round(o/s)+1}})),o.register("3f8Qn",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("ldEnR"),a=o("cqhw2"),i=o("ePjce"),u=o("2aRyP");function s(e,t){var n,o,s,l,c,f,d,h;(0,a.default)(1,arguments);var p=(0,u.getDefaultOptions)(),g=(0,i.default)(null!==(n=null!==(o=null!==(s=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(c=t.locale)||void 0===c||null===(f=c.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==s?s:p.weekStartsOn)&&void 0!==o?o:null===(d=p.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==n?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,r.default)(e),v=m.getUTCDay(),y=(v<g?7:0)+v-g;return m.setUTCDate(m.getUTCDate()-y),m.setUTCHours(0,0,0,0),m}})),o.register("2aRyP",(function(e,n){t(e.exports,"getDefaultOptions",(function(){return o}));var r={};function o(){return r}})),o.register("oCaGa",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("afqOC"),a=o("cqhw2"),i=o("3f8Qn"),u=o("ePjce"),s=o("2aRyP");function l(e,t){var n,o,l,c,f,d,h,p;(0,a.default)(1,arguments);var g=(0,s.getDefaultOptions)(),m=(0,u.default)(null!==(n=null!==(o=null!==(l=null!==(c=null==t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null==t||null===(f=t.locale)||void 0===f||null===(d=f.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:g.firstWeekContainsDate)&&void 0!==o?o:null===(h=g.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1),v=(0,r.default)(e,t),y=new Date(0);y.setUTCFullYear(v,0,m),y.setUTCHours(0,0,0,0);var b=(0,i.default)(y,t);return b}})),o.register("afqOC",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("ldEnR"),a=o("cqhw2"),i=o("3f8Qn"),u=o("ePjce"),s=o("2aRyP");function l(e,t){var n,o,l,c,f,d,h,p;(0,a.default)(1,arguments);var g=(0,r.default)(e),m=g.getUTCFullYear(),v=(0,s.getDefaultOptions)(),y=(0,u.default)(null!==(n=null!==(o=null!==(l=null!==(c=null==t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null==t||null===(f=t.locale)||void 0===f||null===(d=f.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:v.firstWeekContainsDate)&&void 0!==o?o:null===(h=v.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(m+1,0,y),b.setUTCHours(0,0,0,0);var w=(0,i.default)(b,t),x=new Date(0);x.setUTCFullYear(m,0,y),x.setUTCHours(0,0,0,0);var E=(0,i.default)(x,t);return g.getTime()>=w.getTime()?m+1:g.getTime()>=E.getTime()?m:m-1}})),o.register("6v1rA",(function(e,n){function r(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}t(e.exports,"default",(function(){return r}))})),o.register("a65dN",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("6v1rA"),a={y:function(e,t){var n=e.getUTCFullYear(),o=n>0?n:1-n;return(0,r.default)("yy"===t?o%100:o,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):(0,r.default)(n+1,2)},d:function(e,t){return(0,r.default)(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return(0,r.default)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return(0,r.default)(e.getUTCHours(),t.length)},m:function(e,t){return(0,r.default)(e.getUTCMinutes(),t.length)},s:function(e,t){return(0,r.default)(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,o=e.getUTCMilliseconds(),a=Math.floor(o*Math.pow(10,n-3));return(0,r.default)(a,t.length)}}})),o.register("dxFQh",(function(e,n){t(e.exports,"default",(function(){return a}));var r=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},o=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},a={p:o,P:function(e,t){var n,a=e.match(/(P+)(p+)?/)||[],i=a[1],u=a[2];if(!u)return r(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(i,t)).replace("{{time}}",o(u,t))}}})),o.register("2IHn4",(function(e,n){function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}t(e.exports,"default",(function(){return r}))})),o.register("cvDK0",(function(e,n){t(e.exports,"isProtectedDayOfYearToken",(function(){return a})),t(e.exports,"isProtectedWeekYearToken",(function(){return i})),t(e.exports,"throwProtectedError",(function(){return u}));var r=["D","DD"],o=["YY","YYYY"];function a(e){return-1!==r.indexOf(e)}function i(e){return-1!==o.indexOf(e)}function u(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}})),o.register("e3kfL",(function(e,n){t(e.exports,"default",(function(){return r}));var r=o("5RXUE").default})),o.register("5RXUE",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("72F7C"),a=o("aSPbe"),i=o("4sjZE"),u=o("1Ggbt"),s=o("axkJq"),l={code:"en-US",formatDistance:r.default,formatLong:a.default,formatRelative:i.default,localize:u.default,match:s.default,options:{weekStartsOn:0,firstWeekContainsDate:1}}})),o.register("72F7C",(function(e,n){t(e.exports,"default",(function(){return o}));var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},o=function(e,t,n){var o,a=r[e];return o="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o}})),o.register("aSPbe",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("lIQ62"),a={date:(0,r.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}})),o.register("lIQ62",(function(e,n){function r(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}t(e.exports,"default",(function(){return r}))})),o.register("4sjZE",(function(e,n){t(e.exports,"default",(function(){return o}));var r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},o=function(e,t,n,o){return r[e]}})),o.register("1Ggbt",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("ahT5o"),a={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,r.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}})),o.register("ahT5o",(function(e,n){function r(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=null!=n&&n.width?String(n.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var i=e.defaultWidth,u=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[u]||e.values[i]}return r[e.argumentCallback?e.argumentCallback(t):t]}}t(e.exports,"default",(function(){return r}))})),o.register("axkJq",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("6nGfH"),a={ordinalNumber:(0,o("5Pq0y").default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,r.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,r.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}})),o.register("6nGfH",(function(e,n){function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],u=t.match(i);if(!u)return null;var s,l=u[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(c)?a(c,(function(e){return e.test(l)})):o(c,(function(e){return e.test(l)}));s=e.valueCallback?e.valueCallback(f):f,s=n.valueCallback?n.valueCallback(s):s;var d=t.slice(l.length);return{value:s,rest:d}}}function o(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function a(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}t(e.exports,"default",(function(){return r}))})),o.register("5Pq0y",(function(e,n){function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],a=t.match(e.parsePattern);if(!a)return null;var i=e.valueCallback?e.valueCallback(a[0]):a[0];i=n.valueCallback?n.valueCallback(i):i;var u=t.slice(o.length);return{value:i,rest:u}}}t(e.exports,"default",(function(){return r}))})),o.register("h3Js8",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("3tUPm"),a=o("29srm"),i=o("duLSD"),u=o("5yoM4"),s=o("4Q7QJ"),l={code:"es",formatDistance:r.default,formatLong:a.default,formatRelative:i.default,localize:u.default,match:s.default,options:{weekStartsOn:1,firstWeekContainsDate:1}}})),o.register("3tUPm",(function(e,n){t(e.exports,"default",(function(){return o}));var r={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},o=function(e,t,n){var o,a=r[e];return o="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"en "+o:"hace "+o:o}})),o.register("29srm",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("lIQ62"),a={date:(0,r.default)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,r.default)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.default)({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}})),o.register("duLSD",(function(e,n){t(e.exports,"default",(function(){return a}));var r={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},o={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},a=function(e,t,n,a){return 1!==t.getUTCHours()?o[e]:r[e]}})),o.register("5yoM4",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("ahT5o"),a={ordinalNumber:function(e,t){return Number(e)+"º"},era:(0,r.default)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},defaultWidth:"wide"}),quarter:(0,r.default)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,r.default)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:(0,r.default)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,r.default)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})}})),o.register("4Q7QJ",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("5Pq0y"),a=o("6nGfH"),i={ordinalNumber:(0,r.default)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,a.default)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:(0,a.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,a.default)({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:(0,a.default)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,a.default)({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})}})),o.register("g3Qed",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("eoWaN"),a=o("kzx6d"),i=o("bgGuN"),u=o("4Jarh"),s=o("jlPE3");function l(){var e=(0,r.default)((0,i.useState)(!1),2),t=e[0],n=e[1];(0,i.useEffect)((function(){return document.addEventListener("click",(function(){n(!1)}),!0),function(){document.removeEventListener("click",(function(){n(!1)}),!0)}}),[n]);var o=(0,s.useAppsContext)().listApps.filter((function(e){return!1!==e.window.listed})).length;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{about:"icon-apps",className:"absolute z-10 grid items-start justify-end w-screen h-screen p-12 overflow-hidden translate-x-0 pointer-events-auto drop-shadow-xl",children:(0,a.jsx)("div",{onClick:function(){n(!0)},className:"p-3 cursor-pointer rounded-full transition-all "+"".concat(t?"opacity-0 scale-90":"opacity-100 scale-100 hover:bg-white/25"),children:(0,a.jsx)(u.HiViewGrid,{className:"w-10 h-10"})})}),(0,a.jsx)("div",{about:"menu-container",className:"transition-all translate-x-0 h-screen w-screen overflow-hidden absolute z-10 grid items-start justify-end p-10 drop-shadow-xl "+"".concat(t?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"),children:(0,a.jsx)("div",{about:"list-apps",onClick:function(e){e.preventDefault(),e.stopPropagation()},className:"transition-all translate-x-0 z-10 bg-white/50 text-black p-4 rounded grid gap-3 "+"".concat(o<=1?"grid-cols-1 ":"")+"".concat(2===o?"grid-cols-2 ":"")+"".concat(o>=3?"grid-cols-3 ":"")+"".concat(t?"scale-1":"scale-90"),children:(0,a.jsx)(c,{})})})]})}function c(){var e=(0,s.useAppsContext)(),t=e.listApps,n=e.actions;return(0,a.jsx)(a.Fragment,{children:t.map((function(e,t){return(0,a.jsx)("div",{className:"".concat(!1===e.window.listed?"hidden":""),onClick:function(){n.openByName(e.name)},children:(0,a.jsx)(f,{icon:e.icon})},t)}))})}function f(e){var t=e.icon;return(0,a.jsx)("div",{className:"\n w-12 h-12 bg-white/90 hover:bg-white/100 active:bg-neutral-200\n rounded transition-all select-none\n shadow hover:shadow-lg active:shadow-sm active:translate-y-0.5\n grid place-items-center cursor-pointer",children:(0,a.jsx)("div",{className:"w-1/2 h-1/2",children:t})})}})),o.register("cSY3I",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("kzx6d");o("bgGuN"),o("eQqkJ");var a=o("hyEi4"),i=o("eJgbz");function u(){var e=(0,a.useShortcuts)().List,t=(0,i.default)("(min-width: 1536px)");return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"absolute z-10 grid w-screen h-screen grid-flow-col translate-x-0 pointer-events-none place-content-center",children:(0,r.jsx)("div",{className:"grid grid-flow-col "+"".concat(t?" gap-6 mt-[32rem] ":" gap-4 mt-96 "),children:e.get.map((function(e,n){return(0,r.jsxs)("a",{href:e.url,rel:"noopener noreferrer",className:"grid grid-flow-row gap-2 translate-x-0 cursor-pointer pointer-events-none place-content-center place-items-center group "+"".concat(" w-16 h-16 "),children:[(0,r.jsx)("div",{className:"bg-white/30 group-hover:bg-white/50 transition-all rounded-md backdrop-blur-sm pointer-events-auto grid place-content-center shadow-lg shadow-neutral-800/40 "+"".concat(t?" w-16 h-16 ":" w-14 h-14 "),children:(0,r.jsx)("img",{className:"object-cover object-center pointer-events-none select-none drop-shadow-md "+"".concat(t?"w-12 h-12 ":"w-10 h-10 "),src:"https://www.google.com/s2/favicons?domain=".concat(e.iconUrl,"&sz=").concat(t?128:64),alt:""})}),(0,r.jsx)("div",{className:"w-auto h-auto px-6 py-2 transition-all rounded-md shadow-lg opacity-0 pointer-events-none shadow-neutral-800/40 bg-white/30 backdrop-blur-sm backdrop-brightness-0 group-hover:opacity-100 ",children:(0,r.jsx)("span",{className:"text-sm font-normal text-white pointer-events-none drop-shadow-sm whitespace-nowrap",children:e.name})})]},n)}))})})})}})),o.register("eJgbz",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("eoWaN"),a=o("bgGuN");function i(e){var t=(0,r.default)((0,a.useState)(!1),2),n=t[0],o=t[1];return(0,a.useEffect)((function(){var t=window.matchMedia(e);t.matches!==n&&o(t.matches);var r=function(){return o(t.matches)};return window.addEventListener("resize",r),function(){return window.removeEventListener("resize",r)}}),[n,e]),n}})),o.register("hJ3hh",(function(e,r){t(e.exports,"default",(function(){return p}));var a=o("5Lv42"),i=o("eoWaN"),u=o("1hwKC"),s=o("kzx6d"),l=o("70w1s"),c=o("bgGuN"),f=o("gKYmB"),d=o("1kytv"),h=o("8gpfy");function p(){var e=(0,i.default)((0,c.useState)(void 0),2),t=e[0],r=e[1],o=(0,i.default)((0,c.useState)(!1),2),p=o[0],g=o[1],m=(0,i.default)((0,c.useState)(void 0),2),v=m[0],y=m[1],b=(0,f.useWallpaper)(),w=b.Visibility,x=b.Quality,E=b.Reload;return(0,c.useEffect)((function(){var e=new AbortController;function t(){return t=(0,a.default)(n(u).mark((function t(){var o,i,s;return n(u).wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,d.dbKeys)();case 2:return o=t.sent,y(o.includes("wallpaper")),t.next=6,(0,d.dbGet)("wallpaper");case 6:return(i=t.sent)&&r("data:image/jpeg;base64,"+i),s="https://bing.biturl.top/?resolution=".concat(function(){return 1===x.get?1366:2===x.get?1920:(x.get,3840)}(),"&format=json&index=0&mkt=en-US"),t.next=12,n(l)(s,{signal:e.signal}).then(function(){var e=(0,a.default)(n(u).mark((function e(t){return n(u).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t&&t.data&&t.data.url&&(localStorage.getItem("wallpaper-lasturl")===t.data.url||(y(!1),g(!1),(0,h.urlToBase64)(t.data.url).then((function(e){r("data:image/jpeg;base64,"+e),(0,d.dbSet)("wallpaper",e),localStorage.setItem("wallpaper-lasturl",t.data.url),g(!0)}))));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){}));case 12:case"end":return t.stop()}}),t)}))),t.apply(this,arguments)}!0===E.get&&(!function(){t.apply(this,arguments)}(),E.set(!1))}),[E.get]),(0,s.jsxs)("div",{about:"home-wallpaper",className:"translate-x-0 z-0 absolute left-0 right-0 top-0 h-screen overflow-hidden bg-black pointer-events-none select-none",children:[(0,s.jsx)("img",{onLoad:function(){g(!0)},style:{opacity:p?"".concat(w.get):"0",transform:p?"scale(1)":"scale(1.25)"},className:"absolute w-full h-full object-cover object-center transition-all translate-x-0 z-0 duration-1000",src:t,alt:""}),(0,s.jsxs)("div",{className:"absolute w-auto h-16 bottom-0 left-4 grid grid-flow-col items-center gap-4 place-items-center transition-all "+"".concat(p&&"opacity-0"),children:[(0,s.jsx)("div",{className:" h-1/2 aspect-square rounded-full border-4 border-white/50 border-t-white animate-spin"}),!1===v&&(0,s.jsx)("p",{children:"Descargando nueva imagen..."})]})]})}})),o.register("70w1s",(function(e,t){e.exports=o("doB4x")})),o.register("doB4x",(function(e,t){"use strict";var n=o("2mbdl"),r=o("aih59"),a=o("cPVvC"),i=o("4CUIk");var u=function e(t){var o=new a(t),u=r(a.prototype.request,o);return n.extend(u,a.prototype,o),n.extend(u,o),u.create=function(n){return e(i(t,n))},u}(o("j4fJI"));u.Axios=a,u.CanceledError=o("6nTwp"),u.CancelToken=o("b7jbo"),u.isCancel=o("cuueM"),u.VERSION=o("gypKh").version,u.toFormData=o("gfUE2"),u.AxiosError=o("hIr1H"),u.Cancel=u.CanceledError,u.all=function(e){return Promise.all(e)},u.spread=o("dkmHn"),u.isAxiosError=o("b5WN8"),e.exports=u,e.exports.default=u})),o.register("2mbdl",(function(e,t){"use strict";var n,r=o("aih59"),a=Object.prototype.toString,i=(n=Object.create(null),function(e){var t=a.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function u(e){return e=e.toLowerCase(),function(t){return i(t)===e}}function s(e){return Array.isArray(e)}function l(e){return void 0===e}var c=u("ArrayBuffer");function f(e){return null!==e&&"object"==typeof e}function d(e){if("object"!==i(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var h=u("Date"),p=u("File"),g=u("Blob"),m=u("FileList");function v(e){return"[object Function]"===a.call(e)}var y=u("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),s(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var w,x=(w="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return w&&e instanceof w});e.exports={isArray:s,isArrayBuffer:c,isBuffer:function(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||a.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:f,isPlainObject:d,isUndefined:l,isDate:h,isFile:p,isBlob:g,isFunction:v,isStream:function(e){return f(e)&&v(e.pipe)},isURLSearchParams:y,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:b,merge:function e(){for(var t=function(t,r){d(n[r])&&d(t)?n[r]=e(n[r],t):d(t)?n[r]=e({},t):s(t)?n[r]=t.slice():n[r]=t},n={},r=0,o=arguments.length;r<o;r++)b(arguments[r],t);return n},extend:function(e,t,n){return b(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var r,o,a,i={};t=t||{};do{for(o=(r=Object.getOwnPropertyNames(e)).length;o-- >0;)i[a=r[o]]||(t[a]=e[a],i[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:i,kindOfTest:u,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;var t=e.length;if(l(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:x,isFileList:m}})),o.register("aih59",(function(e,t){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}})),o.register("cPVvC",(function(e,t){"use strict";var n=o("2mbdl"),r=o("2mpH6"),a=o("eFONx"),i=o("61CEc"),u=o("4CUIk"),s=o("5LWcx"),l=o("jehEK"),c=l.validators;function f(e){this.defaults=e,this.interceptors={request:new a,response:new a}}f.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=u(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var a,s=[];if(this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)})),!o){var f=[i,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(s),a=Promise.resolve(t);f.length;)a=a.then(f.shift(),f.shift());return a}for(var d=t;r.length;){var h=r.shift(),p=r.shift();try{d=h(d)}catch(e){p(e);break}}try{a=i(d)}catch(e){return Promise.reject(e)}for(;s.length;)a=a.then(s.shift(),s.shift());return a},f.prototype.getUri=function(e){e=u(this.defaults,e);var t=s(e.baseURL,e.url);return r(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,n){return this.request(u(n||{},{method:e,url:t,data:(n||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){var t=function(t){return function(n,r,o){return this.request(u(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}};f.prototype[e]=t(),f.prototype[e+"Form"]=t(!0)})),e.exports=f})),o.register("2mpH6",(function(e,t){"use strict";var n=o("2mbdl");function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,o){if(!t)return e;var a;if(o)a=o(t);else if(n.isURLSearchParams(t))a=t.toString();else{var i=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),i.push(r(t)+"="+r(e))})))})),a=i.join("&")}if(a){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}})),o.register("eFONx",(function(e,t){"use strict";var n=o("2mbdl");function r(){this.handlers=[]}r.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r})),o.register("61CEc",(function(e,t){"use strict";var n=o("2mbdl"),r=o("eZD2Y"),a=o("cuueM"),i=o("j4fJI"),u=o("6nTwp");function s(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new u}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=r.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return s(e),t.data=r.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(s(e),t&&t.response&&(t.response.data=r.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}})),o.register("eZD2Y",(function(e,t){"use strict";var n=o("2mbdl"),r=o("j4fJI");e.exports=function(e,t,o){var a=this||r;return n.forEach(o,(function(n){e=n.call(a,e,t)})),e}})),o.register("j4fJI",(function(e,t){"use strict";var n=o("diTYl"),r=o("2mbdl"),a=o("9g2Tc"),i=o("hIr1H"),u=o("dw6Cz"),s=o("gfUE2"),l={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var f,d={transitional:u,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==n&&"[object process]"===Object.prototype.toString.call(n))&&(f=o("8RDDX")),f),transformRequest:[function(e,t){if(a(t,"Accept"),a(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e))return e;if(r.isArrayBufferView(e))return e.buffer;if(r.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,o=r.isObject(e),i=t&&t["Content-Type"];if((n=r.isFileList(e))||o&&"multipart/form-data"===i){var u=this.env&&this.env.FormData;return s(n?{"files[]":e}:e,u&&new u)}return o||"application/json"===i?(c(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i.from(e,i.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:o("gEGXJ")},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){d.headers[e]=r.merge(l)})),e.exports=d})),o.register("9g2Tc",(function(e,t){"use strict";var n=o("2mbdl");e.exports=function(e,t){n.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}})),o.register("hIr1H",(function(e,t){"use strict";var n=o("2mbdl");function r(e,t,n,r,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}n.inherits(r,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var a=r.prototype,i={};["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"].forEach((function(e){i[e]={value:e}})),Object.defineProperties(r,i),Object.defineProperty(a,"isAxiosError",{value:!0}),r.from=function(e,t,o,i,u,s){var l=Object.create(a);return n.toFlatObject(e,l,(function(e){return e!==Error.prototype})),r.call(l,e.message,t,o,i,u),l.name=e.name,s&&Object.assign(l,s),l},e.exports=r})),o.register("dw6Cz",(function(e,t){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}})),o.register("gfUE2",(function(e,t){"use strict";var n=o("hR7yv").Buffer,r=o("2mbdl");e.exports=function(e,t){var o=function(e){return null===e?"":r.isDate(e)?e.toISOString():r.isArrayBuffer(e)||r.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):n.from(e):e};t=t||new FormData;var a=[];return function e(n,i){if(r.isPlainObject(n)||r.isArray(n)){if(-1!==a.indexOf(n))throw Error("Circular reference detected in "+i);a.push(n),r.forEach(n,(function(n,a){if(!r.isUndefined(n)){var u,s=i?i+"."+a:a;if(n&&!i&&"object"==typeof n)if(r.endsWith(a,"{}"))n=JSON.stringify(n);else if(r.endsWith(a,"[]")&&(u=r.toArray(n)))return void u.forEach((function(e){!r.isUndefined(e)&&t.append(s,o(e))}));e(n,s)}})),a.pop()}else t.append(i,o(n))}(e),t}})),o.register("hR7yv",(function(e,n){t(e.exports,"Buffer",(function(){return r}),(function(e){return r=e})),t(e.exports,"INSPECT_MAX_BYTES",(function(){return a}),(function(e){return a=e}));var r,a,i=o("eB1zD"),u=o("aIuti"),s=o("bqpAY"),l=o("cgXdC"),c=o("8CL7P"),f=o("eyAQi"),d=o("jCRzA"),h=o("6TIOj"),p="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;r=v,a=50;var g=2147483647;function m(e){if(e>g)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,v.prototype),t}function v(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 w(e)}return y(e,t,n)}function y(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!v.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|j(e,t),r=m(n),o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(oe(e,Uint8Array)){var t=new Uint8Array(e);return E(t.buffer,t.byteOffset,t.byteLength)}return x(e)}(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 "+(void 0===e?"undefined":(0,c.default)(e)));if(oe(e,ArrayBuffer)||e&&oe(e.buffer,ArrayBuffer))return E(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(oe(e,SharedArrayBuffer)||e&&oe(e.buffer,SharedArrayBuffer)))return E(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 v.from(r,t,n);var o=function(e){if(v.isBuffer(e)){var t=0|S(e.length),n=m(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||ae(e.length)?m(0):x(e);if("Buffer"===e.type&&Array.isArray(e.data))return x(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return v.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 "+(void 0===e?"undefined":(0,c.default)(e)))}function b(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 w(e){return b(e),m(e<0?0:0|S(e))}function x(e){for(var t=e.length<0?0:0|S(e.length),n=m(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function E(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,v.prototype),r}function S(e){if(e>=g)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g.toString(16)+" bytes");return 0|e}function j(e,t){if(v.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||oe(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 '+(void 0===e?"undefined":(0,c.default)(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 te(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ne(e).length;default:if(o)return r?-1:te(e).length;t=(""+t).toLowerCase(),o=!0}}function N(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 _(this,t,n);case"utf8":case"utf-8":return I(this,t,n);case"ascii":return U(this,t,n);case"latin1":case"binary":return B(this,t,n);case"base64":return R(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function T(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function k(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),ae(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=v.from(t,r)),v.isBuffer(t))return 0===t.length?-1:O(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):O(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function O(e,t,n,r,o){var a,i=function(e,t){return 1===u?e[t]:e.readUInt16BE(t*u)},u=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;u=2,s/=2,l/=2,n/=2}if(o){var c=-1;for(a=n;a<s;a++)if(i(e,a)===i(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===l)return c*u}else-1!==c&&(a-=a-c),c=-1}else for(n+l>s&&(n=s-l),a=n;a>=0;a--){for(var f=!0,d=0;d<l;d++)if(i(e,a+d)!==i(t,d)){f=!1;break}if(f)return a}return-1}function C(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var a,i=t.length;for(r>i/2&&(r=i/2),a=0;a<r;++a){var u=parseInt(t.substr(2*a,2),16);if(ae(u))return a;e[n+a]=u}return a}function P(e,t,n,r){return re(te(t,e.length-n),e,n,r)}function M(e,t,n,r){return re(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function D(e,t,n,r){return re(ne(t),e,n,r)}function A(e,t,n,r){return re(function(e,t){for(var n,r,o,a=[],i=0;i<e.length&&!((t-=2)<0);++i)r=(n=e.charCodeAt(i))>>8,o=n%256,a.push(o),a.push(r);return a}(t,e.length-n),e,n,r)}function R(e,t,n){return 0===t&&n===e.length?d.fromByteArray(e):d.fromByteArray(e.slice(t,n))}function I(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var a=e[o],i=null,u=a>239?4:a>223?3:a>191?2:1;if(o+u<=n){var s=void 0,l=void 0,c=void 0,f=void 0;switch(u){case 1:a<128&&(i=a);break;case 2:128==(192&(s=e[o+1]))&&(f=(31&a)<<6|63&s)>127&&(i=f);break;case 3:s=e[o+1],l=e[o+2],128==(192&s)&&128==(192&l)&&(f=(15&a)<<12|(63&s)<<6|63&l)>2047&&(f<55296||f>57343)&&(i=f);break;case 4:s=e[o+1],l=e[o+2],c=e[o+3],128==(192&s)&&128==(192&l)&&128==(192&c)&&(f=(15&a)<<18|(63&s)<<12|(63&l)<<6|63&c)>65535&&f<1114112&&(i=f)}}null===i?(i=65533,u=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=u}return function(e){var t=e.length;if(t<=L)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=L));return n}(r)}v.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}}(),v.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(v.prototype,"parent",{enumerable:!0,get:function(){if(v.isBuffer(this))return this.buffer}}),Object.defineProperty(v.prototype,"offset",{enumerable:!0,get:function(){if(v.isBuffer(this))return this.byteOffset}}),v.poolSize=8192,v.from=function(e,t,n){return y(e,t,n)},Object.setPrototypeOf(v.prototype,Uint8Array.prototype),Object.setPrototypeOf(v,Uint8Array),v.alloc=function(e,t,n){return function(e,t,n){return b(e),e<=0?m(e):void 0!==t?"string"==typeof n?m(e).fill(t,n):m(e).fill(t):m(e)}(e,t,n)},v.allocUnsafe=function(e){return w(e)},v.allocUnsafeSlow=function(e){return w(e)},v.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==v.prototype},v.compare=function(e,t){if(oe(e,Uint8Array)&&(e=v.from(e,e.offset,e.byteLength)),oe(t,Uint8Array)&&(t=v.from(t,t.offset,t.byteLength)),!v.isBuffer(e)||!v.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,a=Math.min(n,r);o<a;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},v.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}},v.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return v.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=v.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(oe(a,Uint8Array))o+a.length>r.length?(v.isBuffer(a)||(a=v.from(a)),a.copy(r,o)):Uint8Array.prototype.set.call(r,a,o);else{if(!v.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o)}o+=a.length}return r},v.byteLength=j,v.prototype._isBuffer=!0,v.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)T(this,t,t+1);return this},v.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)T(this,t,t+3),T(this,t+1,t+2);return this},v.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)T(this,t,t+7),T(this,t+1,t+6),T(this,t+2,t+5),T(this,t+3,t+4);return this},v.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?I(this,0,e):N.apply(this,arguments)},v.prototype.toLocaleString=v.prototype.toString,v.prototype.equals=function(e){if(!v.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===v.compare(this,e)},v.prototype.inspect=function(){var e="",t=a;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},p&&(v.prototype[p]=v.prototype.inspect),v.prototype.compare=function(e,t,n,r,o){if(oe(e,Uint8Array)&&(e=v.from(e,e.offset,e.byteLength)),!v.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+(void 0===e?"undefined":(0,c.default)(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 a=(o>>>=0)-(r>>>=0),i=(n>>>=0)-(t>>>=0),u=Math.min(a,i),s=this.slice(r,o),l=e.slice(t,n),f=0;f<u;++f)if(s[f]!==l[f]){a=s[f],i=l[f];break}return a<i?-1:i<a?1:0},v.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},v.prototype.indexOf=function(e,t,n){return k(this,e,t,n,!0)},v.prototype.lastIndexOf=function(e,t,n){return k(this,e,t,n,!1)},v.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 a=!1;;)switch(r){case"hex":return C(this,e,t,n);case"utf8":case"utf-8":return P(this,e,t,n);case"ascii":case"latin1":case"binary":return M(this,e,t,n);case"base64":return D(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},v.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function U(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 B(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 _(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",a=t;a<n;++a)o+=ie[e[a]];return o}function F(e,t,n){for(var r=e.slice(t,n),o="",a=0;a<r.length-1;a+=2)o+=String.fromCharCode(r[a]+256*r[a+1]);return o}function H(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,a){if(!v.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function W(e,t,n,r,o){Q(t,r,o,e,n,7);var a=Number(t&BigInt(4294967295));e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a;var i=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,n}function G(e,t,n,r,o){Q(t,r,o,e,n,7);var a=Number(t&BigInt(4294967295));e[n+7]=a,a>>=8,e[n+6]=a,a>>=8,e[n+5]=a,a>>=8,e[n+4]=a;var i=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=i,i>>=8,e[n+2]=i,i>>=8,e[n+1]=i,i>>=8,e[n]=i,n+8}function V(e,t,n,r,o,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function q(e,t,n,r,o){return t=+t,n>>>=0,o||V(e,0,n,4),h.write(e,t,n,r,23,4),n+4}function Y(e,t,n,r,o){return t=+t,n>>>=0,o||V(e,0,n,8),h.write(e,t,n,r,52,8),n+8}v.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,v.prototype),r},v.prototype.readUintLE=v.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||H(e,t,this.length);for(var r=this[e],o=1,a=0;++a<t&&(o*=256);)r+=this[e+a]*o;return r},v.prototype.readUintBE=v.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||H(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},v.prototype.readUint8=v.prototype.readUInt8=function(e,t){return e>>>=0,t||H(e,1,this.length),this[e]},v.prototype.readUint16LE=v.prototype.readUInt16LE=function(e,t){return e>>>=0,t||H(e,2,this.length),this[e]|this[e+1]<<8},v.prototype.readUint16BE=v.prototype.readUInt16BE=function(e,t){return e>>>=0,t||H(e,2,this.length),this[e]<<8|this[e+1]},v.prototype.readUint32LE=v.prototype.readUInt32LE=function(e,t){return e>>>=0,t||H(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},v.prototype.readUint32BE=v.prototype.readUInt32BE=function(e,t){return e>>>=0,t||H(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},v.prototype.readBigUInt64LE=ue((function(e){Z(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||$(e,this.length-8);var r=t+256*this[++e]+65536*this[++e]+this[++e]*Math.pow(2,24),o=this[++e]+256*this[++e]+65536*this[++e]+n*Math.pow(2,24);return BigInt(r)+(BigInt(o)<<BigInt(32))})),v.prototype.readBigUInt64BE=ue((function(e){Z(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||$(e,this.length-8);var r=t*Math.pow(2,24)+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*Math.pow(2,24)+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(o)})),v.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||H(e,t,this.length);for(var r=this[e],o=1,a=0;++a<t&&(o*=256);)r+=this[e+a]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},v.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||H(e,t,this.length);for(var r=t,o=1,a=this[e+--r];r>0&&(o*=256);)a+=this[e+--r]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*t)),a},v.prototype.readInt8=function(e,t){return e>>>=0,t||H(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},v.prototype.readInt16LE=function(e,t){e>>>=0,t||H(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},v.prototype.readInt16BE=function(e,t){e>>>=0,t||H(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},v.prototype.readInt32LE=function(e,t){return e>>>=0,t||H(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},v.prototype.readInt32BE=function(e,t){return e>>>=0,t||H(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},v.prototype.readBigInt64LE=ue((function(e){Z(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||$(e,this.length-8);var r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*Math.pow(2,24))})),v.prototype.readBigInt64BE=ue((function(e){Z(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||$(e,this.length-8);var r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*Math.pow(2,24)+65536*this[++e]+256*this[++e]+n)})),v.prototype.readFloatLE=function(e,t){return e>>>=0,t||H(e,4,this.length),h.read(this,e,!0,23,4)},v.prototype.readFloatBE=function(e,t){return e>>>=0,t||H(e,4,this.length),h.read(this,e,!1,23,4)},v.prototype.readDoubleLE=function(e,t){return e>>>=0,t||H(e,8,this.length),h.read(this,e,!0,52,8)},v.prototype.readDoubleBE=function(e,t){return e>>>=0,t||H(e,8,this.length),h.read(this,e,!1,52,8)},v.prototype.writeUintLE=v.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,a=0;for(this[t]=255&e;++a<n&&(o*=256);)this[t+a]=e/o&255;return t+n},v.prototype.writeUintBE=v.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,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},v.prototype.writeUint8=v.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},v.prototype.writeUint16LE=v.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},v.prototype.writeUint16BE=v.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},v.prototype.writeUint32LE=v.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},v.prototype.writeUint32BE=v.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},v.prototype.writeBigUInt64LE=ue((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return W(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),v.prototype.writeBigUInt64BE=ue((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return G(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),v.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 a=0,i=1,u=0;for(this[t]=255&e;++a<n&&(i*=256);)e<0&&0===u&&0!==this[t+a-1]&&(u=1),this[t+a]=(e/i>>0)-u&255;return t+n},v.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 a=n-1,i=1,u=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===u&&0!==this[t+a+1]&&(u=1),this[t+a]=(e/i>>0)-u&255;return t+n},v.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},v.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},v.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},v.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},v.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},v.prototype.writeBigInt64LE=ue((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return W(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),v.prototype.writeBigInt64BE=ue((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return G(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),v.prototype.writeFloatLE=function(e,t,n){return q(this,e,t,!0,n)},v.prototype.writeFloatBE=function(e,t,n){return q(this,e,t,!1,n)},v.prototype.writeDoubleLE=function(e,t,n){return Y(this,e,t,!0,n)},v.prototype.writeDoubleBE=function(e,t,n){return Y(this,e,t,!1,n)},v.prototype.copy=function(e,t,n,r){if(!v.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;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),o},v.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&&!v.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 a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var i=v.isBuffer(e)?e:v.from(e,r),u=i.length;if(0===u)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-t;++a)this[a+t]=i[a%u]}return this};var X={};function K(e,t,n){X[e]=function(n){(0,l.default)(o,n);var r=(0,f.default)(o);function o(){var n;return(0,u.default)(this,o),n=r.call(this),Object.defineProperty((0,i.default)(n),"message",{value:t.apply((0,i.default)(n),arguments),writable:!0,configurable:!0}),n.name="".concat(n.name," [").concat(e,"]"),n.stack,delete n.name,n}return(0,s.default)(o,[{key:"code",get:function(){return e},set:function(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}]),o}(n)}function J(e){for(var t="",n=e.length,r="-"===e[0]?1:0;n>=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function Q(e,t,n,r,o,a){if(e>n||e<t){var i,u="bigint"===(void 0===t?"undefined":(0,c.default)(t))?"n":"";throw i=a>3?0===t||t===BigInt(0)?">= 0".concat(u," and < 2").concat(u," ** ").concat(8*(a+1)).concat(u):">= -(2".concat(u," ** ").concat(8*(a+1)-1).concat(u,") and < 2 ** ")+"".concat(8*(a+1)-1).concat(u):">= ".concat(t).concat(u," and <= ").concat(n).concat(u),new X.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,n){Z(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||$(t,e.length-(n+1))}(r,o,a)}function Z(e,t){if("number"!=typeof e)throw new X.ERR_INVALID_ARG_TYPE(t,"number",e)}function $(e,t,n){if(Math.floor(e)!==e)throw Z(e,n),new X.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new X.ERR_BUFFER_OUT_OF_BOUNDS;throw new X.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}K("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),K("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(void 0===t?"undefined":(0,c.default)(t))}),TypeError),K("ERR_OUT_OF_RANGE",(function(e,t,n){var r='The value of "'.concat(e,'" is out of range.'),o=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?o=J(String(n)):"bigint"===(void 0===n?"undefined":(0,c.default)(n))&&(o=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(o=J(o)),o+="n"),r+=" It must be ".concat(t,". Received ").concat(o)}),RangeError);var ee=/[^+/0-9A-Za-z-_]/g;function te(e,t){var n;t=t||1/0;for(var r=e.length,o=null,a=[],i=0;i<r;++i){if((n=e.charCodeAt(i))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&a.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.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;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function ne(e){return d.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(ee,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function re(e,t,n,r){var o;for(o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function oe(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function ae(e){return e!=e}var ie=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}();function ue(e){return"undefined"==typeof BigInt?se:e}function se(){throw new Error("BigInt not supported")}})),o.register("bqpAY",(function(e,n){function r(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 o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}t(e.exports,"default",(function(){return o}))})),o.register("jCRzA",(function(e,n){var r,o;t(e.exports,"toByteArray",(function(){return r}),(function(e){return r=e})),t(e.exports,"fromByteArray",(function(){return o}),(function(e){return o=e})),r=function(e){var t,n,r=f(e),o=r[0],a=r[1],s=new u(function(e,t,n){return 3*(t+n)/4-n}(0,o,a)),l=0,c=a>0?o-4:o;for(n=0;n<c;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=255&t;2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,s[l++]=255&t);1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,s[l++]=t>>8&255,s[l++]=255&t);return s},o=function(e){for(var t,n=e.length,r=n%3,o=[],i=16383,u=0,s=n-r;u<s;u+=i)o.push(d(e,u,u+i>s?s:u+i));1===r?(t=e[n-1],o.push(a[t>>2]+a[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(a[t>>10]+a[t>>4&63]+a[t<<2&63]+"="));return o.join("")};for(var a=[],i=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,c=s.length;l<c;++l)a[l]=s[l],i[s.charCodeAt(l)]=l;function f(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 d(e,t,n){for(var r,o,i=[],u=t;u<n;u+=3)r=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),i.push(a[(o=r)>>18&63]+a[o>>12&63]+a[o>>6&63]+a[63&o]);return i.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63})),o.register("6TIOj",(function(e,n){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var r,o;t(e.exports,"read",(function(){return r}),(function(e){return r=e})),t(e.exports,"write",(function(){return o}),(function(e){return o=e})),r=function(e,t,n,r,o){var a,i,u=8*o-r-1,s=(1<<u)-1,l=s>>1,c=-7,f=n?o-1:0,d=n?-1:1,h=e[t+f];for(f+=d,a=h&(1<<-c)-1,h>>=-c,c+=u;c>0;a=256*a+e[t+f],f+=d,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=r;c>0;i=256*i+e[t+f],f+=d,c-=8);if(0===a)a=1-l;else{if(a===s)return i?NaN:1/0*(h?-1:1);i+=Math.pow(2,r),a-=l}return(h?-1:1)*i*Math.pow(2,a-r)},o=function(e,t,n,r,o,a){var i,u,s,l=8*a-o-1,c=(1<<l)-1,f=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:a-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-i))<1&&(i--,s*=2),(t+=i+f>=1?d/s:d*Math.pow(2,1-f))*s>=2&&(i++,s/=2),i+f>=c?(u=0,i=c):i+f>=1?(u=(t*s-1)*Math.pow(2,o),i+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),i=0));o>=8;e[n+h]=255&u,h+=p,u/=256,o-=8);for(i=i<<o|u,l+=o;l>0;e[n+h]=255&i,h+=p,i/=256,l-=8);e[n+h-p]|=128*g}})),o.register("8RDDX",(function(e,t){"use strict";var n=o("2mbdl"),r=o("cmgYG"),a=o("1eCBL"),i=o("2mpH6"),u=o("5LWcx"),s=o("2abLN"),l=o("bimdM"),c=o("dw6Cz"),f=o("hIr1H"),d=o("6nTwp"),h=o("jJc3B");e.exports=function(e){return new Promise((function(t,o){var p,g=function(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)},m=function(){if(w){var n="getAllResponseHeaders"in w?s(w.getAllResponseHeaders()):null,a={data:b&&"text"!==b&&"json"!==b?w.response:w.responseText,status:w.status,statusText:w.statusText,headers:n,config:e,request:w};r((function(e){t(e),g()}),(function(e){o(e),g()}),a),w=null}},v=e.data,y=e.headers,b=e.responseType;n.isFormData(v)&&n.isStandardBrowserEnv()&&delete y["Content-Type"];var w=new XMLHttpRequest;if(e.auth){var x=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(x+":"+E)}var S=u(e.baseURL,e.url);if(w.open(e.method.toUpperCase(),i(S,e.params,e.paramsSerializer),!0),w.timeout=e.timeout,"onloadend"in w?w.onloadend=m:w.onreadystatechange=function(){w&&4===w.readyState&&(0!==w.status||w.responseURL&&0===w.responseURL.indexOf("file:"))&&setTimeout(m)},w.onabort=function(){w&&(o(new f("Request aborted",f.ECONNABORTED,e,w)),w=null)},w.onerror=function(){o(new f("Network Error",f.ERR_NETWORK,e,w,w)),w=null},w.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),o(new f(t,n.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,w)),w=null},n.isStandardBrowserEnv()){var j=(e.withCredentials||l(S))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;j&&(y[e.xsrfHeaderName]=j)}"setRequestHeader"in w&&n.forEach(y,(function(e,t){void 0===v&&"content-type"===t.toLowerCase()?delete y[t]:w.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(w.withCredentials=!!e.withCredentials),b&&"json"!==b&&(w.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&w.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&w.upload&&w.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){w&&(o(!e||e&&e.type?new d:e),w.abort(),w=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),v||(v=null);var N=h(S);N&&-1===["http","https","file"].indexOf(N)?o(new f("Unsupported protocol "+N+":",f.ERR_BAD_REQUEST,e)):w.send(v)}))}})),o.register("cmgYG",(function(e,t){"use strict";var n=o("hIr1H");e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}})),o.register("1eCBL",(function(e,t){"use strict";var n=o("2mbdl");e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,a,i){var u=[];u.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),n.isString(o)&&u.push("path="+o),n.isString(a)&&u.push("domain="+a),!0===i&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}})),o.register("5LWcx",(function(e,t){"use strict";var n=o("9Hg1S"),r=o("957zH");e.exports=function(e,t){return e&&!n(t)?r(e,t):t}})),o.register("9Hg1S",(function(e,t){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}})),o.register("957zH",(function(e,t){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}})),o.register("2abLN",(function(e,t){"use strict";var n=o("2mbdl"),r=["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"];e.exports=function(e){var t,o,a,i={};return e?(n.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),o=n.trim(e.substr(a+1)),t){if(i[t]&&r.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([o]):i[t]?i[t]+", "+o:o}})),i):i}})),o.register("bimdM",(function(e,t){"use strict";var n,r,a,i,u=o("2mbdl");e.exports=u.isStandardBrowserEnv()?(r=function(e){var t=e;return a&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}},a=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),n=r(window.location.href),function(e){var t=u.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}):function(){return!0}})),o.register("6nTwp",(function(e,t){"use strict";var n=o("hIr1H");function r(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}o("2mbdl").inherits(r,n,{__CANCEL__:!0}),e.exports=r})),o.register("jJc3B",(function(e,t){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}})),o.register("gEGXJ",(function(e,t){e.exports=null})),o.register("cuueM",(function(e,t){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}})),o.register("4CUIk",(function(e,t){"use strict";var n=o("2mbdl");e.exports=function(e,t){var r=function(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t},o=function(o){return n.isUndefined(t[o])?n.isUndefined(e[o])?void 0:r(void 0,e[o]):r(e[o],t[o])},a=function(e){if(!n.isUndefined(t[e]))return r(void 0,t[e])},i=function(o){return n.isUndefined(t[o])?n.isUndefined(e[o])?void 0:r(void 0,e[o]):r(void 0,t[o])},u=function(n){return n in t?r(e[n],t[n]):n in e?r(void 0,e[n]):void 0};t=t||{};var s={},l={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||o,r=t(e);n.isUndefined(r)&&t!==u||(s[e]=r)})),s}})),o.register("jehEK",(function(e,t){var n=o("8CL7P"),r=o("gypKh").version,a=o("hIr1H"),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(r){return(void 0===r?"undefined":(0,n.default)(r))===e||"a"+(t<1?"n ":" ")+e}}));var u={};i.transitional=function(e,t,n){var o=function(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")};return function(n,r,i){if(!1===e)throw new a(o(r," has been removed"+(t?" in "+t:"")),a.ERR_DEPRECATED);return t&&!u[r]&&(u[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,i)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new a("options must be an object",a.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],u=t[i];if(u){var s=e[i],l=void 0===s||u(s,i,e);if(!0!==l)throw new a("option "+i+" must be "+l,a.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new a("Unknown option "+i,a.ERR_BAD_OPTION)}},validators:i}})),o.register("gypKh",(function(e,t){e.exports={version:"0.27.2"}})),o.register("b7jbo",(function(e,t){"use strict";var n=o("6nTwp");function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},r.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},r.source=function(){var e;return{token:new r((function(t){e=t})),cancel:e}},e.exports=r})),o.register("dkmHn",(function(e,t){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}})),o.register("b5WN8",(function(e,t){"use strict";var n=o("2mbdl");e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}})),o.register("1kytv",(function(e,r){t(e.exports,"dbGet",(function(){return s})),t(e.exports,"dbSet",(function(){return c})),t(e.exports,"dbKeys",(function(){return d}));var a=o("5Lv42"),i=o("1hwKC"),u=(0,o("7qaTR").openDB)("keyval-store",1,{upgrade:function(e){e.createObjectStore("keyval")}});function s(e){return l.apply(this,arguments)}function l(){return(l=(0,a.default)(n(i).mark((function e(t){return n(i).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u;case 2:return e.abrupt("return",e.sent.get("keyval",t));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function c(e,t){return f.apply(this,arguments)}function f(){return(f=(0,a.default)(n(i).mark((function e(t,r){return n(i).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u;case 2:return e.abrupt("return",e.sent.put("keyval",r,t));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(){return h.apply(this,arguments)}function h(){return(h=(0,a.default)(n(i).mark((function e(){return n(i).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u;case 2:return e.abrupt("return",e.sent.getAllKeys("keyval"));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}})),o.register("7qaTR",(function(e,r){t(e.exports,"openDB",(function(){return f}));var a=o("5Lv42"),i=o("1Az1C"),u=o("4xw6S"),s=o("xTBlz"),l=o("1hwKC"),c=o("9o5Df");c=o("9o5Df");function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.blocked,o=n.upgrade,a=n.blocking,i=n.terminated,u=indexedDB.open(e,t),s=(0,c.w)(u);return o&&u.addEventListener("upgradeneeded",(function(e){o((0,c.w)(u.result),e.oldVersion,e.newVersion,(0,c.w)(u.transaction))})),r&&u.addEventListener("blocked",(function(){return r()})),s.then((function(e){i&&e.addEventListener("close",(function(){return i()})),a&&e.addEventListener("versionchange",(function(){return a()}))})).catch((function(){})),s}var d=["get","getKey","getAll","getAllKeys","count"],h=["put","add","delete","clear"],p=new Map;function g(e,t){if(e instanceof IDBDatabase&&!(t in e)&&"string"==typeof t){if(p.get(t))return p.get(t);var r=t.replace(/FromIndex$/,""),o=t!==r,i=h.includes(r);if(r in(o?IDBIndex:IDBObjectStore).prototype&&(i||d.includes(r))){var u,c=(u=(0,a.default)(n(l).mark((function e(t){var a,u,c,f,d,h,p=arguments;return n(l).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(a=p.length,u=new Array(a>1?a-1:0),c=1;c<a;c++)u[c-1]=p[c];return d=this.transaction(t,i?"readwrite":"readonly"),h=d.store,o&&(h=h.index(u.shift())),e.next=7,Promise.all([(f=h)[r].apply(f,(0,s.default)(u)),i&&d.done]);case 7:return e.abrupt("return",e.sent[0]);case 8:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)});return p.set(t,c),c}}}(0,c.r)((function(e){return(0,u.default)((0,i.default)({},e),{get:function(t,n,r){return g(t,n)||e.get(t,n,r)},has:function(t,n){return!!g(t,n)||e.has(t,n)}})}))})),o.register("9o5Df",(function(e,n){t(e.exports,"w",(function(){return m})),t(e.exports,"r",(function(){return h}));var r,a,i=o("xTBlz");var u=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap,f=new WeakMap;var d={get:function(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return s.get(e);if("objectStoreNames"===t)return e.objectStoreNames||l.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return m(e[t])},set:function(e,t,n){return e[t]=n,!0},has:function(e,t){return e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e}};function h(e){d=e(d)}function p(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(a||(a=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(v(this),n),m(u.get(this))}:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(e.apply(v(this),n))}: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];var a,u=(a=e).call.apply(a,[v(this),t].concat((0,i.default)(r)));return l.set(u,t.sort?t.sort():[t]),m(u)}}function g(e){return"function"==typeof e?p(e):(e instanceof IDBTransaction&&function(e){if(!s.has(e)){var t=new Promise((function(t,n){var r=function(){e.removeEventListener("complete",o),e.removeEventListener("error",a),e.removeEventListener("abort",a)},o=function(){t(),r()},a=function(){n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",o),e.addEventListener("error",a),e.addEventListener("abort",a)}));s.set(e,t)}}(e),t=e,(r||(r=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((function(e){return t instanceof e}))?new Proxy(e,d):e);var t}function m(e){if(e instanceof IDBRequest)return t=e,(n=new Promise((function(e,n){var r=function(){t.removeEventListener("success",o),t.removeEventListener("error",a)},o=function(){e(m(t.result)),r()},a=function(){n(t.error),r()};t.addEventListener("success",o),t.addEventListener("error",a)}))).then((function(e){e instanceof IDBCursor&&u.set(e,t)})).catch((function(){})),f.set(n,t),n;var t,n;if(c.has(e))return c.get(e);var r=g(e);return r!==e&&(c.set(e,r),f.set(r,e)),r}var v=function(e){return f.get(e)}})),o.register("8gpfy",(function(e,r){t(e.exports,"urlToBase64",(function(){return l}));var a=o("5Lv42"),i=o("1hwKC"),u=o("70w1s"),s=o("hR7yv");function l(e){return c.apply(this,arguments)}function c(){return(c=(0,a.default)(n(i).mark((function e(t){var r;return n(i).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n(u).get(t,{responseType:"arraybuffer"});case 2:return r=e.sent,e.abrupt("return",s.Buffer.from(r.data,"binary").toString("base64"));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}window.Buffer=s.Buffer})),o.register("jlXCm",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("kzx6d");function a(){return(0,r.jsx)("div",{className:"h-auto w-96",children:(0,r.jsxs)("div",{className:"grid items-center w-full h-full grid-flow-row gap-4 px-6 py-8 place-items-center ",children:[(0,r.jsx)("p",{children:"Parece que estás explorando la aplicación desde la web."}),(0,r.jsx)("p",{children:"Puede instalarse desde la siguiente imagen:"}),(0,r.jsx)("a",{className:"w-auto h-16 overflow-hidden bg-white rounded-lg shadow-lg drop-shadow",href:"https://chrome.google.com/webstore/detail/mmjhipiepoichjkhpfbelfjchcacglnl",target:"_blank",rel:"noopener noreferrer",children:(0,r.jsx)("img",{className:"w-full h-full",src:"https://storage.googleapis.com/web-dev-uploads/image/WlD8wC6g8khYWPJUsQceQkhXSlv1/YT2Grfi9vEBa2wAPzhWa.png",alt:"Chrome Web Store link"})}),(0,r.jsx)("p",{children:"A continuación, haga click en el botón:"}),(0,r.jsx)("a",{className:"px-6 py-2 text-base font-normal text-white scale-y-90 bg-blue-600 rounded",href:"https://chrome.google.com/webstore/detail/mmjhipiepoichjkhpfbelfjchcacglnl",target:"_blank",rel:"noopener noreferrer",children:"Añadir a Chrome"})]})})}})),o.register("2TEhH",(function(e,r){t(e.exports,"default",(function(){return f}));var a=o("5Lv42"),i=o("eoWaN"),u=o("1hwKC"),s=o("kzx6d"),l=o("bgGuN"),c=o("dX9AM");function f(){var e=(0,i.default)((0,l.useState)(void 0),2),t=e[0],r=e[1];return(0,l.useEffect)((function(){var e,t=(e=(0,a.default)(n(u).mark((function e(){var t;return n(u).wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o("hqXl8");case 2:t=e.sent,r(t.default());case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)});t()}),[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"p-6 w-96",children:[(0,s.jsx)("p",{className:"p-2 pt-0 pb-4 select-text ",children:"Licencia: MIT - X11"}),(0,s.jsx)(n(c),{className:" w-auto h-48 p-3 select-text bg-white/95 rounded-md shadow-inner shadow-black/[0.01] drop-shadow",children:(0,s.jsxs)("div",{className:"w-full h-full max-w-xs p-3 mx-auto leading-normal text-justify rounded-md ",children:[(0,s.jsx)("p",{className:"pb-3 ",children:"Copyright 2022 Kevin Zaracho"}),(0,s.jsx)("p",{className:"pb-3 ",children:'Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:'}),(0,s.jsx)("p",{className:"pb-3 ",children:"The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."}),(0,s.jsx)("p",{className:"pb-3 ",children:'THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.'})]})}),(0,s.jsx)("div",{className:"grid items-end justify-end h-8 ",children:(0,s.jsxs)("span",{className:"text-xs font-medium",children:["Versión:"," ",(0,s.jsx)("span",{className:"font-semibold",children:t||"..."})]})})]})})}})),o.register("3nstR",(function(e,n){t(e.exports,"default",(function(){return m}));var r=o("eoWaN"),a=o("kzx6d"),i=o("bgGuN"),u=o("57c48"),s=o("6eCrA"),l=o("jlPE3"),c=new URL(o("1IU6K")),f=new URL(o("jsIHw")),d=new URL(o("cZQU0")),h=new URL(o("ec4Pa")),p=new URL(o("28ORq")),g=new URL(o("7cQW5"));function m(){var e=(0,r.default)((0,i.useState)(!1),2),t=e[0],n=e[1],o=(0,r.default)((0,i.useState)([]),2),m=o[0],v=o[1],y=(0,r.default)((0,i.useState)(0),2),b=y[0],w=y[1],x=(0,l.useAppsContext)(),E=x.actions,S=x.lastNews;(0,i.useEffect)((function(){!1===t&&(n(!0),v([(0,a.jsxs)("div",{className:"grid grid-flow-row place-items-center place-content-center gap-4 w-full h-full ",children:[(0,a.jsx)("img",{className:" w-20 h-20 animate-hand",src:c,alt:""}),(0,a.jsx)("span",{className:" font-normal text-2xl",children:"¡Bienvenido!"})]}),(0,a.jsxs)("div",{className:"grid grid-flow-row place-items-center place-content-center gap-4 w-full h-full ",children:[(0,a.jsx)("img",{className:" w-20 h-20",src:p,alt:""}),(0,a.jsxs)("p",{className:"",children:["La idea de esta aplicación es darle a tu"," ",(0,a.jsxs)("span",{className:" font-semibold whitespace-nowrap",children:['"Nueva pestaña"'," "]}),"un estilo limpio, atractivo y útil."]})]}),(0,a.jsxs)("div",{className:"grid grid-flow-row place-items-center place-content-center gap-4 w-full h-full ",children:[(0,a.jsx)("span",{className:"",children:"Puedes personalizar el reloj, la tipografía y los accesos directos."}),(0,a.jsxs)("div",{className:" w-2/3 h-auto grid grid-flow-col justify-around items-center",children:[(0,a.jsx)("img",{className:" w-12 h-12",src:f,alt:""}),(0,a.jsx)("img",{className:" w-12 h-12",src:g,alt:""}),(0,a.jsx)("img",{className:" w-12 h-12",src:h,alt:""})]})]}),(0,a.jsxs)("div",{className:"grid grid-flow-row place-items-center place-content-center gap-4 w-full h-full ",children:[(0,a.jsx)("img",{className:" w-20 h-20",src:d,alt:""}),(0,a.jsxs)("p",{children:["Comienza a explorar, pero recuerda: La aplicación está en construcción. ¡No dudes en"," ",(0,a.jsx)("a",{className:"text-blue-500",href:"mailto:[email protected]?Subject=Hola! Te escribo por Casitapp",target:"_blank",rel:"noopener noreferrer",children:"contactarme"}),"!"]})]})]))}),[t]);return(0,a.jsxs)("div",{className:" w-96 h-auto p-6 grid grid-flow-row place-items-center gap-8 ",children:[(0,a.jsx)("div",{className:" w-full h-full grid grid-flow-col overflow-hidden",children:m.length?m.map((function(e,t){return(0,a.jsx)("div",{className:"w-full h-full transition-all duration-1000 col-start-1 row-start-1 ease-[cubic-bezier(0.34,1.56,0.64,1)] "+"".concat(t===b?"translate-x-0 ":"")+"".concat(t>b?"translate-x-full ":"")+"".concat(t<b?"-translate-x-full ":""),children:e},t)})):(0,a.jsx)("div",{className:" w-full h-full grid place-content-center",children:(0,a.jsx)(s.VscLoading,{className:" w-12 h-12 animate-spin"})})}),(0,a.jsxs)("div",{className:" w-full h-auto grid grid-flow-col justify-around ",children:[(0,a.jsx)(u.default,{onClick:function(){w(b-1>=0?b-1:0)},enabled:0!==b,children:"Volver"}),(0,a.jsx)(u.default,{onClick:function(){b===m.length-1?(E.closeByName("welcome"),localStorage.setItem("app-welcome-last-new",String(S))):w(b+1<=m.length-1?b+1:m.length-1)},enabled:!0,children:b!==m.length-1?"Siguiente":"Finalizar"})]})]})}})),o.register("6eCrA",(function(e,n){t(e.exports,"VscLoading",(function(){return a})),o("exlhp");var r=o("4D5en");function a(e){return(0,r.GenIcon)({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M13.917 7A6.002 6.002 0 0 0 2.083 7H1.071a7.002 7.002 0 0 1 13.858 0h-1.012z"}}]})(e)}})),o.register("1IU6K",(function(e,t){e.exports=o("jMecr").getBundleURL("dGjXq")+o("8t4e8").resolve("cyDqS")})),o.register("jsIHw",(function(e,t){e.exports=o("jMecr").getBundleURL("dGjXq")+o("8t4e8").resolve("2hVve")})),o.register("cZQU0",(function(e,t){e.exports=o("jMecr").getBundleURL("dGjXq")+o("8t4e8").resolve("dyf5p")})),o.register("ec4Pa",(function(e,t){e.exports=o("jMecr").getBundleURL("dGjXq")+o("8t4e8").resolve("3yinr")})),o.register("28ORq",(function(e,t){e.exports=o("jMecr").getBundleURL("dGjXq")+o("8t4e8").resolve("5sytR")})),o.register("7cQW5",(function(e,t){e.exports=o("jMecr").getBundleURL("dGjXq")+o("8t4e8").resolve("axRyV")})),o.register("30Rf6",(function(e,n){t(e.exports,"ProviderGeneral",(function(){return c})),t(e.exports,"useGeneral",(function(){return f}));var r=o("1Az1C"),a=o("4xw6S"),i=o("eoWaN"),u=o("kzx6d"),s=o("bgGuN"),l=(0,s.createContext)(void 0);function c(e){var t=(0,i.default)((0,s.useState)(!("http:"===location.protocol||"https:"===location.protocol)),2),n={installed:{get:t[0],set:t[1]}};return(0,u.jsx)(l.Provider,(0,a.default)((0,r.default)({},e),{value:n}))}function f(){return(0,s.useContext)(l)}})),o.register("aHRrx",(function(e,r){t(e.exports,"AppWithWindow",(function(){return s}));var a=o("kzx6d"),i=o("jlPE3"),u=o("hTeHN");function s(e){var t=e.children,r=(0,i.useAppsContext)().actions;return(0,a.jsx)("div",{className:"w-full h-full grid place-items-center text-sm select-none",children:(0,a.jsx)(n(u),{onStart:function(){r.bringToFrontByName(t.name)},onStop:function(e,n){r.setPositionByName(t.name,n)},position:{x:t.window.position.x,y:t.window.position.y},nodeRef:t.window.nodeRef,bounds:".app-move-max",handle:".app-move-handler",children:(0,a.jsx)("div",{onClick:function(){r.bringToFrontByName(t.name)},ref:t.window.nodeRef,className:"w-auto h-auto",children:(0,a.jsxs)("div",{className:"bg-white/90 ring-white/25 ring-1 ring-inset border border-black/10 shadow-2xl shadow-black/25 backdrop-blur rounded-lg pointer-events-auto transition-all duration-300 "+"".concat(t.window.visible?"scale-100 opacity-100 ":"scale-90 opacity-0 invisible "),children:[(0,a.jsx)(l,{gotFocus:r.getLastzIndex()===t.window.zIndex,displayName:t.window.title,appName:t.name,appIcon:t.icon,canClose:!1!==t.window.canClose}),t.content]})})})})}function l(e){var t=e.displayName,n=void 0===t?String():t,r=e.appName,o=e.appIcon,u=e.gotFocus,s=e.canClose,l=function(e){var t=e.className,n=e.action,r=e.simbol,o=e.simbolColor;return(0,a.jsx)("div",{onClickCapture:n,onMouseUpCapture:n,className:" h-3.5 w-3.5 aspect-square translate-x-0 grid place-content-center cursor-pointer pointer-events-auto rounded-full ring-1 ring-inset transition-all hover:scale-100 active:scale-90 active:translate-y-0.5 active:opacity-75 shadow-none hover:shadow-lg hover:shadow-black/50 hover:z-20 group "+"".concat(t," ").concat(u?"grayscale-0":"grayscale group-hover:grayscale-0"),children:(0,a.jsx)("span",{className:"h-3.5 w-3.5 hidden subpixel-antialiased leading-[0] font-black text-xs translate-x-0 transition-all opacity-0 group-hover:opacity-50"+"".concat(o),children:r})})},c=(0,i.useAppsContext)().actions;return(0,a.jsxs)("div",{className:"relative grid w-full h-10 grid-flow-col px-3 translate-x-0 select-none place-items-center group",children:[(0,a.jsx)("div",{className:"grid items-center justify-start w-full translate-x-0 h-1/2",children:o}),(0,a.jsx)("div",{className:"absolute top-0 left-0 grid w-full h-full translate-x-0 place-content-center app-move-handler active:cursor-move",children:(0,a.jsx)("span",{className:"text-sm font-semibold leading-none opacity-80",children:n})}),(0,a.jsx)("div",{className:"z-10 grid justify-end w-full grid-flow-col gap-1 translate-x-0 pointer-events-none",children:!0===s&&(0,a.jsx)(l,{action:function(e){e.stopPropagation(),c.closeByName(r)},className:"bg-red-400 ring-red-500/25",simbol:"x",simbolColor:"text-red-800"})}),(0,a.jsx)("div",{className:"absolute left-0 top-0 right-0 bottom-0 pointer-events-none border-b border-black/5 transition-all "+"".concat(u&&"shadow-sm group-hover:shadow-lg shadow-black/5 group-hover:shadow-black/5")})]})}})),o.register("hTeHN",(function(e,t){"use strict";var n=o("dRmOb"),r=n.default,a=n.DraggableCore;e.exports=r,e.exports.default=r,e.exports.DraggableCore=a})),o.register("dRmOb",(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(e.exports,"__esModule",{value:!0}),Object.defineProperty(e.exports,"DraggableCore",{enumerable:!0,get:function(){return f.default}}),e.exports.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=g(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}o.default=e,r&&r.set(e,o);return o}(o("bgGuN")),a=p(o("emcMr")),i=p(o("41M5q")),u=p(o("03yRy")),s=o("4taW3"),l=o("cOq8q"),c=o("3mavb"),f=p(o("jBCbw")),d=p(o("8Gohm")),h=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function p(e){return e&&e.__esModule?e:{default:e}}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)}function m(){return m=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},m.apply(this,arguments)}function v(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=arguments,n=function(n){var r=null!=t[n]?t[n]:{};n%2?y(Object(r),!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))},r=1;r<arguments.length;r++)n(r);return e}function w(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,a=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){u=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return x(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 x(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 x(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 E(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 S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function j(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=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return N(this,n)}}function N(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return T(e)}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=function(e){!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&&S(e,t)}(c,e);var t,n,o,a=j(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),O(T(t=a.call(this,e)),"onDragStart",(function(e,n){if((0,d.default)("Draggable: onDragStart: %j",n),!1===t.props.onStart(e,(0,l.createDraggableData)(T(t),n)))return!1;t.setState({dragging:!0,dragged:!0})})),O(T(t),"onDrag",(function(e,n){if(!t.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",n);var r=(0,l.createDraggableData)(T(t),n),o={x:r.x,y:r.y};if(t.props.bounds){var a=o.x,i=o.y;o.x+=t.state.slackX,o.y+=t.state.slackY;var u=w((0,l.getBoundPosition)(T(t),o.x,o.y),2),s=u[0],c=u[1];o.x=s,o.y=c,o.slackX=t.state.slackX+(a-o.x),o.slackY=t.state.slackY+(i-o.y),r.x=o.x,r.y=o.y,r.deltaX=o.x-t.state.x,r.deltaY=o.y-t.state.y}if(!1===t.props.onDrag(e,r))return!1;t.setState(o)})),O(T(t),"onDragStop",(function(e,n){if(!t.state.dragging)return!1;if(!1===t.props.onStop(e,(0,l.createDraggableData)(T(t),n)))return!1;(0,d.default)("Draggable: onDragStop: %j",n);var r={dragging:!1,slackX:0,slackY:0};if(Boolean(t.props.position)){var o=t.props.position,a=o.x,i=o.y;r.x=a,r.y=i}t.setState(r)})),t.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:b({},e.position),slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),t}return t=c,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.position,r=t.prevPropsPosition;return!n||r&&n.x===r.x&&n.y===r.y?null:((0,d.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:b({},n)})}}],(n=[{key:"componentDidMount",value:function(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function(){var e,t,n;return null!==(e=null===(t=this.props)||void 0===t||null===(n=t.nodeRef)||void 0===n?void 0:n.current)&&void 0!==e?e:i.default.findDOMNode(this)}},{key:"render",value:function(){var e,t=this.props,n=(t.axis,t.bounds,t.children),o=t.defaultPosition,a=t.defaultClassName,i=t.defaultClassNameDragging,c=t.defaultClassNameDragged,d=t.position,p=t.positionOffset,g=(t.scale,v(t,h)),y={},w=null,x=!Boolean(d)||this.state.dragging,E=d||o,S={x:(0,l.canDragX)(this)&&x?this.state.x:E.x,y:(0,l.canDragY)(this)&&x?this.state.y:E.y};this.state.isElementSVG?w=(0,s.createSVGTransform)(S,p):y=(0,s.createCSSTransform)(S,p);var j=(0,u.default)(n.props.className||"",a,(O(e={},i,this.state.dragging),O(e,c,this.state.dragged),e));return r.createElement(f.default,m({},g,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),r.cloneElement(r.Children.only(n),{className:j,style:b(b({},n.props.style),y),transform:w}))}}])&&E(t.prototype,n),o&&E(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(r.Component);e.exports.default=C,O(C,"displayName","Draggable"),O(C,"propTypes",b(b({},f.default.propTypes),{},{axis:a.default.oneOf(["both","x","y","none"]),bounds:a.default.oneOfType([a.default.shape({left:a.default.number,right:a.default.number,top:a.default.number,bottom:a.default.number}),a.default.string,a.default.oneOf([!1])]),defaultClassName:a.default.string,defaultClassNameDragging:a.default.string,defaultClassNameDragged:a.default.string,defaultPosition:a.default.shape({x:a.default.number,y:a.default.number}),positionOffset:a.default.shape({x:a.default.oneOfType([a.default.number,a.default.string]),y:a.default.oneOfType([a.default.number,a.default.string])}),position:a.default.shape({x:a.default.number,y:a.default.number}),className:c.dontSetMe,style:c.dontSetMe,transform:c.dontSetMe})),O(C,"defaultProps",b(b({},f.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))})),o.register("03yRy",(function(n,r){function o(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=o(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function a(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=o(e))&&(r&&(r+=" "),r+=t);return r}e(n.exports),t(n.exports,"clsx",(function(){return a})),t(n.exports,"default",(function(){return i}));var i=a})),o.register("4taW3",(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(e.exports,"__esModule",{value:!0}),e.exports.addClassName=h,e.exports.addEvent=function(e,t,n,r){if(!e)return;var o=s({capture:!0},r);e.addEventListener?e.addEventListener(t,n,o):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},e.exports.addUserSelectStyles=function(e){if(!e)return;var t=e.getElementById("react-draggable-style-el");t||((t=e.createElement("style")).type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t));e.body&&h(e.body,"react-draggable-transparent-selection")},e.exports.createCSSTransform=function(e,t){var n=d(e,t,"px");return l({},(0,a.browserPrefixToKey)("transform",a.default),n)},e.exports.createSVGTransform=function(e,t){return d(e,t,"")},e.exports.getTouch=function(e,t){return e.targetTouches&&(0,r.findInArray)(e.targetTouches,(function(e){return t===e.identifier}))||e.changedTouches&&(0,r.findInArray)(e.changedTouches,(function(e){return t===e.identifier}))},e.exports.getTouchIdentifier=function(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},e.exports.getTranslation=d,e.exports.innerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,r.int)(n.paddingTop),t-=(0,r.int)(n.paddingBottom)},e.exports.innerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,r.int)(n.paddingLeft),t-=(0,r.int)(n.paddingRight)},e.exports.matchesSelector=f,e.exports.matchesSelectorAndParentsTo=function(e,t,n){var r=e;do{if(f(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},e.exports.offsetXYFromParent=function(e,t,n){var r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),o=(e.clientX+t.scrollLeft-r.left)/n,a=(e.clientY+t.scrollTop-r.top)/n;return{x:o,y:a}},e.exports.outerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,r.int)(n.borderTopWidth),t+=(0,r.int)(n.borderBottomWidth)},e.exports.outerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,r.int)(n.borderLeftWidth),t+=(0,r.int)(n.borderRightWidth)},e.exports.removeClassName=p,e.exports.removeEvent=function(e,t,n,r){if(!e)return;var o=s({capture:!0},r);e.removeEventListener?e.removeEventListener(t,n,o):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},e.exports.removeUserSelectStyles=function(e){if(!e)return;try{if(e.body&&p(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{var t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}};var r=o("3mavb"),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(o("l1LWY"));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)}function u(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=arguments,n=function(n){var r=null!=t[n]?t[n]:{};n%2?u(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))},r=1;r<arguments.length;r++)n(r);return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c="";function f(e,t){return c||(c=(0,r.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,r.isFunction)(e[t])}))),!!(0,r.isFunction)(e[c])&&e[c](t)}function d(e,t,n){var r=e.x,o=e.y,a="translate(".concat(r).concat(n,",").concat(o).concat(n,")");if(t){var i="".concat("string"==typeof t.x?t.x:t.x+n),u="".concat("string"==typeof t.y?t.y:t.y+n);a="translate(".concat(i,", ").concat(u,")")+a}return a}function h(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function p(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}})),o.register("3mavb",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))},e.exports.findInArray=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},e.exports.int=function(e){return parseInt(e,10)},e.exports.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},e.exports.isNum=function(e){return"number"==typeof e&&!isNaN(e)}})),o.register("l1LWY",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.browserPrefixToKey=o,e.exports.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},e.exports.default=void 0,e.exports.getPrefix=r;var n=["Moz","Webkit","O","ms"];function r(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";var a=null===(e=window.document)||void 0===e||null===(t=e.documentElement)||void 0===t?void 0:t.style;if(!a)return"";if(r in a)return"";for(var i=0;i<n.length;i++)if(o(r,n[i])in a)return n[i];return""}function o(e,t){return t?"".concat(t).concat(function(e){for(var t="",n=!0,r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):"-"===e[r]?n=!0:t+=e[r];return t}(e)):e}var a=r();e.exports.default=a})),o.register("cOq8q",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},e.exports.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},e.exports.createCoreData=function(e,t,r){var o=e.state,i=!(0,n.isNum)(o.lastX),u=a(e);return i?{node:u,deltaX:0,deltaY:0,lastX:t,lastY:r,x:t,y:r}:{node:u,deltaX:t-o.lastX,deltaY:r-o.lastY,lastX:o.lastX,lastY:o.lastY,x:t,y:r}},e.exports.createDraggableData=function(e,t){var n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},e.exports.getBoundPosition=function(e,t,o){if(!e.props.bounds)return[t,o];var i=e.props.bounds;i="string"==typeof i?i:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(i);var u=a(e);if("string"==typeof i){var s,l=u.ownerDocument,c=l.defaultView;if(!((s="parent"===i?u.parentNode:l.querySelector(i))instanceof c.HTMLElement))throw new Error('Bounds selector "'+i+'" could not find an element.');var f=s,d=c.getComputedStyle(u),h=c.getComputedStyle(f);i={left:-u.offsetLeft+(0,n.int)(h.paddingLeft)+(0,n.int)(d.marginLeft),top:-u.offsetTop+(0,n.int)(h.paddingTop)+(0,n.int)(d.marginTop),right:(0,r.innerWidth)(f)-(0,r.outerWidth)(u)-u.offsetLeft+(0,n.int)(h.paddingRight)-(0,n.int)(d.marginRight),bottom:(0,r.innerHeight)(f)-(0,r.outerHeight)(u)-u.offsetTop+(0,n.int)(h.paddingBottom)-(0,n.int)(d.marginBottom)}}(0,n.isNum)(i.right)&&(t=Math.min(t,i.right));(0,n.isNum)(i.bottom)&&(o=Math.min(o,i.bottom));(0,n.isNum)(i.left)&&(t=Math.max(t,i.left));(0,n.isNum)(i.top)&&(o=Math.max(o,i.top));return[t,o]},e.exports.getControlPosition=function(e,t,n){var o="number"==typeof t?(0,r.getTouch)(e,t):null;if("number"==typeof t&&!o)return null;var i=a(n),u=n.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,r.offsetXYFromParent)(o||e,u,n.props.scale)},e.exports.snapToGrid=function(e,t,n){var r=Math.round(t/e[0])*e[0],o=Math.round(n/e[1])*e[1];return[r,o]};var n=o("3mavb"),r=o("4taW3");function a(e){var t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}})),o.register("jBCbw",(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(e.exports,"__esModule",{value:!0}),e.exports.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}o.default=e,r&&r.set(e,o);return o}(o("bgGuN")),a=f(o("emcMr")),i=f(o("41M5q")),u=o("4taW3"),s=o("cOq8q"),l=o("3mavb"),c=f(o("8Gohm"));function f(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function h(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,a=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){u=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(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 p(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 p(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 g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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 v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(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=x(e);if(t){var o=x(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S={start:"touchstart",move:"touchmove",stop:"touchend"},j={start:"mousedown",move:"mousemove",stop:"mouseup"},N=j,T=function(e){!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&&v(e,t)}(l,e);var t,n,o,a=y(l);function l(){var e;g(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return E(w(e=a.call.apply(a,[this].concat(n))),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),E(w(e),"mounted",!1),E(w(e),"handleDragStart",(function(t){if(e.props.onMouseDown(t),!e.props.allowAnyClick&&"number"==typeof t.button&&0!==t.button)return!1;var n=e.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var r=n.ownerDocument;if(!(e.props.disabled||!(t.target instanceof r.defaultView.Node)||e.props.handle&&!(0,u.matchesSelectorAndParentsTo)(t.target,e.props.handle,n)||e.props.cancel&&(0,u.matchesSelectorAndParentsTo)(t.target,e.props.cancel,n))){"touchstart"===t.type&&t.preventDefault();var o=(0,u.getTouchIdentifier)(t);e.setState({touchIdentifier:o});var a=(0,s.getControlPosition)(t,o,w(e));if(null!=a){var i=a.x,l=a.y,f=(0,s.createCoreData)(w(e),i,l);(0,c.default)("DraggableCore: handleDragStart: %j",f),(0,c.default)("calling",e.props.onStart),!1!==e.props.onStart(t,f)&&!1!==e.mounted&&(e.props.enableUserSelectHack&&(0,u.addUserSelectStyles)(r),e.setState({dragging:!0,lastX:i,lastY:l}),(0,u.addEvent)(r,N.move,e.handleDrag),(0,u.addEvent)(r,N.stop,e.handleDragStop))}}})),E(w(e),"handleDrag",(function(t){var n=(0,s.getControlPosition)(t,e.state.touchIdentifier,w(e));if(null!=n){var r=n.x,o=n.y;if(Array.isArray(e.props.grid)){var a=r-e.state.lastX,i=o-e.state.lastY,u=h((0,s.snapToGrid)(e.props.grid,a,i),2);if(a=u[0],i=u[1],!a&&!i)return;r=e.state.lastX+a,o=e.state.lastY+i}var l=(0,s.createCoreData)(w(e),r,o);if((0,c.default)("DraggableCore: handleDrag: %j",l),!1!==e.props.onDrag(t,l)&&!1!==e.mounted)e.setState({lastX:r,lastY:o});else try{e.handleDragStop(new MouseEvent("mouseup"))}catch(t){var f=document.createEvent("MouseEvents");f.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),e.handleDragStop(f)}}})),E(w(e),"handleDragStop",(function(t){if(e.state.dragging){var n=(0,s.getControlPosition)(t,e.state.touchIdentifier,w(e));if(null!=n){var r=n.x,o=n.y;if(Array.isArray(e.props.grid)){var a=r-e.state.lastX||0,i=o-e.state.lastY||0,l=h((0,s.snapToGrid)(e.props.grid,a,i),2);a=l[0],i=l[1],r=e.state.lastX+a,o=e.state.lastY+i}var f=(0,s.createCoreData)(w(e),r,o);if(!1===e.props.onStop(t,f)||!1===e.mounted)return!1;var d=e.findDOMNode();d&&e.props.enableUserSelectHack&&(0,u.removeUserSelectStyles)(d.ownerDocument),(0,c.default)("DraggableCore: handleDragStop: %j",f),e.setState({dragging:!1,lastX:NaN,lastY:NaN}),d&&((0,c.default)("DraggableCore: Removing handlers"),(0,u.removeEvent)(d.ownerDocument,N.move,e.handleDrag),(0,u.removeEvent)(d.ownerDocument,N.stop,e.handleDragStop))}}})),E(w(e),"onMouseDown",(function(t){return N=j,e.handleDragStart(t)})),E(w(e),"onMouseUp",(function(t){return N=j,e.handleDragStop(t)})),E(w(e),"onTouchStart",(function(t){return N=S,e.handleDragStart(t)})),E(w(e),"onTouchEnd",(function(t){return N=S,e.handleDragStop(t)})),e}return t=l,(n=[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.findDOMNode();e&&(0,u.addEvent)(e,S.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.findDOMNode();if(e){var t=e.ownerDocument;(0,u.removeEvent)(t,j.move,this.handleDrag),(0,u.removeEvent)(t,S.move,this.handleDrag),(0,u.removeEvent)(t,j.stop,this.handleDragStop),(0,u.removeEvent)(t,S.stop,this.handleDragStop),(0,u.removeEvent)(e,S.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,u.removeUserSelectStyles)(t)}}},{key:"findDOMNode",value:function(){var e,t,n;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(n=t.nodeRef)||void 0===n?void 0:n.current:i.default.findDOMNode(this)}},{key:"render",value:function(){return r.cloneElement(r.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}])&&m(t.prototype,n),o&&m(t,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(r.Component);e.exports.default=T,E(T,"displayName","DraggableCore"),E(T,"propTypes",{allowAnyClick:a.default.bool,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:a.default.arrayOf(a.default.number),handle:a.default.string,cancel:a.default.string,nodeRef:a.default.object,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,scale:a.default.number,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),E(T,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})})),o.register("8Gohm",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(){}})),o.register("iUoPL",(function(e,n){t(e.exports,"default",(function(){return f}));var r=o("kzx6d"),a=o("jlPE3"),i=o("4G0TR"),u=o("eQqkJ"),s=o("30Rf6"),l=o("hyEi4"),c=o("gKYmB");function f(e){var t=e.children;return(0,r.jsx)(s.ProviderGeneral,{children:(0,r.jsx)(a.AppsProvider,{children:(0,r.jsx)(i.ProviderClock,{children:(0,r.jsx)(u.ProviderFonts,{children:(0,r.jsx)(c.ProviderWallpaper,{children:(0,r.jsx)(l.ProviderShortcuts,{children:t})})})})})})}}))}();