-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.a567c5da.js
22 lines (20 loc) · 241 KB
/
dashboard.a567c5da.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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("iykV4",(function(n,r){e(n.exports),t(n.exports,"default",(function(){return l}));var i=o("i8moy"),a=o("DlR5w"),s=o("2IvJp");function l(){return(0,i.jsx)(s.default,{children:(0,i.jsx)(a.default,{})})}})),o.register("DlR5w",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("i8moy"),i=o("8IfwT");function a(){return(0,r.jsx)("div",{className:"text-center text-black font-retina w-full h-full overflow-hidden antialiased",children:(0,r.jsx)(i.default,{})})}})),o.register("8IfwT",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("i8moy"),i=o("8PfYN"),a=o("58478");function s(){const{listApps:e}=(0,i.useAppsContext)();return(0,r.jsx)(r.Fragment,{children:e.map(((e,t)=>(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)(a.AppWithWindow,{children:e}):e.window.visible&&e.content},t)))})}})),o.register("8PfYN",(function(e,n){t(e.exports,"AppsProvider",(function(){return m})),t(e.exports,"useAppsContext",(function(){return v}));var r=o("i8moy"),i=o("3oc2k"),a=(i=o("3oc2k"),o("e8ZL1")),s=o("hJbqN"),l=o("lKV06"),u=o("h6wxz"),c=o("1jkrZ"),f=o("8kqYR"),d=o("kxoRd"),h=o("2YApT"),p=o("iRc4t");const g=(0,i.createContext)(void 0);function m(e){const[t,n]=(0,i.useState)(3),{installed:o}=(0,p.useGeneral)(),[m,v]=(0,i.useState)([{name:"home",content:(0,r.jsx)(c.default,{}),icon:(0,r.jsx)(a.FcHome,{className:"w-full h-full"}),window:{listed:!1,borders:!1,title:"Inicio",visible:!0,zIndex:0,nodeRef:(0,i.useRef)(void 0),position:{x:0,y:0}}},{name:"configuration",content:(0,r.jsx)(u.default,{}),icon:(0,r.jsx)(a.FcSettings,{className:"w-full h-full"}),window:{borders:!0,title:"Configuración",visible:!1,zIndex:0,nodeRef:(0,i.useRef)(void 0),position:{x:0,y:0}}},{name:"license",content:(0,r.jsx)(d.default,{}),icon:(0,r.jsx)(a.FcRules,{className:"w-full h-full"}),window:{listed:!1,borders:!0,title:"Licencia",visible:!1,zIndex:0,nodeRef:(0,i.useRef)(void 0),position:{x:0,y:0}}},{name:"bookmarks",content:(0,r.jsx)(l.default,{}),icon:(0,r.jsx)(a.FcBookmark,{className:"w-full h-full"}),window:{listed:!0,borders:!0,title:"Marcadores",visible:!1,zIndex:0,nodeRef:(0,i.useRef)(void 0),position:{x:0,y:0}}},{name:"bookmarks-editor",content:(0,r.jsx)(s.default,{}),icon:(0,r.jsx)(a.FcBookmark,{className:"w-full h-full"}),window:{listed:!1,borders:!0,title:"Editor de marcadores",visible:!1,zIndex:0,nodeRef:(0,i.useRef)(void 0),position:{x:0,y:0},onClose:()=>{x("bookmarks")}}},{name:"welcome",content:(0,r.jsx)(h.default,{}),icon:(0,r.jsx)(a.FcInfo,{className:"w-full h-full"}),window:{listed:!1,borders:!0,title:"Introducción",visible:Number(localStorage.getItem("app-welcome-last-new"))<t,zIndex:0,nodeRef:(0,i.useRef)(void 0),position:{x:0,y:0},canClose:!1,onClose:()=>{}}},{name:"installation",content:(0,r.jsx)(f.default,{}),icon:(0,r.jsx)(a.FcInternal,{className:"w-full h-full"}),window:{listed:!o.get,borders:!0,title:"Instalación",visible:!1,zIndex:0,nodeRef:(0,i.useRef)(void 0),position:{x:0,y:0},canClose:!0,onClose:()=>{}}},{name:"unnamed",content:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"p-12 ",children:(0,r.jsx)("p",{className:"p-6 ",children:"Sin contenido..."})})}),icon:(0,r.jsx)(a.FcCancel,{className:"w-full h-full"}),window:{listed:!1,borders:!0,title:"Sin título",visible:!1,zIndex:0,nodeRef:(0,i.useRef)(void 0),position:{x:0,y:0}}}]),y=(0,i.useCallback)((e=>m.findIndex((t=>t.name===e))),[m]),b=(0,i.useCallback)((()=>{let e=0;return m.forEach((t=>{const n=t.window.zIndex;n>e&&(e=n)})),e<0?0:e}),[m]),w=((0,i.useCallback)((()=>{let e=9999;return m.forEach((t=>{const n=t.window.zIndex;n<e&&(e=n)})),e}),[m]),(0,i.useCallback)(((e,t)=>{const n=y(e);if(-1===n)return!1;let r=t||m;r[n].window.zIndex=b()+1;const o=()=>{let e=9999;return r.forEach((t=>{const n=t.window.zIndex;n<e&&(e=n)})),e};if(o()>0)do{for(let e=0;e<=r.length;e++)r[e].window.zIndex=r[e].window.zIndex-1}while(o()>0);if(t)return r;v([...r])}),[m])),x=(0,i.useCallback)((e=>{const t=y(e);if(-1===t)return console.log("cannot find app by name",e),!1;let n=[...m];return!0!==n[t].window.visible&&(n[t].window.visible=!0,n[t].window.position={x:0,y:0},n[t].window.zIndex=b()+1),setTimeout((()=>{const t=w(e,n);n=t,v([...n])}),100),!0}),[m]),S=(0,i.useCallback)((e=>{const t=y(e);if(-1===t)return!1;let n=m;n[t].window.visible=!1,n[t].window.zIndex=0,void 0!==n[t].window.onClose&&n[t].window.onClose(),v([...n])}),[m]),E=(0,i.useCallback)(((e,t)=>{const n=y(e);if(-1===n)return!1;let r=m;const{x:o,y:i}=t;r[n].window.position={x:o,y:i},v([...r])}),[m]),k={listApps:m,actions:{openByName:x,closeByName:S,bringToFrontByName:w,getLastzIndex:b,setPositionByName:E},lastNews:t};return(0,r.jsx)(g.Provider,{...e,value:k})}function v(){return(0,i.useContext)(g)}})),o.register("e8ZL1",(function(e,n){t(e.exports,"FcBookmark",(function(){return i})),t(e.exports,"FcCancel",(function(){return a})),t(e.exports,"FcHome",(function(){return s})),t(e.exports,"FcInfo",(function(){return l})),t(e.exports,"FcInternal",(function(){return u})),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("j122q");var r=o("kvsp4");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:"#F44336",d:"M37,43l-13-6l-13,6V9c0-2.2,1.8-4,4-4h18c2.2,0,4,1.8,4,4V43z"}}]})(e)}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:"#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 s(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 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:"#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 u(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("j122q",(function(e,t){o("9hZYA");var n,r,i=o("kvsp4");o("eMBJP"),n=e.exports,r=i,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("9hZYA",(function(e,t){})),o.register("kvsp4",(function(e,r){t(e.exports,"GenIcon",(function(){return c}),(function(e){return c=e}));var i=o("3oc2k"),a=o("eMBJP"),s=function(){return s=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},s.apply(this,arguments)},l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function u(e){return e&&e.map((function(e,t){return n(i).createElement(e.tag,s({key:t},e.attr),u(e.child))}))}function c(e){return function(t){return n(i).createElement(f,s({attr:s({},e.attr)},t),u(e.child))}}function f(e){var t=function(t){var r,o=e.attr,a=e.size,u=e.title,c=l(e,["attr","size","title"]),f=a||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n(i).createElement("svg",s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,c,{className:r,style:s(s({color:e.color||t.color},t.style),e.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),u&&n(i).createElement("title",null,u),e.children)};return void 0!==a.IconContext?n(i).createElement(a.IconContext.Consumer,null,(function(e){return t(e)})):t(a.DefaultContext)}})),o.register("eMBJP",(function(e,r){t(e.exports,"DefaultContext",(function(){return a})),t(e.exports,"IconContext",(function(){return s}));var i=o("3oc2k"),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},s=n(i).createContext&&n(i).createContext(a)})),o.register("hJbqN",(function(e,r){t(e.exports,"default",(function(){return h}));var i=o("i8moy"),a=o("3oc2k"),s=o("7JLKy"),l=o("e8ZL1"),u=o("83THP"),c=o("9S3Bs"),f=o("8PfYN"),d=o("kkc1y");function h(){const{List:e,editor:t}=(0,c.useShortcuts)(),[r,o]=(0,a.useState)(!1),h=()=>{const e=n(s)(t.new.get.iconUrl)&&n(s)(t.new.get.url),r=t.new.get.iconUrl.startsWith("http://")||t.new.get.iconUrl.startsWith("https://")||t.new.get.url.startsWith("http://")||t.new.get.url.startsWith("https://");return!(!e||!r)},{actions:p}=(0,f.useAppsContext)();return(0,i.jsxs)("div",{className:"grid w-auto h-auto grid-flow-row gap-6 p-6 ",children:[(0,i.jsxs)("div",{className:"grid w-full h-full grid-flow-col grid-cols-3 gap-6 ",children:[(0,i.jsxs)("div",{className:"grid w-full h-full grid-flow-row col-span-2 gap-4 place-content-center",children:[(0,i.jsxs)("div",{className:"grid w-full h-auto grid-flow-row gap-2 place-content-center",children:[(0,i.jsx)("span",{children:"Nombre:"}),(0,i.jsx)(u.default,{placeholder:"Gmail",defaultValue:t.new.get.name,onEnter:e=>{t.new.set({...t.new.get,name:e}),o(!1)}})]}),(0,i.jsxs)("div",{className:"grid w-full h-auto grid-flow-row gap-2 place-content-center",children:[(0,i.jsx)("span",{children:"Link:"}),(0,i.jsx)(u.default,{placeholder:"https://gmail.com",defaultValue:t.new.get.url,onEnter:e=>{t.new.set({...t.new.get,url:e}),o(!1)}})]}),(0,i.jsxs)("div",{className:"grid w-full h-auto grid-flow-row gap-2 place-content-center",children:[(0,i.jsx)("div",{className:"grid grid-flow-col gap-1 place-content-center",children:(0,i.jsx)("span",{children:"Ícono:"})}),(0,i.jsx)(u.default,{placeholder:"https://mail.google.com",defaultValue:t.new.get.iconUrl,onEnter:e=>{t.new.set({...t.new.get,iconUrl:e}),o(!1)}})]})]}),(0,i.jsxs)("div",{className:"grid grid-flow-row gap-2 place-items-center",children:[(0,i.jsxs)("div",{className:"grid gap-2 place-items-center",children:[(0,i.jsx)("span",{children:"Vista previa:"}),(0,i.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(s)(t.new.get.iconUrl)?(0,i.jsxs)(i.Fragment,{children:[(0,i.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,i.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,i.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=${t.new.get.iconUrl}&sz=48`,alt:""})})]}):(0,i.jsx)(l.FcRemoveImage,{className:"w-8 h-8 "})})]}),(0,i.jsxs)("div",{className:"grid max-w-xs grid-flow-row gap-4 text-lg place-content-center",children:[(0,i.jsx)(d.default,{onClick:()=>{h()&&(()=>{let n=e.get,{index:r,...o}=t.new.get;n[t.new.get.index]=o,e.set([...n]),p.closeByName("bookmarks-editor")})(),!h()&&o(!0)},enabled:h(),children:"Guardar"}),(0,i.jsx)(d.default,{color:"red",onClick:()=>{(()=>{let n=e.get;const{index:r,...o}=t.new.get;n.splice(t.new.get.index,1),e.set([...n]),p.closeByName("bookmarks-editor")})(),o(!1)},enabled:!0,children:"Eliminar"})]})]})]}),(0,i.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 "+(r?"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("7JLKy",(function(e,t){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,a.default)(t,u)).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,s,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((s=m.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1;var y=s.split(":"),b=(E=2,function(e){if(Array.isArray(e))return e}(S=y)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(S,E)||function(e,t){if(e){if("string"==typeof e)return l(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)?l(e,t):void 0}}(S,E)||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 S,E;h=m.join("@"),g=null,v=null;var k=h.match(c);k?(d="",v=k[1],g=k[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,i.default)(d)||(0,r.default)(d,t)||v&&(0,i.default)(v,6))&&(d=d||v,!t.host_blacklist||!f(d,t.host_blacklist))};var n=s(o("aLqAD")),r=s(o("g1p3U")),i=s(o("b0vx0")),a=s(o("djgwz"));function s(e){return e&&e.__esModule?e:{default:e}}function l(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 u={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("aLqAD",(function(e,t){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("g1p3U",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e,t){(0,n.default)(e),(t=(0,r.default)(t,a)).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("."),i=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(i))return!1;if(/\s/.test(i))return!1}return!(!t.allow_numeric_tld&&/^\d+$/.test(i))&&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=i(o("aLqAD")),r=i(o("djgwz"));function i(e){return e&&e.__esModule?e:{default:e}}var a={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("djgwz",(function(e,t){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("b0vx0",(function(e,t){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(!s.test(t))return!1;var o=t.split(".").sort((function(e,t){return e-t}));return o[3]<=255}return"6"===n&&!!u.test(t)};var n,r=(n=o("aLqAD"))&&n.__esModule?n:{default:n};var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(i,"[.]){3}").concat(i),s=new RegExp("^".concat(a,"$")),l="(?:[0-9a-fA-F]{1,4})",u=new RegExp("^("+"(?:".concat(l,":){7}(?:").concat(l,"|:)|")+"(?:".concat(l,":){6}(?:").concat(a,"|:").concat(l,"|:)|")+"(?:".concat(l,":){5}(?::").concat(a,"|(:").concat(l,"){1,2}|:)|")+"(?:".concat(l,":){4}(?:(:").concat(l,"){0,1}:").concat(a,"|(:").concat(l,"){1,3}|:)|")+"(?:".concat(l,":){3}(?:(:").concat(l,"){0,2}:").concat(a,"|(:").concat(l,"){1,4}|:)|")+"(?:".concat(l,":){2}(?:(:").concat(l,"){0,3}:").concat(a,"|(:").concat(l,"){1,5}|:)|")+"(?:".concat(l,":){1}(?:(:").concat(l,"){0,4}:").concat(a,"|(:").concat(l,"){1,6}|:)|")+"(?::((?::".concat(l,"){0,5}:").concat(a,"|(?::").concat(l,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");e.exports=e.exports.default,e.exports.default=e.exports.default})),o.register("83THP",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("i8moy"),i=o("3oc2k");function a({defaultValue:e,disabled:t,placeholder:n,onEnter:o,className:a}){const s=(0,i.useRef)(void 0);return s.current&&void 0!==e&&(s.current.value=e),(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 "+a,defaultValue:e,disabled:t,spellCheck:!1,placeholder:n,onKeyUp:e=>{o(e.currentTarget.value)}})}})),o.register("9S3Bs",(function(e,n){t(e.exports,"ProviderShortcuts",(function(){return s})),t(e.exports,"useShortcuts",(function(){return l}));var r=o("i8moy"),i=o("3oc2k");const a=(0,i.createContext)(void 0);function s(e){const[t,n]=(0,i.useState)(JSON.parse(localStorage.getItem("bookmarks-list"))||[]);(0,i.useEffect)((()=>{localStorage.setItem("bookmarks-list",JSON.stringify(t))}),[t]);const[o,s]=(0,i.useState)({name:"",url:"https://",iconUrl:"https://",index:5}),l={List:{get:t,set:n},editor:{new:{get:o,set:s}}};return(0,r.jsx)(a.Provider,{...e,value:l})}function l(){return(0,i.useContext)(a)}})),o.register("kkc1y",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("i8moy");function i({onClick:e=(()=>{}),color:t="blue",textColor:n="white",enabled:o=!0,text:i="empty",className:a="",children:s}){return(0,r.jsx)("div",{onClick:e,className:("blue"===t?"bg-blue-500 from-blue-400/25 active:shadow-blue-900 hover:shadow-blue-900/30 shadow-blue-900/25 ":"")+" "+("red"===t?"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 "+(o?"grayscale-0 ":" grayscale ")+a+" ",children:(0,r.jsx)("span",{className:` drop-shadow-md text-xs font-medium tracking-wide leading-none text-${n}`,children:s})})}})),o.register("lKV06",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("i8moy"),i=o("3oc2k");o("hYTYj");var a=o("hwWEo");function s(){const e=(0,i.useRef)(void 0),[t,n]=(0,i.useState)(0);(0,i.useEffect)((()=>{void 0!==e&&void 0!==e.current&&n(e.current.scrollHeight)}));const[o,s]=(0,i.useState)(!0),[c,f]=(0,i.useState)("application"),[d]=(0,i.useState)([{pageName:"application",displayText:"Esta aplicación",pageContent:(0,r.jsx)(a.default,{})},{pageName:"navigator",displayText:"Del navegador",pageContent:(0,r.jsx)(r.Fragment,{}),enabled:!1}]);function h(e){s(!1),f(e)}return(0,r.jsxs)("div",{className:" w-96 h-full p-6 select-none",children:[(0,r.jsxs)("div",{ref:e,className:" overflow-hidden transition-all duration-500 hidden ",style:{height:o?t:"0",paddingBottom:o?"12px":"0px"},children:[(0,r.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,r.jsx)("div",{className:" w-full h-3 grid items-end",children:(0,r.jsx)("div",{className:" mx-auto w-3/4 border-b border-black/5"})})]}),(0,r.jsx)("div",{className:" place-content-center h-auto w-full gap-3 font-medium hidden",children:d.map((({pageName:e,displayText:t,enabled:n},o)=>{if(!1!==n)return(0,r.jsx)(l,{currentPageName:c,pageName:e,displayText:t,onClick:h},o)}))}),d.map((({pageName:e,pageContent:t},n)=>(0,r.jsx)(u,{visible:c===e,children:t},n)))]})}function l({currentPageName:e,pageName:t,displayText:n,onClick:o}){return(0,r.jsx)("div",{onClick:()=>{o(t)},className:"grid place-content-center w-auto h-auto p-1.5 cursor-pointer "+(t===e?"text-neutral-800 ":"text-blue-600 hover:text-blue-500 "),children:(0,r.jsx)("span",{className:"transition-all duration-300 ",children:n})})}function u({visible:e,children:t}){const n=(0,i.useRef)(void 0),[o,a]=(0,i.useState)(0);return(0,i.useEffect)((()=>{void 0!==n&&void 0!==n.current&&a(n.current.scrollHeight)})),(0,r.jsx)("div",{className:"transition-all duration-500 pt-1 "+(e?" ":"pointer-events-none ")+(e?"scale-100 ":"scale-75 "),style:{height:e?o:"0",opacity:e?1:0},children:(0,r.jsx)("div",{className:"h-full w-full overflow-hidden",ref:n,children:t})})}})),o.register("hYTYj",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.Scrollbars=void 0;var n,r=o("OaCtA"),i=(n=r)&&n.__esModule?n:{default:n};e.exports.default=i.default,e.exports.Scrollbars=i.default})),o.register("OaCtA",(function(e,t){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},r=function(){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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=o("hGnXH"),a=v(i),s=v(o("bgZqj")),l=o("3oc2k"),u=v(o("jrBl3")),c=v(o("bLsdE")),f=v(o("6az0N")),d=v(o("fVUn2")),h=v(o("4dNuh")),p=v(o("iKAji")),g=o("4YfRW"),m=o("lkW4W");function v(e){return e&&e.__esModule?e:{default:e}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(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 w=function(e){function t(e){var n;y(this,t);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var a=b(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this,e].concat(o)));return a.getScrollLeft=a.getScrollLeft.bind(a),a.getScrollTop=a.getScrollTop.bind(a),a.getScrollWidth=a.getScrollWidth.bind(a),a.getScrollHeight=a.getScrollHeight.bind(a),a.getClientWidth=a.getClientWidth.bind(a),a.getClientHeight=a.getClientHeight.bind(a),a.getValues=a.getValues.bind(a),a.getThumbHorizontalWidth=a.getThumbHorizontalWidth.bind(a),a.getThumbVerticalHeight=a.getThumbVerticalHeight.bind(a),a.getScrollLeftForOffset=a.getScrollLeftForOffset.bind(a),a.getScrollTopForOffset=a.getScrollTopForOffset.bind(a),a.scrollLeft=a.scrollLeft.bind(a),a.scrollTop=a.scrollTop.bind(a),a.scrollToLeft=a.scrollToLeft.bind(a),a.scrollToTop=a.scrollToTop.bind(a),a.scrollToRight=a.scrollToRight.bind(a),a.scrollToBottom=a.scrollToBottom.bind(a),a.handleTrackMouseEnter=a.handleTrackMouseEnter.bind(a),a.handleTrackMouseLeave=a.handleTrackMouseLeave.bind(a),a.handleHorizontalTrackMouseDown=a.handleHorizontalTrackMouseDown.bind(a),a.handleVerticalTrackMouseDown=a.handleVerticalTrackMouseDown.bind(a),a.handleHorizontalThumbMouseDown=a.handleHorizontalThumbMouseDown.bind(a),a.handleVerticalThumbMouseDown=a.handleVerticalThumbMouseDown.bind(a),a.handleWindowResize=a.handleWindowResize.bind(a),a.handleScroll=a.handleScroll.bind(a),a.handleDrag=a.handleDrag.bind(a),a.handleDragEnd=a.handleDragEnd.bind(a),a.state={didMountUniversal:!1},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof 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),r(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,i.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,i=e.scrollWidth,a=void 0===i?0:i,s=e.scrollHeight,l=void 0===s?0:s,u=e.clientWidth,c=void 0===u?0:u,f=e.clientHeight,d=void 0===f?0:f;return{left:n/(a-c)||0,top:o/(l-d)||0,scrollLeft:n,scrollTop:o,scrollWidth:a,scrollHeight:l,clientWidth:c,clientHeight:d}}},{key:"getThumbHorizontalWidth",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,o=r.scrollWidth,i=r.clientWidth,a=(0,h.default)(this.trackHorizontal),s=Math.ceil(i/o*a);return a<=s?0:t||Math.max(s,n)}},{key:"getThumbVerticalHeight",value:function(){var e=this.props,t=e.thumbSize,n=e.thumbMinSize,r=this.view,o=r.scrollHeight,i=r.clientHeight,a=(0,p.default)(this.trackVertical),s=Math.ceil(i/o*a);return a<=s?0:t||Math.max(s,n)}},{key:"getScrollLeftForOffset",value:function(e){var t=this.view,n=t.scrollWidth,r=t.clientWidth;return e/((0,h.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,p.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,f.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,f.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,f.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(),i=Math.abs(r-n)-o/2;this.view.scrollLeft=this.getScrollLeftForOffset(i)}},{key:"handleVerticalTrackMouseDown",value:function(e){e.preventDefault();var t=e.target,n=e.clientY,r=t.getBoundingClientRect().top,o=this.getThumbVerticalHeight(),i=Math.abs(r-n)-o/2;this.view.scrollTop=this.getScrollTopForOffset(i)}},{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,s.default)(document.body,g.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=d.default}},{key:"teardownDragging",value:function(){(0,s.default)(document.body,g.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,s.default)(this.trackHorizontal,{opacity:1}),(0,s.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,s.default)(e.trackHorizontal,{opacity:0}),(0,s.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&&a.default.cancel(this.requestFrame),this.requestFrame=(0,a.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,f.default)()){var i=o.scrollLeft,a=o.clientWidth,l=o.scrollWidth,u=(0,h.default)(this.trackHorizontal),c=this.getThumbHorizontalWidth(),d={width:c,transform:"translateX("+i/(l-a)*(u-c)+"px)"},g=o.scrollTop,m=o.clientHeight,v=o.scrollHeight,y=(0,p.default)(this.trackVertical),b=this.getThumbVerticalHeight(),w={height:b,transform:"translateY("+g/(v-m)*(y-b)+"px)"};if(r){var x={visibility:l>a?"visible":"hidden"},S={visibility:v>m?"visible":"hidden"};(0,s.default)(this.trackHorizontal,x),(0,s.default)(this.trackVertical,S)}(0,s.default)(this.thumbHorizontal,d),(0,s.default)(this.thumbVertical,w)}n&&n(o),"function"==typeof e&&e(o)}},{key:"render",value:function(){var e=this,t=(0,f.default)(),r=this.props,o=(r.onScroll,r.onScrollFrame,r.onScrollStart,r.onScrollStop,r.onUpdate,r.renderView),i=r.renderTrackHorizontal,a=r.renderTrackVertical,s=r.renderThumbHorizontal,u=r.renderThumbVertical,d=r.tagName,h=(r.hideTracksWhenNotNeeded,r.autoHide),p=(r.autoHideTimeout,r.autoHideDuration),m=(r.thumbSize,r.thumbMinSize,r.universal),v=r.autoHeight,y=r.autoHeightMin,b=r.autoHeightMax,w=r.style,x=r.children,S=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}(r,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),E=this.state.didMountUniversal,k=n({},g.containerStyleDefault,v&&n({},g.containerStyleAutoHeight,{minHeight:y,maxHeight:b}),w),j=n({},g.viewStyleDefault,{marginRight:t?-t:0,marginBottom:t?-t:0},v&&n({},g.viewStyleAutoHeight,{minHeight:(0,c.default)(y)?"calc("+y+" + "+t+"px)":y+t,maxHeight:(0,c.default)(b)?"calc("+b+" + "+t+"px)":b+t}),v&&m&&!E&&{minHeight:y,maxHeight:b},m&&!E&&g.viewStyleUniversalInitial),T={transition:"opacity "+p+"ms",opacity:0},N=n({},g.trackHorizontalStyleDefault,h&&T,(!t||m&&!E)&&{display:"none"}),O=n({},g.trackVerticalStyleDefault,h&&T,(!t||m&&!E)&&{display:"none"});return(0,l.createElement)(d,n({},S,{style:k,ref:function(t){e.container=t}}),[(0,l.cloneElement)(o({style:j}),{key:"view",ref:function(t){e.view=t}},x),(0,l.cloneElement)(i({style:N}),{key:"trackHorizontal",ref:function(t){e.trackHorizontal=t}},(0,l.cloneElement)(s({style:g.thumbHorizontalStyleDefault}),{ref:function(t){e.thumbHorizontal=t}})),(0,l.cloneElement)(a({style:O}),{key:"trackVertical",ref:function(t){e.trackVertical=t}},(0,l.cloneElement)(u({style:g.thumbVerticalStyleDefault}),{ref:function(t){e.thumbVertical=t}}))])}}]),t}(l.Component);e.exports.default=w,w.propTypes={onScroll:u.default.func,onScrollFrame:u.default.func,onScrollStart:u.default.func,onScrollStop:u.default.func,onUpdate:u.default.func,renderView:u.default.func,renderTrackHorizontal:u.default.func,renderTrackVertical:u.default.func,renderThumbHorizontal:u.default.func,renderThumbVertical:u.default.func,tagName:u.default.string,thumbSize:u.default.number,thumbMinSize:u.default.number,hideTracksWhenNotNeeded:u.default.bool,autoHide:u.default.bool,autoHideTimeout:u.default.number,autoHideDuration:u.default.number,autoHeight:u.default.bool,autoHeightMin:u.default.oneOfType([u.default.number,u.default.string]),autoHeightMax:u.default.oneOfType([u.default.number,u.default.string]),universal:u.default.bool,style:u.default.object,children:u.default.node},w.defaultProps={renderView:m.renderViewDefault,renderTrackHorizontal:m.renderTrackHorizontalDefault,renderTrackVertical:m.renderTrackVerticalDefault,renderThumbHorizontal:m.renderThumbHorizontalDefault,renderThumbVertical:m.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}})),o.register("hGnXH",(function(e,t){for(var n=o("2obVH"),i="undefined"==typeof window?r:window,a=["moz","webkit"],s="AnimationFrame",l=i.requestAnimationFrame,u=i.cancelAnimationFrame||i.cancelRequestAnimationFrame,c=0;!l&&c<a.length;c++)l=i[a[c]+"Request"+s],u=i[a[c]+"Cancel"+s]||i[a[c]+"CancelRequest"+s];if(!l||!u){var f=0,d=0,h=[];l=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},u=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return l.call(i,e)},e.exports.cancel=function(){u.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=l,e.cancelAnimationFrame=u}})),o.register("2obVH",(function(e,t){var n=o("6Qhbv");(function(){var t,r,o,i,a,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=n&&n.hrtime?(e.exports=function(){return(t()-a)/1e6},r=n.hrtime,i=(t=function(){var e;return 1e9*(e=r())[0]+e[1]})(),s=1e9*n.uptime(),a=i-s):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("6Qhbv",(function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!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:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,u=[],c=!1,f=-1;function d(){c&&l&&(c=!1,l.length?u=l.concat(u):f=-1,u.length&&h())}function h(){if(!c){var e=s(d);c=!0;for(var t=u.length;t;){for(l=u,u=[];++f<t;)l&&l[f].run();f=-1,t=u.length}l=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!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];u.push(new p(e,t)),1!==u.length||c||s(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("bgZqj",(function(e,t){var n=o("a53ot"),r=o("2nGl6"),i={float:"cssFloat"},a=o("9QX07");function s(e,t,o){var s=i[t];if(void 0===s&&(s=function(e){var t=r(e),o=n(t);return i[t]=i[e]=i[o]=o,o}(t)),s){if(void 0===o)return e.style[s];e.style[s]=a(s,o)}}function l(e,t){for(var n in t)t.hasOwnProperty(n)&&s(e,n,t[n])}function u(){2===arguments.length?"string"==typeof arguments[1]?arguments[0].style.cssText=arguments[1]:l(arguments[0],arguments[1]):s(arguments[0],arguments[1],arguments[2])}e.exports=u,e.exports.set=u,e.exports.get=function(e,t){return Array.isArray(t)?t.reduce((function(t,n){return t[n]=s(e,n||""),t}),{}):s(e,t||"")}})),o.register("a53ot",(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),i=r.length;i>=0;i--){var a=r[i]+o;if(a in t)return a}return!1}})),o.register("2nGl6",(function(e,t){var n=o("3gkYp");e.exports=function(e){return n(e).replace(/\s(\w)/g,(function(e,t){return t.toUpperCase()}))}})),o.register("3gkYp",(function(e,t){var n=o("hZTLn");e.exports=function(e){return n(e).replace(/[\W_]+(.|$)/g,(function(e,t){return t?" "+t:""})).trim()}})),o.register("hZTLn",(function(e,t){e.exports=function(e){return n.test(e)?e.toLowerCase():r.test(e)?(function(e){return e.replace(i,(function(e,t){return t?" "+t:""}))}(e)||e).toLowerCase():o.test(e)?function(e){return e.replace(a,(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 i=/[\W_]+(.|$)/g;var a=/(.)([A-Z]+)/g})),o.register("9QX07",(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("jrBl3",(function(e,t){e.exports=o("bBcdU")()})),o.register("bBcdU",(function(e,t){var n=o("8e4fV");function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var 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:i,resetWarningCache:r};return o.PropTypes=o,o}})),o.register("8e4fV",(function(e,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"})),o.register("bLsdE",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(e){return"string"==typeof e}})),o.register("6az0N",(function(e,t){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!==a)return a;if("undefined"!=typeof document){var t=document.createElement("div");(0,i.default)(t,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(t),a=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}else a=0;return a||0};var n,r=o("bgZqj"),i=(n=r)&&n.__esModule?n:{default:n};var a=!1})),o.register("fVUn2",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(){return!1}})),o.register("4dNuh",(function(e,t){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("iKAji",(function(e,t){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("4YfRW",(function(e,t){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("lkW4W",(function(e,t){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 a.default.createElement("div",e)},e.exports.renderTrackHorizontalDefault=function(e){var t=e.style,r=s(e,["style"]),o=n({},t,{right:2,bottom:2,left:2,borderRadius:3});return a.default.createElement("div",n({style:o},r))},e.exports.renderTrackVerticalDefault=function(e){var t=e.style,r=s(e,["style"]),o=n({},t,{right:2,bottom:2,top:2,borderRadius:3});return a.default.createElement("div",n({style:o},r))},e.exports.renderThumbHorizontalDefault=function(e){var t=e.style,r=s(e,["style"]),o=n({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return a.default.createElement("div",n({style:o},r))},e.exports.renderThumbVerticalDefault=function(e){var t=e.style,r=s(e,["style"]),o=n({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return a.default.createElement("div",n({style:o},r))};var r,i=o("3oc2k"),a=(r=i)&&r.__esModule?r:{default:r};function s(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("hwWEo",(function(e,r){t(e.exports,"default",(function(){return f}));var i=o("i8moy"),a=o("9S3Bs"),s=o("e8ZL1"),l=o("hYTYj"),u=o("3oc2k"),c=o("8PfYN");function f(){const{List:e,editor:t}=(0,a.useShortcuts)(),[r,o]=(0,u.useState)(0),[s,f]=(0,u.useState)(0),{actions:h}=(0,c.useAppsContext)();return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"w-full h-48 overflow-hidden rounded-xl",children:(0,i.jsx)(n(l),{onUpdate:e=>{const{scrollTop:t,scrollHeight:n,clientHeight:r}=e,i=.05*Math.min(t,20),a=n-r,s=.05*(a-Math.max(t,a-20));o(i),f(s)},children:(0,i.jsxs)("div",{className:"relative w-full h-full ",children:[(0,i.jsxs)("div",{className:"grid place-items-center grid-flow-row w-full h-full "+(0===e.get.length?"grid-cols-1 ":"")+(1===e.get.length?"grid-cols-2 ":"")+(e.get.length>1?"grid-cols-3 ":""),children:[e.get.map(((n,r)=>(0,i.jsx)(d,{bookmark:n,onClick:()=>{(n=>{let r={};r={...e.get[n],index:n},t.new.set(r),h.openByName("bookmarks-editor"),h.closeByName("bookmarks")})(r)}},r))),(0,i.jsx)(d,{onClick:()=>{t.new.set({name:"",url:"",iconUrl:"",index:e.get.length}),h.openByName("bookmarks-editor"),h.closeByName("bookmarks")},editor:!0})]}),(0,i.jsx)("div",{style:{opacity:r},className:"fixed top-0 w-full h-4 bg-gradient-to-b from-black/25 to-transparent"}),(0,i.jsx)("div",{style:{opacity:s},className:"fixed bottom-0 w-full h-4 bg-gradient-to-t from-black/25 to-transparent"})]})})})})}function d({bookmark:e,onClick:t,editor:n=!1}){return(0,i.jsxs)("div",{onClick:()=>{t&&t()},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:[n&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.FcPlus,{className:"object-cover object-center w-8 h-8 drop-shadow-md"})}),e&&(0,i.jsx)(i.Fragment,{children:(0,i.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=${e.iconUrl}&sz=48`,alt:""})})]})}})),o.register("h6wxz",(function(e,n){t(e.exports,"default",(function(){return c}));var r=o("i8moy"),i=o("3oc2k");o("8PfYN");var a=o("1rDzb"),s=o("9BXwv"),l=o("899uJ"),u=o("ieg1j");function c(){const e=(0,i.useRef)(void 0),[t,n]=(0,i.useState)(0);(0,i.useEffect)((()=>{void 0!==e&&void 0!==e.current&&n(e.current.scrollHeight)}),[]);const[o,c]=(0,i.useState)(!0),[h,p]=(0,i.useState)("none"),[g]=(0,i.useState)([{pageName:"general",displayText:"General",pageContent:(0,r.jsx)(l.default,{})},{pageName:"clock",displayText:"Reloj",pageContent:(0,r.jsx)(a.default,{})},{pageName:"wallpaper",displayText:"Fondo",pageContent:(0,r.jsx)(u.default,{})},{pageName:"fonts",displayText:"Fuentes",pageContent:(0,r.jsx)(s.default,{})}]);function m(e){c(!1),p(e)}return(0,r.jsxs)("div",{className:" w-full h-full p-6 select-none",children:[(0,r.jsxs)("div",{ref:e,className:" overflow-hidden transition-all duration-500",style:{height:o?t:"0",paddingBottom:o?"12px":"0px"},children:[(0,r.jsx)("p",{className:"max-w-xs mx-auto opacity-80",children:"A continuación, se muestran las opciones disponibles para personalizar tu tablero:"}),(0,r.jsx)("div",{className:" w-full h-3 grid items-end",children:(0,r.jsx)("div",{className:" mx-auto w-3/4 border-b border-black/5"})})]}),(0,r.jsx)("div",{className:" flex place-content-center h-auto w-full gap-3 font-medium",children:g.map((({pageName:e,displayText:t,enabled:n},o)=>{if(!1!==n)return(0,r.jsx)(f,{currentPageName:h,pageName:e,displayText:t,onClick:m},o)}))}),g.map((({pageName:e,pageContent:t},n)=>(0,r.jsx)(d,{visible:h===e,children:t},n)))]})}function f({currentPageName:e,pageName:t,displayText:n,onClick:o}){return(0,r.jsx)("div",{onClick:()=>{o(t)},className:"grid place-content-center w-auto h-auto p-1.5 cursor-pointer "+(t===e?"text-neutral-800 ":"text-blue-600 hover:text-blue-500 "),children:(0,r.jsx)("span",{className:"transition-all duration-300 ",children:n})})}function d({visible:e,children:t}){const n=(0,i.useRef)(void 0),[o,a]=(0,i.useState)(0);return(0,i.useEffect)((()=>{void 0!==n&&void 0!==n.current&&a(n.current.scrollHeight)}),[t]),(0,r.jsx)("div",{className:"transition-all duration-500 pt-1 "+(e?" ":"pointer-events-none ")+(e?"scale-100 ":"scale-75 "),style:{height:e?o:"0",opacity:e?1:0},children:(0,r.jsx)("div",{className:"h-full w-full",ref:n,children:t})})}})),o.register("1rDzb",(function(e,n){t(e.exports,"default",(function(){return c}));var r=o("i8moy"),i=o("3oc2k"),a=o("83THP"),s=o("7mtoV"),l=o("adQxh"),u=o("ha5dI");function c(){const{FormatOptions:e,FormatOption:t,FormatTop:n,FormatBottom:o}=(0,s.useClock)(),[c,f]=(0,i.useState)(t.get);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:" p-3",children:[(0,r.jsx)("p",{className:"max-w-xs opacity-80 pb-3",children:"Personaliza el contenido del reloj:"}),(0,r.jsxs)("div",{className:"hidden ",children:[(0,r.jsx)("p",{className:" pt-3 pb-2",children:"Formato:"}),(0,r.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,r.jsx)("p",{children:"Parte superior:"}),(0,r.jsx)(a.default,{className:"col-span-2",onEnter:e=>{n.set(e)},defaultValue:n.get}),(0,r.jsx)("p",{children:"Parte inferior:"}),(0,r.jsx)(a.default,{className:"col-span-2",onEnter:e=>{o.set(e)},defaultValue:o.get})]})]})]}),(0,r.jsxs)("div",{className:"p-3 h-min grid-flow-col place-items-center gap-3 hidden ",children:[(0,r.jsx)("span",{onClick:()=>{n.set("EEEE, d 'de' MMMM, yyyy"),o.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,r.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,r.jsx)(l.GoLinkExternal,{})]})]}),(0,r.jsxs)("div",{className:" p-3 grid place-items-center grid-flow-col grid-cols-2 max-w-xs ",children:[(0,r.jsx)("p",{className:"font-medium leading-none place-self-start justify-center text-center w-full pt-3",children:"Formato:"}),(0,r.jsx)(u.default,{options:e,defaultActive:c,onChange:e=>{f(e),t.set(e)}})]})]})}})),o.register("7mtoV",(function(e,n){t(e.exports,"ProviderClock",(function(){return s})),t(e.exports,"useClock",(function(){return l}));var r=o("i8moy"),i=o("3oc2k");const a=(0,i.createContext)(void 0);function s(e){const[t,n]=(0,i.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}]),[o,s]=(0,i.useState)(localStorage.getItem("clock-format-option")||"0");(0,i.useEffect)((()=>{localStorage.setItem("clock-format-option",o)}),[o]);const[l,u]=(0,i.useState)(localStorage.getItem("clock-format-top")||"EEEE, d 'de' MMMM, yyyy");(0,i.useEffect)((()=>{localStorage.setItem("clock-format-top",l)}),[l]);const[c,f]=(0,i.useState)(localStorage.getItem("clock-format-bottom")||"HH:mm");(0,i.useEffect)((()=>{localStorage.setItem("clock-format-bottom",c)}),[c]);const d={FormatOptions:t,FormatOption:{get:o,set:s},FormatTop:{get:l,set:u},FormatBottom:{get:c,set:f}};return(0,r.jsx)(a.Provider,{...e,value:d})}function l(){return(0,i.useContext)(a)}})),o.register("adQxh",(function(e,n){t(e.exports,"GoLinkExternal",(function(){return i})),o("j122q");var r=o("kvsp4");function i(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("ha5dI",(function(e,r){t(e.exports,"default",(function(){return u}));var i=o("i8moy"),a=o("3oc2k"),s=o("hYTYj"),l=o("cABWQ");function u({options:e,defaultActive:t,onChange:r}){const[o,u]=(0,a.useState)(!1),c=(0,a.useRef)(null);return(0,a.useEffect)((()=>(document.addEventListener("click",(e=>{c.current!==e.target&&u(!1)}),!0),()=>{document.removeEventListener("click",(e=>{c.current!==e.target&&u(!1)}),!0)})),[u]),(0,i.jsxs)("div",{className:(o?"expanded":"")+" relative inline-block w-full shadow-none group drop-shadow ",children:[(0,i.jsxs)("button",{ref:c,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:e=>{e.preventDefault(),e.stopPropagation(),u(!o)},onKeyPress:e=>{e.preventDefault(),u(!o)},children:[(0,i.jsx)("p",{className:"leading-none m-0 mt-0.5 p-0 box-border pointer-events-none",children:e[t].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 ${o&&"rotate-180"} `})]}),(0,i.jsx)(n(s),{className:` w-full transition-all ${o?"h-16":"h-0"} z-10 bg-white rounded-lg mt-2`,renderThumbVertical:()=>(0,i.jsx)("div",{className:"bg-black/20 h-8 rounded-lg"}),renderTrackHorizontal:()=>(0,i.jsx)("div",{className:" hidden"}),renderThumbHorizontal:()=>(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(e)&&e.map(((n,o)=>{const a=n.displayName===e[t].displayName;if(!1!==n.visible)return(0,i.jsx)("li",{className:"h-full min-h-[2rem] w-full grid "+(!1===n.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 "+(a?" bg-blue-400/25":""),onClick:()=>{r&&r(o),u(!1)},onKeyPress:()=>{r&&r(o),u(!1)},children:n.displayName})},o)}))})})]})}})),o.register("cABWQ",(function(e,n){t(e.exports,"HiChevronDown",(function(){return i})),t(e.exports,"HiViewGrid",(function(){return a})),o("j122q");var r=o("kvsp4");function i(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 a(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("9BXwv",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("i8moy"),i=o("3oc2k"),a=o("6gQqM"),s=o("bSgNv");function l(){const[e,t]=(0,i.useState)(void 0);(0,i.useLayoutEffect)((()=>{const e=localStorage.getItem("font-dashboard");t(e||"Comfortaa")}),[]);const{Loaded:n}=(0,s.useFonts)();return(0,r.jsxs)("div",{className:" p-3",children:[(0,r.jsx)("p",{className:"max-w-xs opacity-80 pb-3",children:"Selecciona las tipografías que más te gusten:"}),(0,r.jsxs)("div",{className:" p-3 grid place-items-center grid-flow-col ",children:[(0,r.jsx)("p",{className:"font-medium leading-none place-self-start justify-center text-center w-full pt-3",children:"Reloj:"}),(0,r.jsx)(a.default,{limit:100,apiKey:"AIzaSyAKWXbqcl2N70MY2UyNuPUWriTmq7tZIFA",activeFontFamily:e,pickerId:"dashboard",onChange:e=>{var n;n=e.family,t(n),localStorage.setItem("font-dashboard",n)},onLoad:()=>{n.set(!0)}})]})]})}})),o.register("6gQqM",(function(e,r){t(e.exports,"default",(function(){return f}));var i=o("ehRTW"),a=o("i8moy"),s=o("cABWQ"),l=o("45G3Y"),u=o("3oc2k"),c=o("hYTYj");class f extends u.PureComponent{constructor(e){super(e),(0,i.default)(this,"state",{expanded:!1,loadingStatus:"loading"}),(0,i.default)(this,"componentDidMount",(()=>{this.fontManager.init().then((()=>{this.setState({loadingStatus:"finished"})})).catch((e=>{this.setState({loadingStatus:"error"}),console.error("Error trying to fetch the list of available fonts"),console.error(e)}))})),(0,i.default)(this,"componentDidUpdate",(e=>{const{activeFontFamily:t,onChange:n,onLoad:r=(()=>{})}=this.props;if(t!==e.activeFontFamily){const e=setInterval((()=>{"finished"===this.state.loadingStatus&&(clearInterval(e),this.setActiveFontFamily(t),r())}),0)}n!==e.onChange&&this.fontManager.setOnChange(n)})),(0,i.default)(this,"onClose",(e=>{let t=e.target;const n=document.getElementById(`font-picker${this.fontManager.selectorSuffix}`);for(;;){if(t===n)return;if(!t.parentNode)return void this.toggleExpanded();t=t.parentNode}})),(0,i.default)(this,"onSelection",(e=>{const t=e.target.textContent;if(!t)throw Error("Missing font family in clicked font button");this.setActiveFontFamily(t),this.toggleExpanded()})),(0,i.default)(this,"setActiveFontFamily",(e=>{this.fontManager.setActiveFont(e)})),(0,i.default)(this,"generateFontList",(e=>{const{activeFontFamily:t}=this.props,{loadingStatus:n}=this.state;return"finished"!==n?(0,a.jsx)("div",{}):(0,a.jsx)("ul",{className:"font-list shadow-none bg-transparent rounded-none h-auto max-h-max z-0",children:e.map((e=>{const n=e.family===t,r=e.family.replace(/\s+/g,"-").toLowerCase();return(0,a.jsx)("li",{className:"font-list-item",children:(0,a.jsx)("button",{type:"button",id:`font-button-${r}${this.fontManager.selectorSuffix}`,className:" font-button transition-all duration-150 hover:bg-blue-400/25 "+(n?"active-font bg-blue-400/25":""),onClick:this.onSelection,onKeyPress:this.onSelection,children:e.family})},r)}))})})),(0,i.default)(this,"toggleExpanded",(()=>{const{expanded:e}=this.state;e?(this.setState({expanded:!1}),document.removeEventListener("click",this.onClose)):(this.setState({expanded:!0}),document.addEventListener("click",this.onClose))})),(0,i.default)(this,"render",(()=>{const{activeFontFamily:e,sort:t}=this.props,{expanded:r,loadingStatus:o}=this.state,i=Array.from(this.fontManager.getFonts().values());return"alphabet"===t&&i.sort(((e,t)=>e.family.localeCompare(t.family))),(0,a.jsxs)("div",{id:`font-picker${this.fontManager.selectorSuffix}`,className:(r?"expanded":"")+" shadow-none group drop-shadow",children:[(0,a.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:this.toggleExpanded,onKeyPress:this.toggleExpanded,children:[(0,a.jsx)("p",{className:`leading-none mt-0.5 dropdown-font-family apply-font${this.fontManager.selectorSuffix}`,children:e}),(0,a.jsx)(s.HiChevronDown,{className:`h-5 w-5 transition-all duration-150 delay-[0] group-hover:text-blue-500 ${r&&"rotate-180"} `})]}),"finished"===o&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(n(c),{className:` w-full transition-all ${r?"h-52":" h-0"} z-10 bg-white rounded-lg mt-2`,renderThumbVertical:e=>(0,a.jsx)("div",{...e,className:"thumb-vertical bg-black/20 h-8 rounded-lg"}),children:this.generateFontList(i)})})]})}));const{apiKey:t,activeFontFamily:r,pickerId:o,families:u,categories:f,scripts:d,variants:h,filter:p,limit:g,sort:m,onChange:v}=this.props,y={pickerId:o,families:u,categories:f,scripts:d,variants:h,filter:p,limit:g,sort:m};this.fontManager=new(0,l.FontManager)(t,r,y,v)}}(0,i.default)(f,"defaultProps",{activeFontFamily:l.FONT_FAMILY_DEFAULT,onChange:()=>{},pickerId:l.OPTIONS_DEFAULTS.pickerId,families:l.OPTIONS_DEFAULTS.families,categories:l.OPTIONS_DEFAULTS.categories,scripts:l.OPTIONS_DEFAULTS.scripts,variants:l.OPTIONS_DEFAULTS.variants,filter:l.OPTIONS_DEFAULTS.filter,limit:l.OPTIONS_DEFAULTS.limit,sort:l.OPTIONS_DEFAULTS.sort})})),o.register("ehRTW",(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("45G3Y",(function(e,n){t(e.exports,"FONT_FAMILY_DEFAULT",(function(){return S})),t(e.exports,"OPTIONS_DEFAULTS",(function(){return E})),t(e.exports,"FontManager",(function(){return k}));
/*! *****************************************************************************
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,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function i(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function a(e){return e.replace(/\s+/g,"-").toLowerCase()}function s(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 l(e){return o(this,void 0,void 0,(function(){var t,n,o;return i(this,(function(i){switch(i.label){case 0:return(t=new URL("https://www.googleapis.com/webfonts/v1/webfonts")).searchParams.append("sort","popularity"),t.searchParams.append("key",e),[4,s(t.href)];case 1:return n=i.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:a(t),scripts:n})}))]}}))}))}var u=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(u);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,a,l,u,c;return i(this,(function(i){return o=new URL("https://fonts.googleapis.com/css"),a=n.join(","),l=e.map((function(e){return e.family+":"+a})),o.searchParams.append("family",l.join("|")),o.searchParams.append("subset",t.join(",")),r&&(u=e.map((function(e){return e.family})).join(""),c=u.split("").filter((function(e,t,n){return n.indexOf(e)===t})).join(""),o.searchParams.append("text",c)),o.searchParams.append("font-display","swap"),[2,s(o.href)]}))}))}function w(e,t,n,r){return o(this,void 0,void 0,(function(){var o,s,l,c;return i(this,(function(i){switch(i.label){case 0:return o=Array.from(e.values()),(s=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 l=i.sent(),c=function(e){var t=m(v,e),n={};return t.forEach((function(e){var t=a(m(y,e)[0]);t in n||(n[t]=""),n[t]+="@font-face {\n"+e+"\n}\n\n"})),n}(l),o.forEach((function(e){if(function(e,t){var n="\n\t\t\t#font-button-"+a(e.family)+t+' {\n\t\t\t\tfont-family: "'+e.family+'";\n\t\t\t}\n\t\t';u.appendChild(document.createTextNode(n))}(e,r),s.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,a){return o(this,void 0,void 0,(function(){var o;return i(this,(function(i){switch(i.label){case 0:return h(e.id,!1)?(c(e,t,a),[3,3]):[3,1];case 1:return h(e.id,!0)?(s=e.id,l=!1,u=d(s),(m=document.getElementById(u))?m.setAttribute(f,l.toString()):console.error('Could not change stylesheet type: Stylesheet with ID "'+u+'" not found')):p(e.id,!1),[4,b([e],n,r,!1)];case 2:o=i.sent(),c(e,t,a),g(e.id,o),i.label=3;case 3:return[2]}var s,l,u,m}))}))}var S="Open Sans",E={pickerId:"",families:[],categories:[],scripts:["latin"],variants:["regular"],filter:function(){return!0},limit:50,sort:"alphabet"},k=function(){function e(e,t,n,r){void 0===t&&(t=S);var o=n.pickerId,i=void 0===o?E.pickerId:o,a=n.families,s=void 0===a?E.families:a,l=n.categories,u=void 0===l?E.categories:l,c=n.scripts,f=void 0===c?E.scripts:c,d=n.variants,h=void 0===d?E.variants:d,p=n.filter,g=void 0===p?E.filter:p,m=n.limit,v=void 0===m?E.limit:m,y=n.sort,b=void 0===y?E.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")}(i),this.selectorSuffix=i?"-"+i:"",this.apiKey=e,this.options={pickerId:i,families:s,categories:u,scripts:f,variants:h,filter:g,limit:v,sort:b},this.onChange=r,this.addFont(t,!1),this.setActiveFont(t,!1)}return e.prototype.init=function(){return o(this,void 0,void 0,(function(){var e,t,n,r,o;return i(this,(function(i){switch(i.label){case 0:return[4,l(this.apiKey)];case 1:for(e=i.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:a(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("bSgNv",(function(e,n){t(e.exports,"ProviderFonts",(function(){return s})),t(e.exports,"useFonts",(function(){return l}));var r=o("i8moy"),i=o("3oc2k");const a=(0,i.createContext)(void 0);function s(e){const[t,n]=(0,i.useState)(!1),o={Loaded:{get:t,set:n}};return(0,r.jsx)(a.Provider,{...e,value:o})}function l(){return(0,i.useContext)(a)}})),o.register("899uJ",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("i8moy"),i=o("3oc2k"),a=o("8PfYN");function s(){const[e,t]=(0,i.useState)(void 0),{actions:n}=(0,a.useAppsContext)();return(0,i.useEffect)((()=>{(async()=>{const e=await o("bp7ML");t(e.default())})()}),[]),(0,r.jsxs)("div",{className:"grid grid-flow-row gap-4 p-3 text-center place-content-center place-items-center",children:[(0,r.jsxs)("div",{className:"grid grid-flow-row gap-1 ",children:[(0,r.jsx)("span",{className:"opacity-75",children:"Links útiles:"}),(0,r.jsxs)("div",{className:"grid grid-flow-row gap-0.5 place-items-center place-content-center",children:[(0,r.jsx)(l,{onClick:()=>{n.openByName("welcome")},children:"Mostrar bienvenida"}),(0,r.jsx)(l,{onClick:()=>{localStorage.clear(),location.reload()},children:"Reiniciar de fábrica"})]})]}),(0,r.jsx)("div",{className:"w-full h-px bg-black/5"}),(0,r.jsxs)("p",{className:"w-full ",children:["Versión: ",e||"..."]})]})}function l({children:e,onClick:t=(()=>{})}){return(0,r.jsx)("span",{onClick:()=>{t&&t()},className:"font-medium text-blue-600 transition-all cursor-pointer hover:text-blue-500 whitespace-nowrap w-min",children:e})}})),o.register("bp7ML",(function(e,t){e.exports=import("./"+o("l8k7r").resolve("bI5ai")).then((()=>o("3g9nn")))})),o.register("ieg1j",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("i8moy"),i=o("j6vZ1"),a=o("3oc2k"),s=o("epmhD"),l=o("gcao7");function u(){const{Visibility:e,Quality:t,Reload:n}=(0,l.useWallpaper)(),[o,u]=(0,a.useState)([{name:"bing",displayText:"Bing",enabled:!0},{name:"unsplash",displayText:"Unsplash",enabled:!1},{name:"custom",displayText:"Personalizado",enabled:!1}]),[c,f]=(0,a.useState)("bing");return(0,r.jsxs)("div",{className:" p-3",children:[(0,r.jsx)("p",{className:"max-w-xs opacity-80 pb-3",children:"Elige el servicio que proporciona el fondo:"}),(0,r.jsx)("div",{className:" p-3 flex flex-col gap-1.5 font-medium",children:o.map(((e,t)=>(0,r.jsxs)("div",{className:`\n flex gap-3 items-center cursor-pointer\n transition-all\n ${!e.enabled&&"opacity-50"}`,onClick:()=>{e.enabled&&f(e.name)},children:[(0,r.jsx)(s.default,{checked:e.name===c,enabled:e.enabled,roundbox:!0}),(0,r.jsxs)("p",{className:" translate-y-[1px]",children:[e.displayText,e.enabled?"":(0,r.jsxs)("span",{className:"text-xs font-semibold opacity-75",children:[" ","(Próximamente)"]})]})]},t)))}),"bing"===c&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"p-3 font-medium",children:"Opciones"}),(0,r.jsxs)("div",{className:" flex flex-row items-center gap-3",children:[(0,r.jsx)("p",{className:" font-normal",children:"Calidad:"}),(0,r.jsx)("div",{className:" p-3 h-auto w-full pb-8",children:(0,r.jsx)(i.default,{defaultValue:t.get,included:!1,min:1,max:3,marks:{1:"HD",2:"Full HD",3:"4K"},step:null,onChange:e=>{t.set(e),n.set(!0)}})})]})]}),(0,r.jsxs)("div",{className:" flex flex-row items-center gap-3",children:[(0,r.jsx)("p",{className:" font-normal",children:"Visibilidad:"}),(0,r.jsx)("div",{className:" p-3 h-auto w-full",children:(0,r.jsx)(i.default,{defaultValue:e.get,min:.5,max:1,step:1e-4,onChange:t=>{e.set(t)}})}),(0,r.jsxs)("p",{className:"text-xs font-semibold tracking-wider leading-none",children:["%",Number(100*e.get).toFixed(0)]})]})]})}})),o.register("j6vZ1",(function(e,n){t(e.exports,"default",(function(){return r}));var r=o("lGbQt").default})),o.register("lGbQt",(function(e,r){t(e.exports,"default",(function(){return w}));var i=o("7RhDh"),a=o("c4Yq3"),s=o("lYiOM"),l=o("4S6qz"),u=o("3oc2k"),c=o("7sfVO"),f=o("gU3Qi"),d=o("MC2qf"),h=o("lGsIA"),p=o("8z34E"),g=o("dzlhK"),m=o("cpfGt"),v=o("kFkwF"),y=o("PFmHD"),b=o("dNiUs");o("kkIkL");var w=u.forwardRef((function(e,t){var r,o=e.prefixCls,w=void 0===o?"rc-slider":o,x=e.className,S=e.style,E=e.disabled,k=void 0!==E&&E,j=e.autoFocus,T=e.onFocus,N=e.onBlur,O=e.min,C=void 0===O?0:O,M=e.max,D=void 0===M?100:M,P=e.step,A=void 0===P?1:P,R=e.value,I=e.defaultValue,B=e.range,L=e.count,U=e.onChange,_=e.onBeforeChange,F=e.onAfterChange,H=e.allowCross,z=void 0===H||H,W=e.pushable,V=void 0!==W&&W,Y=e.draggableTrack,q=e.reverse,G=e.vertical,K=e.included,X=void 0===K||K,$=e.startPoint,Z=e.trackStyle,J=e.handleStyle,Q=e.railStyle,ee=e.dotStyle,te=e.activeDotStyle,ne=e.marks,re=e.dots,oe=e.handleRender,ie=e.tabIndex,ae=void 0===ie?0:ie,se=e.ariaLabelForHandle,le=e.ariaLabelledByForHandle,ue=e.ariaValueTextFormatterForHandle,ce=u.useRef(),fe=u.useRef(),de=u.useMemo((function(){return G?q?"ttb":"btt":q?"rtl":"ltr"}),[q,G]),he=u.useMemo((function(){return isFinite(C)?C:0}),[C]),pe=u.useMemo((function(){return isFinite(D)?D:100}),[D]),ge=u.useMemo((function(){return null!==A&&A<=0?1:A}),[A]),me=u.useMemo((function(){return!0===V?ge:V>=0&&V}),[V,ge]),ve=u.useMemo((function(){return Object.keys(ne||{}).map((function(e){var t=ne[e],n={value:Number(e)};return t&&"object"===(0,l.default)(t)&&!u.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,s.default)(ye,2),we=be[0],xe=be[1],Se=(0,d.default)(I,{value:R}),Ee=(0,s.default)(Se,2),ke=Ee[0],je=Ee[1],Te=u.useMemo((function(){var e=null==ke?[]:Array.isArray(ke)?ke:[ke],t=(0,s.default)(e,1)[0],n=null===ke?[]:[void 0===t?he:t];if(B){if(n=(0,a.default)(e),L||void 0===ke){var r=L>=0?L+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}),[ke,B,he,L,we]),Ne=u.useRef(Te);Ne.current=Te;var Oe=function(e){return B?e:e[0]},Ce=function(e){var t=(0,a.default)(e).sort((function(e,t){return e-t}));U&&!n(f)(t,Ne.current)&&U(Oe(t)),je(t)},Me=function(e){if(!k){var t=0,n=pe-he;Te.forEach((function(r,o){var i=Math.abs(e-r);i<=n&&(n=i,t=o)}));var r=(0,a.default)(Te);r[t]=e,B&&!Te.length&&void 0===L&&r.push(e),null==_||_(Oe(r)),Ce(r),null==F||F(Oe(r))}},De=u.useState(null),Pe=(0,s.default)(De,2),Ae=Pe[0],Re=Pe[1];u.useEffect((function(){if(null!==Ae){var e=Te.indexOf(Ae);e>=0&&ce.current.focus(e)}Re(null)}),[Ae]);var Ie=u.useMemo((function(){return(!Y||null!==ge)&&Y}),[Y,ge]),Be=(0,p.default)(fe,de,Te,he,pe,we,Ce,(function(){null==F||F(Oe(Ne.current))}),xe),Le=(0,s.default)(Be,4),Ue=Le[0],_e=Le[1],Fe=Le[2],He=Le[3],ze=function(e,t){He(e,t),null==_||_(Oe(Ne.current))},We=-1!==Ue;u.useEffect((function(){if(!We){var e=Te.lastIndexOf(_e);ce.current.focus(e)}}),[We]);var Ve=u.useMemo((function(){return(0,a.default)(Fe).sort((function(e,t){return e-t}))}),[Fe]),Ye=u.useMemo((function(){return B?[Ve[0],Ve[Ve.length-1]]:[he,Ve[0]]}),[Ve,B,he]),qe=(0,s.default)(Ye,2),Ge=qe[0],Ke=qe[1];u.useImperativeHandle(t,(function(){return{focus:function(){ce.current.focus(0)},blur:function(){var e=document.activeElement;fe.current.contains(e)&&(null==e||e.blur())}}})),u.useEffect((function(){j&&ce.current.focus(0)}),[]);var Xe=u.useMemo((function(){return{min:he,max:pe,direction:de,disabled:k,step:ge,included:X,includedStart:Ge,includedEnd:Ke,range:B,tabIndex:ae,ariaLabelForHandle:se,ariaLabelledByForHandle:le,ariaValueTextFormatterForHandle:ue}}),[he,pe,de,k,ge,X,Ge,Ke,B,ae,se,le,ue]);return u.createElement(g.default.Provider,{value:Xe},u.createElement("div",{ref:fe,className:n(c)(w,x,(r={},(0,i.default)(r,"".concat(w,"-disabled"),k),(0,i.default)(r,"".concat(w,"-vertical"),G),(0,i.default)(r,"".concat(w,"-horizontal"),!G),(0,i.default)(r,"".concat(w,"-with-marks"),ve.length),r)),style:S,onMouseDown:function(e){e.preventDefault();var t,n=fe.current.getBoundingClientRect(),r=n.width,o=n.height,i=n.left,a=n.top,s=n.bottom,l=n.right,u=e.clientX,c=e.clientY;switch(de){case"btt":t=(s-c)/o;break;case"ttb":t=(c-a)/o;break;case"rtl":t=(l-u)/r;break;default:t=(u-i)/r}Me(we(he+t*(pe-he)))}},u.createElement("div",{className:"".concat(w,"-rail"),style:Q}),u.createElement(m.default,{prefixCls:w,style:Z,values:Ve,startPoint:$,onStartMove:Ie?ze:null}),u.createElement(y.default,{prefixCls:w,marks:ve,dots:re,style:ee,activeStyle:te}),u.createElement(h.default,{ref:ce,prefixCls:w,style:J,values:Fe,draggingIndex:Ue,onStartMove:ze,onOffsetChange:function(e,t){if(!k){var n=xe(Te,e,t);null==_||_(Oe(Te)),Ce(n.values),null==F||F(Oe(n.values)),Re(n.value)}},onFocus:T,onBlur:N,handleRender:oe}),u.createElement(v.default,{prefixCls:w,marks:ve,onClick:Me})))}))})),o.register("7RhDh",(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("c4Yq3",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("cHXH0"),i=o("1G2rU"),a=o("s8Gwb"),s=o("dANHY");function l(e){return(0,r.default)(e)||(0,i.default)(e)||(0,a.default)(e)||(0,s.default)()}})),o.register("cHXH0",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("gDl9Q");function i(e){if(Array.isArray(e))return(0,r.default)(e)}})),o.register("gDl9Q",(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("1G2rU",(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("s8Gwb",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("gDl9Q");function i(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("dANHY",(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("lYiOM",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("kVyRI"),i=o("2HFlu"),a=o("s8Gwb"),s=o("2lAes");function l(e,t){return(0,r.default)(e)||(0,i.default)(e,t)||(0,a.default)(e,t)||(0,s.default)()}})),o.register("kVyRI",(function(e,n){function r(e){if(Array.isArray(e))return e}t(e.exports,"default",(function(){return r}))})),o.register("2HFlu",(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,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}t(e.exports,"default",(function(){return r}))})),o.register("2lAes",(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("4S6qz",(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("7sfVO",(function(e,t){
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)){if(o.length){var a=n.apply(null,o);a&&e.push(a)}}else if("object"===i)if(o.toString===Object.prototype.toString)for(var s in o)t.call(o,s)&&o[s]&&e.push(s);else e.push(o.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return n})):window.classNames=n}()})),o.register("gU3Qi",(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 i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var u=i[l];if(!s(u))return!1;var c=e[u],f=t[u];if(!1===(o=n?n.call(r,c,f,u):void 0)||void 0===o&&c!==f)return!1}return!0}})),o.register("MC2qf",(function(e,n){t(e.exports,"default",(function(){return d}));var r,i,a=o("lYiOM"),s=o("3oc2k"),l=o("46djW"),u=o("cOZj6"),c=o("gbA24");function f(e){return void 0!==e}function d(e,t){var n=t||{},o=n.defaultValue,i=n.value,d=n.onChange,h=n.postState,p=(0,c.default)((function(){var t,n=void 0;return f(i)?(n=i,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,a.default)(p,2),m=g[0],v=g[1],y=f(i)?i:m[0],b=h?h(y):y;(0,u.useLayoutUpdateEffect)((function(){v((function(e){var t=(0,a.default)(e,1)[0];return[i,r.PROP,t]}))}),[i]);var w=s.useRef(),x=(0,l.default)((function(e,t){v((function(t){var n=(0,a.default)(t,3),o=n[0],i=n[1],s=n[2],l="function"==typeof e?e(o):e;if(l===o)return t;var u=i===r.INNER&&w.current!==s?s:o;return[l,r.INNER,u]}),t)})),S=(0,l.default)(d);return(0,u.default)((function(){var e=(0,a.default)(m,3),t=e[0],n=e[1],o=e[2];t!==o&&n===r.INNER&&(S(t,o),w.current=o)}),[m]),[b,x]}(i=r||(r={}))[i.INNER=0]="INNER",i[i.PROP=1]="PROP"})),o.register("46djW",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("3oc2k");function i(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("cOZj6",(function(e,n){t(e.exports,"default",(function(){return a})),t(e.exports,"useLayoutUpdateEffect",(function(){return s}));var r=o("3oc2k"),i=(0,o("d63mI").default)()?r.useLayoutEffect:r.useEffect,a=i,s=function(e,t){var n=r.useRef(!0);i((function(){if(!n.current)return e()}),t),i((function(){return n.current=!1,function(){n.current=!0}}),[])}})),o.register("d63mI",(function(e,n){function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}t(e.exports,"default",(function(){return r}))})),o.register("gbA24",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("lYiOM"),i=o("3oc2k");function a(e){var t=i.useRef(!1),n=i.useState(e),o=(0,r.default)(n,2),a=o[0],s=o[1];return i.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,n){n&&t.current||s(e)}]}})),o.register("lGsIA",(function(e,n){t(e.exports,"default",(function(){return c}));var r=o("aooep"),i=o("aswfJ"),a=o("3oc2k"),s=o("4n4u9"),l=o("bmJoZ"),u=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],c=a.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,i.default)(e,u),m=a.useRef({});return a.useImperativeHandle(t,(function(){return{focus:function(e){var t;null===(t=m.current[e])||void 0===t||t.focus()}}})),a.createElement(a.Fragment,null,d.map((function(e,t){return a.createElement(s.default,(0,r.default)({ref:function(e){e?m.current[t]=e:delete m.current[t]},dragging:p===t,prefixCls:n,style:(0,l.getIndex)(o,t),key:t,value:e,valueIndex:t,onStartMove:c,onOffsetChange:f,render:h},g))})))}))})),o.register("aooep",(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("aswfJ",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("kLhRu");function i(e,t){if(null==e)return{};var n,o,i=(0,r.default)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}})),o.register("kLhRu",(function(e,n){function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}t(e.exports,"default",(function(){return r}))})),o.register("4n4u9",(function(e,r){t(e.exports,"default",(function(){return g}));var i=o("aooep"),a=o("aJZ30"),s=o("7RhDh"),l=o("aswfJ"),u=o("3oc2k"),c=o("7sfVO"),f=o("02ani"),d=o("dzlhK"),h=o("bmJoZ"),p=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],g=u.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,S=e.onOffsetChange,E=(0,l.default)(e,p),k=u.useContext(d.default),j=k.min,T=k.max,N=k.direction,O=k.disabled,C=k.range,M=k.tabIndex,D=k.ariaLabelForHandle,P=k.ariaLabelledByForHandle,A=k.ariaValueTextFormatterForHandle,R="".concat(g,"-handle"),I=function(e){O||y(e,v)},B=(0,h.getDirectionStyle)(N,m,j,T),L=u.createElement("div",(0,i.default)({ref:t,className:n(c)(R,(r={},(0,s.default)(r,"".concat(R,"-").concat(v+1),C),(0,s.default)(r,"".concat(R,"-dragging"),x),r)),style:(0,a.default)((0,a.default)({},B),b),onMouseDown:I,onTouchStart:I,onKeyDown:function(e){if(!O){var t=null;switch(e.which||e.keyCode){case f.default.LEFT:t="ltr"===N||"btt"===N?-1:1;break;case f.default.RIGHT:t="ltr"===N||"btt"===N?1:-1;break;case f.default.UP:t="ttb"!==N?1:-1;break;case f.default.DOWN:t="ttb"!==N?-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(),S(t,v))}},tabIndex:O?null:(0,h.getIndex)(M,v),role:"slider","aria-valuemin":j,"aria-valuemax":T,"aria-valuenow":m,"aria-disabled":O,"aria-label":(0,h.getIndex)(D,v),"aria-labelledby":(0,h.getIndex)(P,v),"aria-valuetext":null===(o=(0,h.getIndex)(A,v))||void 0===o?void 0:o(m)},E));return w&&(L=w(L,{index:v,prefixCls:g,value:m,dragging:x})),L}))})),o.register("aJZ30",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("7RhDh");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}})),o.register("02ani",(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("dzlhK",(function(e,n){t(e.exports,"default",(function(){return r}));var r=o("3oc2k").createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0})})),o.register("bmJoZ",(function(e,n){function r(e,t,n){return(e-t)/(n-t)}function o(e,t,n,o){var i=r(t,n,o),a={};switch(e){case"rtl":a.right="".concat(100*i,"%"),a.transform="translateX(50%)";break;case"btt":a.bottom="".concat(100*i,"%"),a.transform="translateY(50%)";break;case"ttb":a.top="".concat(100*i,"%"),a.transform="translateY(-50%)";break;default:a.left="".concat(100*i,"%"),a.transform="translateX(-50%)"}return a}function i(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 i}))})),o.register("8z34E",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("c4Yq3"),i=o("lYiOM"),a=o("3oc2k");function s(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function l(e,t,n,o,l,u,c,f,d){var h=a.useState(null),p=(0,i.default)(h,2),g=p[0],m=p[1],v=a.useState(-1),y=(0,i.default)(v,2),b=y[0],w=y[1],x=a.useState(n),S=(0,i.default)(x,2),E=S[0],k=S[1],j=a.useState(n),T=(0,i.default)(j,2),N=T[0],O=T[1],C=a.useRef(null),M=a.useRef(null);a.useEffect((function(){-1===b&&k(n)}),[n,b]),a.useEffect((function(){return function(){document.removeEventListener("mousemove",C.current),document.removeEventListener("mouseup",M.current),document.removeEventListener("touchmove",C.current),document.removeEventListener("touchend",M.current)}}),[]);var D=function(e,t){E.some((function(t,n){return t!==e[n]}))&&(void 0!==t&&m(t),k(e),c(e))},P=function(e,t){if(-1===e){var n=N[0],i=N[N.length-1],a=o-n,s=l-i,c=t*(l-o);c=Math.max(c,a),c=Math.min(c,s);var f=u(n+c);c=f-n;var h=N.map((function(e){return e+c}));D(h)}else{var p=(l-o)*t,g=(0,r.default)(E);g[e]=N[e];var m=d(g,p,e,"dist");D(m.values,m.value)}},A=a.useRef(P);A.current=P;var R=a.useMemo((function(){var e=(0,r.default)(n).sort((function(e,t){return e-t})),t=(0,r.default)(E).sort((function(e,t){return e-t}));return e.every((function(e,n){return e===t[n]}))?E:n}),[n,E]);return[b,g,R,function(r,o){r.stopPropagation();var i=n[o];w(o),m(i),O(n);var a=s(r),l=a.pageX,u=a.pageY,c=function(n){n.preventDefault();var r,i=s(n),a=i.pageX,c=i.pageY,f=a-l,d=c-u,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,M.current=null,w(-1),f()};document.addEventListener("mouseup",d),document.addEventListener("mousemove",c),document.addEventListener("touchend",d),document.addEventListener("touchmove",c),C.current=c,M.current=d}]}})),o.register("cpfGt",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("3oc2k"),i=o("dzlhK"),a=o("dc2R2"),s=o("bmJoZ");function l(e){var t=e.prefixCls,n=e.style,o=e.values,l=e.startPoint,u=e.onStartMove,c=r.useContext(i.default),f=c.included,d=c.range,h=c.min,p=r.useMemo((function(){if(!d){if(0===o.length)return[];var e=null!=l?l: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,l,h]);return f?p.map((function(e,o){var i=e.start,l=e.end;return r.createElement(a.default,{index:o,prefixCls:t,style:(0,s.getIndex)(n,o),start:i,end:l,key:o,onStartMove:u})})):null}})),o.register("dc2R2",(function(e,r){t(e.exports,"default",(function(){return c}));var i=o("aJZ30"),a=o("3oc2k"),s=o("7sfVO"),l=o("dzlhK"),u=o("bmJoZ");function c(e){var t=e.prefixCls,r=e.style,o=e.start,c=e.end,f=e.index,d=e.onStartMove,h=a.useContext(l.default),p=h.direction,g=h.min,m=h.max,v=h.disabled,y=h.range,b="".concat(t,"-track"),w=(0,u.getOffset)(o,g,m),x=(0,u.getOffset)(c,g,m),S=function(e){!v&&d&&d(e,-1)},E={};switch(p){case"rtl":E.right="".concat(100*w,"%"),E.width="".concat(100*x-100*w,"%");break;case"btt":E.bottom="".concat(100*w,"%"),E.height="".concat(100*x-100*w,"%");break;case"ttb":E.top="".concat(100*w,"%"),E.height="".concat(100*x-100*w,"%");break;default:E.left="".concat(100*w,"%"),E.width="".concat(100*x-100*w,"%")}return a.createElement("div",{className:n(s)(b,y&&"".concat(b,"-").concat(f+1)),style:(0,i.default)((0,i.default)({},E),r),onMouseDown:S,onTouchStart:S})}})),o.register("kFkwF",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("3oc2k"),i=o("dA0KV");function a(e){var t=e.prefixCls,n=e.marks,o=e.onClick,a="".concat(t,"-mark");return n.length?r.createElement("div",{className:a},n.map((function(e){var t=e.value,n=e.style,s=e.label;return r.createElement(i.default,{key:t,prefixCls:a,style:n,value:t,onClick:o},s)}))):null}})),o.register("dA0KV",(function(e,r){t(e.exports,"default",(function(){return f}));var i=o("aJZ30"),a=o("7RhDh"),s=o("3oc2k"),l=o("7sfVO"),u=o("bmJoZ"),c=o("dzlhK");function f(e){var t=e.prefixCls,r=e.style,o=e.children,f=e.value,d=e.onClick,h=s.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,u.getDirectionStyle)(m,f,p,g);return s.createElement("span",{className:n(l)(w,(0,a.default)({},"".concat(w,"-active"),b&&v<=f&&f<=y)),style:(0,i.default)((0,i.default)({},x),r),onMouseDown:function(e){e.stopPropagation()},onClick:function(){d(f)}},o)}})),o.register("PFmHD",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("3oc2k"),i=o("dzlhK"),a=o("1jAE0");function s(e){var t=e.prefixCls,n=e.marks,o=e.dots,s=e.style,l=e.activeStyle,u=r.useContext(i.default),c=u.min,f=u.max,d=u.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(a.default,{prefixCls:t,key:e,value:e,style:s,activeStyle:l})})))}})),o.register("1jAE0",(function(e,r){t(e.exports,"default",(function(){return f}));var i=o("7RhDh"),a=o("aJZ30"),s=o("3oc2k"),l=o("7sfVO"),u=o("bmJoZ"),c=o("dzlhK");function f(e){var t=e.prefixCls,r=e.value,o=e.style,f=e.activeStyle,d=s.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,a.default)((0,a.default)({},(0,u.getDirectionStyle)(g,r,h,p)),"function"==typeof o?o(r):o);return w&&(x=(0,a.default)((0,a.default)({},x),"function"==typeof f?f(r):f)),s.createElement("span",{className:n(l)(b,(0,i.default)({},"".concat(b,"-active"),w)),style:x})}})),o.register("dNiUs",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("c4Yq3"),i=o("3oc2k");function a(e,t,n,o,a,s){var l=i.useCallback((function(n){var r=isFinite(n)?n:e;return r=Math.min(t,n),r=Math.max(e,r)}),[e,t]),u=i.useCallback((function(r){if(null!==n){var o=e+Math.round((l(r)-e)/n)*n,i=function(e){return(String(e).split(".")[1]||"").length},a=Math.max(i(n),i(t),i(e)),s=Number(o.toFixed(a));return e<=s&&s<=t?s:null}return null}),[n,e,t,l]),c=i.useCallback((function(r){var i=l(r),a=o.map((function(e){return e.value}));null!==n&&a.push(u(r)),a.push(e,t);var s=a[0],c=t-e;return a.forEach((function(e){var t=Math.abs(i-e);t<=c&&(s=e,c=t)})),s}),[e,t,o,n,l,u]),f=function i(a,s,l){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof s){var f,d=a[l],h=d+s,p=[];o.forEach((function(e){p.push(e.value)})),p.push(e,t),p.push(u(d));var g=s>0?1:-1;"unit"===c?p.push(u(d+g*n)):p.push(u(h)),p=p.filter((function(e){return null!==e})).filter((function(e){return s<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 s<0?e:t;if("dist"===c)return f;if(Math.abs(s)>1){var y=(0,r.default)(a);return y[l]=f,i(y,s-g,l,c)}return f}return"min"===s?e:"max"===s?t:void 0},d=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",o=e[n],i=f(e,t,n,r);return{value:i,changed:i!==o}},h=function(e){return null===s&&0===e||"number"==typeof s&&e<s};return[c,function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(c),i=o[n],l=f(o,t,n,r);if(o[n]=l,!1===a){var u=s||0;n>0&&o[n-1]!==i&&(o[n]=Math.max(o[n],o[n-1]+u)),n<o.length-1&&o[n+1]!==i&&(o[n]=Math.min(o[n],o[n+1]-u))}else if("number"==typeof s||null===s){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 S=d(o,-1,w-1);o[w-1]=S.value,x=S.changed}for(var E=0;E<o.length-1;E+=1)for(var k=!0;h(o[E+1]-o[E])&&k;){var j=d(o,1,E+1);o[E+1]=j.value,k=j.changed}}return{value:o[n],values:o}}]}})),o.register("kkIkL",(function(e,t){})),o.register("epmhD",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("i8moy");function i({checked:e,onClick:t,enabled:n=!0,roundbox:o=!1}){return(0,r.jsx)("div",{onClick:function(){t&&n&&t()},className:`\n ${o?"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 ${!n&&"grayscale"}\n ${e?"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("gcao7",(function(e,n){t(e.exports,"ProviderWallpaper",(function(){return s})),t(e.exports,"useWallpaper",(function(){return l}));var r=o("i8moy"),i=o("3oc2k");const a=(0,i.createContext)(void 0);function s(e){const[t,n]=(0,i.useState)(Number(localStorage.getItem("wallpaper-visibility"))||.75);(0,i.useLayoutEffect)((()=>{localStorage.setItem("wallpaper-visibility",String(t))}),[t]);const[o,s]=(0,i.useState)(localStorage.getItem("wallpaper-service")||"bing");(0,i.useLayoutEffect)((()=>{localStorage.setItem("wallpaper-service",String(o))}),[o]);const[l,u]=(0,i.useState)(Number(localStorage.getItem("wallpaper-quality"))||2);(0,i.useLayoutEffect)((()=>{localStorage.setItem("wallpaper-quality",String(l))}),[l]);const[c,f]=(0,i.useState)(!0),d={Service:{get:o,set:s},Visibility:{get:t,set:n},Quality:{get:l,set:u},Reload:{get:c,set:f}};return(0,r.jsx)(a.Provider,{...e,value:d})}function l(){return(0,i.useContext)(a)}})),o.register("1jkrZ",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("i8moy"),i=o("8rV5M"),a=o("g7MWz"),s=o("fg84T"),l=o("jNo1S");function u(){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)(l.default,{}),(0,r.jsx)(i.default,{}),(0,r.jsx)(a.default,{}),(0,r.jsx)(s.default,{})]})}})),o.register("8rV5M",(function(e,n){t(e.exports,"default",(function(){return c}));var r=o("i8moy"),i=o("3oc2k"),a=o("iriqt"),s=o("iieIr"),l=o("bSgNv"),u=o("7mtoV");function c(){const[e,t]=(0,i.useState)({updateEvery:100}),[n,o]=(0,i.useState)(""),[c,f]=(0,i.useState)(""),{FormatOptions:d,FormatOption:h,FormatTop:p,FormatBottom:g}=(0,u.useClock)();(0,i.useLayoutEffect)((()=>{function t(){o((0,a.default)(new Date,d[h.get].value.top,{locale:s.default})),f((0,a.default)(new Date,d[h.get].value.bottom,{locale:s.default}),{})}t();const n=setInterval((()=>{t()}),e.updateEvery);return()=>{clearInterval(n)}}),[p,g]);const{Loaded:m}=(0,l.useFonts)();return(0,r.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:m.get?1:0},children:(0,r.jsx)("div",{className:"drop-shadow-[0px_0.5rem_1rem_black]",children:(0,r.jsxs)("div",{className:" flex flex-col place-content-center gap-8",children:[(0,r.jsx)("span",{className:"text-3xl 2xl:text-4xl",children:n}),(0,r.jsx)("span",{className:"text-8xl 2xl:text-9xl",children:c})]})})})}})),o.register("iriqt",(function(e,n){t(e.exports,"default",(function(){return w}));var r=o("3Hx7s"),i=o("fyKHf"),a=o("sNyaz"),s=o("2Jr9b"),l=o("25pBM"),u=o("jWFRa"),c=o("jCC7F"),f=o("ig3EB"),d=o("gUSAA"),h=o("7d1XZ"),p=o("2ttug"),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,S,E,k,j,T,N,O,C,M,D,P,A,R,I;(0,d.default)(2,arguments);var B=String(t),L=(0,h.getDefaultOptions)(),U=null!==(o=null!==(v=null==n?void 0:n.locale)&&void 0!==v?v:L.locale)&&void 0!==o?o:p.default,_=(0,f.default)(null!==(y=null!==(w=null!==(S=null!==(E=null==n?void 0:n.firstWeekContainsDate)&&void 0!==E?E:null==n||null===(k=n.locale)||void 0===k||null===(j=k.options)||void 0===j?void 0:j.firstWeekContainsDate)&&void 0!==S?S:L.firstWeekContainsDate)&&void 0!==w?w:null===(T=L.locale)||void 0===T||null===(N=T.options)||void 0===N?void 0:N.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!==(M=null!==(D=null==n?void 0:n.weekStartsOn)&&void 0!==D?D:null==n||null===(P=n.locale)||void 0===P||null===(A=P.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==M?M:L.weekStartsOn)&&void 0!==C?C:null===(R=L.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(!U.localize)throw new RangeError("locale must contain localize property");if(!U.formatLong)throw new RangeError("locale must contain formatLong property");var H=(0,a.default)(e);if(!(0,r.default)(H))throw new RangeError("Invalid time value");var z=(0,u.default)(H),W=(0,i.default)(H,z),V={firstWeekContainsDate:_,weekStartsOn:F,locale:U,_originalDate:H},Y=B.match(m).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,l.default[t])(e,U.formatLong):e})).join("").match(g).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return x(r);var i=s.default[o];if(i)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)),i(W,r,U.localize,V);if(o.match(b))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("");return Y}function x(e){var t=e.match(v);return t?t[1].replace(y,"'"):e}})),o.register("3Hx7s",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("cyIxb"),i=o("sNyaz"),a=o("gUSAA");function s(e){if((0,a.default)(1,arguments),!(0,r.default)(e)&&"number"!=typeof e)return!1;var t=(0,i.default)(e);return!isNaN(Number(t))}})),o.register("cyIxb",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("gUSAA");function i(e){return(0,r.default)(1,arguments),e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}})),o.register("gUSAA",(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("sNyaz",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("gUSAA");function i(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("fyKHf",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("9RHoX"),i=o("gUSAA"),a=o("ig3EB");function s(e,t){(0,i.default)(2,arguments);var n=(0,a.default)(t);return(0,r.default)(e,-n)}})),o.register("9RHoX",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("ig3EB"),i=o("sNyaz"),a=o("gUSAA");function s(e,t){(0,a.default)(2,arguments);var n=(0,i.default)(e).getTime(),o=(0,r.default)(t);return new Date(n+o)}})),o.register("ig3EB",(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("2Jr9b",(function(e,n){t(e.exports,"default",(function(){return w}));var r=o("l4EgR"),i=o("eNXW4"),a=o("27Bck"),s=o("5gyuU"),l=o("tahNq"),u=o("dOguL"),c=o("1zAK9"),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),i=r%60;if(0===i)return n+String(o);var a=t||"";return n+String(o)+a+(0,u.default)(i,2)}function y(e,t){return e%60==0?(e>0?"-":"+")+(0,u.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,u.default)(Math.floor(o/60),2)+n+(0,u.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,l.default)(e,r),i=o>0?o:1-o;if("YY"===t){var a=i%100;return(0,u.default)(a,2)}return"Yo"===t?n.ordinalNumber(i,{unit:"year"}):(0,u.default)(i,t.length)},R:function(e,t){var n=(0,a.default)(e);return(0,u.default)(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return(0,u.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,u.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,u.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,u.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,s.default)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):(0,u.default)(o,t.length)},I:function(e,t,n){var r=(0,i.default)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,u.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,u.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(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return(0,u.default)(i,2);case"eo":return n.ordinalNumber(i,{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(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return(0,u.default)(i,t.length);case"co":return n.ordinalNumber(i,{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,u.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,u.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,u.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,i=Math.floor(o.getTime()/1e3);return(0,u.default)(i,t.length)},T:function(e,t,n,r){var o=(r._originalDate||e).getTime();return(0,u.default)(o,t.length)}}})),o.register("l4EgR",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("sNyaz"),i=o("gUSAA"),a=864e5;function s(e){(0,i.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(),s=n-o;return Math.floor(s/a)+1}})),o.register("eNXW4",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("sNyaz"),i=o("aAhwK"),a=o("70R6G"),s=o("gUSAA"),l=6048e5;function u(e){(0,s.default)(1,arguments);var t=(0,r.default)(e),n=(0,i.default)(t).getTime()-(0,a.default)(t).getTime();return Math.round(n/l)+1}})),o.register("aAhwK",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("sNyaz"),i=o("gUSAA");function a(e){(0,i.default)(1,arguments);var t=1,n=(0,r.default)(e),o=n.getUTCDay(),a=(o<t?7:0)+o-t;return n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n}})),o.register("70R6G",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("27Bck"),i=o("aAhwK"),a=o("gUSAA");function s(e){(0,a.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,i.default)(n);return o}})),o.register("27Bck",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("sNyaz"),i=o("gUSAA"),a=o("aAhwK");function s(e){(0,i.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 s=(0,a.default)(o),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var u=(0,a.default)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=u.getTime()?n:n-1}})),o.register("5gyuU",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("sNyaz"),i=o("dLNZc"),a=o("hkgQs"),s=o("gUSAA"),l=6048e5;function u(e,t){(0,s.default)(1,arguments);var n=(0,r.default)(e),o=(0,i.default)(n,t).getTime()-(0,a.default)(n,t).getTime();return Math.round(o/l)+1}})),o.register("dLNZc",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("sNyaz"),i=o("gUSAA"),a=o("ig3EB"),s=o("7d1XZ");function l(e,t){var n,o,l,u,c,f,d,h;(0,i.default)(1,arguments);var p=(0,s.getDefaultOptions)(),g=(0,a.default)(null!==(n=null!==(o=null!==(l=null!==(u=null==t?void 0:t.weekStartsOn)&&void 0!==u?u:null==t||null===(c=t.locale)||void 0===c||null===(f=c.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==l?l: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("7d1XZ",(function(e,n){t(e.exports,"getDefaultOptions",(function(){return o}));var r={};function o(){return r}})),o.register("hkgQs",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("tahNq"),i=o("gUSAA"),a=o("dLNZc"),s=o("ig3EB"),l=o("7d1XZ");function u(e,t){var n,o,u,c,f,d,h,p;(0,i.default)(1,arguments);var g=(0,l.getDefaultOptions)(),m=(0,s.default)(null!==(n=null!==(o=null!==(u=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!==u?u: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,a.default)(y,t);return b}})),o.register("tahNq",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("sNyaz"),i=o("gUSAA"),a=o("dLNZc"),s=o("ig3EB"),l=o("7d1XZ");function u(e,t){var n,o,u,c,f,d,h,p;(0,i.default)(1,arguments);var g=(0,r.default)(e),m=g.getUTCFullYear(),v=(0,l.getDefaultOptions)(),y=(0,s.default)(null!==(n=null!==(o=null!==(u=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!==u?u: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,a.default)(b,t),x=new Date(0);x.setUTCFullYear(m,0,y),x.setUTCHours(0,0,0,0);var S=(0,a.default)(x,t);return g.getTime()>=w.getTime()?m+1:g.getTime()>=S.getTime()?m:m-1}})),o.register("dOguL",(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("1zAK9",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("dOguL"),i={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(),i=Math.floor(o*Math.pow(10,n-3));return(0,r.default)(i,t.length)}}})),o.register("25pBM",(function(e,n){t(e.exports,"default",(function(){return i}));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"})}},i={p:o,P:function(e,t){var n,i=e.match(/(P+)(p+)?/)||[],a=i[1],s=i[2];if(!s)return r(e,t);switch(a){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(a,t)).replace("{{time}}",o(s,t))}}})),o.register("jWFRa",(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("jCC7F",(function(e,n){t(e.exports,"isProtectedDayOfYearToken",(function(){return i})),t(e.exports,"isProtectedWeekYearToken",(function(){return a})),t(e.exports,"throwProtectedError",(function(){return s}));var r=["D","DD"],o=["YY","YYYY"];function i(e){return-1!==r.indexOf(e)}function a(e){return-1!==o.indexOf(e)}function s(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("2ttug",(function(e,n){t(e.exports,"default",(function(){return r}));var r=o("dx0qJ").default})),o.register("dx0qJ",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("lJZXi"),i=o("geRAp"),a=o("bRkD7"),s=o("hKX4x"),l=o("98CES"),u={code:"en-US",formatDistance:r.default,formatLong:i.default,formatRelative:a.default,localize:s.default,match:l.default,options:{weekStartsOn:0,firstWeekContainsDate:1}}})),o.register("lJZXi",(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,i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o}})),o.register("geRAp",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("eeaNT"),i={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("eeaNT",(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("bRkD7",(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("hKX4x",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("2wioj"),i={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("2wioj",(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,i=null!=n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}t(e.exports,"default",(function(){return r}))})),o.register("98CES",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("cxN6C"),i={ordinalNumber:(0,o("gcFMi").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("cxN6C",(function(e,n){function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(a);if(!s)return null;var l,u=s[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(c)?i(c,(function(e){return e.test(u)})):o(c,(function(e){return e.test(u)}));l=e.valueCallback?e.valueCallback(f):f,l=n.valueCallback?n.valueCallback(l):l;var d=t.slice(u.length);return{value:l,rest:d}}}function o(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function i(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("gcFMi",(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],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(o.length);return{value:a,rest:s}}}t(e.exports,"default",(function(){return r}))})),o.register("iieIr",(function(e,n){t(e.exports,"default",(function(){return u}));var r=o("kDhIf"),i=o("dsomp"),a=o("iBvRn"),s=o("TZdLn"),l=o("22kD5"),u={code:"es",formatDistance:r.default,formatLong:i.default,formatRelative:a.default,localize:s.default,match:l.default,options:{weekStartsOn:1,firstWeekContainsDate:1}}})),o.register("kDhIf",(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,i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"en "+o:"hace "+o:o}})),o.register("dsomp",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("eeaNT"),i={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("iBvRn",(function(e,n){t(e.exports,"default",(function(){return i}));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"},i=function(e,t,n,i){return 1!==t.getUTCHours()?o[e]:r[e]}})),o.register("TZdLn",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("2wioj"),i={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("22kD5",(function(e,n){t(e.exports,"default",(function(){return a}));var r=o("gcFMi"),i=o("cxN6C"),a={ordinalNumber:(0,r.default)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,i.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,i.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,i.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,i.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,i.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("g7MWz",(function(e,n){t(e.exports,"default",(function(){return l}));var r=o("i8moy"),i=o("3oc2k"),a=o("cABWQ"),s=o("8PfYN");function l(){const[e,t]=(0,i.useState)(!1);(0,i.useEffect)((()=>(document.addEventListener("click",(()=>{t(!1)}),!0),()=>{document.removeEventListener("click",(()=>{t(!1)}),!0)})),[t]);const{listApps:n}=(0,s.useAppsContext)(),o=n.filter((e=>!1!==e.window.listed)).length;return(0,r.jsxs)(r.Fragment,{children:[(0,r.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,r.jsx)("div",{onClick:()=>{t(!0)},className:"p-3 cursor-pointer rounded-full transition-all "+(e?"opacity-0 scale-90":"opacity-100 scale-100 hover:bg-white/25"),children:(0,r.jsx)(a.HiViewGrid,{className:"w-10 h-10"})})}),(0,r.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 "+(e?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"),children:(0,r.jsx)("div",{about:"list-apps",onClick:e=>{e.preventDefault(),e.stopPropagation()},className:"transition-all translate-x-0 z-10 bg-white/50 text-black p-4 rounded grid gap-3 "+(o<=1?"grid-cols-1 ":"")+(2===o?"grid-cols-2 ":"")+(o>=3?"grid-cols-3 ":"")+(e?"scale-1":"scale-90"),children:(0,r.jsx)(u,{})})})]})}function u(){const{listApps:e,actions:t}=(0,s.useAppsContext)();return(0,r.jsx)(r.Fragment,{children:e.map(((e,n)=>(0,r.jsx)("div",{className:""+(!1===e.window.listed?"hidden":""),onClick:()=>{t.openByName(e.name)},children:(0,r.jsx)(c,{icon:e.icon})},n)))})}function c({icon:e}){return(0,r.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,r.jsx)("div",{className:"w-1/2 h-1/2",children:e})})}})),o.register("fg84T",(function(e,n){t(e.exports,"default",(function(){return s}));var r=o("i8moy");o("3oc2k"),o("bSgNv");var i=o("9S3Bs"),a=o("le8UU");function s(){const{List:e}=(0,i.useShortcuts)(),t=(0,a.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 "+(t?" gap-6 mt-[32rem] ":" gap-4 mt-96 "),children:e.get.map(((e,n)=>(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 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 "+(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 "+(t?"w-12 h-12 ":"w-10 h-10 "),src:`https://www.google.com/s2/favicons?domain=${e.iconUrl}&sz=${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("le8UU",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("3oc2k");function i(e){const[t,n]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const r=window.matchMedia(e);r.matches!==t&&n(r.matches);const o=()=>n(r.matches);return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)}),[t,e]),t}})),o.register("jNo1S",(function(e,r){t(e.exports,"default",(function(){return f}));var i=o("i8moy"),a=o("d1kbP"),s=o("3oc2k"),l=o("gcao7"),u=o("claj3"),c=o("cZZch");function f(){const[e,t]=(0,s.useState)(void 0),[r,o]=(0,s.useState)(!1),[f,d]=(0,s.useState)(void 0),{Visibility:h,Quality:p,Reload:g}=(0,l.useWallpaper)();return(0,s.useEffect)((()=>{const e=new AbortController;!0===g.get&&(!async function(){const r=await(0,u.dbKeys)();d(r.includes("wallpaper"));const i=await(0,u.dbGet)("wallpaper");i&&t("data:image/jpeg;base64,"+i);const s=`https://bing.biturl.top/?resolution=${1===p.get?1366:2===p.get?1920:(p.get,3840)}&format=json&index=0&mkt=en-US`;await n(a)(s,{signal:e.signal}).then((async e=>{e&&e.data&&e.data.url&&(localStorage.getItem("wallpaper-lasturl")===e.data.url||(d(!1),o(!1),(0,c.urlToBase64)(e.data.url).then((n=>{t("data:image/jpeg;base64,"+n),(0,u.dbSet)("wallpaper",n),localStorage.setItem("wallpaper-lasturl",e.data.url),o(!0)}))))})).catch((e=>{}))}(),g.set(!1))}),[g.get]),(0,i.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,i.jsx)("img",{onLoad:()=>{o(!0)},style:{opacity:r?`${h.get}`:"0",transform:r?"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:e,alt:""}),(0,i.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 ${r&&"opacity-0"}`,children:[(0,i.jsx)("div",{className:" h-1/2 aspect-square rounded-full border-4 border-white/50 border-t-white animate-spin"}),!1===f&&(0,i.jsx)("p",{children:"Descargando nueva imagen..."})]})]})}})),o.register("d1kbP",(function(e,t){e.exports=o("zbhla")})),o.register("zbhla",(function(e,t){var n=o("hKBBC"),r=o("5PMcG"),i=o("5XkR1"),a=o("augS6");var s=function e(t){var o=new i(t),s=r(i.prototype.request,o);return n.extend(s,i.prototype,o),n.extend(s,o),s.create=function(n){return e(a(t,n))},s}(o("6hTDJ"));s.Axios=i,s.CanceledError=o("aq18F"),s.CancelToken=o("FynBu"),s.isCancel=o("1yCSG"),s.VERSION=o("9D8IB").version,s.toFormData=o("dw5Mc"),s.AxiosError=o("9sBat"),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=o("jVuqL"),s.isAxiosError=o("hWf0n"),e.exports=s,e.exports.default=s})),o.register("hKBBC",(function(e,t){var n,r=o("5PMcG"),i=Object.prototype.toString,a=(n=Object.create(null),function(e){var t=i.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function l(e){return Array.isArray(e)}function u(e){return void 0===e}var c=s("ArrayBuffer");function f(e){return null!==e&&"object"==typeof e}function d(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var h=s("Date"),p=s("File"),g=s("Blob"),m=s("FileList");function v(e){return"[object Function]"===i.call(e)}var y=s("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(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:l,isArrayBuffer:c,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(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||i.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:u,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(){var t={};function n(n,r){d(t[r])&&d(n)?t[r]=e(t[r],n):d(n)?t[r]=e({},n):l(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)b(arguments[r],n);return t},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,i,a={};t=t||{};do{for(o=(r=Object.getOwnPropertyNames(e)).length;o-- >0;)a[i=r[o]]||(t[i]=e[i],a[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,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(u(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:x,isFileList:m}})),o.register("5PMcG",(function(e,t){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("5XkR1",(function(e,t){var n=o("hKBBC"),r=o("4qy0m"),i=o("1KJeE"),a=o("3EQoD"),s=o("augS6"),l=o("h3Dxt"),u=o("7o7fr"),c=u.validators;function f(e){this.defaults=e,this.interceptors={request:new i,response:new i}}f.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(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&&u.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 i,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!o){var f=[a,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(l),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var d=t;r.length;){var h=r.shift(),p=r.shift();try{d=h(d)}catch(e){p(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;l.length;)i=i.then(l.shift(),l.shift());return i},f.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(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(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(s(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("4qy0m",(function(e,t){var n=o("hKBBC");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 i;if(o)i=o(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];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)),a.push(r(t)+"="+r(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}})),o.register("1KJeE",(function(e,t){var n=o("hKBBC");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("3EQoD",(function(e,t){var n=o("hKBBC"),r=o("6BpPi"),i=o("1yCSG"),a=o("6hTDJ"),s=o("aq18F");function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return l(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||a.adapter)(e).then((function(t){return l(e),t.data=r.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=r.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}})),o.register("6BpPi",(function(e,t){var n=o("hKBBC"),r=o("6hTDJ");e.exports=function(e,t,o){var i=this||r;return n.forEach(o,(function(n){e=n.call(i,e,t)})),e}})),o.register("6hTDJ",(function(e,t){var n=o("6Qhbv"),r=o("hKBBC"),i=o("8rCZy"),a=o("9sBat"),s=o("b76wi"),l=o("dw5Mc"),u={"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:s,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==n&&"[object process]"===Object.prototype.toString.call(n))&&(f=o("jv6Sg")),f),transformRequest:[function(e,t){if(i(t,"Accept"),i(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),a=t&&t["Content-Type"];if((n=r.isFileList(e))||o&&"multipart/form-data"===a){var s=this.env&&this.env.FormData;return l(n?{"files[]":e}:e,s&&new s)}return o||"application/json"===a?(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,i=!n&&"json"===this.responseType;if(i||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a.from(e,a.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("lGnV1")},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(u)})),e.exports=d})),o.register("8rCZy",(function(e,t){var n=o("hKBBC");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("9sBat",(function(e,t){var n=o("hKBBC");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 i=r.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(r,a),Object.defineProperty(i,"isAxiosError",{value:!0}),r.from=function(e,t,o,a,s,l){var u=Object.create(i);return n.toFlatObject(e,u,(function(e){return e!==Error.prototype})),r.call(u,e.message,t,o,a,s),u.name=e.name,l&&Object.assign(u,l),u},e.exports=r})),o.register("b76wi",(function(e,t){e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}})),o.register("dw5Mc",(function(e,t){var n=o("fBhcp").Buffer,r=o("hKBBC");e.exports=function(e,t){t=t||new FormData;var o=[];function i(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}return function e(n,a){if(r.isPlainObject(n)||r.isArray(n)){if(-1!==o.indexOf(n))throw Error("Circular reference detected in "+a);o.push(n),r.forEach(n,(function(n,o){if(!r.isUndefined(n)){var s,l=a?a+"."+o:o;if(n&&!a&&"object"==typeof n)if(r.endsWith(o,"{}"))n=JSON.stringify(n);else if(r.endsWith(o,"[]")&&(s=r.toArray(n)))return void s.forEach((function(e){!r.isUndefined(e)&&t.append(l,i(e))}));e(n,l)}})),o.pop()}else t.append(a,i(n))}(e),t}})),o.register("fBhcp",(function(e,n){var r,i;t(e.exports,"Buffer",(function(){return r}),(function(e){return r=e})),t(e.exports,"INSPECT_MAX_BYTES",(function(){return i}),(function(e){return i=e}));var a=o("lQMT3"),s=o("jKP3c");const l="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;r=f,i=50;const u=2147483647;function c(e){if(e>u)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,f.prototype),t}function f(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 p(e)}return d(e,t,n)}function d(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!f.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|y(e,t);let r=c(n);const o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(J(e,Uint8Array)){const t=new Uint8Array(e);return m(t.buffer,t.byteOffset,t.byteLength)}return g(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 "+typeof e);if(J(e,ArrayBuffer)||e&&J(e.buffer,ArrayBuffer))return m(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(J(e,SharedArrayBuffer)||e&&J(e.buffer,SharedArrayBuffer)))return m(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return f.from(r,t,n);const o=function(e){if(f.isBuffer(e)){const t=0|v(e.length),n=c(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||Q(e.length)?c(0):g(e);if("Buffer"===e.type&&Array.isArray(e.data))return g(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return f.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function h(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 p(e){return h(e),c(e<0?0:0|v(e))}function g(e){const t=e.length<0?0:0|v(e.length),n=c(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function m(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');let 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,f.prototype),r}function v(e){if(e>=u)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return 0|e}function y(e,t){if(f.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||J(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return X(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return $(e).length;default:if(o)return r?-1:X(e).length;t=(""+t).toLowerCase(),o=!0}}function b(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return P(this,t,n);case"base64":return O(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function w(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function x(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),Q(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=f.from(t,r)),f.isBuffer(t))return 0===t.length?-1:S(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):S(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function S(e,t,n,r,o){let i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let r=-1;for(i=n;i<s;i++)if(u(e,i)===u(t,-1===r?0:i-r)){if(-1===r&&(r=i),i-r+1===l)return r*a}else-1!==r&&(i-=i-r),r=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){let n=!0;for(let r=0;r<l;r++)if(u(e,i+r)!==u(t,r)){n=!1;break}if(n)return i}return-1}function E(e,t,n,r){n=Number(n)||0;const o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;const i=t.length;let a;for(r>i/2&&(r=i/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(Q(r))return a;e[n+a]=r}return a}function k(e,t,n,r){return Z(X(t,e.length-n),e,n,r)}function j(e,t,n,r){return Z(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function T(e,t,n,r){return Z($(t),e,n,r)}function N(e,t,n,r){return Z(function(e,t){let n,r,o;const i=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function O(e,t,n){return 0===t&&n===e.length?a.fromByteArray(e):a.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);const r=[];let o=t;for(;o<n;){const t=e[o];let i=null,a=t>239?4:t>223?3:t>191?2:1;if(o+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(i=t);break;case 2:n=e[o+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(i=l));break;case 3:n=e[o+1],r=e[o+2],128==(192&n)&&128==(192&r)&&(l=(15&t)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(i=l));break;case 4:n=e[o+1],r=e[o+2],s=e[o+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,l>65535&&l<1114112&&(i=l))}}null===i?(i=65533,a=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=a}return function(e){const t=e.length;if(t<=M)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=M));return n}(r)}f.TYPED_ARRAY_SUPPORT=function(){try{const 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}}(),f.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(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=function(e,t,n){return d(e,t,n)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(e,t,n){return function(e,t,n){return h(e),e<=0?c(e):void 0!==t?"string"==typeof n?c(e).fill(t,n):c(e).fill(t):c(e)}(e,t,n)},f.allocUnsafe=function(e){return p(e)},f.allocUnsafeSlow=function(e){return p(e)},f.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==f.prototype},f.compare=function(e,t){if(J(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),J(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(e)||!f.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},f.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}},f.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return f.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=f.allocUnsafe(t);let o=0;for(n=0;n<e.length;++n){let t=e[n];if(J(t,Uint8Array))o+t.length>r.length?(f.isBuffer(t)||(t=f.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else{if(!f.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,o)}o+=t.length}return r},f.byteLength=y,f.prototype._isBuffer=!0,f.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)w(this,t,t+1);return this},f.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)w(this,t,t+3),w(this,t+1,t+2);return this},f.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)w(this,t,t+7),w(this,t+1,t+6),w(this,t+2,t+5),w(this,t+3,t+4);return this},f.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?C(this,0,e):b.apply(this,arguments)},f.prototype.toLocaleString=f.prototype.toString,f.prototype.equals=function(e){if(!f.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===f.compare(this,e)},f.prototype.inspect=function(){let e="";const t=i;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},l&&(f.prototype[l]=f.prototype.inspect),f.prototype.compare=function(e,t,n,r,o){if(J(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(i,a),l=this.slice(r,o),u=e.slice(t,n);for(let e=0;e<s;++e)if(l[e]!==u[e]){i=l[e],a=u[e];break}return i<a?-1:a<i?1:0},f.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},f.prototype.indexOf=function(e,t,n){return x(this,e,t,n,!0)},f.prototype.lastIndexOf=function(e,t,n){return x(this,e,t,n,!1)},f.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)}const 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");let i=!1;for(;;)switch(r){case"hex":return E(this,e,t,n);case"utf8":case"utf-8":return k(this,e,t,n);case"ascii":case"latin1":case"binary":return j(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const M=4096;function D(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function P(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function A(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let o="";for(let r=t;r<n;++r)o+=ee[e[r]];return o}function R(e,t,n){const r=e.slice(t,n);let o="";for(let e=0;e<r.length-1;e+=2)o+=String.fromCharCode(r[e]+256*r[e+1]);return o}function I(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 B(e,t,n,r,o,i){if(!f.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function L(e,t,n,r,o){Y(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function U(e,t,n,r,o){Y(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function _(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,o){return t=+t,n>>>=0,o||_(e,0,n,4),s.write(e,t,n,r,23,4),n+4}function H(e,t,n,r,o){return t=+t,n>>>=0,o||_(e,0,n,8),s.write(e,t,n,r,52,8),n+8}f.prototype.slice=function(e,t){const 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);const r=this.subarray(e,t);return Object.setPrototypeOf(r,f.prototype),r},f.prototype.readUintLE=f.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||I(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return r},f.prototype.readUintBE=f.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||I(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},f.prototype.readUint8=f.prototype.readUInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),this[e]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]|this[e+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]<<8|this[e+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},f.prototype.readBigUInt64LE=te((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(o)<<BigInt(32))})),f.prototype.readBigUInt64BE=te((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(o)})),f.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||I(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},f.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||I(e,t,this.length);let r=t,o=1,i=this[e+--r];for(;r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},f.prototype.readInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},f.prototype.readInt16LE=function(e,t){e>>>=0,t||I(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt16BE=function(e,t){e>>>=0,t||I(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},f.prototype.readInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},f.prototype.readBigInt64LE=te((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);const 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]*2**24)})),f.prototype.readBigInt64BE=te((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),f.prototype.readFloatLE=function(e,t){return e>>>=0,t||I(e,4,this.length),s.read(this,e,!0,23,4)},f.prototype.readFloatBE=function(e,t){return e>>>=0,t||I(e,4,this.length),s.read(this,e,!1,23,4)},f.prototype.readDoubleLE=function(e,t){return e>>>=0,t||I(e,8,this.length),s.read(this,e,!0,52,8)},f.prototype.readDoubleBE=function(e,t){return e>>>=0,t||I(e,8,this.length),s.read(this,e,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){B(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},f.prototype.writeUintBE=f.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){B(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},f.prototype.writeUint8=f.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,1,255,0),this[t]=255&e,t+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||B(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},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||B(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},f.prototype.writeBigUInt64LE=te((function(e,t=0){return L(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),f.prototype.writeBigUInt64BE=te((function(e,t=0){return U(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),f.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);B(this,e,t,n,r-1,-r)}let o=0,i=1,a=0;for(this[t]=255&e;++o<n&&(i*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+n},f.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);B(this,e,t,n,r-1,-r)}let o=n-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+n},f.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},f.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},f.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},f.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||B(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},f.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||B(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},f.prototype.writeBigInt64LE=te((function(e,t=0){return L(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),f.prototype.writeBigInt64BE=te((function(e,t=0){return U(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),f.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},f.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},f.prototype.writeDoubleLE=function(e,t,n){return H(this,e,t,!0,n)},f.prototype.writeDoubleBE=function(e,t,n){return H(this,e,t,!1,n)},f.prototype.copy=function(e,t,n,r){if(!f.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);const 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},f.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&&!f.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}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;let o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{const i=f.isBuffer(e)?e:f.from(e,r),a=i.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=i[o%a]}return this};const z={};function W(e,t,n){z[e]=class extends n{get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}}}function V(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function Y(e,t,n,r,o,i){if(e>n||e<t){const r="bigint"==typeof t?"n":"";let o;throw o=i>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(i+1)}${r}`:`>= -(2${r} ** ${8*(i+1)-1}${r}) and < 2 ** ${8*(i+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new z.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||G(t,e.length-(n+1))}(r,o,i)}function q(e,t){if("number"!=typeof e)throw new z.ERR_INVALID_ARG_TYPE(t,"number",e)}function G(e,t,n){if(Math.floor(e)!==e)throw q(e,n),new z.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new z.ERR_BUFFER_OUT_OF_BOUNDS;throw new z.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}W("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),W("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),W("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=V(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=V(o)),o+="n"),r+=` It must be ${t}. Received ${o}`,r}),RangeError);const K=/[^+/0-9A-Za-z-_]/g;function X(e,t){let n;t=t||1/0;const r=e.length;let o=null;const i=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function $(e){return a.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(K,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Z(e,t,n,r){let o;for(o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function J(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!=e}const ee=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function te(e){return"undefined"==typeof BigInt?ne:e}function ne(){throw new Error("BigInt not supported")}})),o.register("lQMT3",(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],i=r[1],l=new s(function(e,t,n){return 3*(t+n)/4-n}(0,o,i)),u=0,c=i>0?o-4:o;for(n=0;n<c;n+=4)t=a[e.charCodeAt(n)]<<18|a[e.charCodeAt(n+1)]<<12|a[e.charCodeAt(n+2)]<<6|a[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===i&&(t=a[e.charCodeAt(n)]<<2|a[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===i&&(t=a[e.charCodeAt(n)]<<10|a[e.charCodeAt(n+1)]<<4|a[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},o=function(e){for(var t,n=e.length,r=n%3,o=[],a=16383,s=0,l=n-r;s<l;s+=a)o.push(d(e,s,s+a>l?l:s+a));1===r?(t=e[n-1],o.push(i[t>>2]+i[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"="));return o.join("")};for(var i=[],a=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,c=l.length;u<c;++u)i[u]=l[u],a[l.charCodeAt(u)]=u;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,a=[],s=t;s<n;s+=3)r=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(i[(o=r)>>18&63]+i[o>>12&63]+i[o>>6&63]+i[63&o]);return a.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63})),o.register("jKP3c",(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 i,a,s=8*o-r-1,l=(1<<s)-1,u=l>>1,c=-7,f=n?o-1:0,d=n?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-c)-1,h>>=-c,c+=s;c>0;i=256*i+e[t+f],f+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=u}return(h?-1:1)*a*Math.pow(2,i-r)},o=function(e,t,n,r,o,i){var a,s,l,u=8*i-o-1,c=(1<<u)-1,f=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-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?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?d/l:d*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=p,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*g}})),o.register("jv6Sg",(function(e,t){var n=o("hKBBC"),r=o("glTbh"),i=o("1d4tv"),a=o("4qy0m"),s=o("h3Dxt"),l=o("him8G"),u=o("lrsHZ"),c=o("b76wi"),f=o("9sBat"),d=o("aq18F"),h=o("1Ez1f");e.exports=function(e){return new Promise((function(t,o){var p,g=e.data,m=e.headers,v=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}n.isFormData(g)&&n.isStandardBrowserEnv()&&delete m["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(w+":"+x)}var S=s(e.baseURL,e.url);function E(){if(b){var n="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null,i={data:v&&"text"!==v&&"json"!==v?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:n,config:e,request:b};r((function(e){t(e),y()}),(function(e){o(e),y()}),i),b=null}}if(b.open(e.method.toUpperCase(),a(S,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=E:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(E)},b.onabort=function(){b&&(o(new f("Request aborted",f.ECONNABORTED,e,b)),b=null)},b.onerror=function(){o(new f("Network Error",f.ERR_NETWORK,e,b,b)),b=null},b.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,b)),b=null},n.isStandardBrowserEnv()){var k=(e.withCredentials||u(S))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;k&&(m[e.xsrfHeaderName]=k)}"setRequestHeader"in b&&n.forEach(m,(function(e,t){void 0===g&&"content-type"===t.toLowerCase()?delete m[t]:b.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),v&&"json"!==v&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){b&&(o(!e||e&&e.type?new d:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),g||(g=null);var j=h(S);j&&-1===["http","https","file"].indexOf(j)?o(new f("Unsupported protocol "+j+":",f.ERR_BAD_REQUEST,e)):b.send(g)}))}})),o.register("glTbh",(function(e,t){var n=o("9sBat");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("1d4tv",(function(e,t){var n=o("hKBBC");e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.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("h3Dxt",(function(e,t){var n=o("kxa4e"),r=o("3aER3");e.exports=function(e,t){return e&&!n(t)?r(e,t):t}})),o.register("kxa4e",(function(e,t){e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}})),o.register("3aER3",(function(e,t){e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}})),o.register("him8G",(function(e,t){var n=o("hKBBC"),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,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),o=n.trim(e.substr(i+1)),t){if(a[t]&&r.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([o]):a[t]?a[t]+", "+o:o}})),a):a}})),o.register("lrsHZ",(function(e,t){var n=o("hKBBC");e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}})),o.register("aq18F",(function(e,t){var n=o("9sBat");function r(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}o("hKBBC").inherits(r,n,{__CANCEL__:!0}),e.exports=r})),o.register("1Ez1f",(function(e,t){e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}})),o.register("lGnV1",(function(e,t){e.exports=null})),o.register("1yCSG",(function(e,t){e.exports=function(e){return!(!e||!e.__CANCEL__)}})),o.register("augS6",(function(e,t){var n=o("hKBBC");e.exports=function(e,t){t=t||{};var r={};function o(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}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function l(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||i,o=t(e);n.isUndefined(o)&&t!==l||(r[e]=o)})),r}})),o.register("7o7fr",(function(e,t){var n=o("9D8IB").version,r=o("9sBat"),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};i.transitional=function(e,t,o){function i(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(o?". "+o:"")}return function(n,o,s){if(!1===e)throw new r(i(o," has been removed"+(t?" in "+t:"")),r.ERR_DEPRECATED);return t&&!a[o]&&(a[o]=!0,console.warn(i(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new r("options must be an object",r.ERR_BAD_OPTION_VALUE);for(var o=Object.keys(e),i=o.length;i-- >0;){var a=o[i],s=t[a];if(s){var l=e[a],u=void 0===l||s(l,a,e);if(!0!==u)throw new r("option "+a+" must be "+u,r.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new r("Unknown option "+a,r.ERR_BAD_OPTION)}},validators:i}})),o.register("9D8IB",(function(e,t){e.exports={version:"0.27.2"}})),o.register("FynBu",(function(e,t){var n=o("aq18F");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("jVuqL",(function(e,t){e.exports=function(e){return function(t){return e.apply(null,t)}}})),o.register("hWf0n",(function(e,t){var n=o("hKBBC");e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}})),o.register("claj3",(function(e,n){t(e.exports,"dbGet",(function(){return i})),t(e.exports,"dbSet",(function(){return a})),t(e.exports,"dbKeys",(function(){return s}));const r=(0,o("dlQHE").openDB)("keyval-store",1,{upgrade(e){e.createObjectStore("keyval")}});async function i(e){return(await r).get("keyval",e)}async function a(e,t){return(await r).put("keyval",t,e)}async function s(){return(await r).getAllKeys("keyval")}})),o.register("dlQHE",(function(e,n){t(e.exports,"openDB",(function(){return i}));var r=o("3wrkJ");r=o("3wrkJ");function i(e,t,{blocked:n,upgrade:o,blocking:i,terminated:a}={}){const s=indexedDB.open(e,t),l=(0,r.w)(s);return o&&s.addEventListener("upgradeneeded",(e=>{o((0,r.w)(s.result),e.oldVersion,e.newVersion,(0,r.w)(s.transaction))})),n&&s.addEventListener("blocked",(()=>n())),l.then((e=>{a&&e.addEventListener("close",(()=>a())),i&&e.addEventListener("versionchange",(()=>i()))})).catch((()=>{})),l}const a=["get","getKey","getAll","getAllKeys","count"],s=["put","add","delete","clear"],l=new Map;function u(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(l.get(t))return l.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,o=s.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!o&&!a.includes(n))return;const i=async function(e,...t){const i=this.transaction(e,o?"readwrite":"readonly");let a=i.store;return r&&(a=a.index(t.shift())),(await Promise.all([a[n](...t),o&&i.done]))[0]};return l.set(t,i),i}(0,r.r)((e=>({...e,get:(t,n,r)=>u(t,n)||e.get(t,n,r),has:(t,n)=>!!u(t,n)||e.has(t,n)})))})),o.register("3wrkJ",(function(e,n){t(e.exports,"w",(function(){return p})),t(e.exports,"r",(function(){return f}));let r,o;const i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap,u=new WeakMap;let c={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return a.get(e);if("objectStoreNames"===t)return e.objectStoreNames||s.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return p(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function f(e){c=e(c)}function d(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(o||(o=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(g(this),t),p(i.get(this))}:function(...t){return p(e.apply(g(this),t))}:function(t,...n){const r=e.call(g(this),t,...n);return s.set(r,t.sort?t.sort():[t]),p(r)}}function h(e){return"function"==typeof e?d(e):(e instanceof IDBTransaction&&function(e){if(a.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("complete",o),e.removeEventListener("error",i),e.removeEventListener("abort",i)},o=()=>{t(),r()},i=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",o),e.addEventListener("error",i),e.addEventListener("abort",i)}));a.set(e,t)}(e),t=e,(r||(r=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((e=>t instanceof e))?new Proxy(e,c):e);var t}function p(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("success",o),e.removeEventListener("error",i)},o=()=>{t(p(e.result)),r()},i=()=>{n(e.error),r()};e.addEventListener("success",o),e.addEventListener("error",i)}));return t.then((t=>{t instanceof IDBCursor&&i.set(t,e)})).catch((()=>{})),u.set(t,e),t}(e);if(l.has(e))return l.get(e);const t=h(e);return t!==e&&(l.set(e,t),u.set(t,e)),t}const g=e=>u.get(e)})),o.register("cZZch",(function(e,r){t(e.exports,"urlToBase64",(function(){return s}));var i=o("d1kbP"),a=o("fBhcp");async function s(e){const t=await n(i).get(e,{responseType:"arraybuffer"});return a.Buffer.from(t.data,"binary").toString("base64")}window.Buffer=a.Buffer})),o.register("8kqYR",(function(e,n){t(e.exports,"default",(function(){return i}));var r=o("i8moy");function i(){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("kxoRd",(function(e,r){t(e.exports,"default",(function(){return l}));var i=o("i8moy"),a=o("3oc2k"),s=o("hYTYj");function l(){const[e,t]=(0,a.useState)(void 0);return(0,a.useEffect)((()=>{(async()=>{const e=await o("bp7ML");t(e.default())})()}),[]),(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"p-6 w-96",children:[(0,i.jsx)("p",{className:"p-2 pt-0 pb-4 select-text ",children:"Licencia: MIT - X11"}),(0,i.jsx)(n(s),{className:" w-auto h-48 p-3 select-text bg-white/95 rounded-md shadow-inner shadow-black/[0.01] drop-shadow",children:(0,i.jsxs)("div",{className:"w-full h-full max-w-xs p-3 mx-auto leading-normal text-justify rounded-md ",children:[(0,i.jsx)("p",{className:"pb-3 ",children:"Copyright 2022 Kevin Zaracho"}),(0,i.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,i.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,i.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,i.jsx)("div",{className:"grid items-end justify-end h-8 ",children:(0,i.jsxs)("span",{className:"text-xs font-medium",children:["Versión:"," ",(0,i.jsx)("span",{className:"font-semibold",children:e||"..."})]})})]})})}})),o.register("2YApT",(function(e,n){t(e.exports,"default",(function(){return g}));var r=o("i8moy"),i=o("3oc2k"),a=o("kkc1y"),s=o("en7Xn"),l=o("8PfYN");const u=new URL(o("kIIcP")),c=new URL(o("5U0ZN")),f=new URL(o("9s9dl")),d=new URL(o("dNF1q")),h=new URL(o("hHd88")),p=new URL(o("2ZcN4"));function g(){const[e,t]=(0,i.useState)(!1),[n,o]=(0,i.useState)([]),[g,m]=(0,i.useState)(0),{actions:v,lastNews:y}=(0,l.useAppsContext)();(0,i.useEffect)((()=>{!1===e&&(t(!0),o([(0,r.jsxs)("div",{className:"grid grid-flow-row place-items-center place-content-center gap-4 w-full h-full ",children:[(0,r.jsx)("img",{className:" w-20 h-20 animate-hand",src:u,alt:""}),(0,r.jsx)("span",{className:" font-normal text-2xl",children:"¡Bienvenido!"})]}),(0,r.jsxs)("div",{className:"grid grid-flow-row place-items-center place-content-center gap-4 w-full h-full ",children:[(0,r.jsx)("img",{className:" w-20 h-20",src:h,alt:""}),(0,r.jsxs)("p",{className:"",children:["La idea de esta aplicación es darle a tu"," ",(0,r.jsxs)("span",{className:" font-semibold whitespace-nowrap",children:['"Nueva pestaña"'," "]}),"un estilo limpio, atractivo y útil."]})]}),(0,r.jsxs)("div",{className:"grid grid-flow-row place-items-center place-content-center gap-4 w-full h-full ",children:[(0,r.jsx)("span",{className:"",children:"Puedes personalizar el reloj, la tipografía y los accesos directos."}),(0,r.jsxs)("div",{className:" w-2/3 h-auto grid grid-flow-col justify-around items-center",children:[(0,r.jsx)("img",{className:" w-12 h-12",src:c,alt:""}),(0,r.jsx)("img",{className:" w-12 h-12",src:p,alt:""}),(0,r.jsx)("img",{className:" w-12 h-12",src:d,alt:""})]})]}),(0,r.jsxs)("div",{className:"grid grid-flow-row place-items-center place-content-center gap-4 w-full h-full ",children:[(0,r.jsx)("img",{className:" w-20 h-20",src:f,alt:""}),(0,r.jsxs)("p",{children:["Comienza a explorar, pero recuerda: La aplicación está en construcción. ¡No dudes en"," ",(0,r.jsx)("a",{className:"text-blue-500",href:"mailto:[email protected]?Subject=Hola! Te escribo por Casitapp",target:"_blank",rel:"noopener noreferrer",children:"contactarme"}),"!"]})]})]))}),[e]);return(0,r.jsxs)("div",{className:" w-96 h-auto p-6 grid grid-flow-row place-items-center gap-8 ",children:[(0,r.jsx)("div",{className:" w-full h-full grid grid-flow-col overflow-hidden",children:n.length?n.map(((e,t)=>(0,r.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)] "+(t===g?"translate-x-0 ":"")+(t>g?"translate-x-full ":"")+(t<g?"-translate-x-full ":""),children:e},t))):(0,r.jsx)("div",{className:" w-full h-full grid place-content-center",children:(0,r.jsx)(s.VscLoading,{className:" w-12 h-12 animate-spin"})})}),(0,r.jsxs)("div",{className:" w-full h-auto grid grid-flow-col justify-around ",children:[(0,r.jsx)(a.default,{onClick:()=>{m(g-1>=0?g-1:0)},enabled:0!==g,children:"Volver"}),(0,r.jsx)(a.default,{onClick:()=>{g===n.length-1?(v.closeByName("welcome"),localStorage.setItem("app-welcome-last-new",String(y))):m(g+1<=n.length-1?g+1:n.length-1)},enabled:!0,children:g!==n.length-1?"Siguiente":"Finalizar"})]})]})}})),o.register("en7Xn",(function(e,n){t(e.exports,"VscLoading",(function(){return i})),o("j122q");var r=o("kvsp4");function i(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("kIIcP",(function(e,t){e.exports=new URL(o("l8k7r").resolve("e4yEK"),import.meta.url).toString()})),o.register("5U0ZN",(function(e,t){e.exports=new URL(o("l8k7r").resolve("8L2zB"),import.meta.url).toString()})),o.register("9s9dl",(function(e,t){e.exports=new URL(o("l8k7r").resolve("hE3eV"),import.meta.url).toString()})),o.register("dNF1q",(function(e,t){e.exports=new URL(o("l8k7r").resolve("305IC"),import.meta.url).toString()})),o.register("hHd88",(function(e,t){e.exports=new URL(o("l8k7r").resolve("3i5Uv"),import.meta.url).toString()})),o.register("2ZcN4",(function(e,t){e.exports=new URL(o("l8k7r").resolve("iLp06"),import.meta.url).toString()})),o.register("iRc4t",(function(e,n){t(e.exports,"ProviderGeneral",(function(){return s})),t(e.exports,"useGeneral",(function(){return l}));var r=o("i8moy"),i=o("3oc2k");const a=(0,i.createContext)(void 0);function s(e){const[t,n]=(0,i.useState)(!("http:"===location.protocol||"https:"===location.protocol)),o={installed:{get:t,set:n}};return(0,r.jsx)(a.Provider,{...e,value:o})}function l(){return(0,i.useContext)(a)}})),o.register("58478",(function(e,r){t(e.exports,"AppWithWindow",(function(){return l}));var i=o("i8moy"),a=o("8PfYN"),s=o("g3blc");function l({children:e}){const t=e,{actions:r}=(0,a.useAppsContext)();return(0,i.jsx)("div",{className:"w-full h-full grid place-items-center text-sm select-none",children:(0,i.jsx)(n(s),{onStart:()=>{r.bringToFrontByName(t.name)},onStop:(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,i.jsx)("div",{onClick:()=>{r.bringToFrontByName(t.name)},ref:t.window.nodeRef,className:"w-auto h-auto",children:(0,i.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 "+(t.window.visible?"scale-100 opacity-100 ":"scale-90 opacity-0 invisible "),children:[(0,i.jsx)(u,{gotFocus:r.getLastzIndex()===t.window.zIndex,displayName:t.window.title,appName:t.name,appIcon:t.icon,canClose:!1!==t.window.canClose}),t.content]})})})})}function u({displayName:e=String(),appName:t,appIcon:n,gotFocus:r,canClose:o}){const s=({className:e,action:t,simbol:n,simbolColor:o})=>(0,i.jsx)("div",{onClickCapture:t,onMouseUpCapture:t,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 ${e} ${r?"grayscale-0":"grayscale group-hover:grayscale-0"}`,children:(0,i.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${o}`,children:n})}),{actions:l}=(0,a.useAppsContext)();return(0,i.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,i.jsx)("div",{className:"grid items-center justify-start w-full translate-x-0 h-1/2",children:n}),(0,i.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,i.jsx)("span",{className:"text-sm font-semibold leading-none opacity-80",children:e})}),(0,i.jsx)("div",{className:"z-10 grid justify-end w-full grid-flow-col gap-1 translate-x-0 pointer-events-none",children:!0===o&&(0,i.jsx)(s,{action:e=>{e.stopPropagation(),l.closeByName(t)},className:"bg-red-400 ring-red-500/25",simbol:"x",simbolColor:"text-red-800"})}),(0,i.jsx)("div",{className:`absolute left-0 top-0 right-0 bottom-0 pointer-events-none border-b border-black/5 transition-all ${r&&"shadow-sm group-hover:shadow-lg shadow-black/5 group-hover:shadow-black/5"}`})]})}})),o.register("g3blc",(function(e,t){var n=o("aNoCv"),r=n.default,i=n.DraggableCore;e.exports=r,e.exports.default=r,e.exports.DraggableCore=i})),o.register("aNoCv",(function(e,t){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={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(o("3oc2k")),i=p(o("jrBl3")),a=p(o("hffuk")),s=p(o("9wZxM")),l=o("9M6bW"),u=o("pK7Ud"),c=o("fVLw3"),f=p(o("93WKe")),d=p(o("hZ35K")),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={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function 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=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}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,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return 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 S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function k(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=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return j(this,n)}}function j(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 N(e){return N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},N(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&&E(e,t)}(c,e);var t,n,o,i=k(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=i.call(this,e)),"onDragStart",(function(e,n){if((0,d.default)("Draggable: onDragStart: %j",n),!1===t.props.onStart(e,(0,u.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,u.createDraggableData)(T(t),n),o={x:r.x,y:r.y};if(t.props.bounds){var i=o.x,a=o.y;o.x+=t.state.slackX,o.y+=t.state.slackY;var s=w((0,u.getBoundPosition)(T(t),o.x,o.y),2),l=s[0],c=s[1];o.x=l,o.y=c,o.slackX=t.state.slackX+(i-o.x),o.slackY=t.state.slackY+(a-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,u.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,i=o.x,a=o.y;r.x=i,r.y=a}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:a.default.findDOMNode(this)}},{key:"render",value:function(){var e,t=this.props,n=(t.axis,t.bounds,t.children),o=t.defaultPosition,i=t.defaultClassName,a=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,S=d||o,E={x:(0,u.canDragX)(this)&&x?this.state.x:S.x,y:(0,u.canDragY)(this)&&x?this.state.y:S.y};this.state.isElementSVG?w=(0,l.createSVGTransform)(E,p):y=(0,l.createCSSTransform)(E,p);var k=(0,s.default)(n.props.className||"",i,(O(e={},a,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:k,style:b(b({},n.props.style),y),transform:w}))}}])&&S(t.prototype,n),o&&S(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:i.default.oneOf(["both","x","y","none"]),bounds:i.default.oneOfType([i.default.shape({left:i.default.number,right:i.default.number,top:i.default.number,bottom:i.default.number}),i.default.string,i.default.oneOf([!1])]),defaultClassName:i.default.string,defaultClassNameDragging:i.default.string,defaultClassNameDragged:i.default.string,defaultPosition:i.default.shape({x:i.default.number,y:i.default.number}),positionOffset:i.default.shape({x:i.default.oneOfType([i.default.number,i.default.string]),y:i.default.oneOfType([i.default.number,i.default.string])}),position:i.default.shape({x:i.default.number,y:i.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("9wZxM",(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 i(){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 i})),t(n.exports,"default",(function(){return a}));var a=i})),o.register("9M6bW",(function(e,t){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=l({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 u({},(0,i.browserPrefixToKey)("transform",i.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,i=(e.clientY+t.scrollTop-r.top)/n;return{x:o,y:i}},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=l({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("fVLw3"),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=i?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=e[s]}o.default=e,r&&r.set(e,o);return o}(o("5YtRC"));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function s(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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,i="translate(".concat(r).concat(n,",").concat(o).concat(n,")");if(t){var a="".concat("string"==typeof t.x?t.x:t.x+n),s="".concat("string"==typeof t.y?t.y:t.y+n);i="translate(".concat(a,", ").concat(s,")")+i}return i}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("fVLw3",(function(e,t){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("5YtRC",(function(e,t){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 i=null===(e=window.document)||void 0===e||null===(t=e.documentElement)||void 0===t?void 0:t.style;if(!i)return"";if(r in i)return"";for(var a=0;a<n.length;a++)if(o(r,n[a])in i)return n[a];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 i=r();e.exports.default=i})),o.register("pK7Ud",(function(e,t){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,a=!(0,n.isNum)(o.lastX),s=i(e);return a?{node:s,deltaX:0,deltaY:0,lastX:t,lastY:r,x:t,y:r}:{node:s,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 a=e.props.bounds;a="string"==typeof a?a:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(a);var s=i(e);if("string"==typeof a){var l,u=s.ownerDocument,c=u.defaultView;if(!((l="parent"===a?s.parentNode:u.querySelector(a))instanceof c.HTMLElement))throw new Error('Bounds selector "'+a+'" could not find an element.');var f=l,d=c.getComputedStyle(s),h=c.getComputedStyle(f);a={left:-s.offsetLeft+(0,n.int)(h.paddingLeft)+(0,n.int)(d.marginLeft),top:-s.offsetTop+(0,n.int)(h.paddingTop)+(0,n.int)(d.marginTop),right:(0,r.innerWidth)(f)-(0,r.outerWidth)(s)-s.offsetLeft+(0,n.int)(h.paddingRight)-(0,n.int)(d.marginRight),bottom:(0,r.innerHeight)(f)-(0,r.outerHeight)(s)-s.offsetTop+(0,n.int)(h.paddingBottom)-(0,n.int)(d.marginBottom)}}(0,n.isNum)(a.right)&&(t=Math.min(t,a.right));(0,n.isNum)(a.bottom)&&(o=Math.min(o,a.bottom));(0,n.isNum)(a.left)&&(t=Math.max(t,a.left));(0,n.isNum)(a.top)&&(o=Math.max(o,a.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 a=i(n),s=n.props.offsetParent||a.offsetParent||a.ownerDocument.body;return(0,r.offsetXYFromParent)(o||e,s,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("fVLw3"),r=o("9M6bW");function i(e){var t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}})),o.register("93WKe",(function(e,t){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={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(o("3oc2k")),i=f(o("jrBl3")),a=f(o("hffuk")),s=o("9M6bW"),l=o("pK7Ud"),u=o("fVLw3"),c=f(o("hZ35K"));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,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return 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 S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E={start:"touchstart",move:"touchmove",stop:"touchend"},k={start:"mousedown",move:"mousemove",stop:"mouseup"},j=k,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)}(u,e);var t,n,o,i=y(u);function u(){var e;g(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return S(w(e=i.call.apply(i,[this].concat(n))),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),S(w(e),"mounted",!1),S(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,s.matchesSelectorAndParentsTo)(t.target,e.props.handle,n)||e.props.cancel&&(0,s.matchesSelectorAndParentsTo)(t.target,e.props.cancel,n))){"touchstart"===t.type&&t.preventDefault();var o=(0,s.getTouchIdentifier)(t);e.setState({touchIdentifier:o});var i=(0,l.getControlPosition)(t,o,w(e));if(null!=i){var a=i.x,u=i.y,f=(0,l.createCoreData)(w(e),a,u);(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,s.addUserSelectStyles)(r),e.setState({dragging:!0,lastX:a,lastY:u}),(0,s.addEvent)(r,j.move,e.handleDrag),(0,s.addEvent)(r,j.stop,e.handleDragStop))}}})),S(w(e),"handleDrag",(function(t){var n=(0,l.getControlPosition)(t,e.state.touchIdentifier,w(e));if(null!=n){var r=n.x,o=n.y;if(Array.isArray(e.props.grid)){var i=r-e.state.lastX,a=o-e.state.lastY,s=h((0,l.snapToGrid)(e.props.grid,i,a),2);if(i=s[0],a=s[1],!i&&!a)return;r=e.state.lastX+i,o=e.state.lastY+a}var u=(0,l.createCoreData)(w(e),r,o);if((0,c.default)("DraggableCore: handleDrag: %j",u),!1!==e.props.onDrag(t,u)&&!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)}}})),S(w(e),"handleDragStop",(function(t){if(e.state.dragging){var n=(0,l.getControlPosition)(t,e.state.touchIdentifier,w(e));if(null!=n){var r=n.x,o=n.y;if(Array.isArray(e.props.grid)){var i=r-e.state.lastX||0,a=o-e.state.lastY||0,u=h((0,l.snapToGrid)(e.props.grid,i,a),2);i=u[0],a=u[1],r=e.state.lastX+i,o=e.state.lastY+a}var f=(0,l.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,s.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,s.removeEvent)(d.ownerDocument,j.move,e.handleDrag),(0,s.removeEvent)(d.ownerDocument,j.stop,e.handleDragStop))}}})),S(w(e),"onMouseDown",(function(t){return j=k,e.handleDragStart(t)})),S(w(e),"onMouseUp",(function(t){return j=k,e.handleDragStop(t)})),S(w(e),"onTouchStart",(function(t){return j=E,e.handleDragStart(t)})),S(w(e),"onTouchEnd",(function(t){return j=E,e.handleDragStop(t)})),e}return t=u,(n=[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.findDOMNode();e&&(0,s.addEvent)(e,E.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.findDOMNode();if(e){var t=e.ownerDocument;(0,s.removeEvent)(t,k.move,this.handleDrag),(0,s.removeEvent)(t,E.move,this.handleDrag),(0,s.removeEvent)(t,k.stop,this.handleDragStop),(0,s.removeEvent)(t,E.stop,this.handleDragStop),(0,s.removeEvent)(e,E.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,s.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:a.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}),u}(r.Component);e.exports.default=T,S(T,"displayName","DraggableCore"),S(T,"propTypes",{allowAnyClick:i.default.bool,disabled:i.default.bool,enableUserSelectHack:i.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:i.default.arrayOf(i.default.number),handle:i.default.string,cancel:i.default.string,nodeRef:i.default.object,onStart:i.default.func,onDrag:i.default.func,onStop:i.default.func,onMouseDown:i.default.func,scale:i.default.number,className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe}),S(T,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})})),o.register("hZ35K",(function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.default=function(){}})),o.register("2IvJp",(function(e,n){t(e.exports,"default",(function(){return f}));var r=o("i8moy"),i=o("8PfYN"),a=o("7mtoV"),s=o("bSgNv"),l=o("iRc4t"),u=o("9S3Bs"),c=o("gcao7");function f({children:e}){return(0,r.jsx)(l.ProviderGeneral,{children:(0,r.jsx)(i.AppsProvider,{children:(0,r.jsx)(a.ProviderClock,{children:(0,r.jsx)(s.ProviderFonts,{children:(0,r.jsx)(c.ProviderWallpaper,{children:(0,r.jsx)(u.ProviderShortcuts,{children:e})})})})})})}}));