diff --git a/.gitignore b/.gitignore index 94fc4f2..9a13a59 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -.parcel-cache \ No newline at end of file +.parcel-cache +*.map \ No newline at end of file diff --git a/dist/Flaticon.a16dd766.woff b/dist/Flaticon.a16dd766.woff deleted file mode 100644 index 51ad214..0000000 Binary files a/dist/Flaticon.a16dd766.woff and /dev/null differ diff --git a/dist/Flaticon.cb703aa9.woff b/dist/Flaticon.cb703aa9.woff deleted file mode 100644 index 51ad214..0000000 Binary files a/dist/Flaticon.cb703aa9.woff and /dev/null differ diff --git a/dist/countdown.622478f6.js.map.19808.11 b/dist/countdown.622478f6.js.map.19808.11 new file mode 100644 index 0000000..a7d26f3 --- /dev/null +++ b/dist/countdown.622478f6.js.map.19808.11 @@ -0,0 +1 @@ +{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAI,WAAW;AAAK,IAAI,WAAW;AAAK,IAAI,aAAa;AAAM,IAAI,eAAe;AAAmB,OAAO,MAAM,CAAC,aAAa,GAAG;AAAmB;AAEtJ,iJAAiJ,GACjJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,GACA,IAAI,aAAa;AACjB,IAAI,YAAY,OAAO,MAAM,CAAC,MAAM;AACpC,SAAS,OAAO,UAAU;IACxB,UAAU,IAAI,CAAC,IAAI,EAAE;IACrB,IAAI,CAAC,GAAG,GAAG;QACT,MAAM,OAAO,MAAM,CAAC,OAAO,CAAC,WAAW;QACvC,kBAAkB,EAAE;QACpB,mBAAmB,EAAE;QACrB,QAAQ,SAAU,EAAE;YAClB,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,YAAa;QAChD;QACA,SAAS,SA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AC;gBACpC,WAAW,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE;YACvB;YAEA,+BAA+B;YAC/B,eAAe,IAAI,CAAC,KAAK,CAAC,gBAAgB;QAC5C;IACF;AAEJ","sources":["node_modules/@parcel/runtime-browser-hmr/lib/runtime-2556f77651e59b22.js"],"sourcesContent":["var HMR_HOST = null;var HMR_PORT = null;var HMR_SECURE = false;var HMR_ENV_HASH = \"d6ea1d42532a7575\";module.bundle.HMR_BUNDLE_ID = \"fd1b95f9622478f6\";\"use strict\";\n\n/* global HMR_HOST, HMR_PORT, HMR_ENV_HASH, HMR_SECURE, chrome, browser, __parcel__import__, __parcel__importScripts__, ServiceWorkerGlobalScope */\n/*::\nimport type {\n HMRAsset,\n HMRMessage,\n} from '@parcel/reporter-dev-server/src/HMRServer.js';\ninterface ParcelRequire {\n (string): mixed;\n cache: {|[string]: ParcelModule|};\n hotData: {|[string]: mixed|};\n Module: any;\n parent: ?ParcelRequire;\n isParcelRequire: true;\n modules: {|[string]: [Function, {|[string]: string|}]|};\n HMR_BUNDLE_ID: string;\n root: ParcelRequire;\n}\ninterface ParcelModule {\n hot: {|\n data: mixed,\n accept(cb: (Function) => void): void,\n dispose(cb: (mixed) => void): void,\n // accept(deps: Array | string, cb: (Function) => void): void,\n // decline(): void,\n _acceptCallbacks: Array<(Function) => void>,\n _disposeCallbacks: Array<(mixed) => void>,\n |};\n}\ninterface ExtensionContext {\n runtime: {|\n reload(): void,\n getURL(url: string): string;\n getManifest(): {manifest_version: number, ...};\n |};\n}\ndeclare var module: {bundle: ParcelRequire, ...};\ndeclare var HMR_HOST: string;\ndeclare var HMR_PORT: string;\ndeclare var HMR_ENV_HASH: string;\ndeclare var HMR_SECURE: boolean;\ndeclare var chrome: ExtensionContext;\ndeclare var browser: ExtensionContext;\ndeclare var __parcel__import__: (string) => Promise;\ndeclare var __parcel__importScripts__: (string) => Promise;\ndeclare var globalThis: typeof self;\ndeclare var ServiceWorkerGlobalScope: Object;\n*/\nvar OVERLAY_ID = '__parcel__error__overlay__';\nvar OldModule = module.bundle.Module;\nfunction Module(moduleName) {\n OldModule.call(this, moduleName);\n this.hot = {\n data: module.bundle.hotData[moduleName],\n _acceptCallbacks: [],\n _disposeCallbacks: [],\n accept: function (fn) {\n this._acceptCallbacks.push(fn || function () {});\n },\n dispose: function (fn) {\n this._disposeCallbacks.push(fn);\n }\n };\n module.bundle.hotData[moduleName] = undefined;\n}\nmodule.bundle.Module = Module;\nmodule.bundle.hotData = {};\nvar checkedAssets /*: {|[string]: boolean|} */, assetsToDispose /*: Array<[ParcelRequire, string]> */, assetsToAccept /*: Array<[ParcelRequire, string]> */;\n\nfunction getHostname() {\n return HMR_HOST || (location.protocol.indexOf('http') === 0 ? location.hostname : 'localhost');\n}\nfunction getPort() {\n return HMR_PORT || location.port;\n}\n\n// eslint-disable-next-line no-redeclare\nvar parent = module.bundle.parent;\nif ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {\n var hostname = getHostname();\n var port = getPort();\n var protocol = HMR_SECURE || location.protocol == 'https:' && !['localhost', '127.0.0.1', '0.0.0.0'].includes(hostname) ? 'wss' : 'ws';\n var ws;\n try {\n ws = new WebSocket(protocol + '://' + hostname + (port ? ':' + port : '') + '/');\n } catch (err) {\n if (err.message) {\n console.error(err.message);\n }\n ws = {};\n }\n\n // Web extension context\n var extCtx = typeof browser === 'undefined' ? typeof chrome === 'undefined' ? null : chrome : browser;\n\n // Safari doesn't support sourceURL in error stacks.\n // eval may also be disabled via CSP, so do a quick check.\n var supportsSourceURL = false;\n try {\n (0, eval)('throw new Error(\"test\"); //# sourceURL=test.js');\n } catch (err) {\n supportsSourceURL = err.stack.includes('test.js');\n }\n\n // $FlowFixMe\n ws.onmessage = async function (event /*: {data: string, ...} */) {\n checkedAssets = {} /*: {|[string]: boolean|} */;\n assetsToAccept = [];\n assetsToDispose = [];\n var data /*: HMRMessage */ = JSON.parse(event.data);\n if (data.type === 'update') {\n // Remove error overlay if there is one\n if (typeof document !== 'undefined') {\n removeErrorOverlay();\n }\n let assets = data.assets.filter(asset => asset.envHash === HMR_ENV_HASH);\n\n // Handle HMR Update\n let handled = assets.every(asset => {\n return asset.type === 'css' || asset.type === 'js' && hmrAcceptCheck(module.bundle.root, asset.id, asset.depsByBundle);\n });\n if (handled) {\n console.clear();\n\n // Dispatch custom event so other runtimes (e.g React Refresh) are aware.\n if (typeof window !== 'undefined' && typeof CustomEvent !== 'undefined') {\n window.dispatchEvent(new CustomEvent('parcelhmraccept'));\n }\n await hmrApplyUpdates(assets);\n\n // Dispose all old assets.\n let processedAssets = {} /*: {|[string]: boolean|} */;\n for (let i = 0; i < assetsToDispose.length; i++) {\n let id = assetsToDispose[i][1];\n if (!processedAssets[id]) {\n hmrDispose(assetsToDispose[i][0], id);\n processedAssets[id] = true;\n }\n }\n\n // Run accept callbacks. This will also re-execute other disposed assets in topological order.\n processedAssets = {};\n for (let i = 0; i < assetsToAccept.length; i++) {\n let id = assetsToAccept[i][1];\n if (!processedAssets[id]) {\n hmrAccept(assetsToAccept[i][0], id);\n processedAssets[id] = true;\n }\n }\n } else fullReload();\n }\n if (data.type === 'error') {\n // Log parcel errors to console\n for (let ansiDiagnostic of data.diagnostics.ansi) {\n let stack = ansiDiagnostic.codeframe ? ansiDiagnostic.codeframe : ansiDiagnostic.stack;\n console.error('🚨 [parcel]: ' + ansiDiagnostic.message + '\\n' + stack + '\\n\\n' + ansiDiagnostic.hints.join('\\n'));\n }\n if (typeof document !== 'undefined') {\n // Render the fancy html overlay\n removeErrorOverlay();\n var overlay = createErrorOverlay(data.diagnostics.html);\n // $FlowFixMe\n document.body.appendChild(overlay);\n }\n }\n };\n ws.onerror = function (e) {\n if (e.message) {\n console.error(e.message);\n }\n };\n ws.onclose = function () {\n console.warn('[parcel] 🚨 Connection to the HMR server was lost');\n };\n}\nfunction removeErrorOverlay() {\n var overlay = document.getElementById(OVERLAY_ID);\n if (overlay) {\n overlay.remove();\n console.log('[parcel] ✨ Error resolved');\n }\n}\nfunction createErrorOverlay(diagnostics) {\n var overlay = document.createElement('div');\n overlay.id = OVERLAY_ID;\n let errorHTML = '
';\n for (let diagnostic of diagnostics) {\n let stack = diagnostic.frames.length ? diagnostic.frames.reduce((p, frame) => {\n return `${p}\n${frame.location}\n${frame.code}`;\n }, '') : diagnostic.stack;\n errorHTML += `\n
\n
\n 🚨 ${diagnostic.message}\n
\n
${stack}
\n
\n ${diagnostic.hints.map(hint => '
💡 ' + hint + '
').join('')}\n
\n ${diagnostic.documentation ? `` : ''}\n
\n `;\n }\n errorHTML += '
';\n overlay.innerHTML = errorHTML;\n return overlay;\n}\nfunction fullReload() {\n if ('reload' in location) {\n location.reload();\n } else if (extCtx && extCtx.runtime && extCtx.runtime.reload) {\n extCtx.runtime.reload();\n }\n}\nfunction getParents(bundle, id) /*: Array<[ParcelRequire, string]> */{\n var modules = bundle.modules;\n if (!modules) {\n return [];\n }\n var parents = [];\n var k, d, dep;\n for (k in modules) {\n for (d in modules[k][1]) {\n dep = modules[k][1][d];\n if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {\n parents.push([bundle, k]);\n }\n }\n }\n if (bundle.parent) {\n parents = parents.concat(getParents(bundle.parent, id));\n }\n return parents;\n}\nfunction updateLink(link) {\n var href = link.getAttribute('href');\n if (!href) {\n return;\n }\n var newLink = link.cloneNode();\n newLink.onload = function () {\n if (link.parentNode !== null) {\n // $FlowFixMe\n link.parentNode.removeChild(link);\n }\n };\n newLink.setAttribute('href',\n // $FlowFixMe\n href.split('?')[0] + '?' + Date.now());\n // $FlowFixMe\n link.parentNode.insertBefore(newLink, link.nextSibling);\n}\nvar cssTimeout = null;\nfunction reloadCSS() {\n if (cssTimeout) {\n return;\n }\n cssTimeout = setTimeout(function () {\n var links = document.querySelectorAll('link[rel=\"stylesheet\"]');\n for (var i = 0; i < links.length; i++) {\n // $FlowFixMe[incompatible-type]\n var href /*: string */ = links[i].getAttribute('href');\n var hostname = getHostname();\n var servedFromHMRServer = hostname === 'localhost' ? new RegExp('^(https?:\\\\/\\\\/(0.0.0.0|127.0.0.1)|localhost):' + getPort()).test(href) : href.indexOf(hostname + ':' + getPort());\n var absolute = /^https?:\\/\\//i.test(href) && href.indexOf(location.origin) !== 0 && !servedFromHMRServer;\n if (!absolute) {\n updateLink(links[i]);\n }\n }\n cssTimeout = null;\n }, 50);\n}\nfunction hmrDownload(asset) {\n if (asset.type === 'js') {\n if (typeof document !== 'undefined') {\n let script = document.createElement('script');\n script.src = asset.url + '?t=' + Date.now();\n if (asset.outputFormat === 'esmodule') {\n script.type = 'module';\n }\n return new Promise((resolve, reject) => {\n var _document$head;\n script.onload = () => resolve(script);\n script.onerror = reject;\n (_document$head = document.head) === null || _document$head === void 0 || _document$head.appendChild(script);\n });\n } else if (typeof importScripts === 'function') {\n // Worker scripts\n if (asset.outputFormat === 'esmodule') {\n return __parcel__import__(asset.url + '?t=' + Date.now());\n } else {\n return new Promise((resolve, reject) => {\n try {\n __parcel__importScripts__(asset.url + '?t=' + Date.now());\n resolve();\n } catch (err) {\n reject(err);\n }\n });\n }\n }\n }\n}\nasync function hmrApplyUpdates(assets) {\n global.parcelHotUpdate = Object.create(null);\n let scriptsToRemove;\n try {\n // If sourceURL comments aren't supported in eval, we need to load\n // the update from the dev server over HTTP so that stack traces\n // are correct in errors/logs. This is much slower than eval, so\n // we only do it if needed (currently just Safari).\n // https://bugs.webkit.org/show_bug.cgi?id=137297\n // This path is also taken if a CSP disallows eval.\n if (!supportsSourceURL) {\n let promises = assets.map(asset => {\n var _hmrDownload;\n return (_hmrDownload = hmrDownload(asset)) === null || _hmrDownload === void 0 ? void 0 : _hmrDownload.catch(err => {\n // Web extension fix\n if (extCtx && extCtx.runtime && extCtx.runtime.getManifest().manifest_version == 3 && typeof ServiceWorkerGlobalScope != 'undefined' && global instanceof ServiceWorkerGlobalScope) {\n extCtx.runtime.reload();\n return;\n }\n throw err;\n });\n });\n scriptsToRemove = await Promise.all(promises);\n }\n assets.forEach(function (asset) {\n hmrApply(module.bundle.root, asset);\n });\n } finally {\n delete global.parcelHotUpdate;\n if (scriptsToRemove) {\n scriptsToRemove.forEach(script => {\n if (script) {\n var _document$head2;\n (_document$head2 = document.head) === null || _document$head2 === void 0 || _document$head2.removeChild(script);\n }\n });\n }\n }\n}\nfunction hmrApply(bundle /*: ParcelRequire */, asset /*: HMRAsset */) {\n var modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (asset.type === 'css') {\n reloadCSS();\n } else if (asset.type === 'js') {\n let deps = asset.depsByBundle[bundle.HMR_BUNDLE_ID];\n if (deps) {\n if (modules[asset.id]) {\n // Remove dependencies that are removed and will become orphaned.\n // This is necessary so that if the asset is added back again, the cache is gone, and we prevent a full page reload.\n let oldDeps = modules[asset.id][1];\n for (let dep in oldDeps) {\n if (!deps[dep] || deps[dep] !== oldDeps[dep]) {\n let id = oldDeps[dep];\n let parents = getParents(module.bundle.root, id);\n if (parents.length === 1) {\n hmrDelete(module.bundle.root, id);\n }\n }\n }\n }\n if (supportsSourceURL) {\n // Global eval. We would use `new Function` here but browser\n // support for source maps is better with eval.\n (0, eval)(asset.output);\n }\n\n // $FlowFixMe\n let fn = global.parcelHotUpdate[asset.id];\n modules[asset.id] = [fn, deps];\n } else if (bundle.parent) {\n hmrApply(bundle.parent, asset);\n }\n }\n}\nfunction hmrDelete(bundle, id) {\n let modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (modules[id]) {\n // Collect dependencies that will become orphaned when this module is deleted.\n let deps = modules[id][1];\n let orphans = [];\n for (let dep in deps) {\n let parents = getParents(module.bundle.root, deps[dep]);\n if (parents.length === 1) {\n orphans.push(deps[dep]);\n }\n }\n\n // Delete the module. This must be done before deleting dependencies in case of circular dependencies.\n delete modules[id];\n delete bundle.cache[id];\n\n // Now delete the orphans.\n orphans.forEach(id => {\n hmrDelete(module.bundle.root, id);\n });\n } else if (bundle.parent) {\n hmrDelete(bundle.parent, id);\n }\n}\nfunction hmrAcceptCheck(bundle /*: ParcelRequire */, id /*: string */, depsByBundle /*: ?{ [string]: { [string]: string } }*/) {\n if (hmrAcceptCheckOne(bundle, id, depsByBundle)) {\n return true;\n }\n\n // Traverse parents breadth first. All possible ancestries must accept the HMR update, or we'll reload.\n let parents = getParents(module.bundle.root, id);\n let accepted = false;\n while (parents.length > 0) {\n let v = parents.shift();\n let a = hmrAcceptCheckOne(v[0], v[1], null);\n if (a) {\n // If this parent accepts, stop traversing upward, but still consider siblings.\n accepted = true;\n } else {\n // Otherwise, queue the parents in the next level upward.\n let p = getParents(module.bundle.root, v[1]);\n if (p.length === 0) {\n // If there are no parents, then we've reached an entry without accepting. Reload.\n accepted = false;\n break;\n }\n parents.push(...p);\n }\n }\n return accepted;\n}\nfunction hmrAcceptCheckOne(bundle /*: ParcelRequire */, id /*: string */, depsByBundle /*: ?{ [string]: { [string]: string } }*/) {\n var modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (depsByBundle && !depsByBundle[bundle.HMR_BUNDLE_ID]) {\n // If we reached the root bundle without finding where the asset should go,\n // there's nothing to do. Mark as \"accepted\" so we don't reload the page.\n if (!bundle.parent) {\n return true;\n }\n return hmrAcceptCheck(bundle.parent, id, depsByBundle);\n }\n if (checkedAssets[id]) {\n return true;\n }\n checkedAssets[id] = true;\n var cached = bundle.cache[id];\n assetsToDispose.push([bundle, id]);\n if (!cached || cached.hot && cached.hot._acceptCallbacks.length) {\n assetsToAccept.push([bundle, id]);\n return true;\n }\n}\nfunction hmrDispose(bundle /*: ParcelRequire */, id /*: string */) {\n var cached = bundle.cache[id];\n bundle.hotData[id] = {};\n if (cached && cached.hot) {\n cached.hot.data = bundle.hotData[id];\n }\n if (cached && cached.hot && cached.hot._disposeCallbacks.length) {\n cached.hot._disposeCallbacks.forEach(function (cb) {\n cb(bundle.hotData[id]);\n });\n }\n delete bundle.cache[id];\n}\nfunction hmrAccept(bundle /*: ParcelRequire */, id /*: string */) {\n // Execute the module.\n bundle(id);\n\n // Run the accept callbacks in the new version of the module.\n var cached = bundle.cache[id];\n if (cached && cached.hot && cached.hot._acceptCallbacks.length) {\n cached.hot._acceptCallbacks.forEach(function (cb) {\n var assetsToAlsoAccept = cb(function () {\n return getParents(module.bundle.root, id);\n });\n if (assetsToAlsoAccept && assetsToAccept.length) {\n assetsToAlsoAccept.forEach(function (a) {\n hmrDispose(a[0], a[1]);\n });\n\n // $FlowFixMe[method-unbinding]\n assetsToAccept.push.apply(assetsToAccept, assetsToAlsoAccept);\n }\n });\n }\n}"],"names":[],"version":3,"file":"countdown.622478f6.js.map","sourceRoot":"/__parcel_source_root/"} \ No newline at end of file diff --git a/dist/error.6a5dfeaf.js.map.19808.12 b/dist/error.6a5dfeaf.js.map.19808.12 new file mode 100644 index 0000000..f1819f7 --- /dev/null +++ b/dist/error.6a5dfeaf.js.map.19808.12 @@ -0,0 +1 @@ +{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAI,WAAW;AAAK,IAAI,WAAW;AAAK,IAAI,aAAa;AAAM,IAAI,eAAe;AAAmB,OAAO,MAAM,CAAC,aAAa,GAAG;AAAmB;AAEtJ,iJAAiJ,GACjJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,GACA,IAAI,aAAa;AACjB,IAAI,YAAY,OAAO,MAAM,CAAC,MAAM;AACpC,SAAS,OAAO,UAAU;IACxB,UAAU,IAAI,CAAC,IAAI,EAAE;IACrB,IAAI,CAAC,GAAG,GAAG;QACT,MAAM,OAAO,MAAM,CAAC,OAAO,CAAC,WAAW;QACvC,kBAAkB,EAAE;QACpB,mBAAmB,EAAE;QACrB,QAAQ,SAAU,EAAE;YAClB,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,YAAa;QAChD;QACA,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SAAU,CAAC;gBACpC,WAAW,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE;YACvB;YAEA,+BAA+B;YAC/B,eAAe,IAAI,CAAC,KAAK,CAAC,gBAAgB;QAC5C;IACF;AAEJ","sources":["node_modules/@parcel/runtime-browser-hmr/lib/runtime-d380be17d44358e5.js"],"sourcesContent":["var HMR_HOST = null;var HMR_PORT = null;var HMR_SECURE = false;var HMR_ENV_HASH = \"d6ea1d42532a7575\";module.bundle.HMR_BUNDLE_ID = \"404403cb6a5dfeaf\";\"use strict\";\n\n/* global HMR_HOST, HMR_PORT, HMR_ENV_HASH, HMR_SECURE, chrome, browser, __parcel__import__, __parcel__importScripts__, ServiceWorkerGlobalScope */\n/*::\nimport type {\n HMRAsset,\n HMRMessage,\n} from '@parcel/reporter-dev-server/src/HMRServer.js';\ninterface ParcelRequire {\n (string): mixed;\n cache: {|[string]: ParcelModule|};\n hotData: {|[string]: mixed|};\n Module: any;\n parent: ?ParcelRequire;\n isParcelRequire: true;\n modules: {|[string]: [Function, {|[string]: string|}]|};\n HMR_BUNDLE_ID: string;\n root: ParcelRequire;\n}\ninterface ParcelModule {\n hot: {|\n data: mixed,\n accept(cb: (Function) => void): void,\n dispose(cb: (mixed) => void): void,\n // accept(deps: Array | string, cb: (Function) => void): void,\n // decline(): void,\n _acceptCallbacks: Array<(Function) => void>,\n _disposeCallbacks: Array<(mixed) => void>,\n |};\n}\ninterface ExtensionContext {\n runtime: {|\n reload(): void,\n getURL(url: string): string;\n getManifest(): {manifest_version: number, ...};\n |};\n}\ndeclare var module: {bundle: ParcelRequire, ...};\ndeclare var HMR_HOST: string;\ndeclare var HMR_PORT: string;\ndeclare var HMR_ENV_HASH: string;\ndeclare var HMR_SECURE: boolean;\ndeclare var chrome: ExtensionContext;\ndeclare var browser: ExtensionContext;\ndeclare var __parcel__import__: (string) => Promise;\ndeclare var __parcel__importScripts__: (string) => Promise;\ndeclare var globalThis: typeof self;\ndeclare var ServiceWorkerGlobalScope: Object;\n*/\nvar OVERLAY_ID = '__parcel__error__overlay__';\nvar OldModule = module.bundle.Module;\nfunction Module(moduleName) {\n OldModule.call(this, moduleName);\n this.hot = {\n data: module.bundle.hotData[moduleName],\n _acceptCallbacks: [],\n _disposeCallbacks: [],\n accept: function (fn) {\n this._acceptCallbacks.push(fn || function () {});\n },\n dispose: function (fn) {\n this._disposeCallbacks.push(fn);\n }\n };\n module.bundle.hotData[moduleName] = undefined;\n}\nmodule.bundle.Module = Module;\nmodule.bundle.hotData = {};\nvar checkedAssets /*: {|[string]: boolean|} */, assetsToDispose /*: Array<[ParcelRequire, string]> */, assetsToAccept /*: Array<[ParcelRequire, string]> */;\n\nfunction getHostname() {\n return HMR_HOST || (location.protocol.indexOf('http') === 0 ? location.hostname : 'localhost');\n}\nfunction getPort() {\n return HMR_PORT || location.port;\n}\n\n// eslint-disable-next-line no-redeclare\nvar parent = module.bundle.parent;\nif ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {\n var hostname = getHostname();\n var port = getPort();\n var protocol = HMR_SECURE || location.protocol == 'https:' && !['localhost', '127.0.0.1', '0.0.0.0'].includes(hostname) ? 'wss' : 'ws';\n var ws;\n try {\n ws = new WebSocket(protocol + '://' + hostname + (port ? ':' + port : '') + '/');\n } catch (err) {\n if (err.message) {\n console.error(err.message);\n }\n ws = {};\n }\n\n // Web extension context\n var extCtx = typeof browser === 'undefined' ? typeof chrome === 'undefined' ? null : chrome : browser;\n\n // Safari doesn't support sourceURL in error stacks.\n // eval may also be disabled via CSP, so do a quick check.\n var supportsSourceURL = false;\n try {\n (0, eval)('throw new Error(\"test\"); //# sourceURL=test.js');\n } catch (err) {\n supportsSourceURL = err.stack.includes('test.js');\n }\n\n // $FlowFixMe\n ws.onmessage = async function (event /*: {data: string, ...} */) {\n checkedAssets = {} /*: {|[string]: boolean|} */;\n assetsToAccept = [];\n assetsToDispose = [];\n var data /*: HMRMessage */ = JSON.parse(event.data);\n if (data.type === 'update') {\n // Remove error overlay if there is one\n if (typeof document !== 'undefined') {\n removeErrorOverlay();\n }\n let assets = data.assets.filter(asset => asset.envHash === HMR_ENV_HASH);\n\n // Handle HMR Update\n let handled = assets.every(asset => {\n return asset.type === 'css' || asset.type === 'js' && hmrAcceptCheck(module.bundle.root, asset.id, asset.depsByBundle);\n });\n if (handled) {\n console.clear();\n\n // Dispatch custom event so other runtimes (e.g React Refresh) are aware.\n if (typeof window !== 'undefined' && typeof CustomEvent !== 'undefined') {\n window.dispatchEvent(new CustomEvent('parcelhmraccept'));\n }\n await hmrApplyUpdates(assets);\n\n // Dispose all old assets.\n let processedAssets = {} /*: {|[string]: boolean|} */;\n for (let i = 0; i < assetsToDispose.length; i++) {\n let id = assetsToDispose[i][1];\n if (!processedAssets[id]) {\n hmrDispose(assetsToDispose[i][0], id);\n processedAssets[id] = true;\n }\n }\n\n // Run accept callbacks. This will also re-execute other disposed assets in topological order.\n processedAssets = {};\n for (let i = 0; i < assetsToAccept.length; i++) {\n let id = assetsToAccept[i][1];\n if (!processedAssets[id]) {\n hmrAccept(assetsToAccept[i][0], id);\n processedAssets[id] = true;\n }\n }\n } else fullReload();\n }\n if (data.type === 'error') {\n // Log parcel errors to console\n for (let ansiDiagnostic of data.diagnostics.ansi) {\n let stack = ansiDiagnostic.codeframe ? ansiDiagnostic.codeframe : ansiDiagnostic.stack;\n console.error('🚨 [parcel]: ' + ansiDiagnostic.message + '\\n' + stack + '\\n\\n' + ansiDiagnostic.hints.join('\\n'));\n }\n if (typeof document !== 'undefined') {\n // Render the fancy html overlay\n removeErrorOverlay();\n var overlay = createErrorOverlay(data.diagnostics.html);\n // $FlowFixMe\n document.body.appendChild(overlay);\n }\n }\n };\n ws.onerror = function (e) {\n if (e.message) {\n console.error(e.message);\n }\n };\n ws.onclose = function () {\n console.warn('[parcel] 🚨 Connection to the HMR server was lost');\n };\n}\nfunction removeErrorOverlay() {\n var overlay = document.getElementById(OVERLAY_ID);\n if (overlay) {\n overlay.remove();\n console.log('[parcel] ✨ Error resolved');\n }\n}\nfunction createErrorOverlay(diagnostics) {\n var overlay = document.createElement('div');\n overlay.id = OVERLAY_ID;\n let errorHTML = '
';\n for (let diagnostic of diagnostics) {\n let stack = diagnostic.frames.length ? diagnostic.frames.reduce((p, frame) => {\n return `${p}\n${frame.location}\n${frame.code}`;\n }, '') : diagnostic.stack;\n errorHTML += `\n
\n
\n 🚨 ${diagnostic.message}\n
\n
${stack}
\n
\n ${diagnostic.hints.map(hint => '
💡 ' + hint + '
').join('')}\n
\n ${diagnostic.documentation ? `` : ''}\n
\n `;\n }\n errorHTML += '
';\n overlay.innerHTML = errorHTML;\n return overlay;\n}\nfunction fullReload() {\n if ('reload' in location) {\n location.reload();\n } else if (extCtx && extCtx.runtime && extCtx.runtime.reload) {\n extCtx.runtime.reload();\n }\n}\nfunction getParents(bundle, id) /*: Array<[ParcelRequire, string]> */{\n var modules = bundle.modules;\n if (!modules) {\n return [];\n }\n var parents = [];\n var k, d, dep;\n for (k in modules) {\n for (d in modules[k][1]) {\n dep = modules[k][1][d];\n if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {\n parents.push([bundle, k]);\n }\n }\n }\n if (bundle.parent) {\n parents = parents.concat(getParents(bundle.parent, id));\n }\n return parents;\n}\nfunction updateLink(link) {\n var href = link.getAttribute('href');\n if (!href) {\n return;\n }\n var newLink = link.cloneNode();\n newLink.onload = function () {\n if (link.parentNode !== null) {\n // $FlowFixMe\n link.parentNode.removeChild(link);\n }\n };\n newLink.setAttribute('href',\n // $FlowFixMe\n href.split('?')[0] + '?' + Date.now());\n // $FlowFixMe\n link.parentNode.insertBefore(newLink, link.nextSibling);\n}\nvar cssTimeout = null;\nfunction reloadCSS() {\n if (cssTimeout) {\n return;\n }\n cssTimeout = setTimeout(function () {\n var links = document.querySelectorAll('link[rel=\"stylesheet\"]');\n for (var i = 0; i < links.length; i++) {\n // $FlowFixMe[incompatible-type]\n var href /*: string */ = links[i].getAttribute('href');\n var hostname = getHostname();\n var servedFromHMRServer = hostname === 'localhost' ? new RegExp('^(https?:\\\\/\\\\/(0.0.0.0|127.0.0.1)|localhost):' + getPort()).test(href) : href.indexOf(hostname + ':' + getPort());\n var absolute = /^https?:\\/\\//i.test(href) && href.indexOf(location.origin) !== 0 && !servedFromHMRServer;\n if (!absolute) {\n updateLink(links[i]);\n }\n }\n cssTimeout = null;\n }, 50);\n}\nfunction hmrDownload(asset) {\n if (asset.type === 'js') {\n if (typeof document !== 'undefined') {\n let script = document.createElement('script');\n script.src = asset.url + '?t=' + Date.now();\n if (asset.outputFormat === 'esmodule') {\n script.type = 'module';\n }\n return new Promise((resolve, reject) => {\n var _document$head;\n script.onload = () => resolve(script);\n script.onerror = reject;\n (_document$head = document.head) === null || _document$head === void 0 || _document$head.appendChild(script);\n });\n } else if (typeof importScripts === 'function') {\n // Worker scripts\n if (asset.outputFormat === 'esmodule') {\n return __parcel__import__(asset.url + '?t=' + Date.now());\n } else {\n return new Promise((resolve, reject) => {\n try {\n __parcel__importScripts__(asset.url + '?t=' + Date.now());\n resolve();\n } catch (err) {\n reject(err);\n }\n });\n }\n }\n }\n}\nasync function hmrApplyUpdates(assets) {\n global.parcelHotUpdate = Object.create(null);\n let scriptsToRemove;\n try {\n // If sourceURL comments aren't supported in eval, we need to load\n // the update from the dev server over HTTP so that stack traces\n // are correct in errors/logs. This is much slower than eval, so\n // we only do it if needed (currently just Safari).\n // https://bugs.webkit.org/show_bug.cgi?id=137297\n // This path is also taken if a CSP disallows eval.\n if (!supportsSourceURL) {\n let promises = assets.map(asset => {\n var _hmrDownload;\n return (_hmrDownload = hmrDownload(asset)) === null || _hmrDownload === void 0 ? void 0 : _hmrDownload.catch(err => {\n // Web extension fix\n if (extCtx && extCtx.runtime && extCtx.runtime.getManifest().manifest_version == 3 && typeof ServiceWorkerGlobalScope != 'undefined' && global instanceof ServiceWorkerGlobalScope) {\n extCtx.runtime.reload();\n return;\n }\n throw err;\n });\n });\n scriptsToRemove = await Promise.all(promises);\n }\n assets.forEach(function (asset) {\n hmrApply(module.bundle.root, asset);\n });\n } finally {\n delete global.parcelHotUpdate;\n if (scriptsToRemove) {\n scriptsToRemove.forEach(script => {\n if (script) {\n var _document$head2;\n (_document$head2 = document.head) === null || _document$head2 === void 0 || _document$head2.removeChild(script);\n }\n });\n }\n }\n}\nfunction hmrApply(bundle /*: ParcelRequire */, asset /*: HMRAsset */) {\n var modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (asset.type === 'css') {\n reloadCSS();\n } else if (asset.type === 'js') {\n let deps = asset.depsByBundle[bundle.HMR_BUNDLE_ID];\n if (deps) {\n if (modules[asset.id]) {\n // Remove dependencies that are removed and will become orphaned.\n // This is necessary so that if the asset is added back again, the cache is gone, and we prevent a full page reload.\n let oldDeps = modules[asset.id][1];\n for (let dep in oldDeps) {\n if (!deps[dep] || deps[dep] !== oldDeps[dep]) {\n let id = oldDeps[dep];\n let parents = getParents(module.bundle.root, id);\n if (parents.length === 1) {\n hmrDelete(module.bundle.root, id);\n }\n }\n }\n }\n if (supportsSourceURL) {\n // Global eval. We would use `new Function` here but browser\n // support for source maps is better with eval.\n (0, eval)(asset.output);\n }\n\n // $FlowFixMe\n let fn = global.parcelHotUpdate[asset.id];\n modules[asset.id] = [fn, deps];\n } else if (bundle.parent) {\n hmrApply(bundle.parent, asset);\n }\n }\n}\nfunction hmrDelete(bundle, id) {\n let modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (modules[id]) {\n // Collect dependencies that will become orphaned when this module is deleted.\n let deps = modules[id][1];\n let orphans = [];\n for (let dep in deps) {\n let parents = getParents(module.bundle.root, deps[dep]);\n if (parents.length === 1) {\n orphans.push(deps[dep]);\n }\n }\n\n // Delete the module. This must be done before deleting dependencies in case of circular dependencies.\n delete modules[id];\n delete bundle.cache[id];\n\n // Now delete the orphans.\n orphans.forEach(id => {\n hmrDelete(module.bundle.root, id);\n });\n } else if (bundle.parent) {\n hmrDelete(bundle.parent, id);\n }\n}\nfunction hmrAcceptCheck(bundle /*: ParcelRequire */, id /*: string */, depsByBundle /*: ?{ [string]: { [string]: string } }*/) {\n if (hmrAcceptCheckOne(bundle, id, depsByBundle)) {\n return true;\n }\n\n // Traverse parents breadth first. All possible ancestries must accept the HMR update, or we'll reload.\n let parents = getParents(module.bundle.root, id);\n let accepted = false;\n while (parents.length > 0) {\n let v = parents.shift();\n let a = hmrAcceptCheckOne(v[0], v[1], null);\n if (a) {\n // If this parent accepts, stop traversing upward, but still consider siblings.\n accepted = true;\n } else {\n // Otherwise, queue the parents in the next level upward.\n let p = getParents(module.bundle.root, v[1]);\n if (p.length === 0) {\n // If there are no parents, then we've reached an entry without accepting. Reload.\n accepted = false;\n break;\n }\n parents.push(...p);\n }\n }\n return accepted;\n}\nfunction hmrAcceptCheckOne(bundle /*: ParcelRequire */, id /*: string */, depsByBundle /*: ?{ [string]: { [string]: string } }*/) {\n var modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (depsByBundle && !depsByBundle[bundle.HMR_BUNDLE_ID]) {\n // If we reached the root bundle without finding where the asset should go,\n // there's nothing to do. Mark as \"accepted\" so we don't reload the page.\n if (!bundle.parent) {\n return true;\n }\n return hmrAcceptCheck(bundle.parent, id, depsByBundle);\n }\n if (checkedAssets[id]) {\n return true;\n }\n checkedAssets[id] = true;\n var cached = bundle.cache[id];\n assetsToDispose.push([bundle, id]);\n if (!cached || cached.hot && cached.hot._acceptCallbacks.length) {\n assetsToAccept.push([bundle, id]);\n return true;\n }\n}\nfunction hmrDispose(bundle /*: ParcelRequire */, id /*: string */) {\n var cached = bundle.cache[id];\n bundle.hotData[id] = {};\n if (cached && cached.hot) {\n cached.hot.data = bundle.hotData[id];\n }\n if (cached && cached.hot && cached.hot._disposeCallbacks.length) {\n cached.hot._disposeCallbacks.forEach(function (cb) {\n cb(bundle.hotData[id]);\n });\n }\n delete bundle.cache[id];\n}\nfunction hmrAccept(bundle /*: ParcelRequire */, id /*: string */) {\n // Execute the module.\n bundle(id);\n\n // Run the accept callbacks in the new version of the module.\n var cached = bundle.cache[id];\n if (cached && cached.hot && cached.hot._acceptCallbacks.length) {\n cached.hot._acceptCallbacks.forEach(function (cb) {\n var assetsToAlsoAccept = cb(function () {\n return getParents(module.bundle.root, id);\n });\n if (assetsToAlsoAccept && assetsToAccept.length) {\n assetsToAlsoAccept.forEach(function (a) {\n hmrDispose(a[0], a[1]);\n });\n\n // $FlowFixMe[method-unbinding]\n assetsToAccept.push.apply(assetsToAccept, assetsToAlsoAccept);\n }\n });\n }\n}"],"names":[],"version":3,"file":"error.6a5dfeaf.js.map","sourceRoot":"/__parcel_source_root/"} \ No newline at end of file diff --git a/dist/favicon.0c2eab1b.ico b/dist/favicon.0c2eab1b.ico deleted file mode 100644 index 879c3be..0000000 Binary files a/dist/favicon.0c2eab1b.ico and /dev/null differ diff --git a/dist/index.09323f07.css b/dist/index.09323f07.css deleted file mode 100644 index 35cbb44..0000000 --- a/dist/index.09323f07.css +++ /dev/null @@ -1,2 +0,0 @@ -.animation_slide_up{animation:.5s both animation_slide_up}.animation_slide_down{animation:.5s both animation_slide_down}@keyframes animation_slide_up{0%{transform:translateY(10em)}to{transform:translateY(0)}}@keyframes animation_slide_down{0%{transform:translateY(0)}to{transform:translateY(10em)}}.animation_slide_right{animation:.5s both animation_slide_right}@keyframes animation_slide_right{0%{transform:translate(-10em)}to{transform:translate(0)}}.animation_appear{animation:.5s both animation_appear}@keyframes animation_appear{0%{opacity:0}to{opacity:1}}.animation_zoom{animation:.25s both animation_zoom}@keyframes animation_zoom{0%{scale:1}to{scale:1.1}}.animation2_slide_up{animation:.5s both animation2_slide_up}.animation2_slide_down{animation:.5s both animation2_slide_down}@keyframes animation2_slide_up{0%{padding-top:10vh;padding-bottom:0}to{padding-top:0;padding-bottom:8em}}@keyframes animation2_slide_down{0%{padding-top:0;padding-bottom:8em}to{padding-top:10vh;padding-bottom:0}}.startup_slide_down{padding-top:10vh}.animation_carousel_left_hide{animation:.175s both animation_carousel_left_hide}.animation_carousel_right_hide{animation:.175s both animation_carousel_right_hide}@keyframes animation_carousel_left_hide{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-.5em)}}@keyframes animation_carousel_right_hide{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(.5em)}}.animation_carousel_left_appear{animation:.175s both animation_carousel_left_appear}.animation_carousel_right_appear{animation:.175s both animation_carousel_right_appear}@keyframes animation_carousel_left_appear{0%{opacity:0;transform:translate(.5em)}to{opacity:1;transform:translate(0)}}@keyframes animation_carousel_right_appear{0%{opacity:0;transform:translate(-.5em)}to{opacity:1;transform:translate(0)}} -/*# sourceMappingURL=index.09323f07.css.map */ diff --git a/dist/index.09323f07.css.map b/dist/index.09323f07.css.map deleted file mode 100644 index 9ebe595..0000000 --- a/dist/index.09323f07.css.map +++ /dev/null @@ -1 +0,0 @@ -{"mappings":"ACAA,0DAMA,8DAMA,wFAUA,0FAUA,gEAMA,0FAUA,sDAMA,uDAUA,mDAMA,mDAUA,4DAMA,gEAMA,yGAYA,2GAYA,qCAkBA,gFAMA,kFAMA,qHAYA,qHAYA,oFAMA,sFAMA,sHAYA","sources":["index.09323f07.css","animations.css"],"sourcesContent":[".animation_slide_up {\n animation: .5s both animation_slide_up;\n}\n\n.animation_slide_down {\n animation: .5s both animation_slide_down;\n}\n\n@keyframes animation_slide_up {\n 0% {\n transform: translateY(10em);\n }\n\n 100% {\n transform: translateY(0);\n }\n}\n\n@keyframes animation_slide_down {\n 0% {\n transform: translateY(0);\n }\n\n 100% {\n transform: translateY(10em);\n }\n}\n\n.animation_slide_right {\n animation: .5s both animation_slide_right;\n}\n\n@keyframes animation_slide_right {\n 0% {\n transform: translateX(-10em);\n }\n\n 100% {\n transform: translateX(0);\n }\n}\n\n.animation_appear {\n animation: .5s both animation_appear;\n}\n\n@keyframes animation_appear {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n.animation_zoom {\n animation: .25s both animation_zoom;\n}\n\n@keyframes animation_zoom {\n 0% {\n scale: 1;\n }\n\n 100% {\n scale: 1.1;\n }\n}\n\n.animation2_slide_up {\n animation: .5s both animation2_slide_up;\n}\n\n.animation2_slide_down {\n animation: .5s both animation2_slide_down;\n}\n\n@keyframes animation2_slide_up {\n 0% {\n padding-top: 10vh;\n padding-bottom: 0;\n }\n\n 100% {\n padding-top: 0;\n padding-bottom: 8em;\n }\n}\n\n@keyframes animation2_slide_down {\n 0% {\n padding-top: 0;\n padding-bottom: 8em;\n }\n\n 100% {\n padding-top: 10vh;\n padding-bottom: 0;\n }\n}\n\n.startup_slide_down {\n padding-top: 10vh;\n}\n\n.animation_carousel_left_hide {\n animation: .175s both animation_carousel_left_hide;\n}\n\n.animation_carousel_right_hide {\n animation: .175s both animation_carousel_right_hide;\n}\n\n@keyframes animation_carousel_left_hide {\n 0% {\n opacity: 1;\n transform: translateX(0);\n }\n\n 100% {\n opacity: 0;\n transform: translateX(-.5em);\n }\n}\n\n@keyframes animation_carousel_right_hide {\n 0% {\n opacity: 1;\n transform: translateX(0);\n }\n\n 100% {\n opacity: 0;\n transform: translateX(.5em);\n }\n}\n\n.animation_carousel_left_appear {\n animation: .175s both animation_carousel_left_appear;\n}\n\n.animation_carousel_right_appear {\n animation: .175s both animation_carousel_right_appear;\n}\n\n@keyframes animation_carousel_left_appear {\n 0% {\n opacity: 0;\n transform: translateX(.5em);\n }\n\n 100% {\n opacity: 1;\n transform: translateX(0);\n }\n}\n\n@keyframes animation_carousel_right_appear {\n 0% {\n opacity: 0;\n transform: translateX(-.5em);\n }\n\n 100% {\n opacity: 1;\n transform: translateX(0);\n }\n}\n\n/*# sourceMappingURL=index.09323f07.css.map */\n",".animation_slide_up {\r\n animation: animation_slide_up .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation_slide_down {\r\n animation: animation_slide_down .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_slide_up {\r\n 0% {\r\n transform: translateY(10em)\r\n }\r\n\r\n 100% {\r\n transform: translateY(0)\r\n }\r\n}\r\n\r\n@keyframes animation_slide_down {\r\n 0% {\r\n transform: translateY(0)\r\n }\r\n\r\n 100% {\r\n transform: translateY(10em)\r\n }\r\n}\r\n\r\n.animation_slide_right {\r\n animation: animation_slide_right .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_slide_right {\r\n 0% {\r\n transform: translateX(-10em)\r\n }\r\n\r\n 100% {\r\n transform: translateX(0)\r\n }\r\n}\r\n\r\n.animation_appear {\r\n animation: animation_appear .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_appear {\r\n 0% {\r\n opacity: 0\r\n }\r\n\r\n 100% {\r\n opacity: 1\r\n }\r\n}\r\n\r\n.animation_zoom {\r\n animation: animation_zoom .25s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_zoom {\r\n 0% {\r\n scale: 1\r\n }\r\n\r\n 100% {\r\n scale: 1.1\r\n }\r\n}\r\n\r\n.animation2_slide_up {\r\n animation: animation2_slide_up .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation2_slide_down {\r\n animation: animation2_slide_down .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation2_slide_up {\r\n 0% {\r\n padding-top: 10vh;\r\n padding-bottom: 0\r\n }\r\n\r\n 100% {\r\n padding-top: 0;\r\n padding-bottom: 8em\r\n }\r\n}\r\n\r\n@keyframes animation2_slide_down {\r\n 0% {\r\n padding-top: 0;\r\n padding-bottom: 8em\r\n }\r\n\r\n 100% {\r\n padding-top: 10vh;\r\n padding-bottom: 0\r\n }\r\n}\r\n\r\n.startup_slide_down {\r\n padding-top: 10vh;\r\n /* opacity: 0; */\r\n /* animation: startup_slide_down .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1 */\r\n}\r\n\r\n/* @keyframes startup_slide_down {\r\n 0% {\r\n padding-top: 0\r\n }\r\n\r\n 100% {\r\n padding-top: 10vh\r\n }\r\n} */\r\n\r\n.animation_carousel_left_hide {\r\n animation: animation_carousel_left_hide 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation_carousel_right_hide {\r\n animation: animation_carousel_right_hide 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_carousel_left_hide {\r\n 0% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n\r\n 100% {\r\n transform: translateX(-.5em);\r\n opacity: 0\r\n }\r\n}\r\n\r\n@keyframes animation_carousel_right_hide {\r\n 0% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n\r\n 100% {\r\n transform: translateX(.5em);\r\n opacity: 0\r\n }\r\n}\r\n\r\n.animation_carousel_left_appear {\r\n animation: animation_carousel_left_appear 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation_carousel_right_appear {\r\n animation: animation_carousel_right_appear 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_carousel_left_appear {\r\n 0% {\r\n transform: translateX(.5em);\r\n opacity: 0\r\n }\r\n\r\n 100% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n}\r\n\r\n@keyframes animation_carousel_right_appear {\r\n 0% {\r\n transform: translateX(-.5em);\r\n opacity: 0\r\n }\r\n\r\n 100% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n}"],"names":[],"version":3,"file":"index.09323f07.css.map"} \ No newline at end of file diff --git a/dist/index.0d99c3dd.css b/dist/index.0d99c3dd.css deleted file mode 100644 index f1a036c..0000000 --- a/dist/index.0d99c3dd.css +++ /dev/null @@ -1,2 +0,0 @@ -:root{--selection-color:null;--white:#fbfaf8;--white-half-alpha:#fbfaf892;--white-quarter-alpha:#fbfaf843;--white-low-alpha:#fbfaf815;--dark:#060604;--dark-low-alpha:#0606042c;--accent-color:#bb377d;--highlight-color:#dfb669;--predefined-bookmark:#6856347e;--custom-bookmark:#3535357e;--add-bookmark:#4d685a7e;--settings:#4d685a7e;--primary-color:#faf7f0;--secondary-color:#e7decd;--blur-one-em:blur(1em);--blur-one-px:blur(1px);--blur-half-em:blur(.5em);--cross-display:none}::selection{background:var(--selection-color)}#canvasFar{z-index:0;background-image:linear-gradient(#ffffff40 0%,#ebebff00 60%);display:none;position:fixed;top:0}.disable-select{-webkit-user-select:none;user-select:none}*{caret-color:#0000;scroll-behavior:smooth;outline-color:var(--selection-color);outline-offset:-1px;outline-width:1px;margin:0;padding:0;box-sizing:border-box!important}body{background-color:#282828;flex-direction:column;justify-content:space-between;align-items:center;min-height:100svh;font-family:Ubuntu Mono,monospace;font-size:12px;display:flex}.justifySpaceBetween{justify-content:space-between!important}#overlay{z-index:0;cursor:auto;background-color:#00000060;width:100%;height:100%;transition:all .3s;display:block;position:fixed;inset:0}#gradient_overlay{opacity:0;z-index:0;cursor:auto;width:100%;height:100%;transition:all .3s;display:block;position:fixed;bottom:0;left:0;right:0}.header{color:var(--primary-color);z-index:13;background-color:#2684e15c;justify-content:space-between;gap:.25em;width:100%;height:3em;padding:.5em;font-size:.75em;display:none;position:fixed;top:0;left:0}.header-left-block{align-items:center;gap:1em;display:flex}.user-avatar{border-radius:50%;width:2em;height:2em}.user-name{text-align:center}.header-right-block{align-items:center;gap:1em;display:flex}#wrap{opacity:0;z-index:2;width:100%;max-width:1280px;transition:all .125s;display:block}body::-webkit-scrollbar{-ms-overflow-style:none;display:none}.flex-main-container-vertical{flex-direction:column;margin:auto;display:flex}#home-widget-container{color:var(--primary-color);cursor:default;text-align:center;justify-content:center;align-items:flex-end;width:100%;margin-bottom:1em;padding-inline:0;font-size:2em;display:flex;top:0;left:0}.home-widget{flex-direction:column;max-width:90%;display:flex}#main-heading-slider{scroll-snap-type:x mandatory;max-width:100%;padding-block-end:.125em;transition:all .5s;display:flex;overflow:scroll hidden}#main-heading-slider *{scroll-snap-align:center;scroll-snap-stop:always;flex:1;min-width:100%;margin-bottom:-.25em}#main-heading-slider::-webkit-scrollbar{height:8px;display:none}#main-heading-slider::-webkit-scrollbar-track{border-radius:10px;box-shadow:inset 0 0 5px gray}#main-heading-slider::-webkit-scrollbar-thumb{background:var(--accent-color);border-radius:10px}.default-text-style{color:var(--primary-color);font-family:Ubuntu;font-size:2em;line-height:2em;rotate:none;text-shadow:0 0 0 var(--accent-color),0 0 0 #000!important}.brush-text-style-1{color:#f5f5f5;text-shadow:4px 4px 0 var(--accent-color),6px 6px 0 #000;font-family:Vujahday Script,handwriting;font-size:2.25em;line-height:1.5em;rotate:-6deg}.brush-text-style-2{color:#f5f5f5;font-family:Advent Pro,sans-serif;font-size:2.25em;line-height:1.9em}.brush-text-style-3{color:#f5f5f5;text-shadow:4px 4px 0 var(--accent-color),6px 6px 0 #000;font-family:Nanum Brush Script,handwriting;font-size:2.8em;line-height:1.375em;rotate:none}.brush-text-style-4{color:#f5f5f5;text-shadow:1px 1px #000;font-family:Are You Serious,handwriting;font-size:2.5em;line-height:1.5em;rotate:none}.brush-text-style-5{color:#f5f5f5;text-shadow:1px 1px #000;font-family:Alkatra,display;font-size:2.25em;line-height:1.75em;rotate:none}.brush-text-style-6{color:#f5f5f5;text-shadow:1px 1px #000;font-family:Montez,handwriting;font-size:2.5em;line-height:1.5em;rotate:none}.separator{opacity:0}.separator-visible{opacity:1}.nowrap{text-wrap:nowrap}.arrows{opacity:.85;z-index:5;text-shadow:0 2px #000;height:0;font-size:1em;transition:all .25s;overflow:hidden}.arrows:hover{opacity:1}.arrows:active{opacity:.5;text-shadow:0 0 #000}#subtitle{font-family:Ubuntu;font-size:.65em}.search{text-align:center;cursor:default;z-index:2;flex-wrap:wrap;justify-content:center;align-items:stretch;width:100%;height:3em;margin-bottom:2em;display:flex;position:relative}.searchBarFocusMode{opacity:0;-webkit-backdrop-filter:blur(.5em);backdrop-filter:blur(.5em);background-color:#ffffff1f;width:100%;height:100%;transition:all .2s;display:none;position:fixed;top:0}.searchContainer{z-index:2;border-radius:1.5em;order:1;justify-content:center;align-items:center;width:100%;min-width:4em;max-width:44em;height:3em;margin-inline:1.85em;display:flex;overflow:hidden}.searchContainer:has(.searchTerm:focus){border-radius:1em}.searchTerm{background:0 0;border:0;outline:0;width:100%;height:100%;padding:0 2em 0 1em;font-size:1em}.autofillContainer{background-color:#0000;justify-content:flex-start;align-items:center;width:calc(100% - 3.5em);min-width:4em;max-width:44em;height:0;padding-inline:.1em;transition:all .125s;display:flex;position:absolute;overflow:hidden}.autofillItem{text-wrap:nowrap;text-overflow:ellipsis;white-space:nowrap;text-align:start;z-index:2;border-radius:.5em;width:100%;min-width:4em;max-width:44em;min-height:2.25em;max-height:2.25em;margin-block-start:.25em;padding-block-start:.5em;padding-inline:1em;font-family:Ubuntu;font-weight:100;overflow:hidden;box-shadow:0 2px 2px #0000002e;border:1px solid #0000!important}input::-webkit-search-cancel-button{opacity:.5;margin-inline:.7em -1.25em;transition:all .2s}input::-webkit-search-cancel-button:hover{opacity:.75}input::-webkit-search-cancel-button:hover{scale:1.1}.searchButton{text-align:center;cursor:pointer;background:0 0;border:0;outline:0;width:4em;height:100%;font-size:1em}.searchButton>i{opacity:.5;background-color:#0000;background-size:2px;border-radius:2em;padding:.1em;transition:all .125s}.searchButton:active>i{background-color:var(--selection-color);color:var(--dark);padding:.7em;padding:.8em;transition:all .2s}.searchbox-style-glass{-webkit-backdrop-filter:var(--blur-one-em);backdrop-filter:var(--blur-one-em);background:var(--white-quarter-alpha);color:#fffd;border:1px solid #ffffff38;transition:all .125s}.searchbox-style-glass>:first-child::placeholder{color:#ffffff86}.searchbox-style-glass>:first-child{color:#ffffff92;caret-color:#fff;transition:all .125s}.searchbox-style-glass>:nth-child(2)>i,.searchbox-style-glass>:first-child:focus{color:#fff}.searchbox-style-glass:hover{color:#fff;border:1px solid #ffffffce}.searchbox-style-glass:hover>:first-child{color:#fff}.searchbox-style-glass:hover>.searchButton>i{opacity:1}.searchbox-style-glass:has(.searchTerm:focus){box-shadow:0 0 4px 0px var(--selection-color);border:1px solid #fff0}.searchbox-style-glass>:first-child::-webkit-search-cancel-button{filter:grayscale()invert()brightness(200%)}.searchbox-style-light{color:#000d;background:#fff;border:1px solid #fff;transition:all .125s}.searchbox-style-light>:first-child::placeholder{color:#75757586}.searchbox-style-light>:first-child{color:#00000092;caret-color:#000;transition:all .125s}.searchbox-style-light>:nth-child(2)>i,.searchbox-style-light>:first-child:focus{color:#000}.searchbox-style-light:hover{border:1px solid var(--selection-color);color:#000}.searchbox-style-light:hover>:first-child{color:#000}.searchbox-style-light:hover>.searchButton>i{opacity:1}.searchbox-style-light:has(.searchTerm:focus){box-shadow:0 0 4px 0px var(--selection-color);border:1px solid #0000}.searchbox-style-light>:first-child::-webkit-search-cancel-button{filter:grayscale()invert()brightness(50%)}.searchbox-style-dark{color:#fffd;background:#000;border:1px solid #ffffff1e;transition:all .125s}.searchbox-style-dark>:first-child::placeholder{color:#75757586}.searchbox-style-dark>:first-child{caret-color:#fff;color:#ffffff92;transition:all .125s}.searchbox-style-dark>:nth-child(2)>i,.searchbox-style-dark>:first-child:focus{color:#fff}.searchbox-style-dark:hover{border:1px solid var(--selection-color);color:#fff}.searchbox-style-dark:hover>:first-child{color:#fff}.searchbox-style-dark:hover>.searchButton>i{opacity:1}.searchbox-style-dark:has(.searchTerm:focus){box-shadow:0 0 4px 0px var(--selection-color);border:1px solid #fff0}.searchbox-style-dark>:first-child::-webkit-search-cancel-button{filter:grayscale()invert()brightness(200%)}.searchTerm:focus+.searchButton>i{opacity:1}.flex-sub-container-horizontal{flex-wrap:wrap;justify-content:center;align-items:center;margin-bottom:2em;padding:0 .5em;display:flex}.flex-sub-container-horizontal>div{color:var(--primary-color);cursor:pointer;caret-color:#0000;border:1px solid #ffffff38;border-radius:50%;flex-direction:row;justify-content:center;align-items:center;width:4em;height:4em;margin:2%;text-decoration:none;display:flex}.predefined-bookmark{background-color:var(--predefined-bookmark);-webkit-backdrop-filter:var(--blur-one-em);backdrop-filter:var(--blur-one-em)}.flex-sub-container-horizontal>div>i{font-size:2em}#add_bookmark_button:focus,#add_bookmark_button:hover,#settings_button:focus,#settings_button:hover,.flex-sub-container-horizontal>:focus,.flex-sub-container-horizontal>:hover{background-color:var(--highlight-color);transition:all .5s}.flex-wallpaper-horizontal{z-index:2;flex-flow:row;justify-content:start;width:100%;max-height:10em;padding:0 0 .75em;display:none;position:fixed;bottom:0;overflow-x:auto}.thumb-group{cursor:pointer;border-radius:1em;width:8em;height:4.8em;margin:.5em}.advanced-settings-button{cursor:pointer;z-index:3;background-color:#fff;border-radius:0 1.5em 1.5em 0;justify-content:center;align-items:center;min-width:9em;margin:1em 0;padding:0;padding-block:.5em;padding-inline:1em;font-size:.5em;display:flex;position:sticky;left:0;transform:translate(-10em)}.advanced-settings-button:hover>i{transform:scale(1.125)}.advanced-settings-button:active>i{opacity:.5;transform:scale(1)}.advanced-settings-button>i{color:#060604;opacity:.8;font-size:4em;transition:all .125s}.thumb-group:focus,.thumb-group:hover{transition:all 1s;animation:.25s both animation_zoom;box-shadow:0 0 .5em #fff}.thumb-title{border:0 solid var(--primary-color);z-index:2;opacity:0;white-space:nowrap;text-overflow:ellipsis;color:var(--dark-text-color);pointer-events:none;padding-top:.075em;background-color:#faebd7cc;border-top:none;border-radius:0 0 1em 1em;width:8em;height:1.5em;margin-top:4em;padding-inline-start:.75em;font-family:Ubuntu;font-size:.875em;position:absolute;overflow:hidden}.animate:focus>.thumb-title,.animate:hover>.thumb-title{animation:.25s both animation_appear}.thumbnail{border:.1em solid var(--primary-color);border-radius:.9em;width:7.05em;height:4.8em;margin-left:-.04em;position:relative}#add_bookmark_button{background-color:var(--add-bookmark);-webkit-backdrop-filter:var(--blur-one-em);backdrop-filter:var(--blur-one-em);order:1336}#add_bookmark_button:not(:active)>i{transition:all .75s;rotate:360deg}#settings_button{color:var(--primary-color);-webkit-backdrop-filter:var(--blur-one-em);backdrop-filter:var(--blur-one-em);background-color:var(--settings);cursor:pointer;caret-color:#0000;border:1px solid #ffffff38;border-radius:50%;flex-direction:row;order:1337;justify-content:center;align-items:center;width:4em;height:4em;margin:2%;text-decoration:none;display:flex}#settings_button *{margin:0;padding:0;font-size:2em}#settings_button:not(:active)>i{transition:all .75s;rotate:360deg}.custom_bookmark{color:var(--primary-color);-webkit-backdrop-filter:var(--blur-one-em);backdrop-filter:var(--blur-one-em);cursor:pointer;caret-color:#0000;background-color:var(--custom-bookmark);border:1px solid #ffffff38;border-radius:50%;flex-direction:row;justify-content:center;align-items:center;width:4em;height:4em;margin:2%;text-decoration:none;display:flex}.custom_link_name{pointer-events:none;font-size:1.5em;font-weight:600}.cross{display:var(--cross-display);background-color:var(--selection-color);border:3px dashed tomato;border-radius:50%;justify-content:center;align-items:center;width:4em;height:4em;padding-top:1em;padding-left:2.5em;animation:10s linear infinite spin;position:fixed}#mydivheader{cursor:move;z-index:4;color:#fff;background-color:#0000;padding:0}#import-bookmarks-btn,#import-backup-btn{display:none}#advanced-settings-modal-background-overlay{-webkit-backdrop-filter:blur(3em);backdrop-filter:blur(3em);z-index:2;background-color:#45454576;width:100vw;height:100vh;display:none;position:fixed;top:0}#advanced-settings-modal{color:var(--white);z-index:3;cursor:default;background-color:#38383800;width:100dvw;height:auto;font-family:Ubuntu;display:none;position:absolute}#btn-install{display:none}.modal-page-title{background-color:var(--dark-low-alpha);border-radius:.5em;justify-content:flex-start;align-items:center;gap:.5em;margin:.5em;padding-block:.75em;padding-inline:.5em;font-size:1.5em;font-weight:700;display:flex}.modal-close-btn{border-radius:8px;padding-inline:.25em .3em;font-size:1.4em;transition:all .125s}.modal-close-btn:hover{background-color:#ffffff45;transform:scale(1.25)}.modal-close-btn:active{opacity:.5;transform:scale(1)}.modal-group{background-color:var(--dark-low-alpha);border-radius:.75em;flex-direction:column;margin:.75em;padding:.5em;display:flex;position:relative}.modal-title{flex-direction:column;padding:.375em;font-size:1.3em;font-weight:700;display:flex}.modal-option{border-radius:.375em;justify-content:space-between;padding-block:.5em;padding-inline:.5em;font-size:1.1em;font-weight:400;transition:all .125s;display:flex}.modal-option:hover{background-color:var(--white-quarter-alpha)}.setting-preview{text-overflow:ellipsis;white-space:nowrap;text-align:end;color:var(--white-half-alpha);background-color:#06060400;border:0 solid #000;border-radius:6px;outline:0;width:10em;height:1.25em;padding-inline-end:.5em;font-family:Ubuntu;font-size:.9em;animation-name:animatetop;animation-duration:1s;overflow:hidden}.version-preview{text-overflow:ellipsis;white-space:nowrap;text-align:center;color:var(--white-half-alpha);border-radius:6px;width:auto;max-height:1px;font-family:Ubuntu;font-size:.7em;animation-name:animatetop;animation-duration:1s;overflow:hidden}.setting-preview option{color:#060604;text-align:end;background-color:var(--dark-low-alpha)}.footer{z-index:1;flex-direction:column;align-items:center;gap:.25em;width:100%;padding:.5em;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;display:flex}.footer *{color:#ffffff80;gap:1em;font-size:.875em;line-height:1.5em;text-decoration:none;list-style:none;transition:all .15s;display:flex}.footer :focus,.footer :hover{color:#fff}.ext_favicon{border-radius:50%;width:32px;height:32px}.nested-close{opacity:0;padding-block:0;height:0!important}.nested-one-element{height:100%;transition:all .2s;overflow:hidden}#deep-search-nested{height:9.5em;transition:all .2s;overflow:hidden}.loader{border-radius:50%;animation:1s infinite spin;border:4px solid var(--primary-color)!important;border-top:4px solid #1e90ff!important}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loader *{animation:1s infinite spin-rev}@keyframes spin-rev{0%{transform:rotate(360deg)}to{transform:rotate(0)}}.collapsed{height:0;margin:0;padding:0;overflow:hidden}.hidden{display:none!important}.modalContainer{color:#fff;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:5;opacity:0;background-color:#b3b3b34c;justify-content:center;align-items:flex-start;width:100%;height:100%;padding-block-start:2em;font-family:Ubuntu;transition:all .2s;display:flex;position:fixed;top:0}.notifyContainer{color:#fff;z-index:5;opacity:1;background-color:#0000;flex-direction:column-reverse;justify-content:center;align-items:center;width:100%;height:auto;font-family:Ubuntu;transition:all .2s;display:flex;position:fixed;top:0}.modal{background:#2b2b2b;border:1px solid #ffffff24;border-radius:1em;flex-direction:column;width:90%;min-width:10em;max-width:30em;padding:1.5em;display:flex;box-shadow:0 0 2em #0003}.notifyModal{z-index:5;opacity:0;background:#2b2b2b;border:1px solid #ffffff24;border-radius:1em;flex-direction:row;justify-content:space-between;align-items:center;gap:1em;width:90%;min-width:10em;max-width:30em;margin-top:0;margin-bottom:-1em;padding:1.5em;transition:all .2s;display:flex;box-shadow:0 0 2em #0003}.modalTitle{padding-bottom:.5em}.modalDescription{padding-bottom:2em;font-size:.9em;font-weight:100}.notifyDescriptionContainer{width:90%}.notifyDescription{word-wrap:break-word;font-size:1em;font-weight:200;overflow:hidden}.modalButtonsBar{vertical-align:middle;justify-content:flex-end;align-items:center;gap:1em;margin-block-start:1em;display:inline-flex}.label{justify-content:flex-start;align-items:center;gap:.25em;padding-bottom:.25em;font-size:.9em;display:flex}.modalInputField{caret-color:#000;padding:.5em;background-color:#f1f1f1;border:2px solid #fff;border-radius:6px;outline:0;width:100%;height:2.5em;margin-bottom:1em;padding-inline:1em}.inputTickBoxField{background-color:#ffffffe8;border:1px solid #0000;border-radius:1em;width:100%;margin-bottom:1em;padding:.5em}.modalInputField:focus{border:2px solid var(--selection-color);background-color:#fff}.button{opacity:1;background-color:#ececec;border:1px solid #cecece80;border-radius:6px;width:7em;height:2.5em;font-family:Ubuntu;font-size:.85em;font-weight:400;transition:all .1s}.tinyButton{min-width:1.75em;max-width:1.75em;min-height:1.75em;max-height:1.75em;padding-bottom:2px}.notifyLoader{opacity:.1;width:100%;margin-top:1em;margin-bottom:-1em}.button:disabled{opacity:.75;background-color:#fff}.button:hover{background-color:#fff}.button:active{opacity:.75}.deleteButton{color:tomato}@media only screen and (width>=370px){body{font-size:14px}}@media only screen and (width>=600px){body{font-size:16px}#home-widget-container{padding-inline:2em}.footer{flex-direction:row;justify-content:space-between;padding-inline:2em}}@media only screen and (width>=1024px){body{font-size:18px}#advanced-settings-modal{background-color:#38383800;width:50dvw;height:auto;position:absolute;top:0}}@media (pointer:coarse){#settings_button{display:none}} -/*# sourceMappingURL=index.0d99c3dd.css.map */ diff --git a/dist/index.0d99c3dd.css.map b/dist/index.0d99c3dd.css.map deleted file mode 100644 index 9806547..0000000 --- a/dist/index.0d99c3dd.css.map +++ /dev/null @@ -1 +0,0 @@ -{"mappings":"ACAA,4dA+CA,8CAIA,oHAQA,0DAOA,yKAWA,qLAYA,6DAIA,yIAeA,iJAcA,6MAgBA,2DAMA,oDAMA,6BAIA,4DAMA,yFASA,6DAKA,6EAMA,qNAeA,8DAMA,iJAUA,mHAQA,gEAKA,+FAKA,gGAKA,uKASA,mLASA,uGAOA,sLASA,iJASA,uIASA,wIASA,qBAIA,6BAIA,yBAIA,gHAUA,wBAIA,+CAKA,6CAKA,oLAcA,mMAaA,sMAeA,0DAIA,uGAUA,+OAgBA,2XAoCA,6FAOA,sDAIA,oDAIA,qHAWA,0HASA,8HAQA,uMASA,iEAIA,0FAMA,4FAQA,mEAKA,qDAIA,uDAIA,mHAKA,6GAKA,8FAOA,iEAIA,0FAMA,4FAQA,gFAKA,qDAIA,uDAIA,mHAKA,4GAIA,kGAOA,gEAIA,yFAMA,0FAQA,+EAMA,oDAIA,sDAIA,kHAKA,4GAKA,4CAIA,sIASA,0QAgBA,+IAMA,mDAIA,2OAUA,2KAcA,iFAQA,0SAqBA,yDAIA,iEAKA,wFAOA,oHASA,+XAsBA,6FAOA,oIASA,mJAOA,sEAKA,kXAoBA,oDAMA,kEAKA,8WAoBA,sEAMA,2QAeA,+EASA,sDAKA,wMAYA,2KAcA,0BAIA,oOAcA,kGAQA,wEAKA,sDAKA,uJAUA,+FAQA,0KAYA,gEAIA,sUAmBA,yPAeA,4FAMA,gKAWA,2IAWA,yCAKA,sDAMA,2DAMA,mEAMA,oEAOA,4IAOA,oEAUA,yCAIA,wEAUA,uDAOA,+BAIA,2SAmBA,8OAiBA,yLAaA,4TAqBA,gCAIA,oEAMA,sCAIA,sFAOA,sIASA,gHASA,uLAaA,iIASA,qFAKA,qLAaA,qGAQA,sEAOA,mDAKA,oCAIA,2BASA,2BAIA,sCACC,qBAKD,sCACC,oBAIA,0CAIA,6EAOD,uCACC,oBAIA,qGAUD,wBACC","sources":["index.0d99c3dd.css","style.css"],"sourcesContent":[":root {\n --selection-color: null;\n --white: #fbfaf8;\n --white-half-alpha: #fbfaf892;\n --white-quarter-alpha: #fbfaf843;\n --white-low-alpha: #fbfaf815;\n --dark: #060604;\n --dark-low-alpha: #0606042c;\n --accent-color: #bb377d;\n --highlight-color: #dfb669;\n --predefined-bookmark: #6856347e;\n --custom-bookmark: #3535357e;\n --add-bookmark: #4d685a7e;\n --settings: #4d685a7e;\n --primary-color: #faf7f0;\n --secondary-color: #e7decd;\n --blur-one-em: blur(1em);\n --blur-one-px: blur(1px);\n --blur-half-em: blur(.5em);\n --cross-display: none;\n}\n\n::selection {\n background: var(--selection-color);\n}\n\n#canvasFar {\n z-index: 0;\n background-image: linear-gradient(#ffffff40 0%, #ebebff00 60%);\n display: none;\n position: fixed;\n top: 0;\n}\n\n.disable-select {\n -webkit-user-select: none;\n user-select: none;\n}\n\n* {\n caret-color: #0000;\n scroll-behavior: smooth;\n outline-color: var(--selection-color);\n outline-offset: -1px;\n outline-width: 1px;\n margin: 0;\n padding: 0;\n box-sizing: border-box !important;\n}\n\nbody {\n background-color: #282828;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n min-height: 100svh;\n font-family: Ubuntu Mono, monospace;\n font-size: 12px;\n display: flex;\n}\n\n.justifySpaceBetween {\n justify-content: space-between !important;\n}\n\n#overlay {\n z-index: 0;\n cursor: auto;\n background-color: #00000060;\n width: 100%;\n height: 100%;\n transition: all .3s;\n display: block;\n position: fixed;\n inset: 0;\n}\n\n#gradient_overlay {\n opacity: 0;\n z-index: 0;\n cursor: auto;\n width: 100%;\n height: 100%;\n transition: all .3s;\n display: block;\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n.header {\n color: var(--primary-color);\n z-index: 13;\n background-color: #2684e15c;\n justify-content: space-between;\n gap: .25em;\n width: 100%;\n height: 3em;\n padding: .5em;\n font-size: .75em;\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n}\n\n.header-left-block {\n align-items: center;\n gap: 1em;\n display: flex;\n}\n\n.user-avatar {\n border-radius: 50%;\n width: 2em;\n height: 2em;\n}\n\n.user-name {\n text-align: center;\n}\n\n.header-right-block {\n align-items: center;\n gap: 1em;\n display: flex;\n}\n\n#wrap {\n opacity: 0;\n z-index: 2;\n width: 100%;\n max-width: 1280px;\n transition: all .125s;\n display: block;\n}\n\nbody::-webkit-scrollbar {\n -ms-overflow-style: none;\n display: none;\n}\n\n.flex-main-container-vertical {\n flex-direction: column;\n margin: auto;\n display: flex;\n}\n\n#home-widget-container {\n color: var(--primary-color);\n cursor: default;\n text-align: center;\n justify-content: center;\n align-items: flex-end;\n width: 100%;\n margin-bottom: 1em;\n padding-inline: 0;\n font-size: 2em;\n display: flex;\n top: 0;\n left: 0;\n}\n\n.home-widget {\n flex-direction: column;\n max-width: 90%;\n display: flex;\n}\n\n#main-heading-slider {\n scroll-snap-type: x mandatory;\n max-width: 100%;\n padding-block-end: .125em;\n transition: all .5s;\n display: flex;\n overflow: scroll hidden;\n}\n\n#main-heading-slider * {\n scroll-snap-align: center;\n scroll-snap-stop: always;\n flex: 1;\n min-width: 100%;\n margin-bottom: -.25em;\n}\n\n#main-heading-slider::-webkit-scrollbar {\n height: 8px;\n display: none;\n}\n\n#main-heading-slider::-webkit-scrollbar-track {\n border-radius: 10px;\n box-shadow: inset 0 0 5px gray;\n}\n\n#main-heading-slider::-webkit-scrollbar-thumb {\n background: var(--accent-color);\n border-radius: 10px;\n}\n\n.default-text-style {\n color: var(--primary-color);\n font-family: Ubuntu;\n font-size: 2em;\n line-height: 2em;\n rotate: none;\n text-shadow: 0 0 0 var(--accent-color), 0 0 0 #000 !important;\n}\n\n.brush-text-style-1 {\n color: #f5f5f5;\n text-shadow: 4px 4px 0 var(--accent-color), 6px 6px 0 #000;\n font-family: Vujahday Script, handwriting;\n font-size: 2.25em;\n line-height: 1.5em;\n rotate: -6deg;\n}\n\n.brush-text-style-2 {\n color: #f5f5f5;\n font-family: Advent Pro, sans-serif;\n font-size: 2.25em;\n line-height: 1.9em;\n}\n\n.brush-text-style-3 {\n color: #f5f5f5;\n text-shadow: 4px 4px 0 var(--accent-color), 6px 6px 0 #000;\n font-family: Nanum Brush Script, handwriting;\n font-size: 2.8em;\n line-height: 1.375em;\n rotate: none;\n}\n\n.brush-text-style-4 {\n color: #f5f5f5;\n text-shadow: 1px 1px #000;\n font-family: Are You Serious, handwriting;\n font-size: 2.5em;\n line-height: 1.5em;\n rotate: none;\n}\n\n.brush-text-style-5 {\n color: #f5f5f5;\n text-shadow: 1px 1px #000;\n font-family: Alkatra, display;\n font-size: 2.25em;\n line-height: 1.75em;\n rotate: none;\n}\n\n.brush-text-style-6 {\n color: #f5f5f5;\n text-shadow: 1px 1px #000;\n font-family: Montez, handwriting;\n font-size: 2.5em;\n line-height: 1.5em;\n rotate: none;\n}\n\n.separator {\n opacity: 0;\n}\n\n.separator-visible {\n opacity: 1;\n}\n\n.nowrap {\n text-wrap: nowrap;\n}\n\n.arrows {\n opacity: .85;\n z-index: 5;\n text-shadow: 0 2px #000;\n height: 0;\n font-size: 1em;\n transition: all .25s;\n overflow: hidden;\n}\n\n.arrows:hover {\n opacity: 1;\n}\n\n.arrows:active {\n opacity: .5;\n text-shadow: 0 0 #000;\n}\n\n#subtitle {\n font-family: Ubuntu;\n font-size: .65em;\n}\n\n.search {\n text-align: center;\n cursor: default;\n z-index: 2;\n flex-wrap: wrap;\n justify-content: center;\n align-items: stretch;\n width: 100%;\n height: 3em;\n margin-bottom: 2em;\n display: flex;\n position: relative;\n}\n\n.searchBarFocusMode {\n opacity: 0;\n -webkit-backdrop-filter: blur(.5em);\n backdrop-filter: blur(.5em);\n background-color: #ffffff1f;\n width: 100%;\n height: 100%;\n transition: all .2s;\n display: none;\n position: fixed;\n top: 0;\n}\n\n.searchContainer {\n z-index: 2;\n border-radius: 1.5em;\n order: 1;\n justify-content: center;\n align-items: center;\n width: 100%;\n min-width: 4em;\n max-width: 44em;\n height: 3em;\n margin-inline: 1.85em;\n display: flex;\n overflow: hidden;\n}\n\n.searchContainer:has(.searchTerm:focus) {\n border-radius: 1em;\n}\n\n.searchTerm {\n background: none;\n border: 0;\n outline: 0;\n width: 100%;\n height: 100%;\n padding: 0 2em 0 1em;\n font-size: 1em;\n}\n\n.autofillContainer {\n background-color: #0000;\n justify-content: flex-start;\n align-items: center;\n width: calc(100% - 3.5em);\n min-width: 4em;\n max-width: 44em;\n height: 0;\n padding-inline: .1em;\n transition: all .125s;\n display: flex;\n position: absolute;\n overflow: hidden;\n}\n\n.autofillItem {\n text-wrap: nowrap;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: start;\n z-index: 2;\n border-radius: .5em;\n width: 100%;\n min-width: 4em;\n max-width: 44em;\n min-height: 2.25em;\n max-height: 2.25em;\n margin-block-start: .25em;\n padding-block-start: .5em;\n padding-inline: 1em;\n font-family: Ubuntu;\n font-weight: 100;\n overflow: hidden;\n box-shadow: 0 2px 2px #0000002e;\n border: 1px solid #0000 !important;\n}\n\ninput::-webkit-search-cancel-button {\n opacity: .5;\n margin-inline: .7em -1.25em;\n transition: all .2s;\n}\n\ninput::-webkit-search-cancel-button:hover {\n opacity: .75;\n}\n\ninput::-webkit-search-cancel-button:hover {\n scale: 1.1;\n}\n\n.searchButton {\n text-align: center;\n cursor: pointer;\n background: none;\n border: 0;\n outline: 0;\n width: 4em;\n height: 100%;\n font-size: 1em;\n}\n\n.searchButton > i {\n opacity: .5;\n background-color: #0000;\n background-size: 2px;\n border-radius: 2em;\n padding: .1em;\n transition: all .125s;\n}\n\n.searchButton:active > i {\n background-color: var(--selection-color);\n padding: .7em;\n color: var(--dark);\n padding: .8em;\n transition: all .2s;\n}\n\n.searchbox-style-glass {\n -webkit-backdrop-filter: var(--blur-one-em);\n backdrop-filter: var(--blur-one-em);\n background: var(--white-quarter-alpha);\n color: #fffd;\n border: 1px solid #ffffff38;\n transition: all .125s;\n}\n\n.searchbox-style-glass > :first-child::placeholder {\n color: #ffffff86;\n}\n\n.searchbox-style-glass > :first-child {\n color: #ffffff92;\n caret-color: #fff;\n transition: all .125s;\n}\n\n.searchbox-style-glass > :nth-child(2) > i, .searchbox-style-glass > :first-child:focus {\n color: #fff;\n}\n\n.searchbox-style-glass:hover {\n color: #fff;\n border: 1px solid #ffffffce;\n}\n\n.searchbox-style-glass:hover > :first-child {\n color: #fff;\n}\n\n.searchbox-style-glass:hover > .searchButton > i {\n opacity: 1;\n}\n\n.searchbox-style-glass:has(.searchTerm:focus) {\n box-shadow: 0 0 4px 0px var(--selection-color);\n border: 1px solid #fff0;\n}\n\n.searchbox-style-glass > :first-child::-webkit-search-cancel-button {\n filter: grayscale() invert() brightness(200%);\n}\n\n.searchbox-style-light {\n color: #000d;\n background: #fff;\n border: 1px solid #fff;\n transition: all .125s;\n}\n\n.searchbox-style-light > :first-child::placeholder {\n color: #75757586;\n}\n\n.searchbox-style-light > :first-child {\n color: #00000092;\n caret-color: #000;\n transition: all .125s;\n}\n\n.searchbox-style-light > :nth-child(2) > i, .searchbox-style-light > :first-child:focus {\n color: #000;\n}\n\n.searchbox-style-light:hover {\n border: 1px solid var(--selection-color);\n color: #000;\n}\n\n.searchbox-style-light:hover > :first-child {\n color: #000;\n}\n\n.searchbox-style-light:hover > .searchButton > i {\n opacity: 1;\n}\n\n.searchbox-style-light:has(.searchTerm:focus) {\n box-shadow: 0 0 4px 0px var(--selection-color);\n border: 1px solid #0000;\n}\n\n.searchbox-style-light > :first-child::-webkit-search-cancel-button {\n filter: grayscale() invert() brightness(50%);\n}\n\n.searchbox-style-dark {\n color: #fffd;\n background: #000;\n border: 1px solid #ffffff1e;\n transition: all .125s;\n}\n\n.searchbox-style-dark > :first-child::placeholder {\n color: #75757586;\n}\n\n.searchbox-style-dark > :first-child {\n caret-color: #fff;\n color: #ffffff92;\n transition: all .125s;\n}\n\n.searchbox-style-dark > :nth-child(2) > i, .searchbox-style-dark > :first-child:focus {\n color: #fff;\n}\n\n.searchbox-style-dark:hover {\n border: 1px solid var(--selection-color);\n color: #fff;\n}\n\n.searchbox-style-dark:hover > :first-child {\n color: #fff;\n}\n\n.searchbox-style-dark:hover > .searchButton > i {\n opacity: 1;\n}\n\n.searchbox-style-dark:has(.searchTerm:focus) {\n box-shadow: 0 0 4px 0px var(--selection-color);\n border: 1px solid #fff0;\n}\n\n.searchbox-style-dark > :first-child::-webkit-search-cancel-button {\n filter: grayscale() invert() brightness(200%);\n}\n\n.searchTerm:focus + .searchButton > i {\n opacity: 1;\n}\n\n.flex-sub-container-horizontal {\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n margin-bottom: 2em;\n padding: 0 .5em;\n display: flex;\n}\n\n.flex-sub-container-horizontal > div {\n color: var(--primary-color);\n cursor: pointer;\n caret-color: #0000;\n border: 1px solid #ffffff38;\n border-radius: 50%;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 4em;\n height: 4em;\n margin: 2%;\n text-decoration: none;\n display: flex;\n}\n\n.predefined-bookmark {\n background-color: var(--predefined-bookmark);\n -webkit-backdrop-filter: var(--blur-one-em);\n backdrop-filter: var(--blur-one-em);\n}\n\n.flex-sub-container-horizontal > div > i {\n font-size: 2em;\n}\n\n#add_bookmark_button:focus, #add_bookmark_button:hover, #settings_button:focus, #settings_button:hover, .flex-sub-container-horizontal > :focus, .flex-sub-container-horizontal > :hover {\n background-color: var(--highlight-color);\n transition: all .5s;\n}\n\n.flex-wallpaper-horizontal {\n z-index: 2;\n flex-flow: row;\n justify-content: start;\n width: 100%;\n max-height: 10em;\n padding: 0 0 .75em;\n display: none;\n position: fixed;\n bottom: 0;\n overflow-x: auto;\n}\n\n.thumb-group {\n cursor: pointer;\n border-radius: 1em;\n width: 8em;\n height: 4.8em;\n margin: .5em;\n}\n\n.advanced-settings-button {\n cursor: pointer;\n z-index: 3;\n background-color: #fff;\n border-radius: 0 1.5em 1.5em 0;\n justify-content: center;\n align-items: center;\n min-width: 9em;\n margin: 1em 0;\n padding: 0;\n padding-block: .5em;\n padding-inline: 1em;\n font-size: .5em;\n display: flex;\n position: sticky;\n left: 0;\n transform: translateX(-10em);\n}\n\n.advanced-settings-button:hover > i {\n transform: scale(1.125);\n}\n\n.advanced-settings-button:active > i {\n opacity: .5;\n transform: scale(1);\n}\n\n.advanced-settings-button > i {\n color: #060604;\n opacity: .8;\n font-size: 4em;\n transition: all .125s;\n}\n\n.thumb-group:focus, .thumb-group:hover {\n transition: all 1s;\n animation: .25s both animation_zoom;\n box-shadow: 0 0 .5em #fff;\n}\n\n.thumb-title {\n border: 0 solid var(--primary-color);\n z-index: 2;\n opacity: 0;\n padding-top: .075em;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: var(--dark-text-color);\n pointer-events: none;\n background-color: #faebd7cc;\n border-top: none;\n border-radius: 0 0 1em 1em;\n width: 8em;\n height: 1.5em;\n margin-top: 4em;\n padding-inline-start: .75em;\n font-family: Ubuntu;\n font-size: .875em;\n position: absolute;\n overflow: hidden;\n}\n\n.animate:focus > .thumb-title, .animate:hover > .thumb-title {\n animation: .25s both animation_appear;\n}\n\n.thumbnail {\n border: .1em solid var(--primary-color);\n border-radius: .9em;\n width: 7.05em;\n height: 4.8em;\n margin-left: -.04em;\n position: relative;\n}\n\n#add_bookmark_button {\n background-color: var(--add-bookmark);\n -webkit-backdrop-filter: var(--blur-one-em);\n backdrop-filter: var(--blur-one-em);\n order: 1336;\n}\n\n#add_bookmark_button:not(:active) > i {\n transition: all .75s;\n rotate: 360deg;\n}\n\n#settings_button {\n color: var(--primary-color);\n -webkit-backdrop-filter: var(--blur-one-em);\n backdrop-filter: var(--blur-one-em);\n background-color: var(--settings);\n cursor: pointer;\n caret-color: #0000;\n border: 1px solid #ffffff38;\n border-radius: 50%;\n flex-direction: row;\n order: 1337;\n justify-content: center;\n align-items: center;\n width: 4em;\n height: 4em;\n margin: 2%;\n text-decoration: none;\n display: flex;\n}\n\n#settings_button * {\n margin: 0;\n padding: 0;\n font-size: 2em;\n}\n\n#settings_button:not(:active) > i {\n transition: all .75s;\n rotate: 360deg;\n}\n\n.custom_bookmark {\n color: var(--primary-color);\n -webkit-backdrop-filter: var(--blur-one-em);\n backdrop-filter: var(--blur-one-em);\n cursor: pointer;\n caret-color: #0000;\n background-color: var(--custom-bookmark);\n border: 1px solid #ffffff38;\n border-radius: 50%;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 4em;\n height: 4em;\n margin: 2%;\n text-decoration: none;\n display: flex;\n}\n\n.custom_link_name {\n pointer-events: none;\n font-size: 1.5em;\n font-weight: 600;\n}\n\n.cross {\n display: var(--cross-display);\n background-color: var(--selection-color);\n border: 3px dashed tomato;\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n width: 4em;\n height: 4em;\n padding-top: 1em;\n padding-left: 2.5em;\n animation: 10s linear infinite spin;\n position: fixed;\n}\n\n#mydivheader {\n cursor: move;\n z-index: 4;\n color: #fff;\n background-color: #0000;\n padding: 0;\n}\n\n#import-bookmarks-btn, #import-backup-btn {\n display: none;\n}\n\n#advanced-settings-modal-background-overlay {\n -webkit-backdrop-filter: blur(3em);\n backdrop-filter: blur(3em);\n z-index: 2;\n background-color: #45454576;\n width: 100vw;\n height: 100vh;\n display: none;\n position: fixed;\n top: 0;\n}\n\n#advanced-settings-modal {\n color: var(--white);\n z-index: 3;\n cursor: default;\n background-color: #38383800;\n width: 100dvw;\n height: auto;\n font-family: Ubuntu;\n display: none;\n position: absolute;\n}\n\n#btn-install {\n display: none;\n}\n\n.modal-page-title {\n background-color: var(--dark-low-alpha);\n border-radius: .5em;\n justify-content: flex-start;\n align-items: center;\n gap: .5em;\n margin: .5em;\n padding-block: .75em;\n padding-inline: .5em;\n font-size: 1.5em;\n font-weight: 700;\n display: flex;\n}\n\n.modal-close-btn {\n border-radius: 8px;\n padding-inline: .25em .3em;\n font-size: 1.4em;\n transition: all .125s;\n}\n\n.modal-close-btn:hover {\n background-color: #ffffff45;\n transform: scale(1.25);\n}\n\n.modal-close-btn:active {\n opacity: .5;\n transform: scale(1);\n}\n\n.modal-group {\n background-color: var(--dark-low-alpha);\n border-radius: .75em;\n flex-direction: column;\n margin: .75em;\n padding: .5em;\n display: flex;\n position: relative;\n}\n\n.modal-title {\n flex-direction: column;\n padding: .375em;\n font-size: 1.3em;\n font-weight: 700;\n display: flex;\n}\n\n.modal-option {\n border-radius: .375em;\n justify-content: space-between;\n padding-block: .5em;\n padding-inline: .5em;\n font-size: 1.1em;\n font-weight: 400;\n transition: all .125s;\n display: flex;\n}\n\n.modal-option:hover {\n background-color: var(--white-quarter-alpha);\n}\n\n.setting-preview {\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: end;\n color: var(--white-half-alpha);\n background-color: #06060400;\n border: 0 solid #000;\n border-radius: 6px;\n outline: 0;\n width: 10em;\n height: 1.25em;\n padding-inline-end: .5em;\n font-family: Ubuntu;\n font-size: .9em;\n animation-name: animatetop;\n animation-duration: 1s;\n overflow: hidden;\n}\n\n.version-preview {\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: center;\n color: var(--white-half-alpha);\n border-radius: 6px;\n width: auto;\n max-height: 1px;\n font-family: Ubuntu;\n font-size: .7em;\n animation-name: animatetop;\n animation-duration: 1s;\n overflow: hidden;\n}\n\n.setting-preview option {\n color: #060604;\n text-align: end;\n background-color: var(--dark-low-alpha);\n}\n\n.footer {\n z-index: 1;\n flex-direction: column;\n align-items: center;\n gap: .25em;\n width: 100%;\n padding: .5em;\n font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif;\n display: flex;\n}\n\n.footer * {\n color: #ffffff80;\n gap: 1em;\n font-size: .875em;\n line-height: 1.5em;\n text-decoration: none;\n list-style: none;\n transition: all .15s;\n display: flex;\n}\n\n.footer :focus, .footer :hover {\n color: #fff;\n}\n\n.ext_favicon {\n border-radius: 50%;\n width: 32px;\n height: 32px;\n}\n\n.nested-close {\n opacity: 0;\n padding-block: 0;\n height: 0 !important;\n}\n\n.nested-one-element {\n height: 100%;\n transition: all .2s;\n overflow: hidden;\n}\n\n#deep-search-nested {\n height: 9.5em;\n transition: all .2s;\n overflow: hidden;\n}\n\n.loader {\n border-radius: 50%;\n animation: 1s infinite spin;\n border: 4px solid var(--primary-color) !important;\n border-top: 4px solid #1e90ff !important;\n}\n\n@keyframes spin {\n 0% {\n transform: rotate(0);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.loader * {\n animation: 1s infinite spin-rev;\n}\n\n@keyframes spin-rev {\n 0% {\n transform: rotate(360deg);\n }\n\n 100% {\n transform: rotate(0);\n }\n}\n\n.collapsed {\n height: 0;\n margin: 0;\n padding: 0;\n overflow: hidden;\n}\n\n.hidden {\n display: none !important;\n}\n\n.modalContainer {\n color: #fff;\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n z-index: 5;\n opacity: 0;\n background-color: #b3b3b34c;\n justify-content: center;\n align-items: flex-start;\n width: 100%;\n height: 100%;\n padding-block-start: 2em;\n font-family: Ubuntu;\n transition: all .2s;\n display: flex;\n position: fixed;\n top: 0;\n}\n\n.notifyContainer {\n color: #fff;\n z-index: 5;\n opacity: 1;\n background-color: #0000;\n flex-direction: column-reverse;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: auto;\n font-family: Ubuntu;\n transition: all .2s;\n display: flex;\n position: fixed;\n top: 0;\n}\n\n.modal {\n background: #2b2b2b;\n border: 1px solid #ffffff24;\n border-radius: 1em;\n flex-direction: column;\n width: 90%;\n min-width: 10em;\n max-width: 30em;\n padding: 1.5em;\n display: flex;\n box-shadow: 0 0 2em #0003;\n}\n\n.notifyModal {\n z-index: 5;\n opacity: 0;\n background: #2b2b2b;\n border: 1px solid #ffffff24;\n border-radius: 1em;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 1em;\n width: 90%;\n min-width: 10em;\n max-width: 30em;\n margin-top: 0;\n margin-bottom: -1em;\n padding: 1.5em;\n transition: all .2s;\n display: flex;\n box-shadow: 0 0 2em #0003;\n}\n\n.modalTitle {\n padding-bottom: .5em;\n}\n\n.modalDescription {\n padding-bottom: 2em;\n font-size: .9em;\n font-weight: 100;\n}\n\n.notifyDescriptionContainer {\n width: 90%;\n}\n\n.notifyDescription {\n word-wrap: break-word;\n font-size: 1em;\n font-weight: 200;\n overflow: hidden;\n}\n\n.modalButtonsBar {\n vertical-align: middle;\n justify-content: flex-end;\n align-items: center;\n gap: 1em;\n margin-block-start: 1em;\n display: inline-flex;\n}\n\n.label {\n justify-content: flex-start;\n align-items: center;\n gap: .25em;\n padding-bottom: .25em;\n font-size: .9em;\n display: flex;\n}\n\n.modalInputField {\n padding: .5em;\n caret-color: #000;\n background-color: #f1f1f1;\n border: 2px solid #fff;\n border-radius: 6px;\n outline: 0;\n width: 100%;\n height: 2.5em;\n margin-bottom: 1em;\n padding-inline: 1em;\n}\n\n.inputTickBoxField {\n background-color: #ffffffe8;\n border: 1px solid #0000;\n border-radius: 1em;\n width: 100%;\n margin-bottom: 1em;\n padding: .5em;\n}\n\n.modalInputField:focus {\n border: 2px solid var(--selection-color);\n background-color: #fff;\n}\n\n.button {\n opacity: 1;\n background-color: #ececec;\n border: 1px solid #cecece80;\n border-radius: 6px;\n width: 7em;\n height: 2.5em;\n font-family: Ubuntu;\n font-size: .85em;\n font-weight: 400;\n transition: all .1s;\n}\n\n.tinyButton {\n min-width: 1.75em;\n max-width: 1.75em;\n min-height: 1.75em;\n max-height: 1.75em;\n padding-bottom: 2px;\n}\n\n.notifyLoader {\n opacity: .1;\n width: 100%;\n margin-top: 1em;\n margin-bottom: -1em;\n}\n\n.button:disabled {\n opacity: .75;\n background-color: #fff;\n}\n\n.button:hover {\n background-color: #fff;\n}\n\n.button:active {\n opacity: .75;\n}\n\n.deleteButton {\n color: tomato;\n}\n\n@media only screen and (width >= 370px) {\n body {\n font-size: 14px;\n }\n}\n\n@media only screen and (width >= 600px) {\n body {\n font-size: 16px;\n }\n\n #home-widget-container {\n padding-inline: 2em;\n }\n\n .footer {\n flex-direction: row;\n justify-content: space-between;\n padding-inline: 2em;\n }\n}\n\n@media only screen and (width >= 1024px) {\n body {\n font-size: 18px;\n }\n\n #advanced-settings-modal {\n background-color: #38383800;\n width: 50dvw;\n height: auto;\n position: absolute;\n top: 0;\n }\n}\n\n@media (pointer: coarse) {\n #settings_button {\n display: none;\n }\n}\n\n/*# sourceMappingURL=index.0d99c3dd.css.map */\n",":root {\r\n\t--selection-color: null;\r\n\t--white: #fbfaf8ff;\r\n\t--white-half-alpha: #fbfaf892;\r\n\t--white-quarter-alpha: #fbfaf843;\r\n\t--white-low-alpha: #fbfaf815;\r\n\t--dark: #060604;\r\n\t--dark-low-alpha: #0606042c;\r\n\t--accent-color: #BB377D;\r\n\t--highlight-color: #dfb669;\r\n\t--predefined-bookmark: #6856347e;\r\n\t--custom-bookmark: #3535357e;\r\n\t--add-bookmark: #4d685a7e;\r\n\t--settings: #4d685a7e;\r\n\t--primary-color: #faf7f0ff;\r\n\t--secondary-color: #e7decdff;\r\n\t--blur-one-em: blur(1em);\r\n\t--blur-one-px: blur(1px);\r\n\t--blur-half-em: blur(0.5em);\r\n\t--cross-display: none;\r\n\t/*\r\n\t--predefined-bookmark: #6856347e;\r\n\t--custom-bookmark: #0034597e;\r\n\t--add-bookmark: #4d685a7e;\r\n\t--settings: #4d685a7e;\r\n\t\r\n\t--removable-border: 1px solid #ffffff38;\r\n\t--pink-gradient-webkit: -webkit-linear-gradient(to top, #BB377D, 50%, #fbd3e900);\r\n\t--pink-gradient: linear-gradient(to top, #BB377D, 50%, #fbd3e900);\r\n\t--pink-color: #BB377D;\r\n\t--light-pink-gradient-webkit: -webkit-linear-gradient(to top, #ec96c4, 50%, #fbd3e900);\r\n\t--light-pink-gradient: linear-gradient(to top, #ec96c4, 50%, #fbd3e900);\r\n\t--light-pink-color: #ec96c4;\r\n\t--earth-gradient-webkit: -webkit-linear-gradient(to top, #bb6a37, 50%, #fbd3e900);\r\n\t--earth-gradient: linear-gradient(to top, #bb6a37, 50%, #fbd3e900);\r\n\t--earth-color: #bb6a37;\r\n\t--green-gradient-webkit: -webkit-linear-gradient(to top, #79bb37, 50%, #fbd3e900);\r\n\t--green-gradient: linear-gradient(to top, #79bb37, 50%, #fbd3e900);\r\n\t--green-color: #79bb37;\r\n\t--yellow-gradient-webkit: -webkit-linear-gradient(to top, #bb9c37, 50%, #fbd3e900);\r\n\t--yellow-gradient: linear-gradient(to top, #bb9c37, 50%, #fbd3e900);\r\n\t--yellow-color: #bb9c37;\r\n\t--red-gradient-webkit: -webkit-linear-gradient(to top, #e04040, 50%, #fbd3e900);\r\n\t--red-gradient: linear-gradient(to top, #e04040, 50%, #fbd3e900);\r\n\t--red-color: #e04040; */\r\n}\r\n\r\n::selection {\r\n\tbackground: var(--selection-color);\r\n}\r\n\r\n#canvasFar {\r\n\tposition: fixed;\r\n\tdisplay: none;\r\n\ttop: 0;\r\n\tz-index: 0;\r\n\tbackground-image: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(235, 235, 255, 0) 60%);\r\n}\r\n\r\n.disable-select {\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n}\r\n\r\n* {\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tbox-sizing: border-box !important;\r\n\tcaret-color: transparent;\r\n\tscroll-behavior: smooth;\r\n\toutline-color: var(--selection-color);\r\n\toutline-offset: -1px;\r\n\toutline-width: 1px;\r\n}\r\n\r\nbody {\r\n\tbackground-color: #282828;\r\n\tfont-family: \"Ubuntu Mono\", monospace;\r\n\tfont-size: 12px;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmin-height: 100vh;\r\n\tmin-height: 100svh;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n.justifySpaceBetween {\r\n\tjustify-content: space-between !important;\r\n}\r\n\r\n#overlay {\r\n\tposition: fixed;\r\n\tdisplay: block;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\tbackground-color: rgba(0, 0, 0, .375);\r\n\tz-index: 0;\r\n\tcursor: auto;\r\n\ttransition: .3s\r\n}\r\n\r\n#gradient_overlay {\r\n\tposition: fixed;\r\n\tdisplay: block;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\topacity: 0;\r\n\tz-index: 0;\r\n\tcursor: auto;\r\n\ttransition: .3s\r\n}\r\n\r\n.header {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tdisplay: none;\r\n\tpadding: 0.5em;\r\n\tgap: 0.25em;\r\n\tfont-size: 0.75em;\r\n\tjustify-content: space-between;\r\n\twidth: 100%;\r\n\theight: 3em;\r\n\tcolor: var(--primary-color);\r\n\tbackground-color: #2684e15c;\r\n\tz-index: 13;\r\n}\r\n\r\n.header-left-block {\r\n\tdisplay: flex;\r\n\tgap: 1em;\r\n\talign-items: center;\r\n}\r\n\r\n.user-avatar {\r\n\theight: 2em;\r\n\twidth: 2em;\r\n\tborder-radius: 50%;\r\n}\r\n\r\n.user-name {\r\n\ttext-align: center;\r\n}\r\n\r\n.header-right-block {\r\n\tdisplay: flex;\r\n\tgap: 1em;\r\n\talign-items: center;\r\n}\r\n\r\n#wrap {\r\n\tmax-width: 1280px;\r\n\twidth: 100%;\r\n\topacity: 0;\r\n\tz-index: 2;\r\n\tdisplay: block;\r\n\ttransition: 125ms;\r\n}\r\n\r\nbody::-webkit-scrollbar {\r\n\t-ms-overflow-style: none;\r\n\tdisplay: none;\r\n}\r\n\r\n.flex-main-container-vertical {\r\n\tmargin: auto;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n}\r\n\r\n#home-widget-container {\r\n\tcolor: var(--primary-color);\r\n\twidth: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tdisplay: flex;\r\n\talign-items: flex-end;\r\n\tjustify-content: center;\r\n\tfont-size: clamp(1em, 2em, 10em);\r\n\tcursor: default;\r\n\ttext-align: center;\r\n\tmargin-bottom: 1em;\r\n\tpadding-inline: 0em\r\n}\r\n\r\n.home-widget {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmax-width: 90%\r\n}\r\n\r\n#main-heading-slider {\r\n\ttransition: .5s;\r\n\tmax-width: 100%;\r\n\tpadding-block-end: 0.125em;\r\n\tdisplay: flex;\r\n\toverflow-x: scroll;\r\n\toverflow-y: hidden;\r\n\tscroll-snap-type: x mandatory\r\n}\r\n\r\n#main-heading-slider * {\r\n\tmin-width: 100%;\r\n\tflex: 1;\r\n\tscroll-snap-align: center;\r\n\tscroll-snap-stop: always;\r\n\tmargin-bottom: -0.25em;\r\n}\r\n\r\n#main-heading-slider::-webkit-scrollbar {\r\n\theight: 8px;\r\n\tdisplay: none\r\n}\r\n\r\n#main-heading-slider::-webkit-scrollbar-track {\r\n\tbox-shadow: inset 0 0 5px grey;\r\n\tborder-radius: 10px\r\n}\r\n\r\n#main-heading-slider::-webkit-scrollbar-thumb {\r\n\tbackground: var(--accent-color);\r\n\tborder-radius: 10px\r\n}\r\n\r\n.default-text-style {\r\n\tfont-family: Ubuntu;\r\n\tcolor: var(--primary-color);\r\n\tfont-size: clamp(1em, 2em, 10em);\r\n\tline-height: 2em;\r\n\ttext-shadow: 0 0 0 var(--accent-color), 0 0 0 #000 !important;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-1 {\r\n\tfont-family: 'Vujahday Script', handwriting;\r\n\tfont-size: clamp(1em, 2.25em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.5em;\r\n\ttext-shadow: 4px 4px 0 var(--accent-color), 6px 6px 0 #000;\r\n\trotate: -6deg\r\n}\r\n\r\n.brush-text-style-2 {\r\n\tfont-family: 'Advent Pro', sans-serif;\r\n\tfont-size: clamp(1em, 2.25em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.9em;\r\n}\r\n\r\n.brush-text-style-3 {\r\n\tfont-family: 'Nanum Brush Script', handwriting;\r\n\tfont-size: clamp(1em, 2.8em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.375em;\r\n\ttext-shadow: 4px 4px 0 var(--accent-color), 6px 6px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-4 {\r\n\tfont-family: 'Are You Serious', handwriting;\r\n\tfont-size: clamp(1em, 2.5em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.5em;\r\n\ttext-shadow: 1px 1px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-5 {\r\n\tfont-family: 'Alkatra', display;\r\n\tfont-size: clamp(1em, 2.25em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.75em;\r\n\ttext-shadow: 1px 1px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-6 {\r\n\tfont-family: 'Montez', handwriting;\r\n\tfont-size: clamp(1em, 2.5em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.5em;\r\n\ttext-shadow: 1px 1px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.separator {\r\n\topacity: 0;\r\n}\r\n\r\n.separator-visible {\r\n\topacity: 1;\r\n}\r\n\r\n.nowrap {\r\n\ttext-wrap: nowrap;\r\n}\r\n\r\n.arrows {\r\n\theight: 0em;\r\n\topacity: 0.85;\r\n\toverflow: hidden;\r\n\tfont-size: 1em;\r\n\tz-index: 5;\r\n\ttext-shadow: 0 2px 0 #000;\r\n\ttransition: 250ms\r\n}\r\n\r\n.arrows:hover {\r\n\topacity: 1;\r\n}\r\n\r\n.arrows:active {\r\n\topacity: 0.5;\r\n\ttext-shadow: 0 0px 0 #000;\r\n}\r\n\r\n#subtitle {\r\n\tfont-family: Ubuntu;\r\n\tfont-size: .65em;\r\n}\r\n\r\n.search {\r\n\tdisplay: flex;\r\n\tposition: relative;\r\n\tflex-wrap: wrap;\r\n\twidth: 100%;\r\n\theight: 3em;\r\n\tjustify-content: center;\r\n\talign-items: stretch;\r\n\tmargin-bottom: 2em;\r\n\ttext-align: center;\r\n\tcursor: default;\r\n\tz-index: 2;\r\n}\r\n\r\n.searchBarFocusMode {\r\n\tposition: fixed;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tdisplay: none;\r\n\topacity: 0;\r\n\tbackground-color: #ffffff1f;\r\n\ttransition: 200ms;\r\n\t-webkit-backdrop-filter: blur(1em);\r\n\tbackdrop-filter: blur(0.5em);\r\n}\r\n\r\n.searchContainer {\r\n\tdisplay: flex;\r\n\twidth: 100%;\r\n\theight: 3em;\r\n\tborder-radius: 1.5em;\r\n\toverflow: hidden;\r\n\tmargin-inline: 1.85em;\r\n\tmin-width: 4em;\r\n\tmax-width: 44em;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\torder: 1;\r\n\tz-index: 2;\r\n}\r\n\r\n.searchContainer:has(.searchTerm:focus) {\r\n\tborder-radius: 1em;\r\n}\r\n\r\n.searchTerm {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tpadding: 0 2em 0 1em;\r\n\tborder: 0px;\r\n\tbackground: transparent;\r\n\tfont-size: 1em;\r\n\toutline: 0;\r\n}\r\n\r\n.autofillContainer {\r\n\tdisplay: flex;\r\n\tposition: absolute;\r\n\twidth: calc(100% - 3.5em);\r\n\theight: 0em;\r\n\tbackground-color: transparent;\r\n\toverflow: hidden;\r\n\toverflow: hidden;\r\n\tmin-width: 4em;\r\n\tmax-width: 44em;\r\n\tpadding-inline: 0.1em;\r\n\tjustify-content: flex-start;\r\n\talign-items: center;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.autofillItem {\r\n\tmin-height: 2.25em;\r\n\tmax-height: 2.25em;\r\n\tmin-width: 4em;\r\n\twidth: 100%;\r\n\ttext-wrap: nowrap;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tmax-width: 44em;\r\n\tmargin-block-start: 0.25em;\r\n\tborder-radius: 0.5em;\r\n\tbox-shadow: #0000002e 0 2px 2px 0px;\r\n\tborder: 1px solid transparent !important;\r\n\tfont-family: 'Ubuntu';\r\n\tfont-weight: 100;\r\n\ttext-align: start;\r\n\toverflow: hidden;\r\n\tpadding-block-start: 0.5em;\r\n\tpadding-inline: 1em;\r\n\tz-index: 2;\r\n}\r\n\r\n/* .marquee p:hover {\r\n\tanimation: marquee 3s linear infinite;\r\n}\r\n\r\n@keyframes marquee {\r\n\t0% {\r\n\t\ttransform: translate(0, 0);\r\n\t}\r\n\r\n\t100% {\r\n\t\ttransform: translate(-10%, 0);\r\n\t}\r\n} */\r\n\r\ninput::-webkit-search-cancel-button {\r\n\tmargin-inline-start: .7em;\r\n\tmargin-inline-end: -1.25em;\r\n\ttransition: .2s;\r\n\topacity: 0.5;\r\n}\r\n\r\ninput::-webkit-search-cancel-button:hover {\r\n\topacity: 0.75;\r\n}\r\n\r\ninput::-webkit-search-cancel-button:hover {\r\n\tscale: 1.1\r\n}\r\n\r\n.searchButton {\r\n\twidth: 4em;\r\n\theight: 100%;\r\n\tborder: 0px;\r\n\tbackground: transparent;\r\n\ttext-align: center;\r\n\tcursor: pointer;\r\n\toutline: 0;\r\n\tfont-size: clamp(1em, 1em, 2em);\r\n}\r\n\r\n.searchButton>i {\r\n\tbackground-size: 2;\r\n\tpadding: .1em;\r\n\tbackground-color: transparent;\r\n\tborder-radius: 2em;\r\n\topacity: 0.5;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.searchButton:active>i {\r\n\tpadding: .7em;\r\n\tbackground-color: var(--selection-color);\r\n\tpadding: .8em;\r\n\tcolor: var(--dark);\r\n\ttransition: all .2s\r\n}\r\n\r\n.searchbox-style-glass {\r\n\tborder: 1px solid #ffffff38;\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\tbackground: var(--white-quarter-alpha);\r\n\ttransition: 125ms;\r\n\tcolor: #ffffffdd;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1)::placeholder {\r\n\tcolor: #ffffff86;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1) {\r\n\tcolor: #ffffff92;\r\n\ttransition: 125ms;\r\n\tcaret-color: white;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(2)>i {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1):focus {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass:hover {\r\n\tborder: 1px solid #ffffffce;\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass:hover>:nth-child(1) {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass:hover>.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.searchbox-style-glass:has(.searchTerm:focus) {\r\n\tbox-shadow: 0 0 4px 0px var(--selection-color);\r\n\tborder: 1px solid #ffffff00;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1)::-webkit-search-cancel-button {\r\n\tfilter: grayscale() invert() brightness(200%);\r\n}\r\n\r\n\r\n.searchbox-style-light {\r\n\tborder: 1px solid #ffffff;\r\n\tbackground: white;\r\n\ttransition: 125ms;\r\n\tcolor: #000000dd;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1)::placeholder {\r\n\tcolor: #75757586;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1) {\r\n\tcolor: #00000092;\r\n\tcaret-color: black;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(2)>i {\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1):focus {\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light:hover {\r\n\tborder: 1px solid var(--selection-color);\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light:hover>:nth-child(1) {\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light:hover>.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.searchbox-style-light:has(.searchTerm:focus) {\r\n\tbox-shadow: 0 0 4px 0px var(--selection-color);\r\n\tborder: 1px solid #00000000;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1)::-webkit-search-cancel-button {\r\n\tfilter: grayscale() invert() brightness(50%);\r\n}\r\n\r\n.searchbox-style-dark {\r\n\tborder: 1px solid #ffffff1e;\r\n\tbackground: rgb(0, 0, 0);\r\n\ttransition: 125ms;\r\n\tcolor: #ffffffdd;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1)::placeholder {\r\n\tcolor: #75757586;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1) {\r\n\tcaret-color: white;\r\n\tcolor: #ffffff92;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(2)>i {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1):focus {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-dark:hover {\r\n\tborder: 1px solid var(--selection-color);\r\n\tcolor: #ffffff;\r\n\r\n}\r\n\r\n.searchbox-style-dark:hover>:nth-child(1) {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-dark:hover>.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.searchbox-style-dark:has(.searchTerm:focus) {\r\n\tbox-shadow: 0 0 4px 0px var(--selection-color);\r\n\tborder: 1px solid #ffffff00;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1)::-webkit-search-cancel-button {\r\n\tfilter: grayscale() invert() brightness(200%);\r\n}\r\n\r\n\r\n.searchTerm:focus+.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.flex-sub-container-horizontal {\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\tpadding: 0 .5em;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tmargin-bottom: 2em;\r\n}\r\n\r\n.flex-sub-container-horizontal>div {\r\n\tcolor: var(--primary-color);\r\n\twidth: clamp(1em, 4em, 8em);\r\n\theight: clamp(1em, 4em, 8em);\r\n\tmargin: 2%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-radius: 50%;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\ttext-decoration: none;\r\n\tcursor: pointer;\r\n\tcaret-color: transparent;\r\n\tborder: 1px solid #ffffff38;\r\n}\r\n\r\n.predefined-bookmark {\r\n\tbackground-color: var(--predefined-bookmark);\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em)\r\n}\r\n\r\n.flex-sub-container-horizontal>div>i {\r\n\tfont-size: clamp(.5em, 2em, 4em)\r\n}\r\n\r\n#add_bookmark_button:focus,\r\n#add_bookmark_button:hover,\r\n#settings_button:focus,\r\n#settings_button:hover,\r\n.flex-sub-container-horizontal>:focus,\r\n.flex-sub-container-horizontal>:hover {\r\n\tbackground-color: var(--highlight-color);\r\n\ttransition: .5s\r\n}\r\n\r\n.flex-wallpaper-horizontal {\r\n\tmax-height: 10em;\r\n\tflex-wrap: nowrap;\r\n\toverflow-x: auto;\r\n\twidth: 100%;\r\n\tdisplay: none;\r\n\tflex-direction: row;\r\n\tjustify-content: start;\r\n\tposition: fixed;\r\n\tbottom: 0;\r\n\tpadding: 0 0 .75em 0;\r\n\tz-index: 2\r\n}\r\n\r\n.thumb-group {\r\n\twidth: 8em;\r\n\theight: 4.8em;\r\n\tmargin: .5em;\r\n\tborder-radius: 1em;\r\n\tcursor: pointer\r\n}\r\n\r\n.advanced-settings-button {\r\n\tposition: sticky;\r\n\tmin-width: 9em;\r\n\tleft: 0;\r\n\tmargin: 0 0 1em 0;\r\n\tpadding: 0;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tborder-radius: 0 1.5em 1.5em 0;\r\n\tpadding-inline: 1em;\r\n\tpadding-block: .5em;\r\n\tfont-size: .5em;\r\n\tmargin-top: 1em;\r\n\tbackground-color: rgba(255, 255, 255, 1);\r\n\tcursor: pointer;\r\n\tz-index: 3;\r\n\tscale: 1.125;\r\n\ttransform: translateX(-10em);\r\n}\r\n\r\n.advanced-settings-button:hover>i {\r\n\ttransform: scale(1.125);\r\n}\r\n\r\n.advanced-settings-button:active>i {\r\n\ttransform: scale(1);\r\n\topacity: 0.5;\r\n}\r\n\r\n.advanced-settings-button>i {\r\n\tfont-size: 4em;\r\n\tcolor: #060604;\r\n\topacity: 0.8;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.thumb-group:focus,\r\n.thumb-group:hover {\r\n\tbox-shadow: 0 0 .5em #fff;\r\n\tanimation: animation_zoom .25s;\r\n\tanimation-fill-mode: both;\r\n\tanimation-iteration-count: 1;\r\n\ttransition: 1s;\r\n}\r\n\r\n.thumb-title {\r\n\tposition: absolute;\r\n\tborder-radius: 0 0 1em 1em;\r\n\tborder: 0 solid var(--primary-color);\r\n\tborder-top: none;\r\n\twidth: 8em;\r\n\theight: 1.5em;\r\n\tmargin-top: 4em;\r\n\tz-index: 2;\r\n\topacity: 0;\r\n\tfont-family: \"Ubuntu\";\r\n\tpadding-top: 0.075em;\r\n\tfont-size: 0.875em;\r\n\tpadding-inline-start: 0.75em;\r\n\twhite-space: nowrap;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\tcolor: var(--dark-text-color);\r\n\tbackground-color: rgba(250, 235, 215, .8);\r\n\tpointer-events: none\r\n}\r\n\r\n.animate:focus>.thumb-title,\r\n.animate:hover>.thumb-title {\r\n\tanimation: animation_appear .25s;\r\n\tanimation-fill-mode: both;\r\n\tanimation-iteration-count: 1\r\n}\r\n\r\n.thumbnail {\r\n\tposition: relative;\r\n\twidth: 7.05em;\r\n\theight: 4.8em;\r\n\tborder: .1em solid var(--primary-color);\r\n\tmargin-left: -.04em;\r\n\tborder-radius: .9em\r\n}\r\n\r\n#add_bookmark_button {\r\n\tbackground-color: var(--add-bookmark);\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\torder: 1336\r\n}\r\n\r\n#add_bookmark_button:not(:active)>i {\r\n\ttransition: 750ms;\r\n\trotate: 360deg\r\n}\r\n\r\n#settings_button {\r\n\tcolor: var(--primary-color);\r\n\twidth: clamp(1em, 4em, 8em);\r\n\theight: clamp(1em, 4em, 8em);\r\n\tmargin: 2%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-radius: 50%;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\ttext-decoration: none;\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\tbackground-color: var(--settings);\r\n\tcursor: pointer;\r\n\tcaret-color: transparent;\r\n\torder: 1337;\r\n\tborder: 1px solid #ffffff38;\r\n}\r\n\r\n#settings_button * {\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tfont-size: 2em\r\n}\r\n\r\n#settings_button:not(:active)>i {\r\n\ttransition: 750ms;\r\n\trotate: 360deg\r\n}\r\n\r\n.custom_bookmark {\r\n\tcolor: var(--primary-color);\r\n\twidth: clamp(1em, 4em, 8em);\r\n\theight: clamp(1em, 4em, 8em);\r\n\tmargin: 2%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-radius: 50%;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\tcursor: pointer;\r\n\tcaret-color: transparent;\r\n\tbackground-color: var(--custom-bookmark);\r\n\tborder: 1px solid #ffffff38;\r\n\ttext-decoration: none;\r\n\r\n}\r\n\r\n.custom_link_name {\r\n\tfont-weight: 600;\r\n\tfont-size: 1.5em;\r\n\tpointer-events: none;\r\n}\r\n\r\n.cross {\r\n\tdisplay: var(--cross-display);\r\n\tposition: fixed;\r\n\tpadding-top: 1em;\r\n\tpadding-left: 2.5em;\r\n\twidth: 4em;\r\n\tborder: 3px dashed tomato;\r\n\theight: 4em;\r\n\tbackground-color: var(--selection-color);\r\n\tborder-radius: 50%;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tanimation: spin 10s linear infinite;\r\n}\r\n\r\n#mydivheader {\r\n\tpadding: 0;\r\n\tcursor: move;\r\n\tz-index: 4;\r\n\tbackground-color: transparent;\r\n\tcolor: #fff\r\n}\r\n\r\n\r\n#import-bookmarks-btn,\r\n#import-backup-btn {\r\n\tdisplay: none\r\n}\r\n\r\n#advanced-settings-modal-background-overlay {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\twidth: 100vw;\r\n\theight: 100vh;\r\n\tbackground-color: #45454576;\r\n\t-webkit-backdrop-filter: blur(3em);\r\n\tbackdrop-filter: blur(3em);\r\n\tz-index: 2;\r\n\tdisplay: none;\r\n}\r\n\r\n#advanced-settings-modal {\r\n\tbackground-color: rgba(56, 56, 56, 0);\r\n\tposition: absolute;\r\n\theight: auto;\r\n\twidth: 100vw;\r\n\twidth: 100dvw;\r\n\t/* z-index: 2; */\r\n\tcolor: var(--white);\r\n\tfont-family: Ubuntu;\r\n\tz-index: 3;\r\n\tcursor: default;\r\n\tdisplay: none;\r\n}\r\n\r\n#btn-install {\r\n\tdisplay: none;\r\n}\r\n\r\n.modal-page-title {\r\n\tdisplay: flex;\r\n\tgap: 0.5em;\r\n\tmargin: .5em;\r\n\tpadding-inline: .5em;\r\n\tpadding-block: .75em;\r\n\tfont-size: 1.5em;\r\n\talign-items: center;\r\n\tjustify-content: flex-start;\r\n\tfont-weight: 700;\r\n\tbackground-color: var(--dark-low-alpha);\r\n\tborder-radius: .5em\r\n}\r\n\r\n.modal-close-btn {\r\n\tfont-size: 1.4em;\r\n\tborder-radius: 8px;\r\n\tpadding-inline-start: 0.25em;\r\n\tpadding-inline-end: 0.3em;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.modal-close-btn:hover {\r\n\tbackground-color: #ffffff45;\r\n\ttransform: scale(1.25);\r\n}\r\n\r\n.modal-close-btn:active {\r\n\topacity: 0.5;\r\n\ttransform: scale(1);\r\n}\r\n\r\n.modal-group {\r\n\tposition: relative;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmargin: .75em;\r\n\tpadding: .5em;\r\n\tbackground-color: var(--dark-low-alpha);\r\n\tborder-radius: .75em;\r\n}\r\n\r\n.modal-title {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tfont-size: 1.3em;\r\n\tfont-weight: 700;\r\n\tpadding: .375em\r\n}\r\n\r\n.modal-option {\r\n\tdisplay: flex;\r\n\tfont-size: 1.1em;\r\n\tpadding-block: .5em;\r\n\tfont-weight: 400;\r\n\tjustify-content: space-between;\r\n\ttransition: 125ms;\r\n\tborder-radius: .375em;\r\n\tpadding-inline: .5em\r\n}\r\n\r\n\r\n.modal-option:hover {\r\n\tbackground-color: var(--white-quarter-alpha)\r\n}\r\n\r\n.setting-preview {\r\n\tbackground-color: #06060400;\r\n\tborder: 0 solid #000;\r\n\twidth: 10em;\r\n\theight: 1.25em;\r\n\tborder-radius: 6px;\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n\twhite-space: nowrap;\r\n\ttext-align: end;\r\n\tfont-size: 0.9em;\r\n\tpadding-inline-end: 0.5em;\r\n\tfont-family: 'Ubuntu';\r\n\tcolor: var(--white-half-alpha);\r\n\tanimation-name: animatetop;\r\n\tanimation-duration: 1s;\r\n\toutline: 0;\r\n}\r\n\r\n.version-preview {\r\n\twidth: auto;\r\n\tmax-height: 1;\r\n\tborder-radius: 6px;\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n\twhite-space: nowrap;\r\n\ttext-align: center;\r\n\tfont-size: .7em;\r\n\tfont-family: Ubuntu;\r\n\tcolor: var(--white-half-alpha);\r\n\tanimation-name: animatetop;\r\n\tanimation-duration: 1s\r\n}\r\n\r\n.setting-preview option {\r\n\tcolor: #060604;\r\n\ttext-align: end;\r\n\tbackground-color: var(--dark-low-alpha)\r\n}\r\n\r\n.footer {\r\n\tfont-family: \"Segoe UI\", Tahoma, Geneva, Verdana, sans-serif;\r\n\tdisplay: flex;\r\n\twidth: 100%;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tz-index: 1;\r\n\tgap: .25em;\r\n\tpadding: .5em\r\n}\r\n\r\n.footer * {\r\n\tdisplay: flex;\r\n\tcolor: rgba(255, 255, 255, .5);\r\n\tgap: 1em;\r\n\tfont-size: .875em;\r\n\tline-height: 1.5em;\r\n\tlist-style: none;\r\n\ttransition: 150ms;\r\n\ttext-decoration: none\r\n}\r\n\r\n.footer :focus,\r\n.footer :hover {\r\n\tcolor: rgba(255, 255, 255, 1)\r\n}\r\n\r\n.ext_favicon {\r\n\twidth: 32px;\r\n\theight: 32px;\r\n\tborder-radius: 50%\r\n}\r\n\r\n.nested-close {\r\n\topacity: 0;\r\n\tpadding-block: 0;\r\n\theight: 0em !important;\r\n}\r\n\r\n.nested-one-element {\r\n\toverflow: hidden;\r\n\theight: 100%;\r\n\ttransition: 200ms;\r\n}\r\n\r\n#deep-search-nested {\r\n\toverflow: hidden;\r\n\theight: auto;\r\n\theight: 9.5em;\r\n\ttransition: 200ms;\r\n}\r\n\r\n.loader {\r\n\tborder: 4px solid var(--primary-color) !important;\r\n\tborder-top: 4px solid #1e90ff !important;\r\n\tborder-radius: 50%;\r\n\tanimation: spin 1s normal infinite\r\n}\r\n\r\n@keyframes spin {\r\n\t0% {\r\n\t\ttransform: rotate(0)\r\n\t}\r\n\r\n\t100% {\r\n\t\ttransform: rotate(360deg)\r\n\t}\r\n}\r\n\r\n.loader * {\r\n\tanimation: spin-rev 1s normal infinite\r\n}\r\n\r\n@keyframes spin-rev {\r\n\t0% {\r\n\t\ttransform: rotate(360deg)\r\n\t}\r\n\r\n\t100% {\r\n\t\ttransform: rotate(0)\r\n\t}\r\n}\r\n\r\n.collapsed {\r\n\theight: 0;\r\n\tpadding: 0;\r\n\tmargin: 0;\r\n\toverflow: hidden\r\n}\r\n\r\n.hidden {\r\n\tdisplay: none !important\r\n}\r\n\r\n.modalContainer {\r\n\tcolor: white;\r\n\tfont-family: 'Ubuntu';\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tbackground-color: #b3b3b34c;\r\n\t-webkit-backdrop-filter: blur(2px);\r\n\tbackdrop-filter: blur(2px);\r\n\tz-index: 5;\r\n\tdisplay: flex;\r\n\talign-items: flex-start;\r\n\tjustify-content: center;\r\n\tpadding-block-start: 2em;\r\n\topacity: 0;\r\n\ttransition: 200ms;\r\n}\r\n\r\n.notifyContainer {\r\n\tcolor: white;\r\n\tfont-family: 'Ubuntu';\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: auto;\r\n\tbackground-color: transparent;\r\n\tz-index: 5;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\topacity: 1;\r\n\ttransition: 200ms;\r\n\tflex-direction: column-reverse;\r\n}\r\n\r\n.modal {\r\n\tmin-width: 10em;\r\n\twidth: 90%;\r\n\tmax-width: 30em;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tbackground: #2b2b2b;\r\n\tpadding: 1.5em;\r\n\tborder-radius: 1em;\r\n\tborder: 1px solid #ffffff24;\r\n\tbox-shadow: rgba(0, 0, 0, 0.2) 0 0 2em 0;\r\n}\r\n\r\n.notifyModal {\r\n\tmin-width: 10em;\r\n\twidth: 90%;\r\n\tmax-width: 30em;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tbackground: #2b2b2b;\r\n\tpadding: 1.5em;\r\n\tmargin-top: 0em;\r\n\tmargin-bottom: -1em;\r\n\tz-index: 5;\r\n\tborder-radius: 1em;\r\n\tborder: 1px solid #ffffff24;\r\n\tbox-shadow: rgba(0, 0, 0, 0.2) 0 0 2em 0;\r\n\talign-items: center;\r\n\topacity: 0;\r\n\ttransition: 200ms;\r\n\tgap: 1em;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n.modalTitle {\r\n\tpadding-bottom: 0.5em;\r\n}\r\n\r\n.modalDescription {\r\n\tpadding-bottom: 2em;\r\n\tfont-size: 0.9em;\r\n\tfont-weight: 100;\r\n}\r\n\r\n.notifyDescriptionContainer {\r\n\twidth: 90%;\r\n}\r\n\r\n.notifyDescription {\r\n\toverflow: hidden;\r\n\tword-wrap: break-word;\r\n\tfont-size: 1em;\r\n\tfont-weight: 200;\r\n}\r\n\r\n.modalButtonsBar {\r\n\tvertical-align: middle;\r\n\tdisplay: inline-flex;\r\n\talign-items: center;\r\n\tgap: 1em;\r\n\tmargin-block-start: 1em;\r\n\tjustify-content: flex-end;\r\n}\r\n\r\n.label {\r\n\tfont-size: 0.9em;\r\n\tdisplay: flex;\r\n\tgap: 0.25em;\r\n\tpadding-bottom: 0.25em;\r\n\tjustify-content: flex-start;\r\n\talign-items: center;\r\n}\r\n\r\n.modalInputField {\r\n\twidth: 100%;\r\n\theight: 2.5em;\r\n\tborder-radius: 6px;\r\n\tborder: 2px solid #ffffff;\r\n\tbackground-color: #f1f1f1;\r\n\tpadding: 0.5em;\r\n\tmargin-bottom: 1em;\r\n\tpadding-inline: 1em;\r\n\tcaret-color: black;\r\n\toutline: 0;\r\n}\r\n\r\n.inputTickBoxField {\r\n\twidth: 100%;\r\n\tborder-radius: 1em;\r\n\tborder: 1px solid transparent;\r\n\tbackground-color: #ffffffe8;\r\n\tpadding: 0.5em;\r\n\tmargin-bottom: 1em;\r\n}\r\n\r\n.modalInputField:focus {\r\n\tbackground-color: #ffffff;\r\n\tborder: 2px solid var(--selection-color);\r\n}\r\n\r\n.button {\r\n\twidth: 7em;\r\n\theight: 2.5em;\r\n\tfont-size: 0.85em;\r\n\tfont-weight: 400;\r\n\tfont-family: 'Ubuntu';\r\n\tborder-radius: 6px;\r\n\tbackground-color: #ececec;\r\n\tborder: 1px solid rgba(206, 206, 206, 0.5);\r\n\topacity: 1;\r\n\ttransition: 100ms;\r\n}\r\n\r\n.tinyButton {\r\n\tmin-width: 1.75em;\r\n\tmin-height: 1.75em;\r\n\tmax-width: 1.75em;\r\n\tmax-height: 1.75em;\r\n\tpadding-bottom: 2px;\r\n}\r\n\r\n.notifyLoader {\r\n\twidth: 100%;\r\n\tmargin-top: 1em;\r\n\tmargin-bottom: -1em;\r\n\topacity: 0.1;\r\n}\r\n\r\n.button:disabled {\r\n\tbackground-color: #fff;\r\n\topacity: 0.75;\r\n}\r\n\r\n.button:hover {\r\n\tbackground-color: #fff;\r\n}\r\n\r\n.button:active {\r\n\topacity: 0.75;\r\n}\r\n\r\n.mainButton {\r\n\t/* background-color: #8cffc9; */\r\n\t/* border: 1px solid rgba(206, 206, 206, 0.5); */\r\n}\r\n\r\n.deleteButton {\r\n\tcolor: tomato;\r\n}\r\n\r\n@media only screen and (min-width:370px) {\r\n\tbody {\r\n\t\tfont-size: 14px\r\n\t}\r\n}\r\n\r\n@media only screen and (min-width:600px) {\r\n\tbody {\r\n\t\tfont-size: 16px\r\n\t}\r\n\r\n\t#home-widget-container {\r\n\t\tpadding-inline: 2em\r\n\t}\r\n\r\n\t.footer {\r\n\t\tflex-direction: row;\r\n\t\tjustify-content: space-between;\r\n\t\tpadding-inline: 2em\r\n\t}\r\n}\r\n\r\n@media only screen and (min-width:1024px) {\r\n\tbody {\r\n\t\tfont-size: 18px\r\n\t}\r\n\r\n\t#advanced-settings-modal {\r\n\t\tbackground-color: rgba(56, 56, 56, 0);\r\n\t\tposition: absolute;\r\n\t\theight: auto;\r\n\t\twidth: 50vw;\r\n\t\twidth: 50dvw;\r\n\t\ttop: 0\r\n\t}\r\n}\r\n\r\n@media (pointer: coarse) {\r\n\t#settings_button {\r\n\t\tdisplay: none;\r\n\t}\r\n}"],"names":[],"version":3,"file":"index.0d99c3dd.css.map"} \ No newline at end of file diff --git a/dist/index.0fe9126e.css b/dist/index.0fe9126e.css deleted file mode 100644 index 00b0e6a..0000000 --- a/dist/index.0fe9126e.css +++ /dev/null @@ -1,171 +0,0 @@ -.animation_slide_up { - animation: .5s both animation_slide_up; -} - -.animation_slide_down { - animation: .5s both animation_slide_down; -} - -@keyframes animation_slide_up { - 0% { - transform: translateY(10em); - } - - 100% { - transform: translateY(0); - } -} - -@keyframes animation_slide_down { - 0% { - transform: translateY(0); - } - - 100% { - transform: translateY(10em); - } -} - -.animation_slide_right { - animation: .5s both animation_slide_right; -} - -@keyframes animation_slide_right { - 0% { - transform: translateX(-10em); - } - - 100% { - transform: translateX(0); - } -} - -.animation_appear { - animation: .5s both animation_appear; -} - -@keyframes animation_appear { - 0% { - opacity: 0; - } - - 100% { - opacity: 1; - } -} - -.animation_zoom { - animation: .25s both animation_zoom; -} - -@keyframes animation_zoom { - 0% { - scale: 1; - } - - 100% { - scale: 1.1; - } -} - -.animation2_slide_up { - animation: .5s both animation2_slide_up; -} - -.animation2_slide_down { - animation: .5s both animation2_slide_down; -} - -@keyframes animation2_slide_up { - 0% { - padding-top: 10vh; - padding-bottom: 0; - } - - 100% { - padding-top: 0; - padding-bottom: 8em; - } -} - -@keyframes animation2_slide_down { - 0% { - padding-top: 0; - padding-bottom: 8em; - } - - 100% { - padding-top: 10vh; - padding-bottom: 0; - } -} - -.startup_slide_down { - padding-top: 10vh; -} - -.animation_carousel_left_hide { - animation: .175s both animation_carousel_left_hide; -} - -.animation_carousel_right_hide { - animation: .175s both animation_carousel_right_hide; -} - -@keyframes animation_carousel_left_hide { - 0% { - opacity: 1; - transform: translateX(0); - } - - 100% { - opacity: 0; - transform: translateX(-.5em); - } -} - -@keyframes animation_carousel_right_hide { - 0% { - opacity: 1; - transform: translateX(0); - } - - 100% { - opacity: 0; - transform: translateX(.5em); - } -} - -.animation_carousel_left_appear { - animation: .175s both animation_carousel_left_appear; -} - -.animation_carousel_right_appear { - animation: .175s both animation_carousel_right_appear; -} - -@keyframes animation_carousel_left_appear { - 0% { - opacity: 0; - transform: translateX(.5em); - } - - 100% { - opacity: 1; - transform: translateX(0); - } -} - -@keyframes animation_carousel_right_appear { - 0% { - opacity: 0; - transform: translateX(-.5em); - } - - 100% { - opacity: 1; - transform: translateX(0); - } -} - -/*# sourceMappingURL=index.0fe9126e.css.map */ diff --git a/dist/index.0fe9126e.css.map b/dist/index.0fe9126e.css.map deleted file mode 100644 index 0962009..0000000 --- a/dist/index.0fe9126e.css.map +++ /dev/null @@ -1 +0,0 @@ -{"mappings":"AAAA;;;;AAMA;;;;AAMA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;AAMA;;;;;;;;;;AAUA;;;;AAMA;;;;;;;;;;AAUA;;;;AAMA;;;;;;;;;;AAUA;;;;AAMA;;;;AAMA;;;;;;;;;;;;AAYA;;;;;;;;;;;;AAYA;;;;AAkBA;;;;AAMA;;;;AAMA;;;;;;;;;;;;AAYA;;;;;;;;;;;;AAYA;;;;AAMA;;;;AAMA;;;;;;;;;;;;AAYA","sources":["animations.css"],"sourcesContent":[".animation_slide_up {\r\n animation: animation_slide_up .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation_slide_down {\r\n animation: animation_slide_down .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_slide_up {\r\n 0% {\r\n transform: translateY(10em)\r\n }\r\n\r\n 100% {\r\n transform: translateY(0)\r\n }\r\n}\r\n\r\n@keyframes animation_slide_down {\r\n 0% {\r\n transform: translateY(0)\r\n }\r\n\r\n 100% {\r\n transform: translateY(10em)\r\n }\r\n}\r\n\r\n.animation_slide_right {\r\n animation: animation_slide_right .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_slide_right {\r\n 0% {\r\n transform: translateX(-10em)\r\n }\r\n\r\n 100% {\r\n transform: translateX(0)\r\n }\r\n}\r\n\r\n.animation_appear {\r\n animation: animation_appear .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_appear {\r\n 0% {\r\n opacity: 0\r\n }\r\n\r\n 100% {\r\n opacity: 1\r\n }\r\n}\r\n\r\n.animation_zoom {\r\n animation: animation_zoom .25s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_zoom {\r\n 0% {\r\n scale: 1\r\n }\r\n\r\n 100% {\r\n scale: 1.1\r\n }\r\n}\r\n\r\n.animation2_slide_up {\r\n animation: animation2_slide_up .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation2_slide_down {\r\n animation: animation2_slide_down .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation2_slide_up {\r\n 0% {\r\n padding-top: 10vh;\r\n padding-bottom: 0\r\n }\r\n\r\n 100% {\r\n padding-top: 0;\r\n padding-bottom: 8em\r\n }\r\n}\r\n\r\n@keyframes animation2_slide_down {\r\n 0% {\r\n padding-top: 0;\r\n padding-bottom: 8em\r\n }\r\n\r\n 100% {\r\n padding-top: 10vh;\r\n padding-bottom: 0\r\n }\r\n}\r\n\r\n.startup_slide_down {\r\n padding-top: 10vh;\r\n /* opacity: 0; */\r\n /* animation: startup_slide_down .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1 */\r\n}\r\n\r\n/* @keyframes startup_slide_down {\r\n 0% {\r\n padding-top: 0\r\n }\r\n\r\n 100% {\r\n padding-top: 10vh\r\n }\r\n} */\r\n\r\n.animation_carousel_left_hide {\r\n animation: animation_carousel_left_hide 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation_carousel_right_hide {\r\n animation: animation_carousel_right_hide 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_carousel_left_hide {\r\n 0% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n\r\n 100% {\r\n transform: translateX(-.5em);\r\n opacity: 0\r\n }\r\n}\r\n\r\n@keyframes animation_carousel_right_hide {\r\n 0% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n\r\n 100% {\r\n transform: translateX(.5em);\r\n opacity: 0\r\n }\r\n}\r\n\r\n.animation_carousel_left_appear {\r\n animation: animation_carousel_left_appear 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation_carousel_right_appear {\r\n animation: animation_carousel_right_appear 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_carousel_left_appear {\r\n 0% {\r\n transform: translateX(.5em);\r\n opacity: 0\r\n }\r\n\r\n 100% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n}\r\n\r\n@keyframes animation_carousel_right_appear {\r\n 0% {\r\n transform: translateX(-.5em);\r\n opacity: 0\r\n }\r\n\r\n 100% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n}"],"names":[],"version":3,"file":"index.0fe9126e.css.map","sourceRoot":"/__parcel_source_root/"} \ No newline at end of file diff --git a/dist/index.336e8c89.css b/dist/index.336e8c89.css index 9e2c4c6..2fb267d 100644 --- a/dist/index.336e8c89.css +++ b/dist/index.336e8c89.css @@ -32,11 +32,11 @@ @keyframes animation_slide_right { 0% { - transform: translateX(-10em); + transform: translateX(-10em)scale(1.125); } 100% { - transform: translateX(0); + transform: translateX(0)scale(1); } } @@ -60,11 +60,11 @@ @keyframes animation_zoom { 0% { - scale: 1; + transform: scale(1); } 100% { - scale: 1.1; + transform: scale(1.1); } } diff --git a/dist/index.336e8c89.css.map b/dist/index.336e8c89.css.map index ea969e8..fd07db3 100644 --- a/dist/index.336e8c89.css.map +++ b/dist/index.336e8c89.css.map @@ -1 +1 @@ -{"mappings":"AAAA;;;;AAMA;;;;AAMA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;AAMA;;;;;;;;;;AAUA;;;;AAMA;;;;;;;;;;AAUA;;;;AAMA;;;;;;;;;;AAUA;;;;AAMA;;;;AAMA;;;;;;;;;;;;AAYA;;;;;;;;;;;;AAYA;;;;AAkBA;;;;AAMA;;;;AAMA;;;;;;;;;;;;AAYA;;;;;;;;;;;;AAYA;;;;AAMA;;;;AAMA;;;;;;;;;;;;AAYA","sources":["animations.css"],"sourcesContent":[".animation_slide_up {\r\n animation: animation_slide_up .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation_slide_down {\r\n animation: animation_slide_down .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_slide_up {\r\n 0% {\r\n transform: translateY(10em)\r\n }\r\n\r\n 100% {\r\n transform: translateY(0)\r\n }\r\n}\r\n\r\n@keyframes animation_slide_down {\r\n 0% {\r\n transform: translateY(0)\r\n }\r\n\r\n 100% {\r\n transform: translateY(10em)\r\n }\r\n}\r\n\r\n.animation_slide_right {\r\n animation: animation_slide_right .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_slide_right {\r\n 0% {\r\n transform: translateX(-10em)\r\n }\r\n\r\n 100% {\r\n transform: translateX(0)\r\n }\r\n}\r\n\r\n.animation_appear {\r\n animation: animation_appear .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_appear {\r\n 0% {\r\n opacity: 0\r\n }\r\n\r\n 100% {\r\n opacity: 1\r\n }\r\n}\r\n\r\n.animation_zoom {\r\n animation: animation_zoom .25s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_zoom {\r\n 0% {\r\n scale: 1\r\n }\r\n\r\n 100% {\r\n scale: 1.1\r\n }\r\n}\r\n\r\n.animation2_slide_up {\r\n animation: animation2_slide_up .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation2_slide_down {\r\n animation: animation2_slide_down .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation2_slide_up {\r\n 0% {\r\n padding-top: 10vh;\r\n padding-bottom: 0\r\n }\r\n\r\n 100% {\r\n padding-top: 0;\r\n padding-bottom: 8em\r\n }\r\n}\r\n\r\n@keyframes animation2_slide_down {\r\n 0% {\r\n padding-top: 0;\r\n padding-bottom: 8em\r\n }\r\n\r\n 100% {\r\n padding-top: 10vh;\r\n padding-bottom: 0\r\n }\r\n}\r\n\r\n.startup_slide_down {\r\n padding-top: 10vh;\r\n /* opacity: 0; */\r\n /* animation: startup_slide_down .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1 */\r\n}\r\n\r\n/* @keyframes startup_slide_down {\r\n 0% {\r\n padding-top: 0\r\n }\r\n\r\n 100% {\r\n padding-top: 10vh\r\n }\r\n} */\r\n\r\n.animation_carousel_left_hide {\r\n animation: animation_carousel_left_hide 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation_carousel_right_hide {\r\n animation: animation_carousel_right_hide 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_carousel_left_hide {\r\n 0% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n\r\n 100% {\r\n transform: translateX(-.5em);\r\n opacity: 0\r\n }\r\n}\r\n\r\n@keyframes animation_carousel_right_hide {\r\n 0% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n\r\n 100% {\r\n transform: translateX(.5em);\r\n opacity: 0\r\n }\r\n}\r\n\r\n.animation_carousel_left_appear {\r\n animation: animation_carousel_left_appear 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation_carousel_right_appear {\r\n animation: animation_carousel_right_appear 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_carousel_left_appear {\r\n 0% {\r\n transform: translateX(.5em);\r\n opacity: 0\r\n }\r\n\r\n 100% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n}\r\n\r\n@keyframes animation_carousel_right_appear {\r\n 0% {\r\n transform: translateX(-.5em);\r\n opacity: 0\r\n }\r\n\r\n 100% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n}"],"names":[],"version":3,"file":"index.336e8c89.css.map","sourceRoot":"/__parcel_source_root/"} \ No newline at end of file +{"mappings":"AAAA;;;;AAMA;;;;AAMA;;;;;;;;;;AAUA;;;;;;;;;;AAUA;;;;AAMA;;;;;;;;;;AAUA;;;;AAMA;;;;;;;;;;AAUA;;;;AAMA;;;;;;;;;;AAYA;;;;AAMA;;;;AAMA;;;;;;;;;;;;AAYA;;;;;;;;;;;;AAYA;;;;AAkBA;;;;AAMA;;;;AAMA;;;;;;;;;;;;AAYA;;;;;;;;;;;;AAYA;;;;AAMA;;;;AAMA;;;;;;;;;;;;AAYA","sources":["animations.css"],"sourcesContent":[".animation_slide_up {\r\n animation: animation_slide_up .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation_slide_down {\r\n animation: animation_slide_down .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_slide_up {\r\n 0% {\r\n transform: translateY(10em)\r\n }\r\n\r\n 100% {\r\n transform: translateY(0)\r\n }\r\n}\r\n\r\n@keyframes animation_slide_down {\r\n 0% {\r\n transform: translateY(0)\r\n }\r\n\r\n 100% {\r\n transform: translateY(10em)\r\n }\r\n}\r\n\r\n.animation_slide_right {\r\n animation: animation_slide_right .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_slide_right {\r\n 0% {\r\n transform: translateX(-10em) scale(1.125)\r\n }\r\n\r\n 100% {\r\n transform: translateX(0) scale(1)\r\n }\r\n}\r\n\r\n.animation_appear {\r\n animation: animation_appear .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_appear {\r\n 0% {\r\n opacity: 0\r\n }\r\n\r\n 100% {\r\n opacity: 1\r\n }\r\n}\r\n\r\n.animation_zoom {\r\n animation: animation_zoom .25s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_zoom {\r\n 0% {\r\n transform: scale(1);\r\n /* scale: 1 */\r\n }\r\n\r\n 100% {\r\n transform: scale(1.1);\r\n /* scale: 1.1 */\r\n }\r\n}\r\n\r\n.animation2_slide_up {\r\n animation: animation2_slide_up .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation2_slide_down {\r\n animation: animation2_slide_down .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation2_slide_up {\r\n 0% {\r\n padding-top: 10vh;\r\n padding-bottom: 0\r\n }\r\n\r\n 100% {\r\n padding-top: 0;\r\n padding-bottom: 8em\r\n }\r\n}\r\n\r\n@keyframes animation2_slide_down {\r\n 0% {\r\n padding-top: 0;\r\n padding-bottom: 8em\r\n }\r\n\r\n 100% {\r\n padding-top: 10vh;\r\n padding-bottom: 0\r\n }\r\n}\r\n\r\n.startup_slide_down {\r\n padding-top: 10vh;\r\n /* opacity: 0; */\r\n /* animation: startup_slide_down .5s;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1 */\r\n}\r\n\r\n/* @keyframes startup_slide_down {\r\n 0% {\r\n padding-top: 0\r\n }\r\n\r\n 100% {\r\n padding-top: 10vh\r\n }\r\n} */\r\n\r\n.animation_carousel_left_hide {\r\n animation: animation_carousel_left_hide 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation_carousel_right_hide {\r\n animation: animation_carousel_right_hide 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_carousel_left_hide {\r\n 0% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n\r\n 100% {\r\n transform: translateX(-.5em);\r\n opacity: 0\r\n }\r\n}\r\n\r\n@keyframes animation_carousel_right_hide {\r\n 0% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n\r\n 100% {\r\n transform: translateX(.5em);\r\n opacity: 0\r\n }\r\n}\r\n\r\n.animation_carousel_left_appear {\r\n animation: animation_carousel_left_appear 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n.animation_carousel_right_appear {\r\n animation: animation_carousel_right_appear 175ms;\r\n animation-fill-mode: both;\r\n animation-iteration-count: 1\r\n}\r\n\r\n@keyframes animation_carousel_left_appear {\r\n 0% {\r\n transform: translateX(.5em);\r\n opacity: 0\r\n }\r\n\r\n 100% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n}\r\n\r\n@keyframes animation_carousel_right_appear {\r\n 0% {\r\n transform: translateX(-.5em);\r\n opacity: 0\r\n }\r\n\r\n 100% {\r\n transform: translateX(0);\r\n opacity: 1\r\n }\r\n}"],"names":[],"version":3,"file":"index.336e8c89.css.map","sourceRoot":"/__parcel_source_root/"} \ No newline at end of file diff --git a/dist/index.3a01df49.css b/dist/index.3a01df49.css index 397d281..55b2cfb 100644 --- a/dist/index.3a01df49.css +++ b/dist/index.3a01df49.css @@ -154,7 +154,7 @@ body::-webkit-scrollbar { justify-content: center; align-items: flex-end; width: 100%; - margin-bottom: 1em; + margin-bottom: .5em; padding-inline: 0; font-size: 2em; display: flex; @@ -307,6 +307,7 @@ body::-webkit-scrollbar { width: 100%; height: 3em; margin-bottom: 2em; + padding-top: .5em; display: flex; position: relative; } @@ -401,7 +402,7 @@ input::-webkit-search-cancel-button:hover { } input::-webkit-search-cancel-button:hover { - scale: 1.1; + transform: scale(1.1); } .searchButton { @@ -599,7 +600,7 @@ input::-webkit-search-cancel-button:hover { } .flex-sub-container-horizontal > div > i { - font-size: 2em; + font-size: 1.5em; } #add_bookmark_button:focus, #add_bookmark_button:hover, #settings_button:focus, #settings_button:hover, .flex-sub-container-horizontal > :focus, .flex-sub-container-horizontal > :hover { @@ -641,19 +642,15 @@ input::-webkit-search-cancel-button:hover { padding-block: .5em; padding-inline: 1em; font-size: .5em; + transition: all .5s; display: flex; position: sticky; left: 0; - transform: translateX(-10em); -} - -.advanced-settings-button:hover > i { - transform: scale(1.125); + transform: translateX(-10em)scale(1.125); } .advanced-settings-button:active > i { opacity: .5; - transform: scale(1); } .advanced-settings-button > i { @@ -663,6 +660,10 @@ input::-webkit-search-cancel-button:hover { transition: all .125s; } +.advanced-settings-button-right { + transform: translateX(0)scale(1.125); +} + .thumb-group:focus, .thumb-group:hover { transition: all 1s; animation: .25s both animation_zoom; @@ -842,15 +843,16 @@ input::-webkit-search-cancel-button:hover { } .modal-close-btn { - border-radius: 8px; + border-radius: 6px; + padding-block: .25em; padding-inline: .25em .3em; - font-size: 1.4em; + font-size: 1em; transition: all .125s; } .modal-close-btn:hover { background-color: #ffffff45; - transform: scale(1.25); + transform: scale(1.125); } .modal-close-btn:active { diff --git a/dist/index.3a01df49.css.map b/dist/index.3a01df49.css.map index d614a74..2a3b518 100644 --- a/dist/index.3a01df49.css.map +++ b/dist/index.3a01df49.css.map @@ -1 +1 @@ -{"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;AA+CA;;;;AAIA;;;;;;;;AAQA;;;;;AAOA;;;;;;;;;;;AAWA;;;;;;;;;;;AAYA;;;;AAIA;;;;;;;;;;;;AAeA;;;;;;;;;;;;;;AAcA;;;;;;;;;;;;;;;;AAgBA;;;;;;AAMA;;;;;;AAMA;;;;AAIA;;;;;;AAMA;;;;;;;;;AASA;;;;;AAKA;;;;;;AAMA;;;;;;;;;;;;;;;AAeA;;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;;;;AAcA;;;;;;;AAQA;;;;;AAKA;;;;;AAKA;;;;;;;;;;AAUA;;;;;;;;AAQA;;;;;;;;;;;AAYA;;;;AAIA;;;;;;;;;;;;;;;;;;;AAmBA;;;;;;;;;;;;;;;AAeA;;;;;;AAMA;;;;;;;;;;;AAWA;;;;;;;;;;;AAWA;;;;AAKA;;;;;;AAMA;;;;;;AAMA;;;;;;AAMA;;;;;;AAOA;;;;;;;AAOA;;;;;;;;;;AAUA;;;;AAIA;;;;;;;;;;AAUA;;;;;;;AAOA;;;;AAIA;;;;;;;;;;;;;;;;;;;AAmBA;;;;;;;;;;;;;;;;;AAiBA;;;;;;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;AAqBA;;;;AAIA;;;;;;AAMA;;;;AAIA;;;;;;;AAOA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;;;;;AAaA;;;;;;;;;AASA;;;;;AAKA;;;;;;;;;;;;;AAaA;;;;;;;;AAQA;;;;;;;AAOA;;;;;AAKA;;;;AAIA;;;;AASA;;;;AAIA;EACC;;;;;AAKD;EACC;;;;EAIA;;;;EAIA;;;;;;;AAOD;EACC;;;;EAIA;;;;;;;;;AAUD;EACC","sources":["style.css"],"sourcesContent":[":root {\r\n\t--selection-color: null;\r\n\t--white: #fbfaf8ff;\r\n\t--white-half-alpha: #fbfaf892;\r\n\t--white-quarter-alpha: #fbfaf843;\r\n\t--white-low-alpha: #fbfaf815;\r\n\t--dark: #060604;\r\n\t--dark-low-alpha: #0606042c;\r\n\t--accent-color: #BB377D;\r\n\t--highlight-color: #dfb669;\r\n\t--predefined-bookmark: #6856347e;\r\n\t--custom-bookmark: #3535357e;\r\n\t--add-bookmark: #4d685a7e;\r\n\t--settings: #4d685a7e;\r\n\t--primary-color: #faf7f0ff;\r\n\t--secondary-color: #e7decdff;\r\n\t--blur-one-em: blur(1em);\r\n\t--blur-one-px: blur(1px);\r\n\t--blur-half-em: blur(0.5em);\r\n\t--cross-display: none;\r\n\t/*\r\n\t--predefined-bookmark: #6856347e;\r\n\t--custom-bookmark: #0034597e;\r\n\t--add-bookmark: #4d685a7e;\r\n\t--settings: #4d685a7e;\r\n\t\r\n\t--removable-border: 1px solid #ffffff38;\r\n\t--pink-gradient-webkit: -webkit-linear-gradient(to top, #BB377D, 50%, #fbd3e900);\r\n\t--pink-gradient: linear-gradient(to top, #BB377D, 50%, #fbd3e900);\r\n\t--pink-color: #BB377D;\r\n\t--light-pink-gradient-webkit: -webkit-linear-gradient(to top, #ec96c4, 50%, #fbd3e900);\r\n\t--light-pink-gradient: linear-gradient(to top, #ec96c4, 50%, #fbd3e900);\r\n\t--light-pink-color: #ec96c4;\r\n\t--earth-gradient-webkit: -webkit-linear-gradient(to top, #bb6a37, 50%, #fbd3e900);\r\n\t--earth-gradient: linear-gradient(to top, #bb6a37, 50%, #fbd3e900);\r\n\t--earth-color: #bb6a37;\r\n\t--green-gradient-webkit: -webkit-linear-gradient(to top, #79bb37, 50%, #fbd3e900);\r\n\t--green-gradient: linear-gradient(to top, #79bb37, 50%, #fbd3e900);\r\n\t--green-color: #79bb37;\r\n\t--yellow-gradient-webkit: -webkit-linear-gradient(to top, #bb9c37, 50%, #fbd3e900);\r\n\t--yellow-gradient: linear-gradient(to top, #bb9c37, 50%, #fbd3e900);\r\n\t--yellow-color: #bb9c37;\r\n\t--red-gradient-webkit: -webkit-linear-gradient(to top, #e04040, 50%, #fbd3e900);\r\n\t--red-gradient: linear-gradient(to top, #e04040, 50%, #fbd3e900);\r\n\t--red-color: #e04040; */\r\n}\r\n\r\n::selection {\r\n\tbackground: var(--selection-color);\r\n}\r\n\r\n#canvasFar {\r\n\tposition: fixed;\r\n\tdisplay: none;\r\n\ttop: 0;\r\n\tz-index: 0;\r\n\tbackground-image: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(235, 235, 255, 0) 60%);\r\n}\r\n\r\n.disable-select {\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n}\r\n\r\n* {\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tbox-sizing: border-box !important;\r\n\tcaret-color: transparent;\r\n\tscroll-behavior: smooth;\r\n\toutline-color: var(--selection-color);\r\n\toutline-offset: -1px;\r\n\toutline-width: 1px;\r\n}\r\n\r\nbody {\r\n\tbackground-color: #282828;\r\n\tfont-family: \"Ubuntu Mono\", monospace;\r\n\tfont-size: 12px;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmin-height: 100vh;\r\n\tmin-height: 100svh;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n.justifySpaceBetween {\r\n\tjustify-content: space-between !important;\r\n}\r\n\r\n#overlay {\r\n\tposition: fixed;\r\n\tdisplay: block;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\tbackground-color: rgba(0, 0, 0, .375);\r\n\tz-index: 0;\r\n\tcursor: auto;\r\n\ttransition: .3s\r\n}\r\n\r\n#gradient_overlay {\r\n\tposition: fixed;\r\n\tdisplay: block;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\topacity: 0;\r\n\tz-index: 0;\r\n\tcursor: auto;\r\n\ttransition: .3s\r\n}\r\n\r\n.header {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tdisplay: none;\r\n\tpadding: 0.5em;\r\n\tgap: 0.25em;\r\n\tfont-size: 0.75em;\r\n\tjustify-content: space-between;\r\n\twidth: 100%;\r\n\theight: 3em;\r\n\tcolor: var(--primary-color);\r\n\tbackground-color: #2684e15c;\r\n\tz-index: 13;\r\n}\r\n\r\n.header-left-block {\r\n\tdisplay: flex;\r\n\tgap: 1em;\r\n\talign-items: center;\r\n}\r\n\r\n.user-avatar {\r\n\theight: 2em;\r\n\twidth: 2em;\r\n\tborder-radius: 50%;\r\n}\r\n\r\n.user-name {\r\n\ttext-align: center;\r\n}\r\n\r\n.header-right-block {\r\n\tdisplay: flex;\r\n\tgap: 1em;\r\n\talign-items: center;\r\n}\r\n\r\n#wrap {\r\n\tmax-width: 1280px;\r\n\twidth: 100%;\r\n\topacity: 0;\r\n\tz-index: 2;\r\n\tdisplay: block;\r\n\ttransition: 125ms;\r\n}\r\n\r\nbody::-webkit-scrollbar {\r\n\t-ms-overflow-style: none;\r\n\tdisplay: none;\r\n}\r\n\r\n.flex-main-container-vertical {\r\n\tmargin: auto;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n}\r\n\r\n#home-widget-container {\r\n\tcolor: var(--primary-color);\r\n\twidth: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tdisplay: flex;\r\n\talign-items: flex-end;\r\n\tjustify-content: center;\r\n\tfont-size: clamp(1em, 2em, 10em);\r\n\tcursor: default;\r\n\ttext-align: center;\r\n\tmargin-bottom: 1em;\r\n\tpadding-inline: 0em\r\n}\r\n\r\n.home-widget {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmax-width: 90%\r\n}\r\n\r\n#main-heading-slider {\r\n\ttransition: .5s;\r\n\tmax-width: 100%;\r\n\tpadding-block-end: 0.125em;\r\n\tdisplay: flex;\r\n\toverflow-x: scroll;\r\n\toverflow-y: hidden;\r\n\tscroll-snap-type: x mandatory\r\n}\r\n\r\n#main-heading-slider * {\r\n\tmin-width: 100%;\r\n\tflex: 1;\r\n\tscroll-snap-align: center;\r\n\tscroll-snap-stop: always;\r\n\tmargin-bottom: -0.25em;\r\n}\r\n\r\n#main-heading-slider::-webkit-scrollbar {\r\n\theight: 8px;\r\n\tdisplay: none\r\n}\r\n\r\n#main-heading-slider::-webkit-scrollbar-track {\r\n\tbox-shadow: inset 0 0 5px grey;\r\n\tborder-radius: 10px\r\n}\r\n\r\n#main-heading-slider::-webkit-scrollbar-thumb {\r\n\tbackground: var(--accent-color);\r\n\tborder-radius: 10px\r\n}\r\n\r\n.default-text-style {\r\n\tfont-family: Ubuntu;\r\n\tcolor: var(--primary-color);\r\n\tfont-size: clamp(1em, 2em, 10em);\r\n\tline-height: 2em;\r\n\ttext-shadow: 0 0 0 var(--accent-color), 0 0 0 #000 !important;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-1 {\r\n\tfont-family: 'Vujahday Script', handwriting;\r\n\tfont-size: clamp(1em, 2.25em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.5em;\r\n\ttext-shadow: 4px 4px 0 var(--accent-color), 6px 6px 0 #000;\r\n\trotate: -6deg\r\n}\r\n\r\n.brush-text-style-2 {\r\n\tfont-family: 'Advent Pro', sans-serif;\r\n\tfont-size: clamp(1em, 2.25em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.9em;\r\n}\r\n\r\n.brush-text-style-3 {\r\n\tfont-family: 'Nanum Brush Script', handwriting;\r\n\tfont-size: clamp(1em, 2.8em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.375em;\r\n\ttext-shadow: 4px 4px 0 var(--accent-color), 6px 6px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-4 {\r\n\tfont-family: 'Are You Serious', handwriting;\r\n\tfont-size: clamp(1em, 2.5em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.5em;\r\n\ttext-shadow: 1px 1px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-5 {\r\n\tfont-family: 'Alkatra', display;\r\n\tfont-size: clamp(1em, 2.25em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.75em;\r\n\ttext-shadow: 1px 1px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-6 {\r\n\tfont-family: 'Montez', handwriting;\r\n\tfont-size: clamp(1em, 2.5em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.5em;\r\n\ttext-shadow: 1px 1px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.separator {\r\n\topacity: 0;\r\n}\r\n\r\n.separator-visible {\r\n\topacity: 1;\r\n}\r\n\r\n.nowrap {\r\n\ttext-wrap: nowrap;\r\n}\r\n\r\n.arrows {\r\n\theight: 0em;\r\n\topacity: 0.85;\r\n\toverflow: hidden;\r\n\tfont-size: 1em;\r\n\tz-index: 5;\r\n\ttext-shadow: 0 2px 0 #000;\r\n\ttransition: 250ms\r\n}\r\n\r\n.arrows:hover {\r\n\topacity: 1;\r\n}\r\n\r\n.arrows:active {\r\n\topacity: 0.5;\r\n\ttext-shadow: 0 0px 0 #000;\r\n}\r\n\r\n#subtitle {\r\n\tfont-family: Ubuntu;\r\n\tfont-size: .65em;\r\n}\r\n\r\n.search {\r\n\tdisplay: flex;\r\n\tposition: relative;\r\n\tflex-wrap: wrap;\r\n\twidth: 100%;\r\n\theight: 3em;\r\n\tjustify-content: center;\r\n\talign-items: stretch;\r\n\tmargin-bottom: 2em;\r\n\ttext-align: center;\r\n\tcursor: default;\r\n\tz-index: 2;\r\n}\r\n\r\n.searchBarFocusMode {\r\n\tposition: fixed;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tdisplay: none;\r\n\topacity: 0;\r\n\tbackground-color: #ffffff1f;\r\n\ttransition: 200ms;\r\n\t-webkit-backdrop-filter: blur(1em);\r\n\tbackdrop-filter: blur(0.5em);\r\n}\r\n\r\n.searchContainer {\r\n\tdisplay: flex;\r\n\twidth: 100%;\r\n\theight: 3em;\r\n\tborder-radius: 1.5em;\r\n\toverflow: hidden;\r\n\tmargin-inline: 1.85em;\r\n\tmin-width: 4em;\r\n\tmax-width: 44em;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\torder: 1;\r\n\tz-index: 2;\r\n}\r\n\r\n.searchContainer:has(.searchTerm:focus) {\r\n\tborder-radius: 1em;\r\n}\r\n\r\n.searchTerm {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tpadding: 0 2em 0 1em;\r\n\tborder: 0px;\r\n\tbackground: transparent;\r\n\tfont-size: 1em;\r\n\toutline: 0;\r\n}\r\n\r\n.autofillContainer {\r\n\tdisplay: flex;\r\n\tposition: absolute;\r\n\twidth: calc(100% - 3.5em);\r\n\theight: 0em;\r\n\tbackground-color: transparent;\r\n\toverflow: hidden;\r\n\toverflow: hidden;\r\n\tmin-width: 4em;\r\n\tmax-width: 44em;\r\n\tpadding-inline: 0.1em;\r\n\tjustify-content: flex-start;\r\n\talign-items: center;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.autofillItem {\r\n\tmin-height: 2.25em;\r\n\tmax-height: 2.25em;\r\n\tmin-width: 4em;\r\n\twidth: 100%;\r\n\ttext-wrap: nowrap;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tmax-width: 44em;\r\n\tmargin-block-start: 0.25em;\r\n\tborder-radius: 0.5em;\r\n\tbox-shadow: #0000002e 0 2px 2px 0px;\r\n\tborder: 1px solid transparent !important;\r\n\tfont-family: 'Ubuntu';\r\n\tfont-weight: 100;\r\n\ttext-align: start;\r\n\toverflow: hidden;\r\n\tpadding-block-start: 0.5em;\r\n\tpadding-inline: 1em;\r\n\tz-index: 2;\r\n}\r\n\r\n/* .marquee p:hover {\r\n\tanimation: marquee 3s linear infinite;\r\n}\r\n\r\n@keyframes marquee {\r\n\t0% {\r\n\t\ttransform: translate(0, 0);\r\n\t}\r\n\r\n\t100% {\r\n\t\ttransform: translate(-10%, 0);\r\n\t}\r\n} */\r\n\r\ninput::-webkit-search-cancel-button {\r\n\tmargin-inline-start: .7em;\r\n\tmargin-inline-end: -1.25em;\r\n\ttransition: .2s;\r\n\topacity: 0.5;\r\n}\r\n\r\ninput::-webkit-search-cancel-button:hover {\r\n\topacity: 0.75;\r\n}\r\n\r\ninput::-webkit-search-cancel-button:hover {\r\n\tscale: 1.1\r\n}\r\n\r\n.searchButton {\r\n\twidth: 4em;\r\n\theight: 100%;\r\n\tborder: 0px;\r\n\tbackground: transparent;\r\n\ttext-align: center;\r\n\tcursor: pointer;\r\n\toutline: 0;\r\n\tfont-size: clamp(1em, 1em, 2em);\r\n}\r\n\r\n.searchButton>i {\r\n\tbackground-size: 2;\r\n\tpadding: .1em;\r\n\tbackground-color: transparent;\r\n\tborder-radius: 2em;\r\n\topacity: 0.5;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.searchButton:active>i {\r\n\tpadding: .7em;\r\n\tbackground-color: var(--selection-color);\r\n\tpadding: .8em;\r\n\tcolor: var(--dark);\r\n\ttransition: all .2s\r\n}\r\n\r\n.searchbox-style-glass {\r\n\tborder: 1px solid #ffffff38;\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\tbackground: var(--white-quarter-alpha);\r\n\ttransition: 125ms;\r\n\tcolor: #ffffffdd;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1)::placeholder {\r\n\tcolor: #ffffff86;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1) {\r\n\tcolor: #ffffff92;\r\n\ttransition: 125ms;\r\n\tcaret-color: white;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(2)>i {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1):focus {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass:hover {\r\n\tborder: 1px solid #ffffffce;\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass:hover>:nth-child(1) {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass:hover>.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.searchbox-style-glass:has(.searchTerm:focus) {\r\n\tbox-shadow: 0 0 4px 0px var(--selection-color);\r\n\tborder: 1px solid #ffffff00;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1)::-webkit-search-cancel-button {\r\n\tfilter: grayscale() invert() brightness(200%);\r\n}\r\n\r\n\r\n.searchbox-style-light {\r\n\tborder: 1px solid #ffffff;\r\n\tbackground: white;\r\n\ttransition: 125ms;\r\n\tcolor: #000000dd;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1)::placeholder {\r\n\tcolor: #75757586;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1) {\r\n\tcolor: #00000092;\r\n\tcaret-color: black;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(2)>i {\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1):focus {\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light:hover {\r\n\tborder: 1px solid var(--selection-color);\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light:hover>:nth-child(1) {\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light:hover>.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.searchbox-style-light:has(.searchTerm:focus) {\r\n\tbox-shadow: 0 0 4px 0px var(--selection-color);\r\n\tborder: 1px solid #00000000;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1)::-webkit-search-cancel-button {\r\n\tfilter: grayscale() invert() brightness(50%);\r\n}\r\n\r\n.searchbox-style-dark {\r\n\tborder: 1px solid #ffffff1e;\r\n\tbackground: rgb(0, 0, 0);\r\n\ttransition: 125ms;\r\n\tcolor: #ffffffdd;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1)::placeholder {\r\n\tcolor: #75757586;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1) {\r\n\tcaret-color: white;\r\n\tcolor: #ffffff92;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(2)>i {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1):focus {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-dark:hover {\r\n\tborder: 1px solid var(--selection-color);\r\n\tcolor: #ffffff;\r\n\r\n}\r\n\r\n.searchbox-style-dark:hover>:nth-child(1) {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-dark:hover>.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.searchbox-style-dark:has(.searchTerm:focus) {\r\n\tbox-shadow: 0 0 4px 0px var(--selection-color);\r\n\tborder: 1px solid #ffffff00;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1)::-webkit-search-cancel-button {\r\n\tfilter: grayscale() invert() brightness(200%);\r\n}\r\n\r\n\r\n.searchTerm:focus+.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.flex-sub-container-horizontal {\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\tpadding: 0 .5em;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tmargin-bottom: 2em;\r\n}\r\n\r\n.flex-sub-container-horizontal>div {\r\n\tcolor: var(--primary-color);\r\n\twidth: clamp(1em, 4em, 8em);\r\n\theight: clamp(1em, 4em, 8em);\r\n\tmargin: 2%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-radius: 50%;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\ttext-decoration: none;\r\n\tcursor: pointer;\r\n\tcaret-color: transparent;\r\n\tborder: 1px solid #ffffff38;\r\n}\r\n\r\n.predefined-bookmark {\r\n\tbackground-color: var(--predefined-bookmark);\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em)\r\n}\r\n\r\n.flex-sub-container-horizontal>div>i {\r\n\tfont-size: clamp(.5em, 2em, 4em)\r\n}\r\n\r\n#add_bookmark_button:focus,\r\n#add_bookmark_button:hover,\r\n#settings_button:focus,\r\n#settings_button:hover,\r\n.flex-sub-container-horizontal>:focus,\r\n.flex-sub-container-horizontal>:hover {\r\n\tbackground-color: var(--highlight-color);\r\n\ttransition: .5s\r\n}\r\n\r\n.flex-wallpaper-horizontal {\r\n\tmax-height: 10em;\r\n\tflex-wrap: nowrap;\r\n\toverflow-x: auto;\r\n\twidth: 100%;\r\n\tdisplay: none;\r\n\tflex-direction: row;\r\n\tjustify-content: start;\r\n\tposition: fixed;\r\n\tbottom: 0;\r\n\tpadding: 0 0 .75em 0;\r\n\tz-index: 2\r\n}\r\n\r\n.thumb-group {\r\n\twidth: 8em;\r\n\theight: 4.8em;\r\n\tmargin: .5em;\r\n\tborder-radius: 1em;\r\n\tcursor: pointer\r\n}\r\n\r\n.advanced-settings-button {\r\n\tposition: sticky;\r\n\tmin-width: 9em;\r\n\tleft: 0;\r\n\tmargin: 0 0 1em 0;\r\n\tpadding: 0;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tborder-radius: 0 1.5em 1.5em 0;\r\n\tpadding-inline: 1em;\r\n\tpadding-block: .5em;\r\n\tfont-size: .5em;\r\n\tmargin-top: 1em;\r\n\tbackground-color: rgba(255, 255, 255, 1);\r\n\tcursor: pointer;\r\n\tz-index: 3;\r\n\tscale: 1.125;\r\n\ttransform: translateX(-10em);\r\n}\r\n\r\n.advanced-settings-button:hover>i {\r\n\ttransform: scale(1.125);\r\n}\r\n\r\n.advanced-settings-button:active>i {\r\n\ttransform: scale(1);\r\n\topacity: 0.5;\r\n}\r\n\r\n.advanced-settings-button>i {\r\n\tfont-size: 4em;\r\n\tcolor: #060604;\r\n\topacity: 0.8;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.thumb-group:focus,\r\n.thumb-group:hover {\r\n\tbox-shadow: 0 0 .5em #fff;\r\n\tanimation: animation_zoom .25s;\r\n\tanimation-fill-mode: both;\r\n\tanimation-iteration-count: 1;\r\n\ttransition: 1s;\r\n}\r\n\r\n.thumb-title {\r\n\tposition: absolute;\r\n\tborder-radius: 0 0 1em 1em;\r\n\tborder: 0 solid var(--primary-color);\r\n\tborder-top: none;\r\n\twidth: 8em;\r\n\theight: 1.5em;\r\n\tmargin-top: 4em;\r\n\tz-index: 2;\r\n\topacity: 0;\r\n\tfont-family: \"Ubuntu\";\r\n\tpadding-top: 0.075em;\r\n\tfont-size: 0.875em;\r\n\tpadding-inline-start: 0.75em;\r\n\twhite-space: nowrap;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\tcolor: var(--dark-text-color);\r\n\tbackground-color: rgba(250, 235, 215, .8);\r\n\tpointer-events: none\r\n}\r\n\r\n.animate:focus>.thumb-title,\r\n.animate:hover>.thumb-title {\r\n\tanimation: animation_appear .25s;\r\n\tanimation-fill-mode: both;\r\n\tanimation-iteration-count: 1\r\n}\r\n\r\n.thumbnail {\r\n\tposition: relative;\r\n\twidth: 7.05em;\r\n\theight: 4.8em;\r\n\tborder: .1em solid var(--primary-color);\r\n\tmargin-left: -.04em;\r\n\tborder-radius: .9em\r\n}\r\n\r\n#add_bookmark_button {\r\n\tbackground-color: var(--add-bookmark);\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\torder: 1336\r\n}\r\n\r\n#add_bookmark_button:not(:active)>i {\r\n\ttransition: 750ms;\r\n\trotate: 360deg\r\n}\r\n\r\n#settings_button {\r\n\tcolor: var(--primary-color);\r\n\twidth: clamp(1em, 4em, 8em);\r\n\theight: clamp(1em, 4em, 8em);\r\n\tmargin: 2%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-radius: 50%;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\ttext-decoration: none;\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\tbackground-color: var(--settings);\r\n\tcursor: pointer;\r\n\tcaret-color: transparent;\r\n\torder: 1337;\r\n\tborder: 1px solid #ffffff38;\r\n}\r\n\r\n#settings_button * {\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tfont-size: 2em\r\n}\r\n\r\n#settings_button:not(:active)>i {\r\n\ttransition: 750ms;\r\n\trotate: 360deg\r\n}\r\n\r\n.custom_bookmark {\r\n\tcolor: var(--primary-color);\r\n\twidth: clamp(1em, 4em, 8em);\r\n\theight: clamp(1em, 4em, 8em);\r\n\tmargin: 2%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-radius: 50%;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\tcursor: pointer;\r\n\tcaret-color: transparent;\r\n\tbackground-color: var(--custom-bookmark);\r\n\tborder: 1px solid #ffffff38;\r\n\ttext-decoration: none;\r\n\r\n}\r\n\r\n.custom_link_name {\r\n\tfont-weight: 600;\r\n\tfont-size: 1.5em;\r\n\tpointer-events: none;\r\n}\r\n\r\n.cross {\r\n\tdisplay: var(--cross-display);\r\n\tposition: fixed;\r\n\tpadding-top: 1em;\r\n\tpadding-left: 2.5em;\r\n\twidth: 4em;\r\n\tborder: 3px dashed tomato;\r\n\theight: 4em;\r\n\tbackground-color: var(--selection-color);\r\n\tborder-radius: 50%;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tanimation: spin 10s linear infinite;\r\n}\r\n\r\n#mydivheader {\r\n\tpadding: 0;\r\n\tcursor: move;\r\n\tz-index: 4;\r\n\tbackground-color: transparent;\r\n\tcolor: #fff\r\n}\r\n\r\n\r\n#import-bookmarks-btn,\r\n#import-backup-btn {\r\n\tdisplay: none\r\n}\r\n\r\n#advanced-settings-modal-background-overlay {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\twidth: 100vw;\r\n\theight: 100vh;\r\n\tbackground-color: #45454576;\r\n\t-webkit-backdrop-filter: blur(3em);\r\n\tbackdrop-filter: blur(3em);\r\n\tz-index: 2;\r\n\tdisplay: none;\r\n}\r\n\r\n#advanced-settings-modal {\r\n\tbackground-color: rgba(56, 56, 56, 0);\r\n\tposition: absolute;\r\n\theight: auto;\r\n\twidth: 100vw;\r\n\twidth: 100dvw;\r\n\t/* z-index: 2; */\r\n\tcolor: var(--white);\r\n\tfont-family: Ubuntu;\r\n\tz-index: 3;\r\n\tcursor: default;\r\n\tdisplay: none;\r\n}\r\n\r\n#btn-install {\r\n\tdisplay: none;\r\n}\r\n\r\n.modal-page-title {\r\n\tdisplay: flex;\r\n\tgap: 0.5em;\r\n\tmargin: .5em;\r\n\tpadding-inline: .5em;\r\n\tpadding-block: .75em;\r\n\tfont-size: 1.5em;\r\n\talign-items: center;\r\n\tjustify-content: flex-start;\r\n\tfont-weight: 700;\r\n\tbackground-color: var(--dark-low-alpha);\r\n\tborder-radius: .5em\r\n}\r\n\r\n.modal-close-btn {\r\n\tfont-size: 1.4em;\r\n\tborder-radius: 8px;\r\n\tpadding-inline-start: 0.25em;\r\n\tpadding-inline-end: 0.3em;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.modal-close-btn:hover {\r\n\tbackground-color: #ffffff45;\r\n\ttransform: scale(1.25);\r\n}\r\n\r\n.modal-close-btn:active {\r\n\topacity: 0.5;\r\n\ttransform: scale(1);\r\n}\r\n\r\n.modal-group {\r\n\tposition: relative;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmargin: .75em;\r\n\tpadding: .5em;\r\n\tbackground-color: var(--dark-low-alpha);\r\n\tborder-radius: .75em;\r\n}\r\n\r\n.modal-title {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tfont-size: 1.3em;\r\n\tfont-weight: 700;\r\n\tpadding: .375em\r\n}\r\n\r\n.modal-option {\r\n\tdisplay: flex;\r\n\tfont-size: 1.1em;\r\n\tpadding-block: .5em;\r\n\tfont-weight: 400;\r\n\tjustify-content: space-between;\r\n\ttransition: 125ms;\r\n\tborder-radius: .375em;\r\n\tpadding-inline: .5em\r\n}\r\n\r\n\r\n.modal-option:hover {\r\n\tbackground-color: var(--white-quarter-alpha)\r\n}\r\n\r\n.setting-preview {\r\n\tbackground-color: #06060400;\r\n\tborder: 0 solid #000;\r\n\twidth: 10em;\r\n\theight: 1.25em;\r\n\tborder-radius: 6px;\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n\twhite-space: nowrap;\r\n\ttext-align: end;\r\n\tfont-size: 0.9em;\r\n\tpadding-inline-end: 0.5em;\r\n\tfont-family: 'Ubuntu';\r\n\tcolor: var(--white-half-alpha);\r\n\tanimation-name: animatetop;\r\n\tanimation-duration: 1s;\r\n\toutline: 0;\r\n}\r\n\r\n.version-preview {\r\n\twidth: auto;\r\n\tmax-height: 1;\r\n\tborder-radius: 6px;\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n\twhite-space: nowrap;\r\n\ttext-align: center;\r\n\tfont-size: .7em;\r\n\tfont-family: Ubuntu;\r\n\tcolor: var(--white-half-alpha);\r\n\tanimation-name: animatetop;\r\n\tanimation-duration: 1s\r\n}\r\n\r\n.setting-preview option {\r\n\tcolor: #060604;\r\n\ttext-align: end;\r\n\tbackground-color: var(--dark-low-alpha)\r\n}\r\n\r\n.footer {\r\n\tfont-family: \"Segoe UI\", Tahoma, Geneva, Verdana, sans-serif;\r\n\tdisplay: flex;\r\n\twidth: 100%;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tz-index: 1;\r\n\tgap: .25em;\r\n\tpadding: .5em\r\n}\r\n\r\n.footer * {\r\n\tdisplay: flex;\r\n\tcolor: rgba(255, 255, 255, .5);\r\n\tgap: 1em;\r\n\tfont-size: .875em;\r\n\tline-height: 1.5em;\r\n\tlist-style: none;\r\n\ttransition: 150ms;\r\n\ttext-decoration: none\r\n}\r\n\r\n.footer :focus,\r\n.footer :hover {\r\n\tcolor: rgba(255, 255, 255, 1)\r\n}\r\n\r\n.ext_favicon {\r\n\twidth: 32px;\r\n\theight: 32px;\r\n\tborder-radius: 50%\r\n}\r\n\r\n.nested-close {\r\n\topacity: 0;\r\n\tpadding-block: 0;\r\n\theight: 0em !important;\r\n}\r\n\r\n.nested-one-element {\r\n\toverflow: hidden;\r\n\theight: 100%;\r\n\ttransition: 200ms;\r\n}\r\n\r\n#deep-search-nested {\r\n\toverflow: hidden;\r\n\theight: auto;\r\n\theight: 9.5em;\r\n\ttransition: 200ms;\r\n}\r\n\r\n.loader {\r\n\tborder: 4px solid var(--primary-color) !important;\r\n\tborder-top: 4px solid #1e90ff !important;\r\n\tborder-radius: 50%;\r\n\tanimation: spin 1s normal infinite\r\n}\r\n\r\n@keyframes spin {\r\n\t0% {\r\n\t\ttransform: rotate(0)\r\n\t}\r\n\r\n\t100% {\r\n\t\ttransform: rotate(360deg)\r\n\t}\r\n}\r\n\r\n.loader * {\r\n\tanimation: spin-rev 1s normal infinite\r\n}\r\n\r\n@keyframes spin-rev {\r\n\t0% {\r\n\t\ttransform: rotate(360deg)\r\n\t}\r\n\r\n\t100% {\r\n\t\ttransform: rotate(0)\r\n\t}\r\n}\r\n\r\n.collapsed {\r\n\theight: 0;\r\n\tpadding: 0;\r\n\tmargin: 0;\r\n\toverflow: hidden\r\n}\r\n\r\n.hidden {\r\n\tdisplay: none !important\r\n}\r\n\r\n.modalContainer {\r\n\tcolor: white;\r\n\tfont-family: 'Ubuntu';\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tbackground-color: #b3b3b34c;\r\n\t-webkit-backdrop-filter: blur(2px);\r\n\tbackdrop-filter: blur(2px);\r\n\tz-index: 5;\r\n\tdisplay: flex;\r\n\talign-items: flex-start;\r\n\tjustify-content: center;\r\n\tpadding-block-start: 2em;\r\n\topacity: 0;\r\n\ttransition: 200ms;\r\n}\r\n\r\n.notifyContainer {\r\n\tcolor: white;\r\n\tfont-family: 'Ubuntu';\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: auto;\r\n\tbackground-color: transparent;\r\n\tz-index: 5;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\topacity: 1;\r\n\ttransition: 200ms;\r\n\tflex-direction: column-reverse;\r\n}\r\n\r\n.modal {\r\n\tmin-width: 10em;\r\n\twidth: 90%;\r\n\tmax-width: 30em;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tbackground: #2b2b2b;\r\n\tpadding: 1.5em;\r\n\tborder-radius: 1em;\r\n\tborder: 1px solid #ffffff24;\r\n\tbox-shadow: rgba(0, 0, 0, 0.2) 0 0 2em 0;\r\n}\r\n\r\n.notifyModal {\r\n\tmin-width: 10em;\r\n\twidth: 90%;\r\n\tmax-width: 30em;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tbackground: #2b2b2b;\r\n\tpadding: 1.5em;\r\n\tmargin-top: 0em;\r\n\tmargin-bottom: -1em;\r\n\tz-index: 5;\r\n\tborder-radius: 1em;\r\n\tborder: 1px solid #ffffff24;\r\n\tbox-shadow: rgba(0, 0, 0, 0.2) 0 0 2em 0;\r\n\talign-items: center;\r\n\topacity: 0;\r\n\ttransition: 200ms;\r\n\tgap: 1em;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n.modalTitle {\r\n\tpadding-bottom: 0.5em;\r\n}\r\n\r\n.modalDescription {\r\n\tpadding-bottom: 2em;\r\n\tfont-size: 0.9em;\r\n\tfont-weight: 100;\r\n}\r\n\r\n.notifyDescriptionContainer {\r\n\twidth: 90%;\r\n}\r\n\r\n.notifyDescription {\r\n\toverflow: hidden;\r\n\tword-wrap: break-word;\r\n\tfont-size: 1em;\r\n\tfont-weight: 200;\r\n}\r\n\r\n.modalButtonsBar {\r\n\tvertical-align: middle;\r\n\tdisplay: inline-flex;\r\n\talign-items: center;\r\n\tgap: 1em;\r\n\tmargin-block-start: 1em;\r\n\tjustify-content: flex-end;\r\n}\r\n\r\n.label {\r\n\tfont-size: 0.9em;\r\n\tdisplay: flex;\r\n\tgap: 0.25em;\r\n\tpadding-bottom: 0.25em;\r\n\tjustify-content: flex-start;\r\n\talign-items: center;\r\n}\r\n\r\n.modalInputField {\r\n\twidth: 100%;\r\n\theight: 2.5em;\r\n\tborder-radius: 6px;\r\n\tborder: 2px solid #ffffff;\r\n\tbackground-color: #f1f1f1;\r\n\tpadding: 0.5em;\r\n\tmargin-bottom: 1em;\r\n\tpadding-inline: 1em;\r\n\tcaret-color: black;\r\n\toutline: 0;\r\n}\r\n\r\n.inputTickBoxField {\r\n\twidth: 100%;\r\n\tborder-radius: 1em;\r\n\tborder: 1px solid transparent;\r\n\tbackground-color: #ffffffe8;\r\n\tpadding: 0.5em;\r\n\tmargin-bottom: 1em;\r\n}\r\n\r\n.modalInputField:focus {\r\n\tbackground-color: #ffffff;\r\n\tborder: 2px solid var(--selection-color);\r\n}\r\n\r\n.button {\r\n\twidth: 7em;\r\n\theight: 2.5em;\r\n\tfont-size: 0.85em;\r\n\tfont-weight: 400;\r\n\tfont-family: 'Ubuntu';\r\n\tborder-radius: 6px;\r\n\tbackground-color: #ececec;\r\n\tborder: 1px solid rgba(206, 206, 206, 0.5);\r\n\topacity: 1;\r\n\ttransition: 100ms;\r\n}\r\n\r\n.tinyButton {\r\n\tmin-width: 1.75em;\r\n\tmin-height: 1.75em;\r\n\tmax-width: 1.75em;\r\n\tmax-height: 1.75em;\r\n\tpadding-bottom: 2px;\r\n}\r\n\r\n.notifyLoader {\r\n\twidth: 100%;\r\n\tmargin-top: 1em;\r\n\tmargin-bottom: -1em;\r\n\topacity: 0.1;\r\n}\r\n\r\n.button:disabled {\r\n\tbackground-color: #fff;\r\n\topacity: 0.75;\r\n}\r\n\r\n.button:hover {\r\n\tbackground-color: #fff;\r\n}\r\n\r\n.button:active {\r\n\topacity: 0.75;\r\n}\r\n\r\n.mainButton {\r\n\t/* background-color: #8cffc9; */\r\n\t/* border: 1px solid rgba(206, 206, 206, 0.5); */\r\n}\r\n\r\n.deleteButton {\r\n\tcolor: tomato;\r\n}\r\n\r\n@media only screen and (min-width:370px) {\r\n\tbody {\r\n\t\tfont-size: 14px\r\n\t}\r\n}\r\n\r\n@media only screen and (min-width:600px) {\r\n\tbody {\r\n\t\tfont-size: 16px\r\n\t}\r\n\r\n\t#home-widget-container {\r\n\t\tpadding-inline: 2em\r\n\t}\r\n\r\n\t.footer {\r\n\t\tflex-direction: row;\r\n\t\tjustify-content: space-between;\r\n\t\tpadding-inline: 2em\r\n\t}\r\n}\r\n\r\n@media only screen and (min-width:1024px) {\r\n\tbody {\r\n\t\tfont-size: 18px\r\n\t}\r\n\r\n\t#advanced-settings-modal {\r\n\t\tbackground-color: rgba(56, 56, 56, 0);\r\n\t\tposition: absolute;\r\n\t\theight: auto;\r\n\t\twidth: 50vw;\r\n\t\twidth: 50dvw;\r\n\t\ttop: 0\r\n\t}\r\n}\r\n\r\n@media (pointer: coarse) {\r\n\t#settings_button {\r\n\t\tdisplay: none;\r\n\t}\r\n}"],"names":[],"version":3,"file":"index.3a01df49.css.map","sourceRoot":"/__parcel_source_root/"} \ No newline at end of file +{"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;AA+CA;;;;AAIA;;;;;;;;AAQA;;;;;AAOA;;;;;;;;;;;AAWA;;;;;;;;;;;AAYA;;;;AAIA;;;;;;;;;;;;AAeA;;;;;;;;;;;;;;AAcA;;;;;;;;;;;;;;;;AAgBA;;;;;;AAMA;;;;;;AAMA;;;;AAIA;;;;;;AAMA;;;;;;;;;AASA;;;;;AAKA;;;;;;AAMA;;;;;;;;;;;;;;;AAeA;;;;;;AAMA;;;;;;;;;AAUA;;;;;;;;AAQA;;;;;AAKA;;;;;AAKA;;;;;AAKA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;AAOA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AASA;;;;AAIA;;;;AAIA;;;;AAIA;;;;;;;;;;AAUA;;;;AAIA;;;;;AAKA;;;;;AAKA;;;;;;;;;;;;;;;AAeA;;;;;;;;;;;;;AAaA;;;;;;;;;;;;;;;AAeA;;;;AAIA;;;;;;;;;;AAUA;;;;;;;;;;;;;;;AAgBA;;;;;;;;;;;;;;;;;;;;;;AAoCA;;;;;;AAOA;;;;AAIA;;;;AAIA;;;;;;;;;;;AAWA;;;;;;;;;AASA;;;;;;;;AAQA;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IA;;;;;;;AAOA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;;;;;AAaA;;;;;;;;;AASA;;;;;AAKA;;;;;;;;;;;;;AAaA;;;;;;;;AAQA;;;;;;;AAOA;;;;;AAKA;;;;AAIA;;;;AASA;;;;AAIA;EACC;;;;;AAKD;EACC;;;;EAIA;;;;EAIA;;;;;;;AAOD;EACC;;;;EAIA;;;;;;;;;AAUD;EACC","sources":["style.css"],"sourcesContent":[":root {\r\n\t--selection-color: null;\r\n\t--white: #fbfaf8ff;\r\n\t--white-half-alpha: #fbfaf892;\r\n\t--white-quarter-alpha: #fbfaf843;\r\n\t--white-low-alpha: #fbfaf815;\r\n\t--dark: #060604;\r\n\t--dark-low-alpha: #0606042c;\r\n\t--accent-color: #BB377D;\r\n\t--highlight-color: #dfb669;\r\n\t--predefined-bookmark: #6856347e;\r\n\t--custom-bookmark: #3535357e;\r\n\t--add-bookmark: #4d685a7e;\r\n\t--settings: #4d685a7e;\r\n\t--primary-color: #faf7f0ff;\r\n\t--secondary-color: #e7decdff;\r\n\t--blur-one-em: blur(1em);\r\n\t--blur-one-px: blur(1px);\r\n\t--blur-half-em: blur(0.5em);\r\n\t--cross-display: none;\r\n\t/*\r\n\t--predefined-bookmark: #6856347e;\r\n\t--custom-bookmark: #0034597e;\r\n\t--add-bookmark: #4d685a7e;\r\n\t--settings: #4d685a7e;\r\n\t\r\n\t--removable-border: 1px solid #ffffff38;\r\n\t--pink-gradient-webkit: -webkit-linear-gradient(to top, #BB377D, 50%, #fbd3e900);\r\n\t--pink-gradient: linear-gradient(to top, #BB377D, 50%, #fbd3e900);\r\n\t--pink-color: #BB377D;\r\n\t--light-pink-gradient-webkit: -webkit-linear-gradient(to top, #ec96c4, 50%, #fbd3e900);\r\n\t--light-pink-gradient: linear-gradient(to top, #ec96c4, 50%, #fbd3e900);\r\n\t--light-pink-color: #ec96c4;\r\n\t--earth-gradient-webkit: -webkit-linear-gradient(to top, #bb6a37, 50%, #fbd3e900);\r\n\t--earth-gradient: linear-gradient(to top, #bb6a37, 50%, #fbd3e900);\r\n\t--earth-color: #bb6a37;\r\n\t--green-gradient-webkit: -webkit-linear-gradient(to top, #79bb37, 50%, #fbd3e900);\r\n\t--green-gradient: linear-gradient(to top, #79bb37, 50%, #fbd3e900);\r\n\t--green-color: #79bb37;\r\n\t--yellow-gradient-webkit: -webkit-linear-gradient(to top, #bb9c37, 50%, #fbd3e900);\r\n\t--yellow-gradient: linear-gradient(to top, #bb9c37, 50%, #fbd3e900);\r\n\t--yellow-color: #bb9c37;\r\n\t--red-gradient-webkit: -webkit-linear-gradient(to top, #e04040, 50%, #fbd3e900);\r\n\t--red-gradient: linear-gradient(to top, #e04040, 50%, #fbd3e900);\r\n\t--red-color: #e04040; */\r\n}\r\n\r\n::selection {\r\n\tbackground: var(--selection-color);\r\n}\r\n\r\n#canvasFar {\r\n\tposition: fixed;\r\n\tdisplay: none;\r\n\ttop: 0;\r\n\tz-index: 0;\r\n\tbackground-image: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(235, 235, 255, 0) 60%);\r\n}\r\n\r\n.disable-select {\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n}\r\n\r\n* {\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tbox-sizing: border-box !important;\r\n\tcaret-color: transparent;\r\n\tscroll-behavior: smooth;\r\n\toutline-color: var(--selection-color);\r\n\toutline-offset: -1px;\r\n\toutline-width: 1px;\r\n}\r\n\r\nbody {\r\n\tbackground-color: #282828;\r\n\tfont-family: \"Ubuntu Mono\", monospace;\r\n\tfont-size: 12px;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmin-height: 100vh;\r\n\tmin-height: 100svh;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n.justifySpaceBetween {\r\n\tjustify-content: space-between !important;\r\n}\r\n\r\n#overlay {\r\n\tposition: fixed;\r\n\tdisplay: block;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\tbackground-color: rgba(0, 0, 0, .375);\r\n\tz-index: 0;\r\n\tcursor: auto;\r\n\ttransition: .3s\r\n}\r\n\r\n#gradient_overlay {\r\n\tposition: fixed;\r\n\tdisplay: block;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\topacity: 0;\r\n\tz-index: 0;\r\n\tcursor: auto;\r\n\ttransition: .3s\r\n}\r\n\r\n.header {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tdisplay: none;\r\n\tpadding: 0.5em;\r\n\tgap: 0.25em;\r\n\tfont-size: 0.75em;\r\n\tjustify-content: space-between;\r\n\twidth: 100%;\r\n\theight: 3em;\r\n\tcolor: var(--primary-color);\r\n\tbackground-color: #2684e15c;\r\n\tz-index: 13;\r\n}\r\n\r\n.header-left-block {\r\n\tdisplay: flex;\r\n\tgap: 1em;\r\n\talign-items: center;\r\n}\r\n\r\n.user-avatar {\r\n\theight: 2em;\r\n\twidth: 2em;\r\n\tborder-radius: 50%;\r\n}\r\n\r\n.user-name {\r\n\ttext-align: center;\r\n}\r\n\r\n.header-right-block {\r\n\tdisplay: flex;\r\n\tgap: 1em;\r\n\talign-items: center;\r\n}\r\n\r\n#wrap {\r\n\tmax-width: 1280px;\r\n\twidth: 100%;\r\n\topacity: 0;\r\n\tz-index: 2;\r\n\tdisplay: block;\r\n\ttransition: 125ms;\r\n}\r\n\r\nbody::-webkit-scrollbar {\r\n\t-ms-overflow-style: none;\r\n\tdisplay: none;\r\n}\r\n\r\n.flex-main-container-vertical {\r\n\tmargin: auto;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n}\r\n\r\n#home-widget-container {\r\n\tcolor: var(--primary-color);\r\n\twidth: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tdisplay: flex;\r\n\talign-items: flex-end;\r\n\tjustify-content: center;\r\n\tfont-size: clamp(1em, 2em, 10em);\r\n\tcursor: default;\r\n\ttext-align: center;\r\n\tmargin-bottom: 0.5em;\r\n\tpadding-inline: 0em\r\n}\r\n\r\n.home-widget {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmax-width: 90%\r\n}\r\n\r\n#main-heading-slider {\r\n\ttransition: .5s;\r\n\tmax-width: 100%;\r\n\tpadding-block-end: 0.125em;\r\n\tdisplay: flex;\r\n\toverflow-x: scroll;\r\n\toverflow-y: hidden;\r\n\tscroll-snap-type: x mandatory\r\n}\r\n\r\n#main-heading-slider * {\r\n\tmin-width: 100%;\r\n\tflex: 1;\r\n\tscroll-snap-align: center;\r\n\tscroll-snap-stop: always;\r\n\tmargin-bottom: -0.25em;\r\n}\r\n\r\n#main-heading-slider::-webkit-scrollbar {\r\n\theight: 8px;\r\n\tdisplay: none\r\n}\r\n\r\n#main-heading-slider::-webkit-scrollbar-track {\r\n\tbox-shadow: inset 0 0 5px grey;\r\n\tborder-radius: 10px\r\n}\r\n\r\n#main-heading-slider::-webkit-scrollbar-thumb {\r\n\tbackground: var(--accent-color);\r\n\tborder-radius: 10px\r\n}\r\n\r\n.default-text-style {\r\n\tfont-family: Ubuntu;\r\n\tcolor: var(--primary-color);\r\n\tfont-size: clamp(1em, 2em, 10em);\r\n\tline-height: 2em;\r\n\ttext-shadow: 0 0 0 var(--accent-color), 0 0 0 #000 !important;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-1 {\r\n\tfont-family: 'Vujahday Script', handwriting;\r\n\tfont-size: clamp(1em, 2.25em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.5em;\r\n\ttext-shadow: 4px 4px 0 var(--accent-color), 6px 6px 0 #000;\r\n\trotate: -6deg\r\n}\r\n\r\n.brush-text-style-2 {\r\n\tfont-family: 'Advent Pro', sans-serif;\r\n\tfont-size: clamp(1em, 2.25em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.9em;\r\n}\r\n\r\n.brush-text-style-3 {\r\n\tfont-family: 'Nanum Brush Script', handwriting;\r\n\tfont-size: clamp(1em, 2.8em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.375em;\r\n\ttext-shadow: 4px 4px 0 var(--accent-color), 6px 6px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-4 {\r\n\tfont-family: 'Are You Serious', handwriting;\r\n\tfont-size: clamp(1em, 2.5em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.5em;\r\n\ttext-shadow: 1px 1px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-5 {\r\n\tfont-family: 'Alkatra', display;\r\n\tfont-size: clamp(1em, 2.25em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.75em;\r\n\ttext-shadow: 1px 1px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-6 {\r\n\tfont-family: 'Montez', handwriting;\r\n\tfont-size: clamp(1em, 2.5em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.5em;\r\n\ttext-shadow: 1px 1px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.separator {\r\n\topacity: 0;\r\n}\r\n\r\n.separator-visible {\r\n\topacity: 1;\r\n}\r\n\r\n.nowrap {\r\n\ttext-wrap: nowrap;\r\n}\r\n\r\n.arrows {\r\n\theight: 0em;\r\n\topacity: 0.85;\r\n\toverflow: hidden;\r\n\tfont-size: 1em;\r\n\tz-index: 5;\r\n\ttext-shadow: 0 2px 0 #000;\r\n\ttransition: 250ms\r\n}\r\n\r\n.arrows:hover {\r\n\topacity: 1;\r\n}\r\n\r\n.arrows:active {\r\n\topacity: 0.5;\r\n\ttext-shadow: 0 0px 0 #000;\r\n}\r\n\r\n#subtitle {\r\n\tfont-family: Ubuntu;\r\n\tfont-size: .65em;\r\n}\r\n\r\n.search {\r\n\tdisplay: flex;\r\n\tposition: relative;\r\n\tflex-wrap: wrap;\r\n\twidth: 100%;\r\n\theight: 3em;\r\n\tjustify-content: center;\r\n\talign-items: stretch;\r\n\tpadding-top: 0.5em;\r\n\tmargin-bottom: 2em;\r\n\ttext-align: center;\r\n\tcursor: default;\r\n\tz-index: 2;\r\n}\r\n\r\n.searchBarFocusMode {\r\n\tposition: fixed;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tdisplay: none;\r\n\topacity: 0;\r\n\tbackground-color: #ffffff1f;\r\n\ttransition: 200ms;\r\n\t-webkit-backdrop-filter: blur(1em);\r\n\tbackdrop-filter: blur(0.5em);\r\n}\r\n\r\n.searchContainer {\r\n\tdisplay: flex;\r\n\twidth: 100%;\r\n\theight: 3em;\r\n\tborder-radius: 1.5em;\r\n\toverflow: hidden;\r\n\tmargin-inline: 1.85em;\r\n\tmin-width: 4em;\r\n\tmax-width: 44em;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\torder: 1;\r\n\tz-index: 2;\r\n}\r\n\r\n.searchContainer:has(.searchTerm:focus) {\r\n\tborder-radius: 1em;\r\n}\r\n\r\n.searchTerm {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tpadding: 0 2em 0 1em;\r\n\tborder: 0px;\r\n\tbackground: transparent;\r\n\tfont-size: 1em;\r\n\toutline: 0;\r\n}\r\n\r\n.autofillContainer {\r\n\tdisplay: flex;\r\n\tposition: absolute;\r\n\twidth: calc(100% - 3.5em);\r\n\theight: 0em;\r\n\tbackground-color: transparent;\r\n\toverflow: hidden;\r\n\toverflow: hidden;\r\n\tmin-width: 4em;\r\n\tmax-width: 44em;\r\n\tpadding-inline: 0.1em;\r\n\tjustify-content: flex-start;\r\n\talign-items: center;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.autofillItem {\r\n\tmin-height: 2.25em;\r\n\tmax-height: 2.25em;\r\n\tmin-width: 4em;\r\n\twidth: 100%;\r\n\ttext-wrap: nowrap;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tmax-width: 44em;\r\n\tmargin-block-start: 0.25em;\r\n\tborder-radius: 0.5em;\r\n\tbox-shadow: #0000002e 0 2px 2px 0px;\r\n\tborder: 1px solid transparent !important;\r\n\tfont-family: 'Ubuntu';\r\n\tfont-weight: 100;\r\n\ttext-align: start;\r\n\toverflow: hidden;\r\n\tpadding-block-start: 0.5em;\r\n\tpadding-inline: 1em;\r\n\tz-index: 2;\r\n}\r\n\r\n/* .marquee p:hover {\r\n\tanimation: marquee 3s linear infinite;\r\n}\r\n\r\n@keyframes marquee {\r\n\t0% {\r\n\t\ttransform: translate(0, 0);\r\n\t}\r\n\r\n\t100% {\r\n\t\ttransform: translate(-10%, 0);\r\n\t}\r\n} */\r\n\r\ninput::-webkit-search-cancel-button {\r\n\tmargin-inline-start: .7em;\r\n\tmargin-inline-end: -1.25em;\r\n\ttransition: .2s;\r\n\topacity: 0.5;\r\n}\r\n\r\ninput::-webkit-search-cancel-button:hover {\r\n\topacity: 0.75;\r\n}\r\n\r\ninput::-webkit-search-cancel-button:hover {\r\n\ttransform: scale(1.1);\r\n}\r\n\r\n.searchButton {\r\n\twidth: 4em;\r\n\theight: 100%;\r\n\tborder: 0px;\r\n\tbackground: transparent;\r\n\ttext-align: center;\r\n\tcursor: pointer;\r\n\toutline: 0;\r\n\tfont-size: clamp(1em, 1em, 2em);\r\n}\r\n\r\n.searchButton>i {\r\n\tbackground-size: 2;\r\n\tpadding: .1em;\r\n\tbackground-color: transparent;\r\n\tborder-radius: 2em;\r\n\topacity: 0.5;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.searchButton:active>i {\r\n\tpadding: .7em;\r\n\tbackground-color: var(--selection-color);\r\n\tpadding: .8em;\r\n\tcolor: var(--dark);\r\n\ttransition: all .2s\r\n}\r\n\r\n.searchbox-style-glass {\r\n\tborder: 1px solid #ffffff38;\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\tbackground: var(--white-quarter-alpha);\r\n\ttransition: 125ms;\r\n\tcolor: #ffffffdd;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1)::placeholder {\r\n\tcolor: #ffffff86;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1) {\r\n\tcolor: #ffffff92;\r\n\ttransition: 125ms;\r\n\tcaret-color: white;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(2)>i {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1):focus {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass:hover {\r\n\tborder: 1px solid #ffffffce;\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass:hover>:nth-child(1) {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass:hover>.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.searchbox-style-glass:has(.searchTerm:focus) {\r\n\tbox-shadow: 0 0 4px 0px var(--selection-color);\r\n\tborder: 1px solid #ffffff00;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1)::-webkit-search-cancel-button {\r\n\tfilter: grayscale() invert() brightness(200%);\r\n}\r\n\r\n\r\n.searchbox-style-light {\r\n\tborder: 1px solid #ffffff;\r\n\tbackground: white;\r\n\ttransition: 125ms;\r\n\tcolor: #000000dd;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1)::placeholder {\r\n\tcolor: #75757586;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1) {\r\n\tcolor: #00000092;\r\n\tcaret-color: black;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(2)>i {\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1):focus {\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light:hover {\r\n\tborder: 1px solid var(--selection-color);\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light:hover>:nth-child(1) {\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light:hover>.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.searchbox-style-light:has(.searchTerm:focus) {\r\n\tbox-shadow: 0 0 4px 0px var(--selection-color);\r\n\tborder: 1px solid #00000000;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1)::-webkit-search-cancel-button {\r\n\tfilter: grayscale() invert() brightness(50%);\r\n}\r\n\r\n.searchbox-style-dark {\r\n\tborder: 1px solid #ffffff1e;\r\n\tbackground: rgb(0, 0, 0);\r\n\ttransition: 125ms;\r\n\tcolor: #ffffffdd;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1)::placeholder {\r\n\tcolor: #75757586;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1) {\r\n\tcaret-color: white;\r\n\tcolor: #ffffff92;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(2)>i {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1):focus {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-dark:hover {\r\n\tborder: 1px solid var(--selection-color);\r\n\tcolor: #ffffff;\r\n\r\n}\r\n\r\n.searchbox-style-dark:hover>:nth-child(1) {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-dark:hover>.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.searchbox-style-dark:has(.searchTerm:focus) {\r\n\tbox-shadow: 0 0 4px 0px var(--selection-color);\r\n\tborder: 1px solid #ffffff00;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1)::-webkit-search-cancel-button {\r\n\tfilter: grayscale() invert() brightness(200%);\r\n}\r\n\r\n\r\n.searchTerm:focus+.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.flex-sub-container-horizontal {\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\tpadding: 0 .5em;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tmargin-bottom: 2em;\r\n}\r\n\r\n.flex-sub-container-horizontal>div {\r\n\tcolor: var(--primary-color);\r\n\twidth: clamp(1em, 4em, 8em);\r\n\theight: clamp(1em, 4em, 8em);\r\n\tmargin: 2%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-radius: 50%;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\ttext-decoration: none;\r\n\tcursor: pointer;\r\n\tcaret-color: transparent;\r\n\tborder: 1px solid #ffffff38;\r\n}\r\n\r\n.predefined-bookmark {\r\n\tbackground-color: var(--predefined-bookmark);\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em)\r\n}\r\n\r\n.flex-sub-container-horizontal>div>i {\r\n\tfont-size: clamp(.5em, 1.5em, 4em)\r\n}\r\n\r\n#add_bookmark_button:focus,\r\n#add_bookmark_button:hover,\r\n#settings_button:focus,\r\n#settings_button:hover,\r\n.flex-sub-container-horizontal>:focus,\r\n.flex-sub-container-horizontal>:hover {\r\n\tbackground-color: var(--highlight-color);\r\n\ttransition: .5s\r\n}\r\n\r\n.flex-wallpaper-horizontal {\r\n\tmax-height: 10em;\r\n\tflex-wrap: nowrap;\r\n\toverflow-x: auto;\r\n\twidth: 100%;\r\n\tdisplay: none;\r\n\tflex-direction: row;\r\n\tjustify-content: start;\r\n\tposition: fixed;\r\n\tbottom: 0;\r\n\tpadding: 0 0 .75em 0;\r\n\tz-index: 2\r\n}\r\n\r\n.thumb-group {\r\n\twidth: 8em;\r\n\theight: 4.8em;\r\n\tmargin: .5em;\r\n\tborder-radius: 1em;\r\n\tcursor: pointer\r\n}\r\n\r\n.advanced-settings-button {\r\n\tposition: sticky;\r\n\tmin-width: 9em;\r\n\tleft: 0;\r\n\tmargin: 0 0 1em 0;\r\n\tpadding: 0;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tborder-radius: 0 1.5em 1.5em 0;\r\n\tpadding-inline: 1em;\r\n\tpadding-block: .5em;\r\n\tfont-size: .5em;\r\n\tmargin-top: 1em;\r\n\tbackground-color: rgba(255, 255, 255, 1);\r\n\tcursor: pointer;\r\n\tz-index: 3;\r\n\t/* scale: 1.125; */\r\n\ttransform: translateX(-10em) scale(1.125);\r\n\ttransition: 500ms;\r\n}\r\n\r\n/* .advanced-settings-button:hover>i {\r\n\ttransform: scale(1.125);\r\n} */\r\n\r\n.advanced-settings-button:active>i {\r\n\t/* transform: scale(1); */\r\n\topacity: 0.5;\r\n}\r\n\r\n.advanced-settings-button>i {\r\n\tfont-size: 4em;\r\n\tcolor: #060604;\r\n\topacity: 0.8;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.advanced-settings-button-right {\r\n\ttransform: translateX(0em) scale(1.125);\r\n}\r\n\r\n.thumb-group:focus,\r\n.thumb-group:hover {\r\n\tbox-shadow: 0 0 .5em #fff;\r\n\tanimation: animation_zoom .25s;\r\n\tanimation-fill-mode: both;\r\n\tanimation-iteration-count: 1;\r\n\ttransition: 1s;\r\n}\r\n\r\n.thumb-title {\r\n\tposition: absolute;\r\n\tborder-radius: 0 0 1em 1em;\r\n\tborder: 0 solid var(--primary-color);\r\n\tborder-top: none;\r\n\twidth: 8em;\r\n\theight: 1.5em;\r\n\tmargin-top: 4em;\r\n\tz-index: 2;\r\n\topacity: 0;\r\n\tfont-family: \"Ubuntu\";\r\n\tpadding-top: 0.075em;\r\n\tfont-size: 0.875em;\r\n\tpadding-inline-start: 0.75em;\r\n\twhite-space: nowrap;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\tcolor: var(--dark-text-color);\r\n\tbackground-color: rgba(250, 235, 215, .8);\r\n\tpointer-events: none\r\n}\r\n\r\n.animate:focus>.thumb-title,\r\n.animate:hover>.thumb-title {\r\n\tanimation: animation_appear .25s;\r\n\tanimation-fill-mode: both;\r\n\tanimation-iteration-count: 1\r\n}\r\n\r\n.thumbnail {\r\n\tposition: relative;\r\n\twidth: 7.05em;\r\n\theight: 4.8em;\r\n\tborder: .1em solid var(--primary-color);\r\n\tmargin-left: -.04em;\r\n\tborder-radius: .9em\r\n}\r\n\r\n#add_bookmark_button {\r\n\tbackground-color: var(--add-bookmark);\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\torder: 1336\r\n}\r\n\r\n#add_bookmark_button:not(:active)>i {\r\n\ttransition: 750ms;\r\n\trotate: 360deg\r\n}\r\n\r\n#settings_button {\r\n\tcolor: var(--primary-color);\r\n\twidth: clamp(1em, 4em, 8em);\r\n\theight: clamp(1em, 4em, 8em);\r\n\tmargin: 2%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-radius: 50%;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\ttext-decoration: none;\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\tbackground-color: var(--settings);\r\n\tcursor: pointer;\r\n\tcaret-color: transparent;\r\n\torder: 1337;\r\n\tborder: 1px solid #ffffff38;\r\n}\r\n\r\n#settings_button * {\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tfont-size: 2em\r\n}\r\n\r\n#settings_button:not(:active)>i {\r\n\ttransition: 750ms;\r\n\trotate: 360deg\r\n}\r\n\r\n.custom_bookmark {\r\n\tcolor: var(--primary-color);\r\n\twidth: clamp(1em, 4em, 8em);\r\n\theight: clamp(1em, 4em, 8em);\r\n\tmargin: 2%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-radius: 50%;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\tcursor: pointer;\r\n\tcaret-color: transparent;\r\n\tbackground-color: var(--custom-bookmark);\r\n\tborder: 1px solid #ffffff38;\r\n\ttext-decoration: none;\r\n\r\n}\r\n\r\n.custom_link_name {\r\n\tfont-weight: 600;\r\n\tfont-size: 1.5em;\r\n\tpointer-events: none;\r\n}\r\n\r\n.cross {\r\n\tdisplay: var(--cross-display);\r\n\tposition: fixed;\r\n\tpadding-top: 1em;\r\n\tpadding-left: 2.5em;\r\n\twidth: 4em;\r\n\tborder: 3px dashed tomato;\r\n\theight: 4em;\r\n\tbackground-color: var(--selection-color);\r\n\tborder-radius: 50%;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tanimation: spin 10s linear infinite;\r\n}\r\n\r\n#mydivheader {\r\n\tpadding: 0;\r\n\tcursor: move;\r\n\tz-index: 4;\r\n\tbackground-color: transparent;\r\n\tcolor: #fff\r\n}\r\n\r\n\r\n#import-bookmarks-btn,\r\n#import-backup-btn {\r\n\tdisplay: none\r\n}\r\n\r\n#advanced-settings-modal-background-overlay {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\twidth: 100vw;\r\n\theight: 100vh;\r\n\tbackground-color: #45454576;\r\n\t-webkit-backdrop-filter: blur(3em);\r\n\tbackdrop-filter: blur(3em);\r\n\tz-index: 2;\r\n\tdisplay: none;\r\n}\r\n\r\n#advanced-settings-modal {\r\n\tbackground-color: rgba(56, 56, 56, 0);\r\n\tposition: absolute;\r\n\theight: auto;\r\n\twidth: 100vw;\r\n\twidth: 100dvw;\r\n\t/* z-index: 2; */\r\n\tcolor: var(--white);\r\n\tfont-family: Ubuntu;\r\n\tz-index: 3;\r\n\tcursor: default;\r\n\tdisplay: none;\r\n}\r\n\r\n#btn-install {\r\n\tdisplay: none;\r\n}\r\n\r\n.modal-page-title {\r\n\tdisplay: flex;\r\n\tgap: 0.5em;\r\n\tmargin: .5em;\r\n\tpadding-inline: .5em;\r\n\tpadding-block: .75em;\r\n\tfont-size: 1.5em;\r\n\talign-items: center;\r\n\tjustify-content: flex-start;\r\n\tfont-weight: 700;\r\n\tbackground-color: var(--dark-low-alpha);\r\n\tborder-radius: .5em\r\n}\r\n\r\n.modal-close-btn {\r\n\tfont-size: 1em;\r\n\tborder-radius: 6px;\r\n\tpadding-block: .25em;\r\n\tpadding-inline-start: 0.25em;\r\n\tpadding-inline-end: 0.3em;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.modal-close-btn:hover {\r\n\tbackground-color: #ffffff45;\r\n\ttransform: scale(1.125);\r\n}\r\n\r\n.modal-close-btn:active {\r\n\topacity: 0.5;\r\n\ttransform: scale(1);\r\n}\r\n\r\n.modal-group {\r\n\tposition: relative;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmargin: .75em;\r\n\tpadding: .5em;\r\n\tbackground-color: var(--dark-low-alpha);\r\n\tborder-radius: .75em;\r\n}\r\n\r\n.modal-title {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tfont-size: 1.3em;\r\n\tfont-weight: 700;\r\n\tpadding: .375em\r\n}\r\n\r\n.modal-option {\r\n\tdisplay: flex;\r\n\tfont-size: 1.1em;\r\n\tpadding-block: .5em;\r\n\tfont-weight: 400;\r\n\tjustify-content: space-between;\r\n\ttransition: 125ms;\r\n\tborder-radius: .375em;\r\n\tpadding-inline: .5em\r\n}\r\n\r\n\r\n.modal-option:hover {\r\n\tbackground-color: var(--white-quarter-alpha)\r\n}\r\n\r\n.setting-preview {\r\n\tbackground-color: #06060400;\r\n\tborder: 0 solid #000;\r\n\twidth: 10em;\r\n\theight: 1.25em;\r\n\tborder-radius: 6px;\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n\twhite-space: nowrap;\r\n\ttext-align: end;\r\n\tfont-size: 0.9em;\r\n\tpadding-inline-end: 0.5em;\r\n\tfont-family: 'Ubuntu';\r\n\tcolor: var(--white-half-alpha);\r\n\tanimation-name: animatetop;\r\n\tanimation-duration: 1s;\r\n\toutline: 0;\r\n}\r\n\r\n.version-preview {\r\n\twidth: auto;\r\n\tmax-height: 1;\r\n\tborder-radius: 6px;\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n\twhite-space: nowrap;\r\n\ttext-align: center;\r\n\tfont-size: .7em;\r\n\tfont-family: Ubuntu;\r\n\tcolor: var(--white-half-alpha);\r\n\tanimation-name: animatetop;\r\n\tanimation-duration: 1s\r\n}\r\n\r\n.setting-preview option {\r\n\tcolor: #060604;\r\n\ttext-align: end;\r\n\tbackground-color: var(--dark-low-alpha)\r\n}\r\n\r\n.footer {\r\n\tfont-family: \"Segoe UI\", Tahoma, Geneva, Verdana, sans-serif;\r\n\tdisplay: flex;\r\n\twidth: 100%;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tz-index: 1;\r\n\tgap: .25em;\r\n\tpadding: .5em\r\n}\r\n\r\n.footer * {\r\n\tdisplay: flex;\r\n\tcolor: rgba(255, 255, 255, .5);\r\n\tgap: 1em;\r\n\tfont-size: .875em;\r\n\tline-height: 1.5em;\r\n\tlist-style: none;\r\n\ttransition: 150ms;\r\n\ttext-decoration: none\r\n}\r\n\r\n.footer :focus,\r\n.footer :hover {\r\n\tcolor: rgba(255, 255, 255, 1)\r\n}\r\n\r\n.ext_favicon {\r\n\twidth: 32px;\r\n\theight: 32px;\r\n\tborder-radius: 50%\r\n}\r\n\r\n.nested-close {\r\n\topacity: 0;\r\n\tpadding-block: 0;\r\n\theight: 0em !important;\r\n}\r\n\r\n.nested-one-element {\r\n\toverflow: hidden;\r\n\theight: 100%;\r\n\ttransition: 200ms;\r\n}\r\n\r\n#deep-search-nested {\r\n\toverflow: hidden;\r\n\theight: auto;\r\n\theight: 9.5em;\r\n\ttransition: 200ms;\r\n}\r\n\r\n.loader {\r\n\tborder: 4px solid var(--primary-color) !important;\r\n\tborder-top: 4px solid #1e90ff !important;\r\n\tborder-radius: 50%;\r\n\tanimation: spin 1s normal infinite\r\n}\r\n\r\n@keyframes spin {\r\n\t0% {\r\n\t\ttransform: rotate(0)\r\n\t}\r\n\r\n\t100% {\r\n\t\ttransform: rotate(360deg)\r\n\t}\r\n}\r\n\r\n.loader * {\r\n\tanimation: spin-rev 1s normal infinite\r\n}\r\n\r\n@keyframes spin-rev {\r\n\t0% {\r\n\t\ttransform: rotate(360deg)\r\n\t}\r\n\r\n\t100% {\r\n\t\ttransform: rotate(0)\r\n\t}\r\n}\r\n\r\n.collapsed {\r\n\theight: 0;\r\n\tpadding: 0;\r\n\tmargin: 0;\r\n\toverflow: hidden\r\n}\r\n\r\n.hidden {\r\n\tdisplay: none !important\r\n}\r\n\r\n.modalContainer {\r\n\tcolor: white;\r\n\tfont-family: 'Ubuntu';\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tbackground-color: #b3b3b34c;\r\n\t-webkit-backdrop-filter: blur(2px);\r\n\tbackdrop-filter: blur(2px);\r\n\tz-index: 5;\r\n\tdisplay: flex;\r\n\talign-items: flex-start;\r\n\tjustify-content: center;\r\n\tpadding-block-start: 2em;\r\n\topacity: 0;\r\n\ttransition: 200ms;\r\n}\r\n\r\n.notifyContainer {\r\n\tcolor: white;\r\n\tfont-family: 'Ubuntu';\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: auto;\r\n\tbackground-color: transparent;\r\n\tz-index: 5;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\topacity: 1;\r\n\ttransition: 200ms;\r\n\tflex-direction: column-reverse;\r\n}\r\n\r\n.modal {\r\n\tmin-width: 10em;\r\n\twidth: 90%;\r\n\tmax-width: 30em;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tbackground: #2b2b2b;\r\n\tpadding: 1.5em;\r\n\tborder-radius: 1em;\r\n\tborder: 1px solid #ffffff24;\r\n\tbox-shadow: rgba(0, 0, 0, 0.2) 0 0 2em 0;\r\n}\r\n\r\n.notifyModal {\r\n\tmin-width: 10em;\r\n\twidth: 90%;\r\n\tmax-width: 30em;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tbackground: #2b2b2b;\r\n\tpadding: 1.5em;\r\n\tmargin-top: 0em;\r\n\tmargin-bottom: -1em;\r\n\tz-index: 5;\r\n\tborder-radius: 1em;\r\n\tborder: 1px solid #ffffff24;\r\n\tbox-shadow: rgba(0, 0, 0, 0.2) 0 0 2em 0;\r\n\talign-items: center;\r\n\topacity: 0;\r\n\ttransition: 200ms;\r\n\tgap: 1em;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n.modalTitle {\r\n\tpadding-bottom: 0.5em;\r\n}\r\n\r\n.modalDescription {\r\n\tpadding-bottom: 2em;\r\n\tfont-size: 0.9em;\r\n\tfont-weight: 100;\r\n}\r\n\r\n.notifyDescriptionContainer {\r\n\twidth: 90%;\r\n}\r\n\r\n.notifyDescription {\r\n\toverflow: hidden;\r\n\tword-wrap: break-word;\r\n\tfont-size: 1em;\r\n\tfont-weight: 200;\r\n}\r\n\r\n.modalButtonsBar {\r\n\tvertical-align: middle;\r\n\tdisplay: inline-flex;\r\n\talign-items: center;\r\n\tgap: 1em;\r\n\tmargin-block-start: 1em;\r\n\tjustify-content: flex-end;\r\n}\r\n\r\n.label {\r\n\tfont-size: 0.9em;\r\n\tdisplay: flex;\r\n\tgap: 0.25em;\r\n\tpadding-bottom: 0.25em;\r\n\tjustify-content: flex-start;\r\n\talign-items: center;\r\n}\r\n\r\n.modalInputField {\r\n\twidth: 100%;\r\n\theight: 2.5em;\r\n\tborder-radius: 6px;\r\n\tborder: 2px solid #ffffff;\r\n\tbackground-color: #f1f1f1;\r\n\tpadding: 0.5em;\r\n\tmargin-bottom: 1em;\r\n\tpadding-inline: 1em;\r\n\tcaret-color: black;\r\n\toutline: 0;\r\n}\r\n\r\n.inputTickBoxField {\r\n\twidth: 100%;\r\n\tborder-radius: 1em;\r\n\tborder: 1px solid transparent;\r\n\tbackground-color: #ffffffe8;\r\n\tpadding: 0.5em;\r\n\tmargin-bottom: 1em;\r\n}\r\n\r\n.modalInputField:focus {\r\n\tbackground-color: #ffffff;\r\n\tborder: 2px solid var(--selection-color);\r\n}\r\n\r\n.button {\r\n\twidth: 7em;\r\n\theight: 2.5em;\r\n\tfont-size: 0.85em;\r\n\tfont-weight: 400;\r\n\tfont-family: 'Ubuntu';\r\n\tborder-radius: 6px;\r\n\tbackground-color: #ececec;\r\n\tborder: 1px solid rgba(206, 206, 206, 0.5);\r\n\topacity: 1;\r\n\ttransition: 100ms;\r\n}\r\n\r\n.tinyButton {\r\n\tmin-width: 1.75em;\r\n\tmin-height: 1.75em;\r\n\tmax-width: 1.75em;\r\n\tmax-height: 1.75em;\r\n\tpadding-bottom: 2px;\r\n}\r\n\r\n.notifyLoader {\r\n\twidth: 100%;\r\n\tmargin-top: 1em;\r\n\tmargin-bottom: -1em;\r\n\topacity: 0.1;\r\n}\r\n\r\n.button:disabled {\r\n\tbackground-color: #fff;\r\n\topacity: 0.75;\r\n}\r\n\r\n.button:hover {\r\n\tbackground-color: #fff;\r\n}\r\n\r\n.button:active {\r\n\topacity: 0.75;\r\n}\r\n\r\n.mainButton {\r\n\t/* background-color: #8cffc9; */\r\n\t/* border: 1px solid rgba(206, 206, 206, 0.5); */\r\n}\r\n\r\n.deleteButton {\r\n\tcolor: tomato;\r\n}\r\n\r\n@media only screen and (min-width:370px) {\r\n\tbody {\r\n\t\tfont-size: 14px\r\n\t}\r\n}\r\n\r\n@media only screen and (min-width:600px) {\r\n\tbody {\r\n\t\tfont-size: 16px\r\n\t}\r\n\r\n\t#home-widget-container {\r\n\t\tpadding-inline: 2em\r\n\t}\r\n\r\n\t.footer {\r\n\t\tflex-direction: row;\r\n\t\tjustify-content: space-between;\r\n\t\tpadding-inline: 2em\r\n\t}\r\n}\r\n\r\n@media only screen and (min-width:1024px) {\r\n\tbody {\r\n\t\tfont-size: 18px\r\n\t}\r\n\r\n\t#advanced-settings-modal {\r\n\t\tbackground-color: rgba(56, 56, 56, 0);\r\n\t\tposition: absolute;\r\n\t\theight: auto;\r\n\t\twidth: 50vw;\r\n\t\twidth: 50dvw;\r\n\t\ttop: 0\r\n\t}\r\n}\r\n\r\n@media (pointer: coarse) {\r\n\t#settings_button {\r\n\t\tdisplay: none;\r\n\t}\r\n}"],"names":[],"version":3,"file":"index.3a01df49.css.map","sourceRoot":"/__parcel_source_root/"} \ No newline at end of file diff --git a/dist/index.3d214d75.js b/dist/index.3d214d75.js index e19b3f4..ddc9864 100644 --- a/dist/index.3d214d75.js +++ b/dist/index.3d214d75.js @@ -615,7 +615,7 @@ const wallpapersPanel = (str)=>{ loc: "home" }, "", "?home"); bottomFilmRollContainer.classList.remove("animation_slide_up"); - setTimeout(()=>advancedSettingsButton.classList.remove("animation_slide_right"), 350); + setTimeout(()=>advancedSettingsButton.classList.remove("advanced-settings-button-right"), 350); bottomFilmRollContainer.classList.add("animation_slide_down"); wrap.classList.remove("animation2_slide_up"); wrap.classList.add("animation2_slide_down"); @@ -634,7 +634,7 @@ const wallpapersPanel = (str)=>{ wrap.classList.remove("animation2_slide_down", "startup_slide_down"); wrap.classList.add("animation2_slide_up"); setTimeout(()=>{ - advancedSettingsButton.classList.add("animation_slide_right"); + advancedSettingsButton.classList.add("advanced-settings-button-right"); (0, _utilsJs.scrollHighlightedWallpaperIntoView)(); }, 350); (0, _colorsJs.changeGlow)(null, 1); @@ -986,8 +986,8 @@ function processSearchboxInput(event) { const oldInput = sessionStorage.getItem("input"); const input = event.target.value; sessionStorage.setItem("input", input); - switchToCLI(input); - switchToURL(input); + // switchToCLI(input); + switchSearchIcon(input); if (!input) { clearSuggestions(); setTimeout(()=>{ @@ -1005,17 +1005,30 @@ const googleAutocomplete = (input)=>{ myScript.src = `${provider}${input}`; document.body.appendChild(myScript); }; -const switchToCLI = (input)=>{ - const btnIcon = document.getElementById("search-btn-icon"); - const currentIcon = localStorage.getItem("default-search-icon"); - if ((0, _cliJs.cliCheck)(input)) btnIcon.className = "fa fa-terminal"; - else btnIcon.className = currentIcon; -}; -const switchToURL = (input)=>{ +// const switchToCLI = (input) => { +// const btnIcon = document.getElementById('search-btn-icon'); +// const currentIcon = localStorage.getItem('default-search-icon'); +// if (cliCheck(input)) { +// console.log('cfs') +// btnIcon.className = 'fa-solid fa-terminal'; +// return; +// } else { +// btnIcon.className = currentIcon; +// }; +// }; +const switchSearchIcon = (input)=>{ const btnIcon = document.getElementById("search-btn-icon"); const currentIcon = localStorage.getItem("default-search-icon"); - if ((0, _validatorsJs.isUrlValid)(input)) btnIcon.className = "fa fa-globe"; - else btnIcon.className = currentIcon; + if ((0, _validatorsJs.isUrlValid)(input)) { + btnIcon.className = "fa fa-globe"; + return; + } else if ((0, _cliJs.cliCheck)(input)) { + btnIcon.className = "fa fa-terminal"; + return; + } else { + btnIcon.className = currentIcon; + return; + } }; const collapseAutofill = ()=>{ searchBG.style.opacity = "0"; @@ -1027,6 +1040,7 @@ const collapseAutofill = ()=>{ }; const expandAutofill = (input)=>{ const items = document.querySelectorAll(".autofillItem"); + const searchbar = document.getElementById("searchbar"); if (input.length) { searchBG.style.display = "block"; setTimeout(()=>{ @@ -1035,6 +1049,7 @@ const expandAutofill = (input)=>{ const calc = d.height * items.length + d.height * 1.5; container.style.height = `${calc}px`; container.style.paddingBlockStart = "0em"; + searchbar.scrollIntoView(); } searchBG.style.opacity = "1"; }, 1); @@ -2162,23 +2177,23 @@ function defaultSearchEngine(value) { case "google": toggleCustomDomainButton("hide"); applyDomain((0, _constantsJs.GOOGLE_SEARCH_DOMAIN)); - applyIcon("fa fa-google"); + applyIcon("fa-brands fa-google"); break; case "bing": toggleCustomDomainButton("hide"); applyDomain((0, _constantsJs.BING_SEARCH_DOMAIN)); - applyIcon("fa fa-search"); + applyIcon("fa fa-magnifying-glass"); break; case "duckduckgo": toggleCustomDomainButton("hide"); applyDomain((0, _constantsJs.DUCKDUCKGO_SEARCH_DOMAIN)); - applyIcon("fa fa-search"); + applyIcon("fa fa-magnifying-glass"); break; case "custom": toggleCustomDomainButton("show"); loadCustomDomain(); // applyDomain(GOOGLE_SEARCH_DOMAIN); - applyIcon("fa fa-search"); + applyIcon("fa fa-magnifying-glass"); break; } } @@ -2213,7 +2228,7 @@ function defaultSearchbarPosition(value) { searchbar.style.order = "0"; autofillContainer.style.order = "1"; autofillContainer.style.bottom = "0em"; - autofillContainer.style.top = "3.25em"; + autofillContainer.style.top = "3.75em"; wrap.style.margin = "0 auto auto auto"; break; case "bottom": @@ -2227,7 +2242,7 @@ function defaultSearchbarPosition(value) { searchbar.style.order = "0"; autofillContainer.style.order = "1"; autofillContainer.style.bottom = "0em"; - autofillContainer.style.top = "3.25em"; + autofillContainer.style.top = "3.75em"; wrap.style.margin = "auto auto auto auto"; break; } diff --git a/dist/index.3d214d75.js.map b/dist/index.3d214d75.js.map index ffe97f6..f0fbdc3 100644 --- a/dist/index.3d214d75.js.map +++ b/dist/index.3d214d75.js.map @@ -1 +1 @@ -{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAI,WAAW;AAAK,IAAI,WAAW;AAAK,IAAI,aAAa;AAAM,IAAI,eAAe;AAAmB,OAAO,MAAM,CAAC,aAAa,GAAG;AAAmB;AAEtJ,iJAAiJ,GACjJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,GACA,IAAI,aAAa;AACjB,IAAI,YAAY,OAAO,MAAM,CAAC,MAAM;AACpC,SAAS,OAAO,UAAU;IACxB,UAAU,IAAI,CAAC,IAAI,EAAE;IACrB,IAAI,CAAC,GAAG,GAAG;QACT,MAAM,OAAO,MAAM,CAAC,OAAO,CAAC,WAAW;QACvC,kBAAkB,EAAE;QACpB,mBAAmB,EAAE;QACrB,QAAQ,SAAU,EAAE;YAClB,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,YAAa;QAChD;QACA,SAAS,SAAU,EAAE;YACnB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC;QAC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EAAE,GAAG,KAAK,EAAE,GAAG,GAAG;QACxC;QACA,IAAI,IAAI;QACR;QACA,IAAI,CAAC,OAAO,OAAO,qBAAqB,CAAC;IACzC,mCAAmC;IACnC,sBAAsB;IACvB;IAEA,iCAAiC;IACjC,kJAAkJ;IAClJ,iBAAiB;IACjB,SAAS;QACR,6BAA6B;QAC7B,iBAAiB;QACjB,IAAK,IAAI,IAAI,GAAG,IAAI,IAAI,IAAK;YAC5B,6BAA6B;YAC7B,IAAI,IAAI,SAAS,CAAC,EAAE;YACpB,8BAA8B;YAC9B,qGAAqG;YACrG,6GAA6G;YAC7G,kDAAkD;YAClD,EAAE,CAAC,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,GAAG;YACjC,8CAA8C;YAC9C,8BAA8B;YAE9B,gDAAgD;YAChD,oFAAoF;YACpF,IAAI,EAAE,CAAC,GAAG,IAAI,KAAK,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,GAAG,GACpC;gBAAA,IAAI,IAAI,IAAI,GAEX,SAAS,CAAC,EAAE,GAAG;oBAAE,GAAG,KAAK,MAAM,KAAK;oBAAG,GAAG;oBAAK,GAAG,EAAE,CAAC;oBAAE,GAAG,EAAE,CAAC;gBAAC;YAC/D;QAaF;IACD;IACA,OAAO,KAAK,CAAC,OAAO,GAAG;IACvB,QAAQ;IACR,OAAO,qBAAqB,CAAC;AAC7B,gBAAgB;AAChB,yBAAyB;AAC1B;;;;;ACjGA,mDAAgB;AAAT,SAAS;IACf,wCAAwC;IACxC,qCAAqC;IACrC,sCAAsC;IACtC,IAAI,OAAO,UAAU,CAAC,iBAAiB,OAAO,EAC7C,OAAO;SACD,OAAO;AACf","sources":["node_modules/@parcel/runtime-browser-hmr/lib/runtime-3979cc5714f673f7.js","index.js","js_modules/search.js","js_modules/utils.js","js_modules/constants.js","node_modules/@parcel/transformer-js/src/esmodule-helpers.js","js_modules/preferences.js","js_modules/custom_bookmarks.js","js_modules/utils/inputDialog.js","js_modules/utils/enableSubmitButton.js","js_modules/validators.js","js_modules/utils/toggleDisplay.js","js_modules/load_preferences.js","js_modules/utils/intersectionObserver.js","js_modules/strings.js","js_modules/utils/addZero.js","js_modules/utils/alertDialog.js","js_modules/utils/changeExtension.js","js_modules/utils/wait.js","js_modules/wallpapers.js","js_modules/colors.js","js_modules/styles.js","js_modules/cli.js","js_modules/utils/downloadFile.js","js_modules/utils/notifyDialog.js","js_modules/loading_spinner.js","js_modules/onboarding.js","js_modules/save_preferences.js","js_modules/utils/getLastUpdated.js","js_modules/utils/blurLevel.js","js_modules/utils/letItSnow.js","js_modules/utils/isTouchDevice.js"],"sourcesContent":["var HMR_HOST = null;var HMR_PORT = null;var HMR_SECURE = false;var HMR_ENV_HASH = \"d6ea1d42532a7575\";module.bundle.HMR_BUNDLE_ID = \"0a8ecb283d214d75\";\"use strict\";\n\n/* global HMR_HOST, HMR_PORT, HMR_ENV_HASH, HMR_SECURE, chrome, browser, __parcel__import__, __parcel__importScripts__, ServiceWorkerGlobalScope */\n/*::\nimport type {\n HMRAsset,\n HMRMessage,\n} from '@parcel/reporter-dev-server/src/HMRServer.js';\ninterface ParcelRequire {\n (string): mixed;\n cache: {|[string]: ParcelModule|};\n hotData: {|[string]: mixed|};\n Module: any;\n parent: ?ParcelRequire;\n isParcelRequire: true;\n modules: {|[string]: [Function, {|[string]: string|}]|};\n HMR_BUNDLE_ID: string;\n root: ParcelRequire;\n}\ninterface ParcelModule {\n hot: {|\n data: mixed,\n accept(cb: (Function) => void): void,\n dispose(cb: (mixed) => void): void,\n // accept(deps: Array | string, cb: (Function) => void): void,\n // decline(): void,\n _acceptCallbacks: Array<(Function) => void>,\n _disposeCallbacks: Array<(mixed) => void>,\n |};\n}\ninterface ExtensionContext {\n runtime: {|\n reload(): void,\n getURL(url: string): string;\n getManifest(): {manifest_version: number, ...};\n |};\n}\ndeclare var module: {bundle: ParcelRequire, ...};\ndeclare var HMR_HOST: string;\ndeclare var HMR_PORT: string;\ndeclare var HMR_ENV_HASH: string;\ndeclare var HMR_SECURE: boolean;\ndeclare var chrome: ExtensionContext;\ndeclare var browser: ExtensionContext;\ndeclare var __parcel__import__: (string) => Promise;\ndeclare var __parcel__importScripts__: (string) => Promise;\ndeclare var globalThis: typeof self;\ndeclare var ServiceWorkerGlobalScope: Object;\n*/\nvar OVERLAY_ID = '__parcel__error__overlay__';\nvar OldModule = module.bundle.Module;\nfunction Module(moduleName) {\n OldModule.call(this, moduleName);\n this.hot = {\n data: module.bundle.hotData[moduleName],\n _acceptCallbacks: [],\n _disposeCallbacks: [],\n accept: function (fn) {\n this._acceptCallbacks.push(fn || function () {});\n },\n dispose: function (fn) {\n this._disposeCallbacks.push(fn);\n }\n };\n module.bundle.hotData[moduleName] = undefined;\n}\nmodule.bundle.Module = Module;\nmodule.bundle.hotData = {};\nvar checkedAssets /*: {|[string]: boolean|} */, assetsToDispose /*: Array<[ParcelRequire, string]> */, assetsToAccept /*: Array<[ParcelRequire, string]> */;\n\nfunction getHostname() {\n return HMR_HOST || (location.protocol.indexOf('http') === 0 ? location.hostname : 'localhost');\n}\nfunction getPort() {\n return HMR_PORT || location.port;\n}\n\n// eslint-disable-next-line no-redeclare\nvar parent = module.bundle.parent;\nif ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {\n var hostname = getHostname();\n var port = getPort();\n var protocol = HMR_SECURE || location.protocol == 'https:' && !['localhost', '127.0.0.1', '0.0.0.0'].includes(hostname) ? 'wss' : 'ws';\n var ws;\n try {\n ws = new WebSocket(protocol + '://' + hostname + (port ? ':' + port : '') + '/');\n } catch (err) {\n if (err.message) {\n console.error(err.message);\n }\n ws = {};\n }\n\n // Web extension context\n var extCtx = typeof browser === 'undefined' ? typeof chrome === 'undefined' ? null : chrome : browser;\n\n // Safari doesn't support sourceURL in error stacks.\n // eval may also be disabled via CSP, so do a quick check.\n var supportsSourceURL = false;\n try {\n (0, eval)('throw new Error(\"test\"); //# sourceURL=test.js');\n } catch (err) {\n supportsSourceURL = err.stack.includes('test.js');\n }\n\n // $FlowFixMe\n ws.onmessage = async function (event /*: {data: string, ...} */) {\n checkedAssets = {} /*: {|[string]: boolean|} */;\n assetsToAccept = [];\n assetsToDispose = [];\n var data /*: HMRMessage */ = JSON.parse(event.data);\n if (data.type === 'update') {\n // Remove error overlay if there is one\n if (typeof document !== 'undefined') {\n removeErrorOverlay();\n }\n let assets = data.assets.filter(asset => asset.envHash === HMR_ENV_HASH);\n\n // Handle HMR Update\n let handled = assets.every(asset => {\n return asset.type === 'css' || asset.type === 'js' && hmrAcceptCheck(module.bundle.root, asset.id, asset.depsByBundle);\n });\n if (handled) {\n console.clear();\n\n // Dispatch custom event so other runtimes (e.g React Refresh) are aware.\n if (typeof window !== 'undefined' && typeof CustomEvent !== 'undefined') {\n window.dispatchEvent(new CustomEvent('parcelhmraccept'));\n }\n await hmrApplyUpdates(assets);\n\n // Dispose all old assets.\n let processedAssets = {} /*: {|[string]: boolean|} */;\n for (let i = 0; i < assetsToDispose.length; i++) {\n let id = assetsToDispose[i][1];\n if (!processedAssets[id]) {\n hmrDispose(assetsToDispose[i][0], id);\n processedAssets[id] = true;\n }\n }\n\n // Run accept callbacks. This will also re-execute other disposed assets in topological order.\n processedAssets = {};\n for (let i = 0; i < assetsToAccept.length; i++) {\n let id = assetsToAccept[i][1];\n if (!processedAssets[id]) {\n hmrAccept(assetsToAccept[i][0], id);\n processedAssets[id] = true;\n }\n }\n } else fullReload();\n }\n if (data.type === 'error') {\n // Log parcel errors to console\n for (let ansiDiagnostic of data.diagnostics.ansi) {\n let stack = ansiDiagnostic.codeframe ? ansiDiagnostic.codeframe : ansiDiagnostic.stack;\n console.error('🚨 [parcel]: ' + ansiDiagnostic.message + '\\n' + stack + '\\n\\n' + ansiDiagnostic.hints.join('\\n'));\n }\n if (typeof document !== 'undefined') {\n // Render the fancy html overlay\n removeErrorOverlay();\n var overlay = createErrorOverlay(data.diagnostics.html);\n // $FlowFixMe\n document.body.appendChild(overlay);\n }\n }\n };\n ws.onerror = function (e) {\n if (e.message) {\n console.error(e.message);\n }\n };\n ws.onclose = function () {\n console.warn('[parcel] 🚨 Connection to the HMR server was lost');\n };\n}\nfunction removeErrorOverlay() {\n var overlay = document.getElementById(OVERLAY_ID);\n if (overlay) {\n overlay.remove();\n console.log('[parcel] ✨ Error resolved');\n }\n}\nfunction createErrorOverlay(diagnostics) {\n var overlay = document.createElement('div');\n overlay.id = OVERLAY_ID;\n let errorHTML = '
';\n for (let diagnostic of diagnostics) {\n let stack = diagnostic.frames.length ? diagnostic.frames.reduce((p, frame) => {\n return `${p}\n${frame.location}\n${frame.code}`;\n }, '') : diagnostic.stack;\n errorHTML += `\n
\n
\n 🚨 ${diagnostic.message}\n
\n
${stack}
\n
\n ${diagnostic.hints.map(hint => '
💡 ' + hint + '
').join('')}\n
\n ${diagnostic.documentation ? `` : ''}\n
\n `;\n }\n errorHTML += '
';\n overlay.innerHTML = errorHTML;\n return overlay;\n}\nfunction fullReload() {\n if ('reload' in location) {\n location.reload();\n } else if (extCtx && extCtx.runtime && extCtx.runtime.reload) {\n extCtx.runtime.reload();\n }\n}\nfunction getParents(bundle, id) /*: Array<[ParcelRequire, string]> */{\n var modules = bundle.modules;\n if (!modules) {\n return [];\n }\n var parents = [];\n var k, d, dep;\n for (k in modules) {\n for (d in modules[k][1]) {\n dep = modules[k][1][d];\n if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {\n parents.push([bundle, k]);\n }\n }\n }\n if (bundle.parent) {\n parents = parents.concat(getParents(bundle.parent, id));\n }\n return parents;\n}\nfunction updateLink(link) {\n var href = link.getAttribute('href');\n if (!href) {\n return;\n }\n var newLink = link.cloneNode();\n newLink.onload = function () {\n if (link.parentNode !== null) {\n // $FlowFixMe\n link.parentNode.removeChild(link);\n }\n };\n newLink.setAttribute('href',\n // $FlowFixMe\n href.split('?')[0] + '?' + Date.now());\n // $FlowFixMe\n link.parentNode.insertBefore(newLink, link.nextSibling);\n}\nvar cssTimeout = null;\nfunction reloadCSS() {\n if (cssTimeout) {\n return;\n }\n cssTimeout = setTimeout(function () {\n var links = document.querySelectorAll('link[rel=\"stylesheet\"]');\n for (var i = 0; i < links.length; i++) {\n // $FlowFixMe[incompatible-type]\n var href /*: string */ = links[i].getAttribute('href');\n var hostname = getHostname();\n var servedFromHMRServer = hostname === 'localhost' ? new RegExp('^(https?:\\\\/\\\\/(0.0.0.0|127.0.0.1)|localhost):' + getPort()).test(href) : href.indexOf(hostname + ':' + getPort());\n var absolute = /^https?:\\/\\//i.test(href) && href.indexOf(location.origin) !== 0 && !servedFromHMRServer;\n if (!absolute) {\n updateLink(links[i]);\n }\n }\n cssTimeout = null;\n }, 50);\n}\nfunction hmrDownload(asset) {\n if (asset.type === 'js') {\n if (typeof document !== 'undefined') {\n let script = document.createElement('script');\n script.src = asset.url + '?t=' + Date.now();\n if (asset.outputFormat === 'esmodule') {\n script.type = 'module';\n }\n return new Promise((resolve, reject) => {\n var _document$head;\n script.onload = () => resolve(script);\n script.onerror = reject;\n (_document$head = document.head) === null || _document$head === void 0 || _document$head.appendChild(script);\n });\n } else if (typeof importScripts === 'function') {\n // Worker scripts\n if (asset.outputFormat === 'esmodule') {\n return __parcel__import__(asset.url + '?t=' + Date.now());\n } else {\n return new Promise((resolve, reject) => {\n try {\n __parcel__importScripts__(asset.url + '?t=' + Date.now());\n resolve();\n } catch (err) {\n reject(err);\n }\n });\n }\n }\n }\n}\nasync function hmrApplyUpdates(assets) {\n global.parcelHotUpdate = Object.create(null);\n let scriptsToRemove;\n try {\n // If sourceURL comments aren't supported in eval, we need to load\n // the update from the dev server over HTTP so that stack traces\n // are correct in errors/logs. This is much slower than eval, so\n // we only do it if needed (currently just Safari).\n // https://bugs.webkit.org/show_bug.cgi?id=137297\n // This path is also taken if a CSP disallows eval.\n if (!supportsSourceURL) {\n let promises = assets.map(asset => {\n var _hmrDownload;\n return (_hmrDownload = hmrDownload(asset)) === null || _hmrDownload === void 0 ? void 0 : _hmrDownload.catch(err => {\n // Web extension fix\n if (extCtx && extCtx.runtime && extCtx.runtime.getManifest().manifest_version == 3 && typeof ServiceWorkerGlobalScope != 'undefined' && global instanceof ServiceWorkerGlobalScope) {\n extCtx.runtime.reload();\n return;\n }\n throw err;\n });\n });\n scriptsToRemove = await Promise.all(promises);\n }\n assets.forEach(function (asset) {\n hmrApply(module.bundle.root, asset);\n });\n } finally {\n delete global.parcelHotUpdate;\n if (scriptsToRemove) {\n scriptsToRemove.forEach(script => {\n if (script) {\n var _document$head2;\n (_document$head2 = document.head) === null || _document$head2 === void 0 || _document$head2.removeChild(script);\n }\n });\n }\n }\n}\nfunction hmrApply(bundle /*: ParcelRequire */, asset /*: HMRAsset */) {\n var modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (asset.type === 'css') {\n reloadCSS();\n } else if (asset.type === 'js') {\n let deps = asset.depsByBundle[bundle.HMR_BUNDLE_ID];\n if (deps) {\n if (modules[asset.id]) {\n // Remove dependencies that are removed and will become orphaned.\n // This is necessary so that if the asset is added back again, the cache is gone, and we prevent a full page reload.\n let oldDeps = modules[asset.id][1];\n for (let dep in oldDeps) {\n if (!deps[dep] || deps[dep] !== oldDeps[dep]) {\n let id = oldDeps[dep];\n let parents = getParents(module.bundle.root, id);\n if (parents.length === 1) {\n hmrDelete(module.bundle.root, id);\n }\n }\n }\n }\n if (supportsSourceURL) {\n // Global eval. We would use `new Function` here but browser\n // support for source maps is better with eval.\n (0, eval)(asset.output);\n }\n\n // $FlowFixMe\n let fn = global.parcelHotUpdate[asset.id];\n modules[asset.id] = [fn, deps];\n } else if (bundle.parent) {\n hmrApply(bundle.parent, asset);\n }\n }\n}\nfunction hmrDelete(bundle, id) {\n let modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (modules[id]) {\n // Collect dependencies that will become orphaned when this module is deleted.\n let deps = modules[id][1];\n let orphans = [];\n for (let dep in deps) {\n let parents = getParents(module.bundle.root, deps[dep]);\n if (parents.length === 1) {\n orphans.push(deps[dep]);\n }\n }\n\n // Delete the module. This must be done before deleting dependencies in case of circular dependencies.\n delete modules[id];\n delete bundle.cache[id];\n\n // Now delete the orphans.\n orphans.forEach(id => {\n hmrDelete(module.bundle.root, id);\n });\n } else if (bundle.parent) {\n hmrDelete(bundle.parent, id);\n }\n}\nfunction hmrAcceptCheck(bundle /*: ParcelRequire */, id /*: string */, depsByBundle /*: ?{ [string]: { [string]: string } }*/) {\n if (hmrAcceptCheckOne(bundle, id, depsByBundle)) {\n return true;\n }\n\n // Traverse parents breadth first. All possible ancestries must accept the HMR update, or we'll reload.\n let parents = getParents(module.bundle.root, id);\n let accepted = false;\n while (parents.length > 0) {\n let v = parents.shift();\n let a = hmrAcceptCheckOne(v[0], v[1], null);\n if (a) {\n // If this parent accepts, stop traversing upward, but still consider siblings.\n accepted = true;\n } else {\n // Otherwise, queue the parents in the next level upward.\n let p = getParents(module.bundle.root, v[1]);\n if (p.length === 0) {\n // If there are no parents, then we've reached an entry without accepting. Reload.\n accepted = false;\n break;\n }\n parents.push(...p);\n }\n }\n return accepted;\n}\nfunction hmrAcceptCheckOne(bundle /*: ParcelRequire */, id /*: string */, depsByBundle /*: ?{ [string]: { [string]: string } }*/) {\n var modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (depsByBundle && !depsByBundle[bundle.HMR_BUNDLE_ID]) {\n // If we reached the root bundle without finding where the asset should go,\n // there's nothing to do. Mark as \"accepted\" so we don't reload the page.\n if (!bundle.parent) {\n return true;\n }\n return hmrAcceptCheck(bundle.parent, id, depsByBundle);\n }\n if (checkedAssets[id]) {\n return true;\n }\n checkedAssets[id] = true;\n var cached = bundle.cache[id];\n assetsToDispose.push([bundle, id]);\n if (!cached || cached.hot && cached.hot._acceptCallbacks.length) {\n assetsToAccept.push([bundle, id]);\n return true;\n }\n}\nfunction hmrDispose(bundle /*: ParcelRequire */, id /*: string */) {\n var cached = bundle.cache[id];\n bundle.hotData[id] = {};\n if (cached && cached.hot) {\n cached.hot.data = bundle.hotData[id];\n }\n if (cached && cached.hot && cached.hot._disposeCallbacks.length) {\n cached.hot._disposeCallbacks.forEach(function (cb) {\n cb(bundle.hotData[id]);\n });\n }\n delete bundle.cache[id];\n}\nfunction hmrAccept(bundle /*: ParcelRequire */, id /*: string */) {\n // Execute the module.\n bundle(id);\n\n // Run the accept callbacks in the new version of the module.\n var cached = bundle.cache[id];\n if (cached && cached.hot && cached.hot._acceptCallbacks.length) {\n cached.hot._acceptCallbacks.forEach(function (cb) {\n var assetsToAlsoAccept = cb(function () {\n return getParents(module.bundle.root, id);\n });\n if (assetsToAlsoAccept && assetsToAccept.length) {\n assetsToAlsoAccept.forEach(function (a) {\n hmrDispose(a[0], a[1]);\n });\n\n // $FlowFixMe[method-unbinding]\n assetsToAccept.push.apply(assetsToAccept, assetsToAlsoAccept);\n }\n });\n }\n}","import * as Search from './js_modules/search.js';\nimport {\n\taddEventListenerOnID,\n\taddEventListenerOnClass,\n\tclickToEnter,\n\tfetchBookmarks,\n\tscrollHighlightedWallpaperIntoView,\n\ttoggleArrows,\n\tchangeSlide,\n\taddEventListenerOnTag,\n\tgetSearchTerm,\n} from './js_modules/utils.js';\nimport { displayLoading, hideLoading } from './js_modules/loading_spinner.js';\nimport { changeGlow } from './js_modules/colors.js';\nimport {\n\taddBookmarkToHTML,\n\tloadBookmarks,\n\tsaveBookmarks,\n\ttoggleRemoveButtons,\n} from './js_modules/custom_bookmarks.js';\nimport {\n\tfetchWallpapersList,\n\tgetWallpaperDetails,\n\thighlightSetWallpaper,\n\tsetWallpaper,\n} from './js_modules/wallpapers.js';\nimport {\n\tapplyPreferences,\n\taskCustomDomain,\n\taskCustomText,\n\tloadDropdownPositions,\n\tloadSelectedWidgetStyle,\n\tscrollToBottom,\n} from './js_modules/load_preferences.js';\nimport {\n\tdownloadWallpaper,\n\texportBackup,\n\texportBookmarks,\n\timportBackup,\n\timportBookmarks,\n\tresetAll,\n\tresetBookmarks,\n\tshowNestedOptions,\n\ttoggleFavicons,\n} from './js_modules/preferences.js';\nimport { isUrlValid } from './js_modules/validators.js';\nimport { askUserName, preOnboarding } from './js_modules/onboarding.js';\nimport { saveDropdownPositions } from './js_modules/save_preferences.js';\n// eslint-disable-next-line max-len\nimport { getLastUpdated } from './js_modules/utils/getLastUpdated.js';\nimport { blurLevel } from './js_modules/utils/blurLevel.js';\nimport { isItChristmas } from './js_modules/utils/letItSnow.js';\nimport { InputDialog } from './js_modules/utils/inputDialog.js';\nimport { isTouchDevice } from './js_modules/utils/isTouchDevice.js';\nimport { enableSubmitButton } from './js_modules/utils/enableSubmitButton.js';\nimport { genericAlert } from './js_modules/utils/alertDialog.js';\n\nconst bottomFilmRollContainer = document.getElementById('wallpapers');\nconst wrap = document.getElementById('wrap');\nconst advancedSettingsButton = document.getElementById('toggle-labs-btn');\nconst modal = document.getElementById('advanced-settings-modal');\nconst modalBackground =\n\tdocument.getElementById('advanced-settings-modal-background-overlay');\n\nlet areAdvancedSettingsOpen = false;\n\nlet areWallpapersOpen = false;\nlet timeout;\nconst wallpapersPanel = (str) => {\n\thideLoading();\n\tswitch (str) {\n\t\tcase 'close': {\n\t\t\tdocument.title = document.title\n\t\t\t\t.replace('Backgrounds', 'Search');\n\t\t\thistory.pushState({ loc: 'home' }, '', '?home');\n\t\t\tbottomFilmRollContainer.classList.remove('animation_slide_up');\n\t\t\tsetTimeout(() => advancedSettingsButton.classList\n\t\t\t\t.remove('animation_slide_right'), 350);\n\t\t\tbottomFilmRollContainer.classList.add('animation_slide_down');\n\t\t\twrap.classList.remove('animation2_slide_up');\n\t\t\twrap.classList.add('animation2_slide_down');\n\t\t\tclearTimeout(timeout);\n\n\t\t\ttoggleRemoveButtons('hide');\n\t\t\ttoggleArrows('hide');\n\t\t\tchangeGlow(null, 0);\n\t\t\tsetTimeout(() => blurLevel(1), 400);\n\t\t\tareWallpapersOpen = false;\n\t\t\tbreak;\n\t\t};\n\t\tcase 'open': {\n\t\t\tbottomFilmRollContainer.style.display = 'flex';\n\t\t\tblurLevel(0);\n\t\t\tbottomFilmRollContainer.classList.remove('animation_slide_down');\n\t\t\tbottomFilmRollContainer.classList.add('animation_slide_up');\n\t\t\twrap.classList.remove('animation2_slide_down', 'startup_slide_down');\n\t\t\twrap.classList.add('animation2_slide_up');\n\t\t\tsetTimeout(() => {\n\t\t\t\tadvancedSettingsButton.classList.add('animation_slide_right');\n\t\t\t\tscrollHighlightedWallpaperIntoView();\n\t\t\t}, 350);\n\t\t\tchangeGlow(null, 1);\n\t\t\ttimeout = setTimeout(() => toggleRemoveButtons('show'), 450);\n\t\t\ttoggleArrows('show');\n\t\t\tdocument.title = document.title\n\t\t\t\t.replace('Search', 'Backgrounds');\n\t\t\thistory.pushState({ loc: 'backgrounds' }, '', '?backgrounds');\n\t\t\tareWallpapersOpen = true;\n\t\t\tbreak;\n\t\t}\n\t}\n};\n\nwindow.createNewBookmark = () => {\n\tconst inputDialogTitle = 'Add new bookmark';\n\tconst inputDialogDescription = `\n\tYou may only use upto four letters as the bookmark name.`;\n\tconst bookmarkLabel = 'Bookmark name';\n\tconst bookmarkAddress = 'Link to website';\n\n\tInputDialog.show(\n\t\tinputDialogTitle,\n\t\tinputDialogDescription,\n\t\t[bookmarkLabel, bookmarkAddress],\n\t\t'Save',\n\t\tundefined,\n\t\tnull,\n\t\t[() => enableSubmitButton(null, true), null],\n\t\t() => {\n\t\t\tconst label = InputDialog.getInputFields()[0];\n\t\t\tlabel.setAttribute('maxlength', 4);\n\t\t\tlabel.setAttribute('placeholder', 'e.g. YT');\n\n\t\t\tconst address = InputDialog.getInputFields()[1];\n\t\t\taddress.setAttribute('placeholder', 'e.g. youtube.com');\n\t\t\taddress.value = 'https://';\n\n\t\t\tnavigator.clipboard.readText().then((res) => {\n\t\t\t\tif (isUrlValid(res)) {\n\t\t\t\t\taddress.value = res.replaceAll(' ', '');\n\t\t\t\t};\n\t\t\t}).catch((err) => {\n\t\t\t\tconsole.log(err);\n\t\t\t});\n\t\t},\n\t).then((res) => {\n\t\tconst id = Date.now();\n\t\tconst name = res.inputValues[0];\n\t\tlet link = res.inputValues[1].replaceAll(' ', '');\n\t\tif (!link.startsWith('http')) link = `https://${link}`;\n\t\t// console.log(res.inputValues);\n\t\taddBookmarkToHTML(link, name, id);\n\t\tsaveBookmarks(link, name, id);\n\t}).catch((e) => console.log(e));\n};\n\nwindow.changeWallpaper = (event) => {\n\tevent.stopPropagation();\n\tlet selection = event.target.title;\n\tif (!selection) selection = event.target.childNodes[1].title;\n\tconst wall = getWallpaperDetails(selection);\n\tsetWallpaper(wall[0], wall[1]);\n\thighlightSetWallpaper();\n};\n\naddEventListenerOnID('export-bookmarks-btn', 'click', exportBookmarks);\naddEventListenerOnID('import-bookmarks-btn', 'change', importBookmarks);\naddEventListenerOnID('export-backup-btn', 'click', exportBackup);\naddEventListenerOnID('import-backup-btn', 'change', importBackup);\naddEventListenerOnID('download-wallpaper-btn', 'click', downloadWallpaper);\naddEventListenerOnID('toggle-favicons-btn', 'click', toggleFavicons);\naddEventListenerOnID('update-username-btn', 'click', askUserName);\naddEventListenerOnID('update-customtext-btn', 'click', askCustomText);\naddEventListenerOnID('deep-search-btn', 'click', (event) => {\n\tshowNestedOptions('deep-search-nested');\n\tconst arrow = document.getElementById('deep-search-btn-arrow');\n\tarrow.classList.toggle('fa-angle-down');\n\tarrow.classList.toggle('fa-angle-up');\n});\naddEventListenerOnID('update-customdomain-btn', 'click', askCustomDomain);\naddEventListenerOnID('fetch-bookmarks-btn', 'click', fetchBookmarks);\naddEventListenerOnID('reset-bookmarks-btn', 'click', resetBookmarks);\naddEventListenerOnID('reset-all-btn', 'click', resetAll);\n\nfunction openAdvancedSettings() {\n\twallpapersPanel('close');\n\thistory.pushState({ loc: 'settings' }, '', '?settings');\n\tsetTimeout(() => blurLevel(0), 420);\n\tdocument.title = document.title.replace('Search', 'Settings');\n\tdocument.body.classList.add('justifySpaceBetween');\n\t// wrap.style.opacity = 0;\n\twrap.style.display = 'none';\n\tmodal.style.display = 'block';\n\tmodalBackground.style.display = 'block';\n\tareAdvancedSettingsOpen = true;\n};\n\nfunction closeAdvancedSettings() {\n\tdocument.title = document.title.replace('Settings', 'Search');\n\thistory.pushState({ loc: 'home' }, '', '?home');\n\tdocument.body.classList.remove('justifySpaceBetween');\n\twrap.style.display = 'block';\n\t// wrap.style.opacity = 1;\n\tmodal.style.display = 'none';\n\tmodalBackground.style.display = 'none';\n\tsetTimeout(() => blurLevel(1), 100);\n\tareAdvancedSettingsOpen = false;\n};\n\naddEventListenerOnClass('modal-close-btn', 'click', closeAdvancedSettings);\naddEventListenerOnID('toggle-labs-btn', 'click', openAdvancedSettings);\n\naddEventListenerOnID('search-btn', 'click', Search.webSearch);\naddEventListenerOnID('movies-search', 'click', Search.movies);\naddEventListenerOnID('tv-search', 'click', Search.tv);\naddEventListenerOnID('games-search', 'click', Search.games);\naddEventListenerOnID('ebooks-search', 'click', Search.ebooks);\naddEventListenerOnID('searchTerm', 'input', Search.processSearchboxInput);\naddEventListenerOnID('searchTerm', 'click', () => {\n\tconst x = new InputEvent('input');\n\tgetSearchTerm().dispatchEvent(x);\n});\naddEventListenerOnID('searchBarFocusMode', 'click', Search.collapseAutofill);\naddEventListenerOnID('searchTerm', 'keypress', Search.enterToSearch);\naddEventListenerOnID('fetch-bookmarks-btn', 'click', fetchBookmarks);\n\naddEventListenerOnID('left-arrow', 'click', (event) => {\n\tevent.stopPropagation();\n\tchangeSlide('widget-slide', -1);\n});\n\naddEventListenerOnID('right-arrow', 'click', (event) => {\n\tevent.stopPropagation();\n\tchangeSlide('widget-slide', 1);\n});\n\nwindow.addEventListener('resize', () => {\n\tapplyPreferences();\n\tisItChristmas();\n});\n\nwindow.addEventListener('blur', () => {\n\thideLoading();\n});\n\nwindow.addEventListener('appinstalled', (event) => {\n\tconsole.log('installed');\n});\n\nonload = (event) => {\n\tconst slider = document.getElementById('main-heading-slider');\n\tslider.classList.remove('nowrap');\n};\n\naddEventListenerOnID('settings_button', 'click', (event) => {\n\tif (areWallpapersOpen) wallpapersPanel('close', event);\n\telse if (!areWallpapersOpen) wallpapersPanel('open', event);\n});\n\nconst pressAndHold = () => {\n\tconst target = document.body;\n\tlet timerId;\n\tlet timer = 250;\n\tconst clearTimer = () => {\n\t\tclearInterval(timerId);\n\t\ttimerId = null;\n\t};\n\n\tconst clickEvent = (event) => {\n\t\tconst x = event.target.id;\n\t\tconst validElements = ['gradient_overlay',\n\t\t\t'wrap',\n\t\t\t'bookmarks',\n\t\t\t'autofillContainer',\n\t\t\t'flex-main-container-vertical',\n\t\t\t'subtitle',\n\t\t\t'footer',\n\t\t];\n\t\tif (\n\t\t\tvalidElements.includes(x)\n\t\t) {\n\t\t\tif (areWallpapersOpen) timer = 1;\n\t\t\telse timer = 250;\n\n\t\t\ttimerId = setInterval(() => {\n\t\t\t\tif (areWallpapersOpen) wallpapersPanel('close');\n\t\t\t\telse if (!areWallpapersOpen) wallpapersPanel('open');\n\t\t\t\tclearTimer();\n\t\t\t}, timer);\n\t\t}\n\t};\n\n\ttarget.addEventListener('mousedown', clickEvent);\n\ttarget.addEventListener('mouseup', clearTimer);\n\ttarget.addEventListener('mouseout', clearTimer);\n\n\ttarget.addEventListener('touchstart', clickEvent);\n\ttarget.addEventListener('touchend', clearTimer);\n\ttarget.addEventListener('touchcancel', clearTimer);\n\n\treturn () => {\n\t\ttarget.removeEventListener('mousedown', clickEvent);\n\t\ttarget.removeEventListener('mouseup', clearTimer);\n\t\ttarget.removeEventListener('mouseout', clearTimer);\n\t\ttarget.removeEventListener('touchstart', clickEvent);\n\t\ttarget.removeEventListener('touchend', clearTimer);\n\t\ttarget.removeEventListener('touchcancel', clearTimer);\n\t\tconsole.log('un-focuss', timerId);\n\t};\n};\n\nconst switchPage = () => {\n\twindow.addEventListener('popstate', (e) => {\n\t\tif (areWallpapersOpen) {\n\t\t\twallpapersPanel('close');\n\t\t} else if (areAdvancedSettingsOpen) {\n\t\t\tcloseAdvancedSettings();\n\t\t} else if (!areWallpapersOpen && !areAdvancedSettingsOpen) {\n\t\t\thistory.go(-1);\n\t\t\tconsole.log('cant go back anymore', -history.length - 1);\n\t\t}\n\t});\n\n\tlet page = window.location.href;\n\tpage = page.split('/?')[1];\n\tif (!page) history.pushState({ loc: 'home' }, '', '?home');\n\telse if (page == 'settings') openAdvancedSettings();\n\telse if (page == 'backgrounds') wallpapersPanel('open');\n};\n\nconst postOnboarding = () => {\n\tconst btnInstall = document.getElementById('btn-install');\n\tlet deferredPrompt;\n\tapplyPreferences();\n\tloadBookmarks();\n\tloadDropdownPositions();\n\twrap.style.opacity = 1;\n\n\tfetchWallpapersList();\n\thighlightSetWallpaper();\n\n\tpressAndHold();\n\taddEventListenerOnClass('clickable', 'keypress', clickToEnter);\n\taddEventListenerOnClass('custom_bookmark', 'click', displayLoading);\n\taddEventListenerOnTag('select', 'change', saveDropdownPositions);\n\n\taddEventListenerOnID('btn-install', 'click', (e) => {\n\t\tdeferredPrompt.prompt();\n\t\tdeferredPrompt.userChoice.then((choiceResult) => {\n\t\t\tif (choiceResult.outcome === 'accepted') {\n\t\t\t\tconsole.log('user accepted prompt');\n\t\t\t}\n\t\t\tdeferredPrompt = null;\n\t\t});\n\t});\n\n\twindow.addEventListener('beforeinstallprompt', (event) => {\n\t\tevent.preventDefault();\n\t\tdeferredPrompt = event;\n\t\tbtnInstall.style.display = 'block';\n\t});\n\tscrollToBottom();\n\tif (sessionStorage.getItem('focus') == 'on') {\n\t\tdocument.getElementById('searchTerm').focus();\n\t\tdocument.getElementById('searchTerm').click();\n\t}\n\tgetLastUpdated('version-preview');\n\tisItChristmas();\n\tloadSelectedWidgetStyle();\n\tswitchPage();\n};\n\n// Start ----------------------------------------------------------\n\ndocument.addEventListener('DOMContentLoaded', () => {\n\t// preOnboarding();\n\n\tif (localStorage.getItem('onBoarding') == '1') {\n\t\tpostOnboarding();\n\t\tconsole.log('Already onboard.');\n\t} else {\n\t\tconsole.log('Onboarding...');\n\t\tpreOnboarding().then(() => {\n\t\t\tif (isTouchDevice()) {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tgenericAlert('Information',\n\t\t\t\t\t\t'Press and hold on empty area to open settings.');\n\t\t\t\t}, 5000);\n\t\t\t}\n\t\t\tpostOnboarding();\n\t\t\tconsole.log('Onboarding complete.');\n\t\t});\n\t}\n}, { once: true });\n\n// ---------------------------------------------------------- End\n\n","import {\n clickToEnter,\n getSearchTerm,\n} from './utils.js';\nimport {\n EXT_SEARCH_DOMAIN,\n GOOGLE_SEARCH_DOMAIN,\n SAMPLE_AUTOFILL,\n} from './constants.js';\nimport {\n cliCheck,\n cliParse,\n} from './cli.js';\nimport { isUrlValid } from './validators.js';\nimport { Notify } from './utils/notifyDialog.js';\n\nconst MSG = 'You must enter a search query to continue.';\nconst container = document.querySelector('.autofillContainer');\nconst searchBG = document.querySelector('#searchBarFocusMode');\nlet myScript = '';\n\nfunction loadSearchDomain() {\n let domain = localStorage.getItem('default-search-url');\n if (domain == null) {\n localStorage.setItem('default-search-url', GOOGLE_SEARCH_DOMAIN);\n domain = localStorage.getItem('default-search-url');\n }\n return domain;\n}\n\nexport function webSearch() {\n let input = getSearchTerm().value;\n if (input != '') {\n updateAutocompleteDatabase(input);\n if (isUrlValid(input) && !input.includes(' ')) {\n // if (!input.startsWith('http')) input = `http://${input}`;\n window.open(input, '_self');\n return;\n }\n if (!cliCheck(input)) {\n input = encodeURIComponent(input);\n // input = input.split(\" \").join(\"+\");\n const url = loadSearchDomain() + input;\n window.open(url, '_self');\n } else cliParse(input);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function movies() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n // input = input.split(\" \").join(\"%20\");\n const url = EXT_SEARCH_DOMAIN + input + '/Movies/time/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function tv() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n const url = EXT_SEARCH_DOMAIN + input + '/TV/size/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function games() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n const url = EXT_SEARCH_DOMAIN + input + '/Games/time/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function ebooks() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n const url = EXT_SEARCH_DOMAIN + input + '/Other/seeders/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n};\n\nlet returnedSuggestions = [];\nwindow.googleSuggestions = (data) => {\n returnedSuggestions = [];\n const inputQuery = getSearchTerm().value;\n returnedSuggestions = data[1];\n if (inputQuery) {\n showAutofillBox(inputQuery, returnedSuggestions);\n expandAutofill(inputQuery);\n // console.log(returnedSuggestions);\n }\n};\n\nexport function processSearchboxInput(event) {\n const oldInput = sessionStorage.getItem('input');\n const input = event.target.value;\n sessionStorage.setItem('input', input);\n switchToCLI(input);\n switchToURL(input);\n if (!input) {\n clearSuggestions();\n setTimeout(() => {\n collapseAutofill();\n }, 1);\n return;\n }\n expandAutofill(input);\n if (input != oldInput) googleAutocomplete(input);\n};\n\nconst googleAutocomplete = (input) => {\n if (myScript !== '') {\n document.body.removeChild(myScript);\n }\n const provider = 'https://suggestqueries.google.com/complete/search?client=firefox&callback=googleSuggestions&q=';\n myScript = document.createElement('script');\n myScript.src = `${provider}${input}`;\n document.body.appendChild(myScript);\n};\n\nconst switchToCLI = (input) => {\n const btnIcon = document.getElementById('search-btn-icon');\n const currentIcon = localStorage.getItem('default-search-icon');\n if (cliCheck(input)) {\n btnIcon.className = 'fa fa-terminal';\n } else {\n btnIcon.className = currentIcon;\n };\n};\n\nconst switchToURL = (input) => {\n const btnIcon = document.getElementById('search-btn-icon');\n const currentIcon = localStorage.getItem('default-search-icon');\n if (isUrlValid(input)) {\n btnIcon.className = 'fa fa-globe';\n } else {\n btnIcon.className = currentIcon;\n };\n};\n\nexport const collapseAutofill = () => {\n searchBG.style.opacity = '0';\n container.style.paddingBlock = '0em';\n container.style.height = '0px';\n setTimeout(() => {\n searchBG.style.display = 'none';\n }, 200);\n};\n\nconst expandAutofill = (input) => {\n const items = document.querySelectorAll('.autofillItem');\n if (input.length) {\n searchBG.style.display = 'block';\n setTimeout(() => {\n if (items.length) {\n const d = items[0].getBoundingClientRect();\n const calc = (d.height * items.length) + (d.height * 1.5);\n container.style.height = `${calc}px`;\n container.style.paddingBlockStart = '0em';\n }\n searchBG.style.opacity = '1';\n }, 1);\n }\n};\n\nconst clearSuggestions = () => {\n const items = document.querySelectorAll('.autofillItem');\n items.forEach((e) => {\n e.remove();\n });\n};\n\nconst showAutofillBox = (input, cloudInput) => {\n input = input.toLowerCase();\n const db = JSON.parse(localStorage.getItem('autocompleteDatabase'));\n if (!db) localStorage.setItem('autocompleteDatabase', SAMPLE_AUTOFILL);\n\n const filteredArray = db.filter((e) => {\n if (e == input) return;\n else return e.toLowerCase().startsWith(input);\n });\n\n function autofill(event) {\n getSearchTerm().value = event.target.innerHTML;\n const e = new InputEvent('input');\n getSearchTerm().dispatchEvent(e);\n getSearchTerm().focus();\n };\n\n const generateSuggestions = (filteredArray) => {\n clearSuggestions();\n if (!input) return;\n const theme = sessionStorage.getItem('searchbar-color-theme-drop');\n const order = sessionStorage.getItem('searchbar-position-drop');\n if (order == 'bottom') container.style.flexDirection = 'column-reverse';\n else container.style.flexDirection = 'column';\n let i = 0;\n for (const e of filteredArray) {\n if (i == 6) break;\n container.insertAdjacentHTML('beforeend', `\n\t\t\t\t${e}\n `);\n i++;\n }\n for (const e of cloudInput) {\n if (i == 10) break;\n container.insertAdjacentHTML('beforeend', `\n \t\t${e}\n `);\n i++;\n }\n };\n\n generateSuggestions(filteredArray);\n const items = document.querySelectorAll('.autofillItem');\n items.forEach((e) => {\n e.addEventListener('click', autofill);\n // e.addEventListener('focus', autofill);\n e.addEventListener('keydown', clickToEnter);\n });\n};\n\nexport function enterToSearch(event) {\n if (event.key == 'Enter') {\n document.querySelector('#search-btn').click();\n }\n};\n\nconst updateAutocompleteDatabase = (entry) => {\n const db = JSON.parse(localStorage.getItem('autocompleteDatabase'));\n const set = new Set(db);\n set.add(entry.toLowerCase());\n const update = Array.from(set);\n localStorage.setItem('autocompleteDatabase', JSON.stringify(update));\n};\n","import { BOOKMARKS_SAMPLE_URL } from './constants.js';\nimport { importBookmarks } from './preferences.js';\nimport { headingStyles } from './styles.js';\n\n\nexport function getSearchTerm() {\n\treturn document.getElementsByClassName('searchTerm')[0];\n}\n\nexport function addEventListenerOnID(id, event, func) {\n\tif (event == null) return;\n\treturn document.getElementById(id).\n\t\taddEventListener(event, func, { passive: true });\n}\n\nexport function addEventListenerOnClass(className, event, func) {\n\tconst classList = document.getElementsByClassName(className);\n\tfor (let i = 0; i < classList.length; i++) {\n\t\tclassList[i].addEventListener(event, func);\n\t};\n}\n\nexport function addEventListenerOnTag(tagName, event, func) {\n\tconst tagList = document.getElementsByTagName(tagName);\n\tfor (let i = 0; i < tagList.length; i++) {\n\t\ttagList[i].addEventListener(event, func);\n\t};\n}\n\nexport function clickToEnter(event) {\n\tif (event.key === 'Enter' || event.key === ' ') event.target.click();\n};\n\nexport function fetchBookmarks() {\n\tfetch(BOOKMARKS_SAMPLE_URL)\n\t\t.then((res) => importBookmarks(null, res.text()));\n}\n\nexport function fixBackgroundBlurOnResize(id) {\n\tdocument.getElementById(id).style.backdropFilter = `blur(0.9em)`;\n\tsetTimeout(() => {\n\t\tdocument.getElementById(id).style.backdropFilter = `blur(1em)`;\n\t}, 1);\n};\n\nexport function scrollHighlightedWallpaperIntoView() {\n\tconst wallpaper = document.getElementsByClassName('highlighted')[0];\n\tsetTimeout(() => {\n\t\tif (wallpaper) wallpaper.scrollIntoView({ inline: 'center' });\n\t}, 10);\n};\n\nexport async function stylizeText(id, int = 0) {\n\tdocument.getElementById(id).className = headingStyles[int];\n};\n\nlet i = 0;\nexport function changeHeadingStyles(event = null, int) {\n\tif (event) event.stopPropagation();\n\n\ti += int;\n\tif (i < 0) {\n\t\ti = headingStyles.length - 1;\n\t};\n\tif (i >= headingStyles.length) i = 0;\n\tstylizeText('main-heading', i);\n};\n\nexport function toggleArrows(str) {\n\tconst arrows = document.getElementsByClassName('arrows');\n\tswitch (str) {\n\t\tcase 'show': {\n\t\t\tfor (let i = 0; i < arrows.length; i++) {\n\t\t\t\tarrows[i].style.height = '2em';\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tcase 'hide': {\n\t\t\tfor (let i = 0; i < arrows.length; i++) {\n\t\t\t\tarrows[i].style.height = '0em';\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t}\n};\n\nexport function changeSlide(element, int) {\n\tconst w = document.getElementById('main-heading-slider');\n\tconst width = w.scrollWidth;\n\tconst el = document.getElementsByClassName(element);\n\tconst currentPos = w.scrollLeft;\n\tlet newPos;\n\tconst step = w.scrollWidth / el.length;\n\t// console.log(width, w.clientWidth)\n\tif (int == 1) {\n\t\tnewPos = currentPos + step;\n\t\tif (newPos > width) {\n\t\t\tnewPos = width;\n\t\t};\n\t\tconsole.log(newPos);\n\t\tw.scrollLeft = newPos;\n\t} else if (int == -1) {\n\t\tnewPos = currentPos - step;\n\t\tif (newPos < 0) {\n\t\t\tnewPos = 0;\n\t\t};\n\t\tconsole.log(newPos);\n\t\tw.scrollLeft = newPos;\n\t}\n};\n","export const EXT_SEARCH_DOMAIN = 'https://x1337x.ws/sort-category-search/';\nexport const GOOGLE_SEARCH_DOMAIN = 'https://www.google.com/search?q=';\nexport const BING_SEARCH_DOMAIN = 'https://www.bing.com/search?q=';\nexport const DUCKDUCKGO_SEARCH_DOMAIN = 'https://duckduckgo.com/?q=';\n// export const SEARCH_BUTTON_DOM =\n// document.getElementsByClassName('searchButton').item(0).childNodes[1];\nexport const BOOKMARKS_SAMPLE_URL = './samples/bookmarks.json';\n// 'https://raw.githubusercontent.com/lscambo13/casamia/main/custom_bookmarks_sample/home-page-bookmarks-2023-1-23.json';\n// eslint-disable-next-line max-len\nexport const SAMPLE_AUTOFILL = '[\"--help\",\"--dl\",\"--clock\",\"--countdown\"]';\nexport const WALLPAPERS_URL = './wallpapers/';\nexport const DOWNLOAD_WALLPAPERS_URL = './wallpapers/backups/';\nexport const DEF_WALLPAPER = '085.webp';\nexport const DEF_CUSTOM_TEXT = 'Custom Text';\nexport const DEF_PREF =\n{\n\t'bg-img-drop': 'shown',\n\t'bg-blur-drop': 'off',\n\t// 'bg-glow-drop': 'auto',\n\t// 'weather-display-drop': 'off',\n\t'footer-display-drop': 'on',\n\t'def-widget-drop': 'casamia',\n\t// 'widget-style-drop': 'minimal',\n\t'greeting-display-drop': 'on',\n\t'def-widget-display-drop': 'on',\n\t// 'show-seconds-drop': 'off',\n\t// 'clock-style-drop': '12hrs',\n\t// 'am-pm-style-drop': 'uppercase',\n\t'def-search-engine-drop': 'google',\n\t'searchbar-position-drop': 'middle',\n\t'searchbar-color-theme-drop': 'glass',\n\t'focus-search-drop': 'off',\n\t'search-display-drop': 'on',\n\t// 'show-titles-drop': 'off',\n\t'movies-search-display-drop': 'shown',\n\t'tv-search-display-drop': 'shown',\n\t'games-search-display-drop': 'shown',\n\t'ebooks-search-display-drop': 'shown',\n\t'add-bookmark-display-drop': 'shown',\n};\n\n// 'https://github.com/lscambo13/casamia/raw/main/wallpapers/'\n// 'https://raw.githubusercontent.com/lscambo13/casamia/main/wallpapers/'\n// const X1337X_DOMAIN = 'https://x1337x.ws/home/';\n","exports.interopDefault = function (a) {\n return a && a.__esModule ? a : {default: a};\n};\n\nexports.defineInteropFlag = function (a) {\n Object.defineProperty(a, '__esModule', {value: true});\n};\n\nexports.exportAll = function (source, dest) {\n Object.keys(source).forEach(function (key) {\n if (\n key === 'default' ||\n key === '__esModule' ||\n Object.prototype.hasOwnProperty.call(dest, key)\n ) {\n return;\n }\n\n Object.defineProperty(dest, key, {\n enumerable: true,\n get: function () {\n return source[key];\n },\n });\n });\n\n return dest;\n};\n\nexports.export = function (dest, destName, get) {\n Object.defineProperty(dest, destName, {\n enumerable: true,\n get: get,\n });\n};\n","import { DOWNLOAD_WALLPAPERS_URL } from './constants.js';\nimport {\n\tcustomBookmarks,\n\tdownloadBookmarks,\n\tsaveBookmarks,\n} from './custom_bookmarks.js';\nimport { updateAmPmStyle } from './load_preferences.js';\nimport {\n\tresetAllWarningText,\n\tresetBookmarksWarningText,\n} from './strings.js';\nimport { addZero } from './utils/addZero.js';\nimport { genericAlert } from './utils/alertDialog.js';\nimport { changeExtension } from './utils/changeExtension.js';\nimport { wait } from './utils/wait.js';\nimport { selectedWallpaper } from './wallpapers.js';\n\nexport function exportBookmarks(event) {\n\tevent.stopPropagation();\n\tconst bookmarksString = localStorage.saved_bookmarks;\n\tconst d = new Date();\n\tdownloadBookmarks(\n\t\t`casamia-bookmarks-only-${d.getFullYear()}-${d.getMonth() + 1\n\t\t}-${d.getDate()}.json`,\n\t\tbookmarksString,\n\t);\n};\n\nexport function exportBackup(event) {\n\tevent.stopPropagation();\n\tconst data = { ...localStorage };\n\tconst backupString = JSON.stringify(data);\n\tconst d = new Date();\n\tdownloadBookmarks(\n\t\t`casamia-full-backup-${d.getFullYear()}-${d.getMonth() + 1\n\t\t}-${d.getDate()}.json`,\n\t\tbackupString,\n\t);\n};\n\nexport function downloadWallpaper() {\n\t// console.log(DOWNLOAD_WALLPAPERS_URL + selectedWallpaper);\n\tconst element = document.createElement('a');\n\tconst hiResWall = changeExtension(selectedWallpaper, 'png');\n\telement\n\t\t.setAttribute('href', DOWNLOAD_WALLPAPERS_URL + hiResWall);\n\telement.setAttribute('download', hiResWall);\n\telement.style.display = 'none';\n\tdocument.body.appendChild(element);\n\telement.click();\n\tdocument.body.removeChild(element);\n\t/* alert(\n\t\"If the download doesn't start, disable the pop-up blocker extensions.\"\n ); */\n};\n\nexport function toggleFavicons(event) {\n\t// http://www.google.com/s2/favicons?domain=google.com\n\tconst customBookmarks = document.getElementsByClassName('custom_bookmark');\n\tconst spans = document.getElementsByClassName('custom_link_name');\n\n\tfor (let i = 0; i < customBookmarks.length; i++) {\n\t\tspans[i].style.display = 'none';\n\n\t\tconst newFavicon = document.createElement('img');\n\t\tnewFavicon.className = 'ext_favicon';\n\t\tconst domain = customBookmarks[i].href;\n\t\tnewFavicon.src =\n\t\t\t'http://www.google.com/s2/favicons?sz=32&domain=' + domain;\n\t\tcustomBookmarks[i].appendChild(newFavicon);\n\t}\n};\n\nlet clockLoop = null;\nexport function displayClock(value) {\n\tconst target = 'widget-slide';\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tclearInterval(clockLoop);\n\t\t\tclockLoop = null;\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tif (clockLoop) clearInterval(clockLoop);\n\t\t\tclockLoop = setInterval(() => refreshClock(target), 1000);\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction refreshClock(targetClass) {\n\tconst target = document.getElementsByClassName(targetClass);\n\tconst date = new Date();\n\tlet hours = date.getHours();\n\tlet amPm = (int) => {\n\t\tif (int == 0) {\n\t\t\thours.toString();\n\t\t\thours = '12';\n\t\t\treturn 'AM';\n\t\t} else if (int > 0 && int < 12) {\n\t\t\thours = addZero(hours.toString());\n\t\t\treturn 'AM';\n\t\t} else if (int == 12) {\n\t\t\thours = '12';\n\t\t\treturn 'PM';\n\t\t} else if (int > 12) {\n\t\t\thours = hours - 12;\n\t\t\thours.toString();\n\t\t\thours = addZero(hours);\n\t\t\treturn 'PM';\n\t\t}\n\t};\n\n\tconst minutes = addZero(date.getMinutes().toString());\n\tconst seconds = addZero(date.getSeconds().toString());\n\tamPm = amPm(hours);\n\tlet separator = ':';\n\n\tfor (let i = 0; i < target.length; i++) {\n\t\tif (seconds % 2 === 0) {\n\t\t\tseparator = `:`;\n\t\t} else {\n\t\t\tseparator = `:`;\n\t\t}\n\t\ttarget[i].innerHTML =\n\t\t\t`${hours}${separator}${minutes} ${updateAmPmStyle(amPm.toString())}`;\n\t}\n\n\t// subtitle.style.display = 'block';\n\t// console.log(`${hours}:${minutes}:${seconds} ${amPm}`);\n}\n\nexport function refreshGreeting() {\n\tconst subtitle = document.getElementById('subtitle');\n\tconst user = localStorage.getItem('userName');\n\tconst date = new Date();\n\tconst hours = date.getHours();\n\tlet greeting = (int) => {\n\t\tif (int < 12) {\n\t\t\treturn `Good Morning, ${user}`;\n\t\t} else if (int >= 12 && int <= 18) {\n\t\t\treturn `Good Afternoon, ${user}`;\n\t\t} else if (int >= 18) {\n\t\t\treturn `Good Evening, ${user}`;\n\t\t}\n\t};\n\tgreeting = greeting(hours);\n\tsubtitle.innerText = greeting;\n}\n// let greetingLoop = null;\n// export function toggleGreeting() {\n// switch (value) {\n// case 'off': {\n// subtitle.classList.toggle('collapsed');\n// clearInterval(greetingLoop);\n// break;\n// };\n// case 'on': {\n// subtitle.classList.toggle('collapsed');\n// greetingLoop = setInterval(refreshGreeting, 1000);\n// break;\n// };\n// }\n// }\n\nexport function toggleGlow() {\n\tconst gradientOverlay = document.getElementById('gradient_overlay');\n\tlet glow = localStorage.getItem('glow');\n\tif (glow == null || glow == '0') {\n\t\tglow = '1';\n\t\tgradientOverlay.style.opacity = 1;\n\t\tlocalStorage.setItem('glow', '1');\n\t} else if (glow == '1') {\n\t\tglow = '0';\n\t\tgradientOverlay.style.opacity = 0;\n\t\tlocalStorage.setItem('glow', '0');\n\t}\n};\n\nexport function importBookmarks(event, text = '') {\n\tlet file;\n\tif (event) {\n\t\tevent.stopPropagation();\n\t\tfile = event.target.files[0].text();\n\t} else file = text;\n\n\tfunction result(file) {\n\t\tconst importedBookmarks = JSON.parse(file);\n\t\tif (!importedBookmarks[0]?.id) {\n\t\t\tconsole.log(importedBookmarks);\n\t\t\tgenericAlert('Failed', 'The backup does not seem to be valid.');\n\t\t\tevent.target.value = null;\n\t\t\treturn;\n\t\t}\n\t\tconst ids = [];\n\t\tfor (const bookmark of customBookmarks) {\n\t\t\tids.push(bookmark.id);\n\t\t}\n\t\tfor (const i of importedBookmarks) {\n\t\t\tif (ids.includes(i.id)) {\n\t\t\t\twait(1);\n\t\t\t\ti.id = Date.now();\n\t\t\t}\n\t\t\tids.push(i.id);\n\t\t\tsaveBookmarks(i.link, i.name, i.id);\n\t\t}\n\t\twindow.location.reload();\n\t}\n\n\tfile.then(result);\n};\n\nexport function importBackup(event, text = '') {\n\tlet file;\n\tif (event) {\n\t\tevent.stopPropagation();\n\t\tfile = event.target.files[0].text();\n\t} else file = text;\n\n\tfunction result(file) {\n\t\tconst importedBackup = JSON.parse(file);\n\t\tif (importedBackup.onBoarding) {\n\t\t\tconst keys = Object.keys(importedBackup);\n\t\t\tkeys.forEach((e, i) => {\n\t\t\t\tlocalStorage.setItem(e, importedBackup[keys[i]]);\n\t\t\t});\n\t\t\twindow.location.reload();\n\t\t} else {\n\t\t\tconsole.log(importedBackup);\n\t\t\tgenericAlert('Failed', 'The backup does not seem to be valid.');\n\t\t\tevent.target.value = null;\n\t\t};\n\t}\n\n\tfile.then(result);\n};\n\nexport function resetBookmarks(event) {\n\tif (\n\t\tconfirm(resetBookmarksWarningText)\n\t) {\n\t\tlocalStorage.removeItem('saved_bookmarks');\n\t\twindow.location.reload();\n\t}\n};\n\nexport function resetAll(event) {\n\tif (\n\t\tconfirm(resetAllWarningText)\n\t) {\n\t\tlocalStorage.clear();\n\t\twindow.location.reload();\n\t}\n};\n\nexport function showNestedOptions(id) {\n\tconst element = document.getElementById(id);\n\telement.classList.toggle('nested-close');\n}\n\n// export function toggleDim(event) {\n// event.stopPropagation();\n// const checkboxWall = document.getElementById('dim-setting');\n// const overlay = document.getElementById('overlay');\n// if (checkboxWall.checked == false) {\n// overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n// localStorage.setItem('dim_wallpaper', 'rgba(0, 0, 0, 0.375)');\n// } else {\n// overlay.style.backgroundColor = 'rgb(0, 0, 0, 0.25)';\n// localStorage.setItem('dim_wallpaper', 'rgb(0, 0, 0, 0.25)');\n// }\n// };\n\n// export function toggleBlur() {\n// // event.stopPropagation();\n// const checkboxBlur = document.getElementById('toggle-blur-cb');\n// // const overlay = document.getElementById('overlay');\n// if (checkboxBlur.checked == true) {\n// toggleBackdropBlur('overlay', 1);\n// localStorage.setItem('blur_wallpaper', 'blur(1em)');\n// } else {\n// toggleBackdropBlur('overlay', 0);\n// localStorage.setItem('blur_wallpaper', 'blur(0em)');\n// }\n// };\n\n// export function toggleWallpaper(event) {\n// event.stopPropagation();\n// const checkboxWall = document.getElementById('toggle-wallpaper-cb');\n// const overlay = document.getElementById('overlay');\n// if (checkboxWall.checked == false) {\n// overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n// localStorage.setItem('disable_wallpaper', 'rgba(0, 0, 0, 0.375)');\n// } else {\n// overlay.style.backgroundColor = 'rgb(0, 0, 0)';\n// localStorage.setItem('disable_wallpaper', 'rgb(0, 0, 0)');\n// }\n// };\n\n// export function toggleLabs(event) {\n// // event.stopPropagation();\n// console.log('called labs');\n// const checkboxLabs = document.getElementById('toggle-labs-cb');\n// const labsDiv = document.getElementById('labs');\n\n// if (checkboxLabs.checked == true) {\n// labsDiv.style.display = 'block';\n// localStorage.setItem('labs', 'block');\n// } else {\n// labsDiv.style.display = 'none';\n// localStorage.setItem('labs', 'none');\n// }\n// };\n\n","import { InputDialog } from './utils/inputDialog.js';\nimport { enableSubmitButton } from './utils/enableSubmitButton.js';\nimport { crossDisplay } from './utils/toggleDisplay.js';\n\nexport let customBookmarks =\n JSON.parse(localStorage.getItem('saved_bookmarks'));\n\nexport function loadBookmarks() {\n if (customBookmarks == null) {\n customBookmarks = [];\n return;\n }\n for (const n of customBookmarks) {\n addBookmarkToHTML(n.link, n.name, n.id);\n }\n}\n\nexport function addBookmarkToHTML(link, name, id) {\n const bookmarkContainer = document.getElementsByClassName(\n 'flex-sub-container-horizontal',\n )[0];\n bookmarkContainer.appendChild(createBookmark(link, name, id));\n const justAdded = document.getElementsByClassName('cross');\n justAdded[justAdded.length - 1].addEventListener('click', editBookmark);\n}\n\nfunction createBookmark(link, name, id) {\n const i = document.createElement('span');\n i.textContent = name;\n i.className = 'custom_link_name';\n\n const d = document.createElement('div');\n d.className = 'cross';\n d.title = 'Modify bookmark details';\n d.setAttribute('tabindex', '5');\n\n const newBookmark = document.createElement('a');\n newBookmark.className = 'custom_bookmark clickable';\n newBookmark.setAttribute('href', link);\n newBookmark.setAttribute('id', id);\n newBookmark.setAttribute('tabindex', '1');\n newBookmark.appendChild(i);\n newBookmark.appendChild(d);\n return newBookmark;\n}\n\nexport function saveBookmarks(link, name, id) {\n customBookmarks.push({\n link: link,\n name: name,\n id: id,\n });\n localStorage.setItem('saved_bookmarks', JSON.stringify(customBookmarks));\n}\n\nexport function removeBookmarkFromLocalStorage(id) {\n customBookmarks = customBookmarks.filter((elem) => {\n return id != elem.id;\n });\n localStorage.setItem('saved_bookmarks', JSON.stringify(customBookmarks));\n}\n\nexport function editBookmarkInLocalStorage(id, newName, newLink) {\n const edit = customBookmarks.filter((elem) => {\n return id == elem.id;\n });\n edit[0].name = newName;\n edit[0].link = newLink;\n localStorage.setItem('saved_bookmarks', JSON.stringify(customBookmarks));\n}\n\nexport function getBookmarkDetailsFromLocalStorage(id) {\n const edit = customBookmarks.filter((elem) => {\n return id == elem.id;\n });\n return [edit[0].id, edit[0].name, edit[0].link];\n}\n\nexport function toggleRemoveButtons(visible) {\n switch (visible) {\n case 'show': {\n crossDisplay(`block`);\n break;\n }\n case 'hide': {\n crossDisplay(`none`);\n break;\n }\n }\n}\n\nexport function downloadBookmarks(filename, text) {\n const element = document.createElement('a');\n element.setAttribute(\n 'href',\n 'data:text/plain;charset=utf-8,' + encodeURIComponent(text),\n );\n element.setAttribute('download', filename);\n element.style.display = 'none';\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n}\n\nexport function editBookmark(event) {\n event.preventDefault();\n event.stopPropagation();\n const targetElement = event.target.parentNode;\n\n const onChange = () => {\n const checkbox = InputDialog.getCheckboxField();\n const modalSubmitButton = InputDialog.getSubmitButton();\n const inputFields = InputDialog.getInputFields();\n\n if (checkbox.checked) {\n modalSubmitButton.textContent = 'Delete';\n modalSubmitButton.classList.add('deleteButton');\n for (const i of inputFields) {\n i.disabled = true;\n }\n modalSubmitButton.disabled = false;\n } else if (!checkbox.checked) {\n modalSubmitButton.textContent = 'Save';\n modalSubmitButton.classList.remove('deleteButton');\n for (const i of inputFields) {\n i.disabled = false;\n }\n };\n };\n\n const details = getBookmarkDetailsFromLocalStorage(targetElement.id);\n\n InputDialog.show('Edit bookmark',\n null,\n ['Name', 'Address'],\n 'Save',\n 'Cancel',\n 'Delete this bookmark',\n [() => enableSubmitButton(event, true), onChange],\n () => {\n InputDialog.getInputFields()[0].setAttribute('maxlength', '4');\n InputDialog.getInputFields()[0].value = details[1];\n InputDialog.getInputFields()[1].value = details[2];\n },\n ).then((res) => {\n if (res.checkboxChecked) {\n removeBookmarkFromLocalStorage(targetElement.id);\n targetElement.style.display = 'none';\n return;\n }\n\n targetElement.href = res.inputValues[1].replaceAll(' ', '');\n targetElement.firstChild.innerHTML = res.inputValues[0];\n\n editBookmarkInLocalStorage(\n targetElement.id,\n res.inputValues[0],\n res.inputValues[1].replaceAll(' ', ''),\n );\n }).catch((e) => console.log(e));\n\n return;\n}\n\n","let modalContainer;\r\nlet modalSubmitButton;\r\nlet modalCancelButton;\r\nlet tickBoxField;\r\nlet inputFields;\r\n\r\nconst showInputDialog = (\r\n\ttitle = null,\r\n\tdescription = null,\r\n\tinputBoxes = ['Input A', 'Input B'],\r\n\tsubmitButtonName = 'Submit',\r\n\tcancelButtonName = 'Cancel',\r\n\ttickBox = null,\r\n\tlisteners = [onInput = null, onChange = null],\r\n\tonInit = null,\r\n) => {\r\n\tmodalContainer = document.getElementById('inputDialogContainer');\r\n\tif (modalContainer) modalContainer.remove();\r\n\r\n\tdocument.activeElement.blur();\r\n\r\n\tif (title) {\r\n\t\ttitle = `

${title}

`;\r\n\t} else (title = '');\r\n\tif (description) {\r\n\t\tdescription = `\r\n\t\t

${description}

\r\n\t`;\r\n\t} else (description = '');\r\n\r\n\tdocument.body\r\n\t\t.insertAdjacentHTML('afterbegin', `\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t${title}\r\n\t\t\t\t${description}\r\n\t\t\t\t
\r\n\t\t\t\t\t${submitButtonName}\r\n\t\t\t\t\t${cancelButtonName}\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t
\r\n\t`);\r\n\tinputBoxes.forEach((e) => {\r\n\t\tlet id = e.replaceAll(' ', '-').toLowerCase();\r\n\t\tid = `MODAL-INPUT-${id}`;\r\n\t\tdocument.getElementById('inputDialogButtonsBar')\r\n\t\t\t.insertAdjacentHTML('beforebegin', `\r\n\t\t\t\t\t${e}\r\n\t\t\t\t\t\r\n\t\t`);\r\n\t});\r\n\tif (tickBox) {\r\n\t\tdocument.getElementById('inputDialogButtonsBar')\r\n\t\t\t.insertAdjacentHTML('beforebegin', `\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t${tickBox}\r\n\t\t\t\t\t \r\n\t\t`);\r\n\t\ttickBoxField = document.getElementById('tickBoxField');\r\n\t};\r\n\r\n\tmodalContainer = document.getElementById('inputDialogContainer');\r\n\tmodalSubmitButton = document.getElementById('inputDialogSubmitButton');\r\n\tmodalCancelButton = document.getElementById('inputDialogCancelButton');\r\n\tinputFields = document.getElementsByClassName('modalInputField');\r\n\tdocument.body.style.overflow = 'hidden';\r\n\r\n\tinputFields[0].focus();\r\n\tif (!cancelButtonName) modalCancelButton.style.display = 'none';\r\n\r\n\tconst promise = new Promise((resolve, reject) => {\r\n\t\t// modalContainer.style.paddingBlockStart = '4em';\r\n\t\tmodalContainer.style.opacity = '1';\r\n\r\n\t\tconst rejectModal = () => {\r\n\t\t\tmodalCancelButton.removeEventListener('click', rejectModal);\r\n\t\t\tmodalContainer.remove();\r\n\t\t\tdocument.body.style.overflow = 'auto';\r\n\t\t\treject(Error(null));\r\n\t\t};\r\n\r\n\t\tconst resolveModal = () => {\r\n\t\t\tmodalSubmitButton.removeEventListener('click', resolveModal);\r\n\t\t\tif (tickBox) {\r\n\t\t\t\ttickBoxField.removeEventListener('change', listeners[1]);\r\n\t\t\t\ttickBoxField = tickBoxField.checked;\r\n\t\t\t}\r\n\t\t\tconst inputValues = [];\r\n\t\t\tfor (const e of inputFields) {\r\n\t\t\t\tinputValues.push(e.value);\r\n\t\t\t\tif (listeners) e.removeEventListener('input', listeners);\r\n\t\t\t}\r\n\t\t\tconst result = {\r\n\t\t\t\t'inputValues': inputValues, 'checkboxChecked': tickBoxField,\r\n\t\t\t};\r\n\t\t\tmodalContainer.remove();\r\n\t\t\tdocument.body.style.overflow = 'auto';\r\n\r\n\t\t\tconsole.log(result);\r\n\t\t\tresolve(result);\r\n\t\t};\r\n\r\n\t\tmodalCancelButton.addEventListener('click', rejectModal);\r\n\t\tmodalSubmitButton.addEventListener('click', resolveModal);\r\n\t\tif (listeners[0]) {\r\n\t\t\tfor (const e of inputFields) e.addEventListener('input', listeners[0]);\r\n\t\t}\r\n\t\tif (listeners[1] && tickBox) {\r\n\t\t\ttickBoxField.addEventListener('change', listeners[1]);\r\n\t\t}\r\n\t});\r\n\r\n\tif (onInit) onInit();\r\n\treturn promise;\r\n};\r\n\r\nexport const InputDialog = {\r\n\tshow: showInputDialog,\r\n\tgetSubmitButton: () => {\r\n\t\treturn modalSubmitButton;\r\n\t},\r\n\tgetCancelButton: () => {\r\n\t\treturn modalCancelButton;\r\n\t},\r\n\tgetInputFields: () => {\r\n\t\treturn inputFields;\r\n\t},\r\n\tgetCheckboxField: (n) => {\r\n\t\treturn tickBoxField;\r\n\t},\r\n};\r\n","import { isUrlValid } from '../validators.js';\nimport { InputDialog } from './inputDialog.js';\n\nexport const enableSubmitButton = (event, alt = false) => {\n\tconst modalSubmitButton = InputDialog.getSubmitButton();\n\tconst inputFields = InputDialog.getInputFields();\n\tfor (const e of inputFields) {\n\t\tif (e.value.length) modalSubmitButton.disabled = false;\n\t\telse {\n\t\t\tmodalSubmitButton.disabled = true;\n\t\t\treturn;\n\t\t}\n\t}\n\tif (!alt) return;\n\telse {\n\t\tif (isUrlValid(inputFields[1].value)) {\n\t\t\tmodalSubmitButton.disabled = false;\n\t\t} else modalSubmitButton.disabled = true;\n\t}\n};\n","export function isUrlValid(userInput) {\n try {\n new URL(userInput);\n return true;\n } catch (err) {\n return false;\n }\n}\n\nexport function isClockStyleCapital() {\n const clockClass = document.getElementById('main-heading-slider');\n if (clockClass.classList.contains('default-text-style')) return true;\n else return false;\n}\n","export function crossDisplay(str) {\n\tdocument.documentElement.style\n\t\t.setProperty('--cross-display', str);\n};\n","import {\n\tBING_SEARCH_DOMAIN,\n\tDEF_CUSTOM_TEXT,\n\tDUCKDUCKGO_SEARCH_DOMAIN,\n\tGOOGLE_SEARCH_DOMAIN,\n} from './constants.js';\nimport { displayClock, refreshGreeting } from './preferences.js';\nimport { fixBackgroundBlurOnResize } from './utils.js';\nimport { InputDialog } from './utils/inputDialog.js';\nimport { enableSubmitButton } from './utils/enableSubmitButton.js';\nimport { intersectionObserver } from './utils/intersectionObserver.js';\n\nconst PREF_MAP = {\n\t'bg-img-drop': backgroundImage,\n\t'bg-blur-drop': backgroundBlur,\n\t// 'bg-glow-drop': backgroundGlow,\n\t// 'weather-display-drop': displayWeather,\n\t'footer-display-drop': displayFooter,\n\t'def-widget-drop': defaultWidget,\n\t// 'widget-style-drop': widgetStyle,\n\t'greeting-display-drop': displayGreeting,\n\t'def-widget-display-drop': displayWidget,\n\t// 'show-seconds-drop': showSeconds,\n\t// 'clock-style-drop': clockStyle,\n\t// 'am-pm-style-drop': amPmStyle,\n\t'def-search-engine-drop': defaultSearchEngine,\n\t'searchbar-position-drop': defaultSearchbarPosition,\n\t'searchbar-color-theme-drop': searchbarTheme,\n\t'focus-search-drop': focusSearchBar,\n\t'search-display-drop': displaySearch,\n\t// 'show-titles-drop': showTitles,\n\t'movies-search-display-drop': moviesSearch,\n\t'tv-search-display-drop': tvSearch,\n\t'games-search-display-drop': gamesSearch,\n\t'ebooks-search-display-drop': ebooksSearch,\n\t'add-bookmark-display-drop': displayAddBookmark,\n};\n\nfunction backgroundImage(value) {\n\tconst overlay = document.getElementById('overlay');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\toverlay.style.backgroundColor = 'rgba(0, 0, 0, 1)';\n\t\t\t// console.log(value);\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\toverlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n\t\t\t// console.log(value);\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction backgroundBlur(value) {\n\tconst overlay = document.getElementById('overlay');\n\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\toverlay.style.backdropFilter = 'blur(0em)';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\toverlay.style.backdropFilter = 'blur(1em)';\n\t\t\tfixBackgroundBlurOnResize('overlay');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n// function backgroundGlow() { };\n\n// function displayWeather() { };\n\nfunction displayFooter(value) {\n\tconst footer = document.getElementById('footer');\n\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tfooter.classList.add('hidden');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tfooter.classList.remove('hidden');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nexport function focusSearchBar(value) {\n\tsessionStorage.setItem('focus', value);\n\n\t// const searchbar = document.getElementById('searchTerm');\n\t// switch (value) {\n\t// \tcase 'off': {\n\t// \t\t// searchbar.focus();\n\t// \t\t// sessionStorage.setItem('focus', 'off');\n\t// \t\tbreak;\n\t// \t};\n\t// \tcase 'on': {\n\t// \t\t// searchbar.focus();\n\t// \t\t// searchbar.click();\n\t// \t\tbreak;\n\t// \t};\n};\n\nfunction displayWidget(value) {\n\tconst widget = document.getElementById('main-heading-slider');\n\tconst lArrow = document.getElementById('left-arrow');\n\tconst rArrow = document.getElementById('right-arrow');\n\n\tfunction toggleDefaultWidgetButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tdocument.getElementById('main-widget-children-container')\n\t\t\t\t\t.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tdocument.getElementById('main-widget-children-container')\n\t\t\t\t\t.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\twidget.classList.add('hidden');\n\t\t\tlArrow.classList.add('hidden');\n\t\t\trArrow.classList.add('hidden');\n\t\t\ttoggleDefaultWidgetButton('hide');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\twidget.classList.remove('hidden');\n\t\t\tlArrow.classList.remove('hidden');\n\t\t\trArrow.classList.remove('hidden');\n\t\t\ttoggleDefaultWidgetButton('show');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction displaySearch(value) {\n\tconst search = document.getElementById('searchbar');\n\tconst searchChildren = document\n\t\t.getElementById('search-display-children-container');\n\tconst searchEngineDrop = document\n\t\t.getElementById('def-search-engine-drop-container');\n\n\tfunction toggleSearchEngineButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tsearchChildren.classList.remove('nested-close');\n\t\t\t\tsearchEngineDrop.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tsearchChildren.classList.add('nested-close');\n\t\t\t\tsearchEngineDrop.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tsearch.classList.add('hidden');\n\t\t\ttoggleSearchEngineButton('hide');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tsearch.classList.remove('hidden');\n\t\t\ttoggleSearchEngineButton('show');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nconst widgetSlides = document.getElementsByClassName('widget-slide');\n\nfunction applyText(input) {\n\tfor (const i of widgetSlides) {\n\t\ti.textContent = input;\n\t}\n};\n\nfunction defaultWidget(value) {\n\tfunction loadCustomText() {\n\t\tlet customText = localStorage.getItem('customWidgetText');\n\t\tif (customText == null) {\n\t\t\tlocalStorage.setItem('customWidgetText', DEF_CUSTOM_TEXT);\n\t\t\tcustomText = localStorage.getItem('customWidgetText');\n\t\t\taskCustomText();\n\t\t}\n\t\tapplyText(customText);\n\t\t// return customText;\n\t}\n\n\tfunction toggleCustomTextButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tdocument.getElementById('update-customtext-btn')\n\t\t\t\t\t.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tdocument.getElementById('update-customtext-btn')\n\t\t\t\t\t.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\n\tswitch (value) {\n\t\tcase 'casamia': {\n\t\t\ttoggleCustomTextButton('hide');\n\t\t\tdisplayClock('off');\n\t\t\tapplyText('Casa Mia');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'search': {\n\t\t\ttoggleCustomTextButton('hide');\n\t\t\tdisplayClock('off');\n\t\t\tapplyText('Search');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'clock': {\n\t\t\ttoggleCustomTextButton('hide');\n\t\t\tdisplayClock('on');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'custom': {\n\t\t\tdisplayClock('off');\n\t\t\ttoggleCustomTextButton('show');\n\t\t\tloadCustomText();\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nexport function askCustomText() {\n\tconst savedText = localStorage.getItem('customWidgetText');\n\tInputDialog.show(\n\t\t'Custom widget text',\n\t\t'Enter text you want to set as the main widget.',\n\t\t['Custom text'],\n\t\t'Save',\n\t\t'Cancel',\n\t\tnull,\n\t\t[enableSubmitButton, null],\n\t\t() => {\n\t\t\tInputDialog.getInputFields()[0].value = savedText;\n\t\t},\n\t).then((res) => {\n\t\tlocalStorage.setItem('customWidgetText', res.inputValues[0]);\n\t\tapplyText(res.inputValues[0]);\n\t\tupdateCustomTextPreview();\n\t}).catch((e) => {\n\t\tconsole.error(e);\n\t});\n}\n\nexport function askCustomDomain() {\n\tconst savedDomain = localStorage.getItem('customDomain');\n\tInputDialog.show(\n\t\t'Custom widget text',\n\t\t'Enter text you want to set as the main widget.',\n\t\t['Custom text'],\n\t\t'Save',\n\t\t'Cancel',\n\t\tnull,\n\t\t[enableSubmitButton, null],\n\t\t() => {\n\t\t\tInputDialog.getInputFields()[0].value = savedDomain;\n\t\t},\n\t).then((res) => {\n\t\tlocalStorage.setItem('customDomain', res.inputValues[0]);\n\t\tapplyDomain(res.inputValues[0]);\n\t\tupdateCustomDomainPreview();\n\t}).catch((e) => {\n\t\tconsole.error(e);\n\t});\n}\n\n// function widgetStyle() { };\n\nlet greetingLoop = null;\nfunction displayGreeting(value) {\n\tconst subtitle = document.getElementById('subtitle');\n\tclearInterval(greetingLoop);\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tsubtitle.classList.add('collapsed');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tsubtitle.classList.remove('collapsed');\n\t\t\trefreshGreeting();\n\t\t\tgreetingLoop = setInterval(refreshGreeting, 20000);\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\n// function showSeconds() { };\n\n// function clockStyle() { };\n\n// function amPmStyle() { };\n\nfunction applyDomain(domain) {\n\tlocalStorage.setItem('default-search-url', domain);\n}\n\nexport function defaultSearchEngine(value) {\n\tfunction loadCustomDomain() {\n\t\tlet customDomain = localStorage.getItem('customDomain');\n\t\tif (customDomain == null) {\n\t\t\tlocalStorage.setItem('customDomain', GOOGLE_SEARCH_DOMAIN);\n\t\t\tcustomDomain = localStorage.getItem('customDomain');\n\t\t\taskCustomDomain();\n\t\t}\n\t\tapplyDomain(customDomain);\n\t\t// return customText;\n\t}\n\n\tfunction applyIcon(value) {\n\t\tdocument.getElementById('search-btn-icon').className = value;\n\t\tlocalStorage.setItem('default-search-icon', value);\n\t}\n\n\tfunction toggleCustomDomainButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tdocument.getElementById('update-customdomain-btn')\n\t\t\t\t\t.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tdocument.getElementById('update-customdomain-btn')\n\t\t\t\t\t.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\n\tswitch (value) {\n\t\tcase 'google': {\n\t\t\ttoggleCustomDomainButton('hide');\n\t\t\tapplyDomain(GOOGLE_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-google');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'bing': {\n\t\t\ttoggleCustomDomainButton('hide');\n\t\t\tapplyDomain(BING_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-search');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'duckduckgo': {\n\t\t\ttoggleCustomDomainButton('hide');\n\t\t\tapplyDomain(DUCKDUCKGO_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-search');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'custom': {\n\t\t\ttoggleCustomDomainButton('show');\n\t\t\tloadCustomDomain();\n\t\t\t// applyDomain(GOOGLE_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-search');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction searchbarTheme(value) {\n\tconst searchContainer = document.getElementById('searchContainer');\n\tsessionStorage.setItem('searchbar-color-theme-drop', value);\n\tswitch (value) {\n\t\tcase 'glass': {\n\t\t\tsearchContainer.classList.add('searchbox-style-glass');\n\t\t\tsearchContainer.classList.remove('searchbox-style-light');\n\t\t\tsearchContainer.classList.remove('searchbox-style-dark');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'light': {\n\t\t\tsearchContainer.classList.remove('searchbox-style-glass');\n\t\t\tsearchContainer.classList.add('searchbox-style-light');\n\t\t\tsearchContainer.classList.remove('searchbox-style-dark');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'dark': {\n\t\t\tsearchContainer.classList.remove('searchbox-style-glass');\n\t\t\tsearchContainer.classList.remove('searchbox-style-light');\n\t\t\tsearchContainer.classList.add('searchbox-style-dark');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction defaultSearchbarPosition(value) {\n\tconst searchbar = document.getElementById('searchbar');\n\tconst autofillContainer = document.getElementById('autofillContainer');\n\tconst wrap = document.getElementById('wrap');\n\tsessionStorage.setItem('searchbar-position-drop', value);\n\n\tswitch (value) {\n\t\tcase 'top': {\n\t\t\tsearchbar.style.order = '0';\n\t\t\tautofillContainer.style.order = '1';\n\t\t\tautofillContainer.style.bottom = '0em';\n\t\t\tautofillContainer.style.top = '3.25em';\n\t\t\twrap.style.margin = '0 auto auto auto';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'bottom': {\n\t\t\tsearchbar.style.order = '1';\n\t\t\tautofillContainer.style.order = '0';\n\t\t\tautofillContainer.style.bottom = '3.75em';\n\t\t\tautofillContainer.style.top = '';\n\t\t\twrap.style.margin = 'auto auto 0 auto';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'middle': {\n\t\t\tsearchbar.style.order = '0';\n\t\t\tautofillContainer.style.order = '1';\n\t\t\tautofillContainer.style.bottom = '0em';\n\t\t\tautofillContainer.style.top = '3.25em';\n\t\t\twrap.style.margin = 'auto auto auto auto';\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nexport function scrollToBottom() {\n\tif (document.getElementById('searchbar').style.order == '1') {\n\t\twindow.scrollTo(0, document.body.scrollHeight);\n\t}\n}\n\n// function showTitles() { };\n\nexport function applyPreferences() {\n\tconst preferencesObj =\n\t\tJSON.parse(localStorage.getItem('advDropdownValues'));\n\n\tconst preferencesArray = Object.entries(preferencesObj);\n\tfor (const i of preferencesArray) {\n\t\tconst func = PREF_MAP[i[0]];\n\t\tif (func) func(i[1]);\n\t}\n\n\t// apply previews\n\tupdateUserNamePreview();\n\tupdateCustomTextPreview();\n\tupdateCustomDomainPreview();\n\n\tconst lastSession = sessionStorage.getItem('input');\n\tif (lastSession) document.getElementById('searchTerm').value = lastSession;\n}\n\nexport function loadDropdownPositions() {\n\tconst loadedFromStorage =\n\t\tObject.entries(JSON.parse(localStorage.getItem('advDropdownValues')));\n\t// if (!loadButtonPreviews) return;\n\tfor (const i of loadedFromStorage) {\n\t\tconst elem = document.getElementById(i[0]);\n\t\tif (elem) {\n\t\t\telem.value = i[1];\n\t\t}\n\t}\n};\n\nexport function updateUserNamePreview() {\n\tdocument.getElementById('update-username-btn-preview').\n\t\ttextContent = localStorage.getItem('userName');\n}\n\nexport function updateCustomTextPreview() {\n\tdocument.getElementById('update-customtext-btn-preview').\n\t\ttextContent = localStorage.getItem('customWidgetText');\n}\n\nexport function updateCustomDomainPreview() {\n\tdocument.getElementById('update-customdomain-btn-preview').\n\t\ttextContent = localStorage.getItem('customDomain');\n}\n\nexport function loadSelectedWidgetStyle() {\n\tdocument.getElementById(localStorage.getItem('selected-widget-style'))\n\t\t.scrollIntoView();\n\n\tsetTimeout(() => {\n\t\tintersectionObserver('main-heading-slider', 'widget-slide');\n\t}, 500);\n}\n\nexport function updateAmPmStyle(amPm) {\n\tconst style = localStorage.getItem('selected-widget-style');\n\tif (style == 'widget-2' || style == 'widget-7' || style == 'widget-5') {\n\t\treturn amPm.toLowerCase();\n\t}\n\treturn amPm;\n}\n\nfunction moviesSearch(value) {\n\tconst button = document.getElementById('movies-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction tvSearch(value) {\n\tconst button = document.getElementById('tv-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction gamesSearch(value) {\n\tconst button = document.getElementById('games-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction ebooksSearch(value) {\n\tconst button = document.getElementById('ebooks-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction displayAddBookmark(value) {\n\tconst button = document.getElementById('add_bookmark_button');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\n","export function intersectionObserver(rootID, targetClass) {\n\tconst targetClasses = document.getElementsByClassName(targetClass);\n\tconst options = {\n\t\troot: document.getElementById(rootID),\n\t\trootMargin: '0px',\n\t\tthreshold: 0.5,\n\t};\n\n\tconst callback = (entries) => {\n\t\tentries.forEach((entry) => {\n\t\t\tentry.isIntersecting ? localStorage\n\t\t\t\t.setItem('selected-widget-style', entry.target.id) : null;\n\t\t\t// console.log(entry.target.id)\n\t\t\t// console.log(entry.intersectionRatio)\n\t\t});\n\t};\n\n\tconst observer = new IntersectionObserver(callback, options);\n\n\tfor (const target of targetClasses) {\n\t\tobserver.observe(target);\n\t}\n};\n","// eslint-disable-next-line block-spacing\n{/* eslint-disable max-len */ }\n\n// export const cliHelpText =\n// `Documentation:\\n\n// To Batch search a list of search terms separated by comma:\n// --g : Google search\n// --b : Bing search\n// --d : DuckDuckGo search\\n\n// --fetch : Import a predefined set of custom bookmarks.\n// --reset : Deletes only the saved bookmarks.\n// --reset : Reset everything, including the bookmarks and wallpaper preferences.\\n\n// --help: This page`;\n\nexport const cliUnexpectedCmdText =\n `The command you have passed is invalid.\\n\nType --help to read the documentation.\\n`;\n\nexport const resetBookmarksWarningText =\n `This will reset bookmarks.\nMake sure you have a backup to import later on.\\n\\n\nAre you sure ?`;\n\nexport const resetAllWarningText =\n `This will reset everything.\nThere is no going back.\\n\nAre you sure?`;\n\n// export const askUserNameText =\n// `Welcome to Casa Mia\n// What is your name?`;\n\n// export const retryUserNameText =\n// `Please enter a valid name to proceed.\n// Maximum length allowed is 14 characters.`;\n\nexport const updateUserNameText =\n `Maximum length allowed is 17 characters.`;\n","export function addZero(char) {\n if (char.length == 1) char = '0' + char;\n return char;\n}\n","let alertModalContainer;\nlet modalCancelButton;\nlet tickBoxField;\nlet submitButtons;\n\nconst showAlertDialog = (\n\ttitle = null,\n\tdescription = null,\n\tsubmitButtonNames = ['Submit A', 'Submit B'],\n\tcancelButtonName = 'Ok',\n\ttickBox = [null, null],\n\tlisteners = [],\n\tonInit = null,\n) => {\n\talertModalContainer = document.getElementById('alertDialogContainer');\n\tif (alertModalContainer) alertModalContainer.remove();\n\n\tif (title) {\n\t\ttitle = `

${title}

`;\n\t} else (title = '');\n\tif (description) {\n\t\tdescription = `\n\t\t

${description}

\n\t`;\n\t} else (description = '');\n\n\tdocument.body\n\t\t.insertAdjacentHTML('afterbegin', `\n\t\t
\n\t\t\t
\n\t\t\t\t${title}\n\t\t\t\t${description}\n\t\t\t\t
\n\t\t\t\t\t${cancelButtonName}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t`);\n\tif (submitButtonNames) {\n\t\tsubmitButtonNames.forEach((e) => {\n\t\t\tlet id = e.replaceAll(' ', '-').toLowerCase();\n\t\t\tid = `ALERT-BUTTON-${id}`;\n\t\t\tdocument.getElementById('alertDialogButtonsBar')\n\t\t\t\t.insertAdjacentHTML('afterbegin', `\n\t\t\t\n\t\t\t${e}\n\t\t\t`);\n\t\t});\n\t}\n\tif (tickBox[0]) {\n\t\tdocument.getElementById('alertDialogButtonsBar')\n\t\t\t.insertAdjacentHTML('beforebegin', `\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t${tickBox[0]}\n\t\t\t\t\t \n\t\t`);\n\t\ttickBoxField = document.getElementById('tickBoxField');\n\t};\n\n\talertModalContainer = document.getElementById('alertDialogContainer');\n\tmodalCancelButton = document.getElementById('alertDialogCancelButton');\n\tsubmitButtons = document.getElementsByClassName('alertDialogSubmitButton');\n\tdocument.body.style.overflow = 'hidden';\n\tmodalCancelButton.focus();\n\n\tconst promise = new Promise((resolve, reject) => {\n\t\talertModalContainer.style.alignItems = 'center';\n\t\talertModalContainer.style.opacity = '1';\n\n\t\tconst resolveModal = () => {\n\t\t\tmodalCancelButton.removeEventListener('click', resolveModal);\n\t\t\tif (tickBox[0]) {\n\t\t\t\ttickBoxField.removeEventListener('change', tickBox[1]);\n\t\t\t\ttickBoxField = tickBoxField.checked;\n\t\t\t}\n\t\t\tif (listeners) {\n\t\t\t\tlisteners.forEach((element, index) => {\n\t\t\t\t\tsubmitButtons[index].removeEventListener('click', element);\n\t\t\t\t});\n\t\t\t}\n\t\t\talertModalContainer.remove();\n\t\t\tdocument.body.style.overflow = 'auto';\n\t\t\t// console.log(result);\n\t\t\tresolve(tickBoxField);\n\t\t};\n\n\t\tmodalCancelButton.addEventListener('click', resolveModal);\n\t\tif (listeners) {\n\t\t\tlisteners.forEach((element, index) => {\n\t\t\t\tsubmitButtons[index].addEventListener('click', element);\n\t\t\t});\n\t\t}\n\t\tif (tickBox[0]) {\n\t\t\ttickBoxField.addEventListener('change', tickBox[1]);\n\t\t}\n\t});\n\n\tif (onInit) onInit();\n\treturn promise;\n};\n\nexport const AlertDialog = {\n\tshow: showAlertDialog,\n\tgetCancelButton: () => {\n\t\treturn modalCancelButton;\n\t},\n\tgetSubmitButtons: () => {\n\t\treturn submitButtons;\n\t},\n\tgetCheckboxField: () => {\n\t\treturn tickBoxField;\n\t},\n};\n\nexport const genericAlert = (title, msg) => {\n\tAlertDialog.show(\n\t\ttitle,\n\t\tmsg,\n\t\tnull,\n\t\t'Ok',\n\t\t[null, null],\n\t\tnull,\n\t\tnull,\n\t).then((res) => console.log(res))\n\t\t.catch((e) => console.error(e));\n};\n","export function changeExtension(filename, ext) {\n\tconst array = filename.split('.');\n\tarray[array.length - 1] = ext;\n\treturn array.join('.');\n};\n","export function wait(ms) {\n let now = Date.now();\n const end = now + ms;\n while (now < end) {\n now = Date.now();\n }\n}\n","import { changeGlow, changeSelectionColor } from './colors.js';\nimport { WALLPAPERS_URL } from './constants.js';\nimport { applyPreferences } from './load_preferences.js';\nimport { changeTextAccentColor } from './colors.js';\n\nexport let selectedWallpaper;\nexport let color;\nexport let wallpapersList = [];\n\nexport function fetchWallpapersList() {\n\t// Add wallpapers to HTML\n\tfetch(WALLPAPERS_URL + 'wallpapers_list.json').then((response) => {\n\t\tresponse.text().then((text) => {\n\t\t\twallpapersList = JSON.parse(text);\n\t\t\tresolveWallpapers();\n\t\t\tpopulateWallpapersInDOM();\n\t\t\thighlightSetWallpaper();\n\t\t});\n\t}).catch((e) => {\n\t\tconsole.log(e);\n\t\twindow.open('./pages/error', '_self');\n\t});\n}\n\nexport function setWallpaper(fileName, color) {\n\tselectedWallpaper = fileName;\n\tconst overlay = document.getElementById('overlay');\n\t// console.log('test ' + overlay.style.backdropFilter);\n\toverlay.style.backdropFilter = 'blur(1em)';\n\tconst temp = new Image();\n\ttemp.src = WALLPAPERS_URL + fileName;\n\ttemp.onload = (e) => {\n\t\tapplyWallpaper(selectedWallpaper);\n\t\tlocalStorage.setItem('wallpaper', selectedWallpaper);\n\t\tapplyPreferences();\n\t};\n\n\tchangeGlow(color);\n\tchangeTextAccentColor(color);\n\tchangeSelectionColor(color);\n\tconst inputThumb = fileName.split('.').join('-thumb.');\n\tapplyWallpaper(inputThumb);\n}\n\nfunction applyWallpaper(input) {\n\tdocument.body.style.backgroundImage = 'url(' + WALLPAPERS_URL + input + ')';\n\tdocument.body.style.backgroundRepeat = 'no-repeat';\n\tdocument.body.style.backgroundSize = 'cover';\n\tdocument.body.style.backgroundAttachment = 'fixed';\n\tdocument.body.style.backgroundPosition = 'center';\n}\n\nexport function highlightSetWallpaper() {\n\tconst availableWallpapers = document.getElementsByClassName('thumb-group');\n\tfor (const n of availableWallpapers) {\n\t\tconst thumbnail = n.getElementsByClassName('thumbnail')[0];\n\t\tconst title = n.getElementsByClassName('thumb-title')[0];\n\t\tn.classList.add('animate');\n\n\t\tif (thumbnail.src.replace('-thumb', '').includes(selectedWallpaper)) {\n\t\t\ttitle.style.opacity = '1';\n\t\t\tn.classList.remove('animate');\n\t\t\tn.classList.add('highlighted');\n\t\t} else {\n\t\t\ttitle.style.opacity = '0';\n\t\t\tn.classList.add('animate');\n\t\t\tn.classList.remove('highlighted');\n\t\t}\n\t}\n}\n\n\nexport function changeWallpaper(event) {\n\tevent.stopPropagation();\n\tlet selection = event.target.title;\n\tif (!selection) selection = event.target.childNodes[1].title;\n\t// console.log(\"clicks \" + selection + event.target.childNodes[1].title);\n\tconst wall = getWallpaperDetails(selection);\n\tsetWallpaper(wall[0], wall[1]);\n\thighlightSetWallpaper();\n}\n\nexport function getWallpaperDetails(title) {\n\tconst wallpaper = wallpapersList.filter((item) => {\n\t\treturn item.title == title;\n\t})[0].file;\n\tconst color = wallpapersList.filter((item) => {\n\t\treturn item.title == title;\n\t})[0].color[1];\n\treturn [wallpaper, color];\n}\n\nfunction resolveWallpapers() {\n\tselectedWallpaper = localStorage.getItem('wallpaper');\n\tcolor = wallpapersList.filter((item) => {\n\t\treturn item.file == selectedWallpaper;\n\t})[0].color[1];\n\tsetWallpaper(selectedWallpaper, color);\n}\n\nfunction populateWallpapersInDOM() {\n\tconst bar = document.getElementById('wallpapers');\n\n\tfor (const n of wallpapersList) {\n\t\tlet input = n.file;\n\t\tinput = input.split('.').join('-thumb.');\n\n\t\tconst thumb = document.createElement('div');\n\t\tthumb.className = 'thumb-group';\n\t\tthumb.setAttribute('onclick', 'changeWallpaper(event)');\n\t\tthumb.setAttribute('onkeypress', 'click_to_enter(event)');\n\t\tthumb.setAttribute('tabindex', '3');\n\n\t\tconst div = document.createElement('div');\n\t\tdiv.innerHTML = n.title;\n\t\tdiv.className = 'thumb-title';\n\t\tthumb.appendChild(div);\n\n\t\tconst img = document.createElement('img');\n\t\timg.src = WALLPAPERS_URL + input;\n\t\timg.className = 'thumbnail';\n\t\timg.title = n.title;\n\t\timg.setAttribute('draggable', 'false');\n\t\tthumb.appendChild(img);\n\n\t\tbar.appendChild(thumb);\n\t}\n}\n","export function changeGlow(color, opacity) {\n\tconst glowOverlay = document.getElementById('gradient_overlay');\n\tconst wallpapersRollOverlay = document.getElementById('wallpapers');\n\tconst glowSetting = localStorage.getItem('glow');\n\tif (opacity != null) {\n\t\tif (glowSetting != '1') glowOverlay.style.opacity = opacity;\n\t}\n\tif (color != null) {\n\t\twallpapersRollOverlay.style.background =\n\t\t\t`linear-gradient(to top, rgb(${color}), 50%, #fbd3e900)`;\n\t\tglowOverlay.style.background =\n\t\t\t`linear-gradient(to top, rgb(${color}), 50%, #fbd3e900)`;\n\t}\n}\n\nexport function changeTextAccentColor(color) {\n\tconst i = document.getElementsByClassName('has-shadow');\n\tfor (let n = 0; n < i.length; n++) {\n\t\ti[n].style.textShadow =\n\t\t\t`4px 4px 0 rgba(${color},.85), 6px 6px 0px black`;\n\t}\n}\n\nexport function changeSelectionColor(color) {\n\tdocument.documentElement.style\n\t\t.setProperty('--selection-color', `rgba(${color}, .5)`);\n}\n","export const headingStyles = [\n 'default-text-style',\n 'brush-text-style-1',\n 'brush-text-style-2',\n 'brush-text-style-3',\n];\n","import {\n BING_SEARCH_DOMAIN, DUCKDUCKGO_SEARCH_DOMAIN, GOOGLE_SEARCH_DOMAIN,\n} from './constants.js';\nimport { resetAll, resetBookmarks } from './preferences.js';\nimport { cliUnexpectedCmdText } from './strings.js';\nimport { fetchBookmarks } from './utils.js';\nimport { genericAlert } from './utils/alertDialog.js';\nimport { downloadFile } from './utils/downloadFile.js';\n\n\nexport function cliCheck(input) {\n // var input = getSearchTerm().value;\n if (input.startsWith('--')) {\n return true;\n }\n return false;\n}\n\nfunction parseDL(url) {\n fetch(`https://casamia.cambo.in/api/?url=${url}`).then((results) => {\n return results.json();\n }).then((res) => {\n const download = confirm('Download video?');\n if (download) downloadFile(res.url, 'CasaMia_Downloader.mp4');\n console.log(res.url);\n });\n}\n\nfunction searchViaCli(url, searchTerm) {\n let searchQuery = searchTerm.substr(4);\n searchQuery = searchQuery.split(',');\n searchQuery.forEach((value) => {\n // value = encodeURIComponent(value);\n const o = window.open(`${url}${value}`, '_blank');\n if (o == null) {\n genericAlert('Information',\n 'Allow pop-ups for this feature to work properly.');\n return;\n };\n });\n}\n\nexport function cliParse(input) {\n const forBatchSearch = input.toLowerCase();\n input = input.split('--').join('');\n input = input.split(' ');\n switch (input[0].toLowerCase()) {\n case 'help':\n window.open(`/pages/help/index.html`, '_self');\n // alert(cliHelpText);\n break;\n case 'reset':\n if (input[1] == 'bookmarks') resetBookmarks();\n else if (input[1] == 'all') resetAll();\n else genericAlert('Error', cliUnexpectedCmdText);\n break;\n case 'fetch':\n if (input[1] == 'default') fetchBookmarks();\n // else if (input[1] == 'all') resetAll();\n else genericAlert('Error', cliUnexpectedCmdText);\n break;\n case 'dl':\n if (input[1]) parseDL(input[1]);\n else genericAlert('Failed', `Enter a valid YT address`);\n break;\n case 'clock':\n window.open(`./pages/clock`, '_self');\n break;\n case 'count':\n window.open(`./pages/countdown`, '_self');\n break;\n case 'g':\n searchViaCli(GOOGLE_SEARCH_DOMAIN, forBatchSearch);\n break;\n case 'b':\n searchViaCli(BING_SEARCH_DOMAIN, forBatchSearch);\n break;\n case 'd':\n searchViaCli(DUCKDUCKGO_SEARCH_DOMAIN, forBatchSearch);\n break;\n default:\n genericAlert('Error', cliUnexpectedCmdText);\n };\n}\n\n","// export const downloadFile = (path, filename) => {\n// // Create a new link\n// const anchor = document.createElement('a');\n// anchor.href = path;\n// anchor.download = filename;\n\n// // Append to the DOM\n// document.body.appendChild(anchor);\n\n// // Trigger `click` event\n// anchor.click();\n\n// // Remove element from DOM\n// document.body.removeChild(anchor);\n// };\n\nexport function downloadFile(url) {\n // console.log(WALLPAPERS_URL + selectedWallpaper);\n const element = document.createElement('a');\n element.setAttribute('href', url);\n element.setAttribute('download', 'CasaMia-Downloaer');\n element.target = '_blank';\n element.style.display = 'none';\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n /* alert(\n \"If the download doesn't start, disable the pop-up blocker extensions.\"\n); */\n};\n","const notifyModalContainer = document.getElementById('notifyContainer');\r\nlet modalCancelButton;\r\nlet notify;\r\n\r\nconst showNotifyDialog = (\r\n\tdescription,\r\n\tms = '5000',\r\n\tonClick = null,\r\n) => {\r\n\tconst id = Date.now();\r\n\tnotify = document.getElementById(`notifyModal-${id}`);\r\n\tif (notify) notify.parentNode.remove();\r\n\r\n\tnotifyModalContainer.insertAdjacentHTML('afterbegin', `\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t

\r\n\t\t\t\t\t${description}\r\n\t\t\t\t

\r\n\t\t\t\t
\r\n\t\t\t
\t\r\n\t\t\t\r\n\t\t
\r\n\t`);\r\n\r\n\tconst notifyLoader = document.getElementById(`notifyLoader-${id}`);\r\n\r\n\tnotify = document.getElementById(`notifyModal-${id}`);\r\n\tif (onClick) notify.addEventListner('click', onClick);\r\n\r\n\tconst closeNotification = (event) => {\r\n\t\tif (onClick) notify.removeEventListner('click', onClick);\r\n\t\tmodalCancelButton.removeEventListener('click', closeNotification);\r\n\t\tevent.target.parentNode.remove();\r\n\t};\r\n\r\n\tmodalCancelButton = document.getElementById(`notifyDialogCancelButton-${id}`);\r\n\tmodalCancelButton.addEventListener('click', closeNotification);\r\n\r\n\tsetTimeout(() => {\r\n\t\tconst close = modalCancelButton;\r\n\t\tsetTimeout(() => {\r\n\t\t\tclose.click();\r\n\t\t}, ms);\r\n\t\tnotifyLoader.style.transition = ms + 'ms';\r\n\t\tnotify.style.opacity = '1';\r\n\t\tnotify.style.marginTop = '2em';\r\n\t\tnotifyLoader.style.width = '0%';\r\n\t}, 50);\r\n};\r\n\r\nexport const Notify = {\r\n\tshow: showNotifyDialog,\r\n};\r\n","let previousClick = null;\n\nexport function hideLoading() {\n if (previousClick) {\n previousClick.classList.toggle('loader');\n }\n previousClick = null;\n}\nexport function displayLoading(event) {\n // console.log(event);\n event.stopPropagation();\n // event.preventDefault();\n hideLoading();\n const click = event.target;\n previousClick = click;\n click.classList.toggle('loader');\n}\n","import { DEF_PREF, DEF_WALLPAPER, SAMPLE_AUTOFILL } from './constants.js';\nimport { updateUserNamePreview } from './load_preferences.js';\nimport { refreshGreeting } from './preferences.js';\nimport { updateUserNameText } from './strings.js';\nimport { InputDialog } from './utils/inputDialog.js';\nimport { enableSubmitButton } from './utils/enableSubmitButton.js';\n\nexport function askUserName() {\n let userName = localStorage.getItem('userName');\n\n if (userName) {\n InputDialog.show(\n 'Update your name',\n updateUserNameText,\n ['Change name to'],\n 'Update',\n 'Cancel',\n null,\n [enableSubmitButton, null],\n () => {\n InputDialog.getInputFields()[0].setAttribute('maxlength', 17);\n InputDialog.getInputFields()[0].value = userName;\n },\n ).then((res) => {\n userName = res.inputValues[0];\n localStorage.setItem('userName', userName);\n updateUserNamePreview();\n refreshGreeting();\n return;\n }).catch((e) => {\n console.error(e);\n return;\n });\n return;\n };\n\n if (!userName) {\n const onBoardingInProgress = InputDialog.show(\n 'Welcome to Casa Mia',\n `Hi! We are so excited to see you here.\n Please fill out the following details before moving forward. `,\n [`Your name`],\n 'Proceed',\n null,\n null,\n [enableSubmitButton, null],\n () => {\n InputDialog.getInputFields()[0].setAttribute('maxlength', 17);\n },\n );\n onBoardingInProgress.then((res) => {\n userName = res.inputValues[0];\n localStorage.setItem('userName', userName);\n localStorage.setItem('onBoarding', '1');\n return;\n }).catch((e) => {\n console.error(e);\n return;\n });\n return onBoardingInProgress;\n };\n};\n\nexport function preOnboarding() {\n const onBoardingInProgress = askUserName();\n localStorage.setItem('onBoarding', '0');\n localStorage.setItem('advDropdownValues', JSON.stringify(DEF_PREF));\n localStorage.setItem('wallpaper', DEF_WALLPAPER);\n localStorage.setItem('autocompleteDatabase', SAMPLE_AUTOFILL);\n localStorage.setItem('selected-widget-style', 'widget-1');\n return onBoardingInProgress;\n}\n\n","import { applyPreferences } from './load_preferences.js';\n\nexport function saveDropdownPositions() {\n const select = document.getElementsByTagName('select');\n const dropdownPositions = {};\n for (const i of select) {\n dropdownPositions[i.id] = i.value;\n };\n localStorage\n .setItem('advDropdownValues', JSON.stringify(dropdownPositions));\n applyPreferences();\n};\n\n// export function saveButtonValues() {\n// const previews = document.getElementsByClassName('custom-button');\n// const buttonPreviews = {};\n// for (const i of previews) {\n// buttonPreviews[i.id] = i.value;\n// };\n// localStorage\n// .setItem('advButtonPreviews', JSON.stringify(buttonPreviews));\n// loadButtonPreviews();\n// };\n\n// export function loadButtonPreviews() {\n// let loadedFromStorage = localStorage.getItem('advButtonPreviews');\n// if (!loadedFromStorage) return;\n// loadedFromStorage =\n// Object.entries(JSON.parse(loadedFromStorage));\n// for (const i of loadedFromStorage) {\n// document.getElementById(i[0] + '-preview').textContent = i[1];\n// }\n// };\n","export function getLastUpdated(id) {\n\tfetch('https://api.github.com/repos/lscambo13/casamia/commits/HEAD')\n\t\t.then((response) => {\n\t\t\tresponse.json().then((response) => {\n\t\t\t\tconst date = new Date(response.commit.committer.date);\n\t\t\t\tlet time = date.toISOString();\n\t\t\t\ttime = time.slice(0, time.length - 5);\n\t\t\t\ttime = time\n\t\t\t\t\t.replaceAll('T', '-')\n\t\t\t\t\t.replaceAll(':', '')\n\t\t\t\t\t.replaceAll('-', '.');\n\t\t\t\tconst element = document.getElementById(id);\n\t\t\t\telement.innerHTML = `Version ${time}`;\n\t\t\t}).catch((e) => {\n\t\t\t\tconsole.error('getLastUpdated', e);\n\t\t\t});\n\t\t}).catch((e) => {\n\t\t\tconsole.error('getLastUpdated', e);\n\t\t});\n};\n","export function blurLevel(int) {\r\n\tdocument.documentElement.style\r\n\t\t.setProperty('--blur-one-em', `blur(${int}em)`);\r\n\tdocument.documentElement.style\r\n\t\t.setProperty('--blur-one-px', `blur(${int}px)`);\r\n}\r\n","let pause = false\r\nexport function pauseSnaowfall(boolean) {\r\n\tpause = boolean\r\n\tisItChristmas()\r\n}\r\nexport function isItChristmas() {\r\n\tlet date = new Date()\r\n\tif (date.getMonth() == 11 && date.getDate() > 17 && date.getDate() < 32) {\r\n\t\t// console.log(date.getMonth() == 11, date.getDate() > 17, date.getDate() < 32)\r\n\t\tletItSnow()\r\n\t}\r\n}\r\nfunction letItSnow() {\r\n\tpause = true\r\n\t//canvas init\r\n\tvar canvas = document.getElementById(\"canvasFar\");\r\n\tvar ctx = canvas.getContext(\"2d\");\r\n\r\n\t//canvas dimensions\r\n\tvar W = window.innerWidth;\r\n\tvar H = window.innerHeight;\r\n\tcanvas.width = W;\r\n\tcanvas.height = H;\r\n\r\n\t//snowflake particles\r\n\tvar mp = 50; //max particles\r\n\tvar particles = [];\r\n\tfor (var i = 0; i < mp; i++) {\r\n\t\tparticles.push({\r\n\t\t\tx: Math.random() * W, //x-coordinate\r\n\t\t\ty: Math.random() * H, //y-coordinate\r\n\t\t\tr: Math.random() * 4 + 1, //radius\r\n\t\t\td: Math.random() * mp //density\r\n\t\t})\r\n\t}\r\n\r\n\t//Lets draw the flakes\r\n\tctx.fillStyle = \"rgba(255, 255, 255, 0.5)\";\r\n\tfunction draw() {\r\n\t\t// let tStart = Date.now()\r\n\t\tctx.clearRect(0, 0, W, H);\r\n\t\tctx.beginPath();\r\n\t\tfor (var i = 0; i < mp; i++) {\r\n\t\t\tvar p = particles[i];\r\n\t\t\tctx.moveTo(p.x, p.y);\r\n\t\t\tctx.arc(p.x, p.y, p.r, 0, Math.PI * 2, true);\r\n\t\t}\r\n\t\tctx.fill();\r\n\t\tupdate();\r\n\t\tif (!pause) window.requestAnimationFrame(draw);\r\n\t\t// console.log(Date.now() - tStart)\r\n\t\t// console.log('draw')\r\n\t}\r\n\r\n\t//Function to move the snowflakes\r\n\t//angle will be an ongoing incremental flag. Sin and Cos functions will be applied to it to create vertical and horizontal movements of the flakes\r\n\t// var angle = 0;\r\n\tfunction update() {\r\n\t\t// console.log('update main')\r\n\t\t// angle += 0.01;\r\n\t\tfor (var i = 0; i < mp; i++) {\r\n\t\t\t// console.log('update loop')\r\n\t\t\tvar p = particles[i];\r\n\t\t\t//Updating X and Y coordinates\r\n\t\t\t//We will add 1 to the cos function to prevent negative values which will lead flakes to move upwards\r\n\t\t\t//Every particle has its own density which can be used to make the downward movement different for each flake\r\n\t\t\t//Lets make it more random by adding in the radius\r\n\t\t\tp.y += Math.cos(p.d) + 1 + p.r / 10;\r\n\t\t\t// p.y += Math.cos(angle + p.d) + 1 + p.r / 2;\r\n\t\t\t// p.x += Math.sin(angle) * 2;\r\n\r\n\t\t\t//Sending flakes back from the top when it exits\r\n\t\t\t//Lets make it a bit more organic and let flakes enter from the left and right also.\r\n\t\t\tif (p.x > W + 5 || p.x < -5 || p.y > H) {\r\n\t\t\t\tif (i % 3 > 0) //66.67% of the flakes\r\n\t\t\t\t{\r\n\t\t\t\t\tparticles[i] = { x: Math.random() * W, y: -10, r: p.r, d: p.d };\r\n\t\t\t\t}\r\n\t\t\t\t// else {\r\n\t\t\t\t// \t//If the flake is exitting from the right\r\n\t\t\t\t// \tif (Math.sin(angle) > 0) {\r\n\t\t\t\t// \t\t//Enter from the left\r\n\t\t\t\t// \t\tparticles[i] = { x: -5, y: Math.random() * H, r: p.r, d: p.d };\r\n\t\t\t\t// \t}\r\n\t\t\t\t// \telse {\r\n\t\t\t\t// \t\t//Enter from the right\r\n\t\t\t\t// \t\tparticles[i] = { x: W + 5, y: Math.random() * H, r: p.r, d: p.d };\r\n\t\t\t\t// \t}\r\n\t\t\t\t// }\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tcanvas.style.display = 'block'\r\n\tpause = false\r\n\twindow.requestAnimationFrame(draw);\r\n\t//animation loop\r\n\t// setInterval(draw, 60);\r\n}\r\n","export function isTouchDevice() {\n\t// return (('ontouchstart' in window) ||\n\t// \t(navigator.maxTouchPoints > 0) ||\n\t// \t(navigator.msMaxTouchPoints > 0));\n\tif (window.matchMedia('(hover: none)').matches) {\n\t\treturn true;\n\t} else return false;\n};\n"],"names":[],"version":3,"file":"index.3d214d75.js.map","sourceRoot":"/__parcel_source_root/"} \ No newline at end of file +{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAI,WAAW;AAAK,IAAI,WAAW;AAAK,IAAI,aAAa;AAAM,IAAI,eAAe;AAAmB,OAAO,MAAM,CAAC,aAAa,GAAG;AAAmB;AAEtJ,iJAAiJ,GACjJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,GACA,IAAI,aAAa;AACjB,IAAI,YAAY,OAAO,MAAM,CAAC,MAAM;AACpC,SAAS,OAAO,UAAU;IACxB,UAAU,IAAI,CAAC,IAAI,EAAE;IACrB,IAAI,CAAC,GAAG,GAAG;QACT,MAAM,OAAO,MAAM,CAAC,OAAO,CAAC,WAAW;QACvC,kBAAkB,EAAE;QACpB,mBAAmB,EAAE;QACrB,QAAQ,SAAU,EAAE;YAClB,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,YAAa;QAChD;QACA,SAAS,SAAU,EAAE;YACnB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC;QAC9B;IACF;IACA,OAAO,MAAM,CAAC,OAAO,CAAC,WAAW,GAAG;AACtC;AACA,OA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C;YACnB,IAAI,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,GAAG;QACxC;QACA,IAAI,IAAI;QACR;QACA,IAAI,CAAC,OAAO,OAAO,qBAAqB,CAAC;IACzC,mCAAmC;IACnC,sBAAsB;IACvB;IAEA,iCAAiC;IACjC,kJAAkJ;IAClJ,iBAAiB;IACjB,SAAS;QACR,6BAA6B;QAC7B,iBAAiB;QACjB,IAAK,IAAI,IAAI,GAAG,IAAI,IAAI,IAAK;YAC5B,6BAA6B;YAC7B,IAAI,IAAI,SAAS,CAAC,EAAE;YACpB,8BAA8B;YAC9B,qGAAqG;YACrG,6GAA6G;YAC7G,kDAAkD;YAClD,EAAE,CAAC,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,GAAG;YACjC,8CAA8C;YAC9C,8BAA8B;YAE9B,gDAAgD;YAChD,oFAAoF;YACpF,IAAI,EAAE,CAAC,GAAG,IAAI,KAAK,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,GAAG,GACpC;gBAAA,IAAI,IAAI,IAAI,GAEX,SAAS,CAAC,EAAE,GAAG;oBAAE,GAAG,KAAK,MAAM,KAAK;oBAAG,GAAG;oBAAK,GAAG,EAAE,CAAC;oBAAE,GAAG,EAAE,CAAC;gBAAC;YAC/D;QAaF;IACD;IACA,OAAO,KAAK,CAAC,OAAO,GAAG;IACvB,QAAQ;IACR,OAAO,qBAAqB,CAAC;AAC7B,gBAAgB;AAChB,yBAAyB;AAC1B;;;;;ACjGA,mDAAgB;AAAT,SAAS;IACf,wCAAwC;IACxC,qCAAqC;IACrC,sCAAsC;IACtC,IAAI,OAAO,UAAU,CAAC,iBAAiB,OAAO,EAC7C,OAAO;SACD,OAAO;AACf","sources":["node_modules/@parcel/runtime-browser-hmr/lib/runtime-3979cc5714f673f7.js","index.js","js_modules/search.js","js_modules/utils.js","js_modules/constants.js","node_modules/@parcel/transformer-js/src/esmodule-helpers.js","js_modules/preferences.js","js_modules/custom_bookmarks.js","js_modules/utils/inputDialog.js","js_modules/utils/enableSubmitButton.js","js_modules/validators.js","js_modules/utils/toggleDisplay.js","js_modules/load_preferences.js","js_modules/utils/intersectionObserver.js","js_modules/strings.js","js_modules/utils/addZero.js","js_modules/utils/alertDialog.js","js_modules/utils/changeExtension.js","js_modules/utils/wait.js","js_modules/wallpapers.js","js_modules/colors.js","js_modules/styles.js","js_modules/cli.js","js_modules/utils/downloadFile.js","js_modules/utils/notifyDialog.js","js_modules/loading_spinner.js","js_modules/onboarding.js","js_modules/save_preferences.js","js_modules/utils/getLastUpdated.js","js_modules/utils/blurLevel.js","js_modules/utils/letItSnow.js","js_modules/utils/isTouchDevice.js"],"sourcesContent":["var HMR_HOST = null;var HMR_PORT = null;var HMR_SECURE = false;var HMR_ENV_HASH = \"d6ea1d42532a7575\";module.bundle.HMR_BUNDLE_ID = \"0a8ecb283d214d75\";\"use strict\";\n\n/* global HMR_HOST, HMR_PORT, HMR_ENV_HASH, HMR_SECURE, chrome, browser, __parcel__import__, __parcel__importScripts__, ServiceWorkerGlobalScope */\n/*::\nimport type {\n HMRAsset,\n HMRMessage,\n} from '@parcel/reporter-dev-server/src/HMRServer.js';\ninterface ParcelRequire {\n (string): mixed;\n cache: {|[string]: ParcelModule|};\n hotData: {|[string]: mixed|};\n Module: any;\n parent: ?ParcelRequire;\n isParcelRequire: true;\n modules: {|[string]: [Function, {|[string]: string|}]|};\n HMR_BUNDLE_ID: string;\n root: ParcelRequire;\n}\ninterface ParcelModule {\n hot: {|\n data: mixed,\n accept(cb: (Function) => void): void,\n dispose(cb: (mixed) => void): void,\n // accept(deps: Array | string, cb: (Function) => void): void,\n // decline(): void,\n _acceptCallbacks: Array<(Function) => void>,\n _disposeCallbacks: Array<(mixed) => void>,\n |};\n}\ninterface ExtensionContext {\n runtime: {|\n reload(): void,\n getURL(url: string): string;\n getManifest(): {manifest_version: number, ...};\n |};\n}\ndeclare var module: {bundle: ParcelRequire, ...};\ndeclare var HMR_HOST: string;\ndeclare var HMR_PORT: string;\ndeclare var HMR_ENV_HASH: string;\ndeclare var HMR_SECURE: boolean;\ndeclare var chrome: ExtensionContext;\ndeclare var browser: ExtensionContext;\ndeclare var __parcel__import__: (string) => Promise;\ndeclare var __parcel__importScripts__: (string) => Promise;\ndeclare var globalThis: typeof self;\ndeclare var ServiceWorkerGlobalScope: Object;\n*/\nvar OVERLAY_ID = '__parcel__error__overlay__';\nvar OldModule = module.bundle.Module;\nfunction Module(moduleName) {\n OldModule.call(this, moduleName);\n this.hot = {\n data: module.bundle.hotData[moduleName],\n _acceptCallbacks: [],\n _disposeCallbacks: [],\n accept: function (fn) {\n this._acceptCallbacks.push(fn || function () {});\n },\n dispose: function (fn) {\n this._disposeCallbacks.push(fn);\n }\n };\n module.bundle.hotData[moduleName] = undefined;\n}\nmodule.bundle.Module = Module;\nmodule.bundle.hotData = {};\nvar checkedAssets /*: {|[string]: boolean|} */, assetsToDispose /*: Array<[ParcelRequire, string]> */, assetsToAccept /*: Array<[ParcelRequire, string]> */;\n\nfunction getHostname() {\n return HMR_HOST || (location.protocol.indexOf('http') === 0 ? location.hostname : 'localhost');\n}\nfunction getPort() {\n return HMR_PORT || location.port;\n}\n\n// eslint-disable-next-line no-redeclare\nvar parent = module.bundle.parent;\nif ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {\n var hostname = getHostname();\n var port = getPort();\n var protocol = HMR_SECURE || location.protocol == 'https:' && !['localhost', '127.0.0.1', '0.0.0.0'].includes(hostname) ? 'wss' : 'ws';\n var ws;\n try {\n ws = new WebSocket(protocol + '://' + hostname + (port ? ':' + port : '') + '/');\n } catch (err) {\n if (err.message) {\n console.error(err.message);\n }\n ws = {};\n }\n\n // Web extension context\n var extCtx = typeof browser === 'undefined' ? typeof chrome === 'undefined' ? null : chrome : browser;\n\n // Safari doesn't support sourceURL in error stacks.\n // eval may also be disabled via CSP, so do a quick check.\n var supportsSourceURL = false;\n try {\n (0, eval)('throw new Error(\"test\"); //# sourceURL=test.js');\n } catch (err) {\n supportsSourceURL = err.stack.includes('test.js');\n }\n\n // $FlowFixMe\n ws.onmessage = async function (event /*: {data: string, ...} */) {\n checkedAssets = {} /*: {|[string]: boolean|} */;\n assetsToAccept = [];\n assetsToDispose = [];\n var data /*: HMRMessage */ = JSON.parse(event.data);\n if (data.type === 'update') {\n // Remove error overlay if there is one\n if (typeof document !== 'undefined') {\n removeErrorOverlay();\n }\n let assets = data.assets.filter(asset => asset.envHash === HMR_ENV_HASH);\n\n // Handle HMR Update\n let handled = assets.every(asset => {\n return asset.type === 'css' || asset.type === 'js' && hmrAcceptCheck(module.bundle.root, asset.id, asset.depsByBundle);\n });\n if (handled) {\n console.clear();\n\n // Dispatch custom event so other runtimes (e.g React Refresh) are aware.\n if (typeof window !== 'undefined' && typeof CustomEvent !== 'undefined') {\n window.dispatchEvent(new CustomEvent('parcelhmraccept'));\n }\n await hmrApplyUpdates(assets);\n\n // Dispose all old assets.\n let processedAssets = {} /*: {|[string]: boolean|} */;\n for (let i = 0; i < assetsToDispose.length; i++) {\n let id = assetsToDispose[i][1];\n if (!processedAssets[id]) {\n hmrDispose(assetsToDispose[i][0], id);\n processedAssets[id] = true;\n }\n }\n\n // Run accept callbacks. This will also re-execute other disposed assets in topological order.\n processedAssets = {};\n for (let i = 0; i < assetsToAccept.length; i++) {\n let id = assetsToAccept[i][1];\n if (!processedAssets[id]) {\n hmrAccept(assetsToAccept[i][0], id);\n processedAssets[id] = true;\n }\n }\n } else fullReload();\n }\n if (data.type === 'error') {\n // Log parcel errors to console\n for (let ansiDiagnostic of data.diagnostics.ansi) {\n let stack = ansiDiagnostic.codeframe ? ansiDiagnostic.codeframe : ansiDiagnostic.stack;\n console.error('🚨 [parcel]: ' + ansiDiagnostic.message + '\\n' + stack + '\\n\\n' + ansiDiagnostic.hints.join('\\n'));\n }\n if (typeof document !== 'undefined') {\n // Render the fancy html overlay\n removeErrorOverlay();\n var overlay = createErrorOverlay(data.diagnostics.html);\n // $FlowFixMe\n document.body.appendChild(overlay);\n }\n }\n };\n ws.onerror = function (e) {\n if (e.message) {\n console.error(e.message);\n }\n };\n ws.onclose = function () {\n console.warn('[parcel] 🚨 Connection to the HMR server was lost');\n };\n}\nfunction removeErrorOverlay() {\n var overlay = document.getElementById(OVERLAY_ID);\n if (overlay) {\n overlay.remove();\n console.log('[parcel] ✨ Error resolved');\n }\n}\nfunction createErrorOverlay(diagnostics) {\n var overlay = document.createElement('div');\n overlay.id = OVERLAY_ID;\n let errorHTML = '
';\n for (let diagnostic of diagnostics) {\n let stack = diagnostic.frames.length ? diagnostic.frames.reduce((p, frame) => {\n return `${p}\n${frame.location}\n${frame.code}`;\n }, '') : diagnostic.stack;\n errorHTML += `\n
\n
\n 🚨 ${diagnostic.message}\n
\n
${stack}
\n
\n ${diagnostic.hints.map(hint => '
💡 ' + hint + '
').join('')}\n
\n ${diagnostic.documentation ? `` : ''}\n
\n `;\n }\n errorHTML += '
';\n overlay.innerHTML = errorHTML;\n return overlay;\n}\nfunction fullReload() {\n if ('reload' in location) {\n location.reload();\n } else if (extCtx && extCtx.runtime && extCtx.runtime.reload) {\n extCtx.runtime.reload();\n }\n}\nfunction getParents(bundle, id) /*: Array<[ParcelRequire, string]> */{\n var modules = bundle.modules;\n if (!modules) {\n return [];\n }\n var parents = [];\n var k, d, dep;\n for (k in modules) {\n for (d in modules[k][1]) {\n dep = modules[k][1][d];\n if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {\n parents.push([bundle, k]);\n }\n }\n }\n if (bundle.parent) {\n parents = parents.concat(getParents(bundle.parent, id));\n }\n return parents;\n}\nfunction updateLink(link) {\n var href = link.getAttribute('href');\n if (!href) {\n return;\n }\n var newLink = link.cloneNode();\n newLink.onload = function () {\n if (link.parentNode !== null) {\n // $FlowFixMe\n link.parentNode.removeChild(link);\n }\n };\n newLink.setAttribute('href',\n // $FlowFixMe\n href.split('?')[0] + '?' + Date.now());\n // $FlowFixMe\n link.parentNode.insertBefore(newLink, link.nextSibling);\n}\nvar cssTimeout = null;\nfunction reloadCSS() {\n if (cssTimeout) {\n return;\n }\n cssTimeout = setTimeout(function () {\n var links = document.querySelectorAll('link[rel=\"stylesheet\"]');\n for (var i = 0; i < links.length; i++) {\n // $FlowFixMe[incompatible-type]\n var href /*: string */ = links[i].getAttribute('href');\n var hostname = getHostname();\n var servedFromHMRServer = hostname === 'localhost' ? new RegExp('^(https?:\\\\/\\\\/(0.0.0.0|127.0.0.1)|localhost):' + getPort()).test(href) : href.indexOf(hostname + ':' + getPort());\n var absolute = /^https?:\\/\\//i.test(href) && href.indexOf(location.origin) !== 0 && !servedFromHMRServer;\n if (!absolute) {\n updateLink(links[i]);\n }\n }\n cssTimeout = null;\n }, 50);\n}\nfunction hmrDownload(asset) {\n if (asset.type === 'js') {\n if (typeof document !== 'undefined') {\n let script = document.createElement('script');\n script.src = asset.url + '?t=' + Date.now();\n if (asset.outputFormat === 'esmodule') {\n script.type = 'module';\n }\n return new Promise((resolve, reject) => {\n var _document$head;\n script.onload = () => resolve(script);\n script.onerror = reject;\n (_document$head = document.head) === null || _document$head === void 0 || _document$head.appendChild(script);\n });\n } else if (typeof importScripts === 'function') {\n // Worker scripts\n if (asset.outputFormat === 'esmodule') {\n return __parcel__import__(asset.url + '?t=' + Date.now());\n } else {\n return new Promise((resolve, reject) => {\n try {\n __parcel__importScripts__(asset.url + '?t=' + Date.now());\n resolve();\n } catch (err) {\n reject(err);\n }\n });\n }\n }\n }\n}\nasync function hmrApplyUpdates(assets) {\n global.parcelHotUpdate = Object.create(null);\n let scriptsToRemove;\n try {\n // If sourceURL comments aren't supported in eval, we need to load\n // the update from the dev server over HTTP so that stack traces\n // are correct in errors/logs. This is much slower than eval, so\n // we only do it if needed (currently just Safari).\n // https://bugs.webkit.org/show_bug.cgi?id=137297\n // This path is also taken if a CSP disallows eval.\n if (!supportsSourceURL) {\n let promises = assets.map(asset => {\n var _hmrDownload;\n return (_hmrDownload = hmrDownload(asset)) === null || _hmrDownload === void 0 ? void 0 : _hmrDownload.catch(err => {\n // Web extension fix\n if (extCtx && extCtx.runtime && extCtx.runtime.getManifest().manifest_version == 3 && typeof ServiceWorkerGlobalScope != 'undefined' && global instanceof ServiceWorkerGlobalScope) {\n extCtx.runtime.reload();\n return;\n }\n throw err;\n });\n });\n scriptsToRemove = await Promise.all(promises);\n }\n assets.forEach(function (asset) {\n hmrApply(module.bundle.root, asset);\n });\n } finally {\n delete global.parcelHotUpdate;\n if (scriptsToRemove) {\n scriptsToRemove.forEach(script => {\n if (script) {\n var _document$head2;\n (_document$head2 = document.head) === null || _document$head2 === void 0 || _document$head2.removeChild(script);\n }\n });\n }\n }\n}\nfunction hmrApply(bundle /*: ParcelRequire */, asset /*: HMRAsset */) {\n var modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (asset.type === 'css') {\n reloadCSS();\n } else if (asset.type === 'js') {\n let deps = asset.depsByBundle[bundle.HMR_BUNDLE_ID];\n if (deps) {\n if (modules[asset.id]) {\n // Remove dependencies that are removed and will become orphaned.\n // This is necessary so that if the asset is added back again, the cache is gone, and we prevent a full page reload.\n let oldDeps = modules[asset.id][1];\n for (let dep in oldDeps) {\n if (!deps[dep] || deps[dep] !== oldDeps[dep]) {\n let id = oldDeps[dep];\n let parents = getParents(module.bundle.root, id);\n if (parents.length === 1) {\n hmrDelete(module.bundle.root, id);\n }\n }\n }\n }\n if (supportsSourceURL) {\n // Global eval. We would use `new Function` here but browser\n // support for source maps is better with eval.\n (0, eval)(asset.output);\n }\n\n // $FlowFixMe\n let fn = global.parcelHotUpdate[asset.id];\n modules[asset.id] = [fn, deps];\n } else if (bundle.parent) {\n hmrApply(bundle.parent, asset);\n }\n }\n}\nfunction hmrDelete(bundle, id) {\n let modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (modules[id]) {\n // Collect dependencies that will become orphaned when this module is deleted.\n let deps = modules[id][1];\n let orphans = [];\n for (let dep in deps) {\n let parents = getParents(module.bundle.root, deps[dep]);\n if (parents.length === 1) {\n orphans.push(deps[dep]);\n }\n }\n\n // Delete the module. This must be done before deleting dependencies in case of circular dependencies.\n delete modules[id];\n delete bundle.cache[id];\n\n // Now delete the orphans.\n orphans.forEach(id => {\n hmrDelete(module.bundle.root, id);\n });\n } else if (bundle.parent) {\n hmrDelete(bundle.parent, id);\n }\n}\nfunction hmrAcceptCheck(bundle /*: ParcelRequire */, id /*: string */, depsByBundle /*: ?{ [string]: { [string]: string } }*/) {\n if (hmrAcceptCheckOne(bundle, id, depsByBundle)) {\n return true;\n }\n\n // Traverse parents breadth first. All possible ancestries must accept the HMR update, or we'll reload.\n let parents = getParents(module.bundle.root, id);\n let accepted = false;\n while (parents.length > 0) {\n let v = parents.shift();\n let a = hmrAcceptCheckOne(v[0], v[1], null);\n if (a) {\n // If this parent accepts, stop traversing upward, but still consider siblings.\n accepted = true;\n } else {\n // Otherwise, queue the parents in the next level upward.\n let p = getParents(module.bundle.root, v[1]);\n if (p.length === 0) {\n // If there are no parents, then we've reached an entry without accepting. Reload.\n accepted = false;\n break;\n }\n parents.push(...p);\n }\n }\n return accepted;\n}\nfunction hmrAcceptCheckOne(bundle /*: ParcelRequire */, id /*: string */, depsByBundle /*: ?{ [string]: { [string]: string } }*/) {\n var modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (depsByBundle && !depsByBundle[bundle.HMR_BUNDLE_ID]) {\n // If we reached the root bundle without finding where the asset should go,\n // there's nothing to do. Mark as \"accepted\" so we don't reload the page.\n if (!bundle.parent) {\n return true;\n }\n return hmrAcceptCheck(bundle.parent, id, depsByBundle);\n }\n if (checkedAssets[id]) {\n return true;\n }\n checkedAssets[id] = true;\n var cached = bundle.cache[id];\n assetsToDispose.push([bundle, id]);\n if (!cached || cached.hot && cached.hot._acceptCallbacks.length) {\n assetsToAccept.push([bundle, id]);\n return true;\n }\n}\nfunction hmrDispose(bundle /*: ParcelRequire */, id /*: string */) {\n var cached = bundle.cache[id];\n bundle.hotData[id] = {};\n if (cached && cached.hot) {\n cached.hot.data = bundle.hotData[id];\n }\n if (cached && cached.hot && cached.hot._disposeCallbacks.length) {\n cached.hot._disposeCallbacks.forEach(function (cb) {\n cb(bundle.hotData[id]);\n });\n }\n delete bundle.cache[id];\n}\nfunction hmrAccept(bundle /*: ParcelRequire */, id /*: string */) {\n // Execute the module.\n bundle(id);\n\n // Run the accept callbacks in the new version of the module.\n var cached = bundle.cache[id];\n if (cached && cached.hot && cached.hot._acceptCallbacks.length) {\n cached.hot._acceptCallbacks.forEach(function (cb) {\n var assetsToAlsoAccept = cb(function () {\n return getParents(module.bundle.root, id);\n });\n if (assetsToAlsoAccept && assetsToAccept.length) {\n assetsToAlsoAccept.forEach(function (a) {\n hmrDispose(a[0], a[1]);\n });\n\n // $FlowFixMe[method-unbinding]\n assetsToAccept.push.apply(assetsToAccept, assetsToAlsoAccept);\n }\n });\n }\n}","import * as Search from './js_modules/search.js';\nimport {\n\taddEventListenerOnID,\n\taddEventListenerOnClass,\n\tclickToEnter,\n\tfetchBookmarks,\n\tscrollHighlightedWallpaperIntoView,\n\ttoggleArrows,\n\tchangeSlide,\n\taddEventListenerOnTag,\n\tgetSearchTerm,\n} from './js_modules/utils.js';\nimport { displayLoading, hideLoading } from './js_modules/loading_spinner.js';\nimport { changeGlow } from './js_modules/colors.js';\nimport {\n\taddBookmarkToHTML,\n\tloadBookmarks,\n\tsaveBookmarks,\n\ttoggleRemoveButtons,\n} from './js_modules/custom_bookmarks.js';\nimport {\n\tfetchWallpapersList,\n\tgetWallpaperDetails,\n\thighlightSetWallpaper,\n\tsetWallpaper,\n} from './js_modules/wallpapers.js';\nimport {\n\tapplyPreferences,\n\taskCustomDomain,\n\taskCustomText,\n\tloadDropdownPositions,\n\tloadSelectedWidgetStyle,\n\tscrollToBottom,\n} from './js_modules/load_preferences.js';\nimport {\n\tdownloadWallpaper,\n\texportBackup,\n\texportBookmarks,\n\timportBackup,\n\timportBookmarks,\n\tresetAll,\n\tresetBookmarks,\n\tshowNestedOptions,\n\ttoggleFavicons,\n} from './js_modules/preferences.js';\nimport { isUrlValid } from './js_modules/validators.js';\nimport { askUserName, preOnboarding } from './js_modules/onboarding.js';\nimport { saveDropdownPositions } from './js_modules/save_preferences.js';\n// eslint-disable-next-line max-len\nimport { getLastUpdated } from './js_modules/utils/getLastUpdated.js';\nimport { blurLevel } from './js_modules/utils/blurLevel.js';\nimport { isItChristmas } from './js_modules/utils/letItSnow.js';\nimport { InputDialog } from './js_modules/utils/inputDialog.js';\nimport { isTouchDevice } from './js_modules/utils/isTouchDevice.js';\nimport { enableSubmitButton } from './js_modules/utils/enableSubmitButton.js';\nimport { genericAlert } from './js_modules/utils/alertDialog.js';\n\nconst bottomFilmRollContainer = document.getElementById('wallpapers');\nconst wrap = document.getElementById('wrap');\nconst advancedSettingsButton = document.getElementById('toggle-labs-btn');\nconst modal = document.getElementById('advanced-settings-modal');\nconst modalBackground =\n\tdocument.getElementById('advanced-settings-modal-background-overlay');\n\nlet areAdvancedSettingsOpen = false;\n\nlet areWallpapersOpen = false;\nlet timeout;\nconst wallpapersPanel = (str) => {\n\thideLoading();\n\tswitch (str) {\n\t\tcase 'close': {\n\t\t\tdocument.title = document.title\n\t\t\t\t.replace('Backgrounds', 'Search');\n\t\t\thistory.pushState({ loc: 'home' }, '', '?home');\n\t\t\tbottomFilmRollContainer.classList.remove('animation_slide_up');\n\t\t\tsetTimeout(() => advancedSettingsButton.classList\n\t\t\t\t.remove('advanced-settings-button-right'), 350);\n\t\t\tbottomFilmRollContainer.classList.add('animation_slide_down');\n\t\t\twrap.classList.remove('animation2_slide_up');\n\t\t\twrap.classList.add('animation2_slide_down');\n\t\t\tclearTimeout(timeout);\n\n\t\t\ttoggleRemoveButtons('hide');\n\t\t\ttoggleArrows('hide');\n\t\t\tchangeGlow(null, 0);\n\t\t\tsetTimeout(() => blurLevel(1), 400);\n\t\t\tareWallpapersOpen = false;\n\t\t\tbreak;\n\t\t};\n\t\tcase 'open': {\n\t\t\tbottomFilmRollContainer.style.display = 'flex';\n\t\t\tblurLevel(0);\n\t\t\tbottomFilmRollContainer.classList.remove('animation_slide_down');\n\t\t\tbottomFilmRollContainer.classList.add('animation_slide_up');\n\t\t\twrap.classList.remove('animation2_slide_down', 'startup_slide_down');\n\t\t\twrap.classList.add('animation2_slide_up');\n\t\t\tsetTimeout(() => {\n\t\t\t\tadvancedSettingsButton.classList\n\t\t\t\t\t.add('advanced-settings-button-right');\n\t\t\t\tscrollHighlightedWallpaperIntoView();\n\t\t\t}, 350);\n\t\t\tchangeGlow(null, 1);\n\t\t\ttimeout = setTimeout(() => toggleRemoveButtons('show'), 450);\n\t\t\ttoggleArrows('show');\n\t\t\tdocument.title = document.title\n\t\t\t\t.replace('Search', 'Backgrounds');\n\t\t\thistory.pushState({ loc: 'backgrounds' }, '', '?backgrounds');\n\t\t\tareWallpapersOpen = true;\n\t\t\tbreak;\n\t\t}\n\t}\n};\n\nwindow.createNewBookmark = () => {\n\tconst inputDialogTitle = 'Add new bookmark';\n\tconst inputDialogDescription = `\n\tYou may only use upto four letters as the bookmark name.`;\n\tconst bookmarkLabel = 'Bookmark name';\n\tconst bookmarkAddress = 'Link to website';\n\n\tInputDialog.show(\n\t\tinputDialogTitle,\n\t\tinputDialogDescription,\n\t\t[bookmarkLabel, bookmarkAddress],\n\t\t'Save',\n\t\tundefined,\n\t\tnull,\n\t\t[() => enableSubmitButton(null, true), null],\n\t\t() => {\n\t\t\tconst label = InputDialog.getInputFields()[0];\n\t\t\tlabel.setAttribute('maxlength', 4);\n\t\t\tlabel.setAttribute('placeholder', 'e.g. YT');\n\n\t\t\tconst address = InputDialog.getInputFields()[1];\n\t\t\taddress.setAttribute('placeholder', 'e.g. youtube.com');\n\t\t\taddress.value = 'https://';\n\n\t\t\tnavigator.clipboard.readText().then((res) => {\n\t\t\t\tif (isUrlValid(res)) {\n\t\t\t\t\taddress.value = res.replaceAll(' ', '');\n\t\t\t\t};\n\t\t\t}).catch((err) => {\n\t\t\t\tconsole.log(err);\n\t\t\t});\n\t\t},\n\t).then((res) => {\n\t\tconst id = Date.now();\n\t\tconst name = res.inputValues[0];\n\t\tlet link = res.inputValues[1].replaceAll(' ', '');\n\t\tif (!link.startsWith('http')) link = `https://${link}`;\n\t\t// console.log(res.inputValues);\n\t\taddBookmarkToHTML(link, name, id);\n\t\tsaveBookmarks(link, name, id);\n\t}).catch((e) => console.log(e));\n};\n\nwindow.changeWallpaper = (event) => {\n\tevent.stopPropagation();\n\tlet selection = event.target.title;\n\tif (!selection) selection = event.target.childNodes[1].title;\n\tconst wall = getWallpaperDetails(selection);\n\tsetWallpaper(wall[0], wall[1]);\n\thighlightSetWallpaper();\n};\n\naddEventListenerOnID('export-bookmarks-btn', 'click', exportBookmarks);\naddEventListenerOnID('import-bookmarks-btn', 'change', importBookmarks);\naddEventListenerOnID('export-backup-btn', 'click', exportBackup);\naddEventListenerOnID('import-backup-btn', 'change', importBackup);\naddEventListenerOnID('download-wallpaper-btn', 'click', downloadWallpaper);\naddEventListenerOnID('toggle-favicons-btn', 'click', toggleFavicons);\naddEventListenerOnID('update-username-btn', 'click', askUserName);\naddEventListenerOnID('update-customtext-btn', 'click', askCustomText);\naddEventListenerOnID('deep-search-btn', 'click', (event) => {\n\tshowNestedOptions('deep-search-nested');\n\tconst arrow = document.getElementById('deep-search-btn-arrow');\n\tarrow.classList.toggle('fa-angle-down');\n\tarrow.classList.toggle('fa-angle-up');\n});\naddEventListenerOnID('update-customdomain-btn', 'click', askCustomDomain);\naddEventListenerOnID('fetch-bookmarks-btn', 'click', fetchBookmarks);\naddEventListenerOnID('reset-bookmarks-btn', 'click', resetBookmarks);\naddEventListenerOnID('reset-all-btn', 'click', resetAll);\n\nfunction openAdvancedSettings() {\n\twallpapersPanel('close');\n\thistory.pushState({ loc: 'settings' }, '', '?settings');\n\tsetTimeout(() => blurLevel(0), 420);\n\tdocument.title = document.title.replace('Search', 'Settings');\n\tdocument.body.classList.add('justifySpaceBetween');\n\t// wrap.style.opacity = 0;\n\twrap.style.display = 'none';\n\tmodal.style.display = 'block';\n\tmodalBackground.style.display = 'block';\n\tareAdvancedSettingsOpen = true;\n};\n\nfunction closeAdvancedSettings() {\n\tdocument.title = document.title.replace('Settings', 'Search');\n\thistory.pushState({ loc: 'home' }, '', '?home');\n\tdocument.body.classList.remove('justifySpaceBetween');\n\twrap.style.display = 'block';\n\t// wrap.style.opacity = 1;\n\tmodal.style.display = 'none';\n\tmodalBackground.style.display = 'none';\n\tsetTimeout(() => blurLevel(1), 100);\n\tareAdvancedSettingsOpen = false;\n};\n\naddEventListenerOnClass('modal-close-btn', 'click', closeAdvancedSettings);\naddEventListenerOnID('toggle-labs-btn', 'click', openAdvancedSettings);\n\naddEventListenerOnID('search-btn', 'click', Search.webSearch);\naddEventListenerOnID('movies-search', 'click', Search.movies);\naddEventListenerOnID('tv-search', 'click', Search.tv);\naddEventListenerOnID('games-search', 'click', Search.games);\naddEventListenerOnID('ebooks-search', 'click', Search.ebooks);\naddEventListenerOnID('searchTerm', 'input', Search.processSearchboxInput);\naddEventListenerOnID('searchTerm', 'click', () => {\n\tconst x = new InputEvent('input');\n\tgetSearchTerm().dispatchEvent(x);\n});\naddEventListenerOnID('searchBarFocusMode', 'click', Search.collapseAutofill);\naddEventListenerOnID('searchTerm', 'keypress', Search.enterToSearch);\naddEventListenerOnID('fetch-bookmarks-btn', 'click', fetchBookmarks);\n\naddEventListenerOnID('left-arrow', 'click', (event) => {\n\tevent.stopPropagation();\n\tchangeSlide('widget-slide', -1);\n});\n\naddEventListenerOnID('right-arrow', 'click', (event) => {\n\tevent.stopPropagation();\n\tchangeSlide('widget-slide', 1);\n});\n\nwindow.addEventListener('resize', () => {\n\tapplyPreferences();\n\tisItChristmas();\n});\n\nwindow.addEventListener('blur', () => {\n\thideLoading();\n});\n\nwindow.addEventListener('appinstalled', (event) => {\n\tconsole.log('installed');\n});\n\nonload = (event) => {\n\tconst slider = document.getElementById('main-heading-slider');\n\tslider.classList.remove('nowrap');\n};\n\naddEventListenerOnID('settings_button', 'click', (event) => {\n\tif (areWallpapersOpen) wallpapersPanel('close', event);\n\telse if (!areWallpapersOpen) wallpapersPanel('open', event);\n});\n\nconst pressAndHold = () => {\n\tconst target = document.body;\n\tlet timerId;\n\tlet timer = 250;\n\tconst clearTimer = () => {\n\t\tclearInterval(timerId);\n\t\ttimerId = null;\n\t};\n\n\tconst clickEvent = (event) => {\n\t\tconst x = event.target.id;\n\t\tconst validElements = ['gradient_overlay',\n\t\t\t'wrap',\n\t\t\t'bookmarks',\n\t\t\t'autofillContainer',\n\t\t\t'flex-main-container-vertical',\n\t\t\t'subtitle',\n\t\t\t'footer',\n\t\t];\n\t\tif (\n\t\t\tvalidElements.includes(x)\n\t\t) {\n\t\t\tif (areWallpapersOpen) timer = 1;\n\t\t\telse timer = 250;\n\n\t\t\ttimerId = setInterval(() => {\n\t\t\t\tif (areWallpapersOpen) wallpapersPanel('close');\n\t\t\t\telse if (!areWallpapersOpen) wallpapersPanel('open');\n\t\t\t\tclearTimer();\n\t\t\t}, timer);\n\t\t}\n\t};\n\n\ttarget.addEventListener('mousedown', clickEvent);\n\ttarget.addEventListener('mouseup', clearTimer);\n\ttarget.addEventListener('mouseout', clearTimer);\n\n\ttarget.addEventListener('touchstart', clickEvent);\n\ttarget.addEventListener('touchend', clearTimer);\n\ttarget.addEventListener('touchcancel', clearTimer);\n\n\treturn () => {\n\t\ttarget.removeEventListener('mousedown', clickEvent);\n\t\ttarget.removeEventListener('mouseup', clearTimer);\n\t\ttarget.removeEventListener('mouseout', clearTimer);\n\t\ttarget.removeEventListener('touchstart', clickEvent);\n\t\ttarget.removeEventListener('touchend', clearTimer);\n\t\ttarget.removeEventListener('touchcancel', clearTimer);\n\t\tconsole.log('un-focuss', timerId);\n\t};\n};\n\nconst switchPage = () => {\n\twindow.addEventListener('popstate', (e) => {\n\t\tif (areWallpapersOpen) {\n\t\t\twallpapersPanel('close');\n\t\t} else if (areAdvancedSettingsOpen) {\n\t\t\tcloseAdvancedSettings();\n\t\t} else if (!areWallpapersOpen && !areAdvancedSettingsOpen) {\n\t\t\thistory.go(-1);\n\t\t\tconsole.log('cant go back anymore', -history.length - 1);\n\t\t}\n\t});\n\n\tlet page = window.location.href;\n\tpage = page.split('/?')[1];\n\tif (!page) history.pushState({ loc: 'home' }, '', '?home');\n\telse if (page == 'settings') openAdvancedSettings();\n\telse if (page == 'backgrounds') wallpapersPanel('open');\n};\n\nconst postOnboarding = () => {\n\tconst btnInstall = document.getElementById('btn-install');\n\tlet deferredPrompt;\n\tapplyPreferences();\n\tloadBookmarks();\n\tloadDropdownPositions();\n\twrap.style.opacity = 1;\n\n\tfetchWallpapersList();\n\thighlightSetWallpaper();\n\n\tpressAndHold();\n\taddEventListenerOnClass('clickable', 'keypress', clickToEnter);\n\taddEventListenerOnClass('custom_bookmark', 'click', displayLoading);\n\taddEventListenerOnTag('select', 'change', saveDropdownPositions);\n\n\taddEventListenerOnID('btn-install', 'click', (e) => {\n\t\tdeferredPrompt.prompt();\n\t\tdeferredPrompt.userChoice.then((choiceResult) => {\n\t\t\tif (choiceResult.outcome === 'accepted') {\n\t\t\t\tconsole.log('user accepted prompt');\n\t\t\t}\n\t\t\tdeferredPrompt = null;\n\t\t});\n\t});\n\n\twindow.addEventListener('beforeinstallprompt', (event) => {\n\t\tevent.preventDefault();\n\t\tdeferredPrompt = event;\n\t\tbtnInstall.style.display = 'block';\n\t});\n\tscrollToBottom();\n\tif (sessionStorage.getItem('focus') == 'on') {\n\t\tdocument.getElementById('searchTerm').focus();\n\t\tdocument.getElementById('searchTerm').click();\n\t}\n\tgetLastUpdated('version-preview');\n\tisItChristmas();\n\tloadSelectedWidgetStyle();\n\tswitchPage();\n};\n\n// Start ----------------------------------------------------------\n\ndocument.addEventListener('DOMContentLoaded', () => {\n\t// preOnboarding();\n\n\tif (localStorage.getItem('onBoarding') == '1') {\n\t\tpostOnboarding();\n\t\tconsole.log('Already onboard.');\n\t} else {\n\t\tconsole.log('Onboarding...');\n\t\tpreOnboarding().then(() => {\n\t\t\tif (isTouchDevice()) {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tgenericAlert('Information',\n\t\t\t\t\t\t'Press and hold on empty area to open settings.');\n\t\t\t\t}, 5000);\n\t\t\t}\n\t\t\tpostOnboarding();\n\t\t\tconsole.log('Onboarding complete.');\n\t\t});\n\t}\n}, { once: true });\n\n// ---------------------------------------------------------- End\n\n","import {\n clickToEnter,\n getSearchTerm,\n} from './utils.js';\nimport {\n EXT_SEARCH_DOMAIN,\n GOOGLE_SEARCH_DOMAIN,\n SAMPLE_AUTOFILL,\n} from './constants.js';\nimport {\n cliCheck,\n cliParse,\n} from './cli.js';\nimport { isUrlValid } from './validators.js';\nimport { Notify } from './utils/notifyDialog.js';\n\nconst MSG = 'You must enter a search query to continue.';\nconst container = document.querySelector('.autofillContainer');\nconst searchBG = document.querySelector('#searchBarFocusMode');\nlet myScript = '';\n\nfunction loadSearchDomain() {\n let domain = localStorage.getItem('default-search-url');\n if (domain == null) {\n localStorage.setItem('default-search-url', GOOGLE_SEARCH_DOMAIN);\n domain = localStorage.getItem('default-search-url');\n }\n return domain;\n}\n\nexport function webSearch() {\n let input = getSearchTerm().value;\n if (input != '') {\n updateAutocompleteDatabase(input);\n if (isUrlValid(input) && !input.includes(' ')) {\n // if (!input.startsWith('http')) input = `http://${input}`;\n window.open(input, '_self');\n return;\n }\n if (!cliCheck(input)) {\n input = encodeURIComponent(input);\n // input = input.split(\" \").join(\"+\");\n const url = loadSearchDomain() + input;\n window.open(url, '_self');\n } else cliParse(input);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function movies() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n // input = input.split(\" \").join(\"%20\");\n const url = EXT_SEARCH_DOMAIN + input + '/Movies/time/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function tv() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n const url = EXT_SEARCH_DOMAIN + input + '/TV/size/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function games() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n const url = EXT_SEARCH_DOMAIN + input + '/Games/time/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function ebooks() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n const url = EXT_SEARCH_DOMAIN + input + '/Other/seeders/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n};\n\nlet returnedSuggestions = [];\nwindow.googleSuggestions = (data) => {\n returnedSuggestions = [];\n const inputQuery = getSearchTerm().value;\n returnedSuggestions = data[1];\n if (inputQuery) {\n showAutofillBox(inputQuery, returnedSuggestions);\n expandAutofill(inputQuery);\n // console.log(returnedSuggestions);\n }\n};\n\nexport function processSearchboxInput(event) {\n const oldInput = sessionStorage.getItem('input');\n const input = event.target.value;\n sessionStorage.setItem('input', input);\n // switchToCLI(input);\n switchSearchIcon(input);\n if (!input) {\n clearSuggestions();\n setTimeout(() => {\n collapseAutofill();\n }, 1);\n return;\n }\n expandAutofill(input);\n if (input != oldInput) googleAutocomplete(input);\n};\n\nconst googleAutocomplete = (input) => {\n if (myScript !== '') {\n document.body.removeChild(myScript);\n }\n const provider = 'https://suggestqueries.google.com/complete/search?client=firefox&callback=googleSuggestions&q=';\n myScript = document.createElement('script');\n myScript.src = `${provider}${input}`;\n document.body.appendChild(myScript);\n};\n\n// const switchToCLI = (input) => {\n// const btnIcon = document.getElementById('search-btn-icon');\n// const currentIcon = localStorage.getItem('default-search-icon');\n// if (cliCheck(input)) {\n// console.log('cfs')\n// btnIcon.className = 'fa-solid fa-terminal';\n// return;\n// } else {\n// btnIcon.className = currentIcon;\n// };\n// };\n\nconst switchSearchIcon = (input) => {\n const btnIcon = document.getElementById('search-btn-icon');\n const currentIcon = localStorage.getItem('default-search-icon');\n if (isUrlValid(input)) {\n btnIcon.className = 'fa fa-globe';\n return;\n } else if (cliCheck(input)) {\n btnIcon.className = 'fa fa-terminal';\n return;\n } else {\n btnIcon.className = currentIcon;\n return;\n };\n};\n\nexport const collapseAutofill = () => {\n searchBG.style.opacity = '0';\n container.style.paddingBlock = '0em';\n container.style.height = '0px';\n setTimeout(() => {\n searchBG.style.display = 'none';\n }, 200);\n};\n\nconst expandAutofill = (input) => {\n const items = document.querySelectorAll('.autofillItem');\n const searchbar = document.getElementById('searchbar');\n if (input.length) {\n searchBG.style.display = 'block';\n setTimeout(() => {\n if (items.length) {\n const d = items[0].getBoundingClientRect();\n const calc = (d.height * items.length) + (d.height * 1.5);\n container.style.height = `${calc}px`;\n container.style.paddingBlockStart = '0em';\n searchbar.scrollIntoView();\n }\n searchBG.style.opacity = '1';\n }, 1);\n }\n};\n\nconst clearSuggestions = () => {\n const items = document.querySelectorAll('.autofillItem');\n items.forEach((e) => {\n e.remove();\n });\n};\n\nconst showAutofillBox = (input, cloudInput) => {\n input = input.toLowerCase();\n const db = JSON.parse(localStorage.getItem('autocompleteDatabase'));\n if (!db) localStorage.setItem('autocompleteDatabase', SAMPLE_AUTOFILL);\n\n const filteredArray = db.filter((e) => {\n if (e == input) return;\n else return e.toLowerCase().startsWith(input);\n });\n\n function autofill(event) {\n getSearchTerm().value = event.target.innerHTML;\n const e = new InputEvent('input');\n getSearchTerm().dispatchEvent(e);\n getSearchTerm().focus();\n };\n\n const generateSuggestions = (filteredArray) => {\n clearSuggestions();\n if (!input) return;\n const theme = sessionStorage.getItem('searchbar-color-theme-drop');\n const order = sessionStorage.getItem('searchbar-position-drop');\n if (order == 'bottom') container.style.flexDirection = 'column-reverse';\n else container.style.flexDirection = 'column';\n let i = 0;\n for (const e of filteredArray) {\n if (i == 6) break;\n container.insertAdjacentHTML('beforeend', `\n\t\t\t\t${e}\n `);\n i++;\n }\n for (const e of cloudInput) {\n if (i == 10) break;\n container.insertAdjacentHTML('beforeend', `\n \t\t${e}\n `);\n i++;\n }\n };\n\n generateSuggestions(filteredArray);\n const items = document.querySelectorAll('.autofillItem');\n items.forEach((e) => {\n e.addEventListener('click', autofill);\n // e.addEventListener('focus', autofill);\n e.addEventListener('keydown', clickToEnter);\n });\n};\n\nexport function enterToSearch(event) {\n if (event.key == 'Enter') {\n document.querySelector('#search-btn').click();\n }\n};\n\nconst updateAutocompleteDatabase = (entry) => {\n const db = JSON.parse(localStorage.getItem('autocompleteDatabase'));\n const set = new Set(db);\n set.add(entry.toLowerCase());\n const update = Array.from(set);\n localStorage.setItem('autocompleteDatabase', JSON.stringify(update));\n};\n","import { BOOKMARKS_SAMPLE_URL } from './constants.js';\nimport { importBookmarks } from './preferences.js';\nimport { headingStyles } from './styles.js';\n\n\nexport function getSearchTerm() {\n\treturn document.getElementsByClassName('searchTerm')[0];\n}\n\nexport function addEventListenerOnID(id, event, func) {\n\tif (event == null) return;\n\treturn document.getElementById(id).\n\t\taddEventListener(event, func, { passive: true });\n}\n\nexport function addEventListenerOnClass(className, event, func) {\n\tconst classList = document.getElementsByClassName(className);\n\tfor (let i = 0; i < classList.length; i++) {\n\t\tclassList[i].addEventListener(event, func);\n\t};\n}\n\nexport function addEventListenerOnTag(tagName, event, func) {\n\tconst tagList = document.getElementsByTagName(tagName);\n\tfor (let i = 0; i < tagList.length; i++) {\n\t\ttagList[i].addEventListener(event, func);\n\t};\n}\n\nexport function clickToEnter(event) {\n\tif (event.key === 'Enter' || event.key === ' ') event.target.click();\n};\n\nexport function fetchBookmarks() {\n\tfetch(BOOKMARKS_SAMPLE_URL)\n\t\t.then((res) => importBookmarks(null, res.text()));\n}\n\nexport function fixBackgroundBlurOnResize(id) {\n\tdocument.getElementById(id).style.backdropFilter = `blur(0.9em)`;\n\tsetTimeout(() => {\n\t\tdocument.getElementById(id).style.backdropFilter = `blur(1em)`;\n\t}, 1);\n};\n\nexport function scrollHighlightedWallpaperIntoView() {\n\tconst wallpaper = document.getElementsByClassName('highlighted')[0];\n\tsetTimeout(() => {\n\t\tif (wallpaper) wallpaper.scrollIntoView({ inline: 'center' });\n\t}, 10);\n};\n\nexport async function stylizeText(id, int = 0) {\n\tdocument.getElementById(id).className = headingStyles[int];\n};\n\nlet i = 0;\nexport function changeHeadingStyles(event = null, int) {\n\tif (event) event.stopPropagation();\n\n\ti += int;\n\tif (i < 0) {\n\t\ti = headingStyles.length - 1;\n\t};\n\tif (i >= headingStyles.length) i = 0;\n\tstylizeText('main-heading', i);\n};\n\nexport function toggleArrows(str) {\n\tconst arrows = document.getElementsByClassName('arrows');\n\tswitch (str) {\n\t\tcase 'show': {\n\t\t\tfor (let i = 0; i < arrows.length; i++) {\n\t\t\t\tarrows[i].style.height = '2em';\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tcase 'hide': {\n\t\t\tfor (let i = 0; i < arrows.length; i++) {\n\t\t\t\tarrows[i].style.height = '0em';\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t}\n};\n\nexport function changeSlide(element, int) {\n\tconst w = document.getElementById('main-heading-slider');\n\tconst width = w.scrollWidth;\n\tconst el = document.getElementsByClassName(element);\n\tconst currentPos = w.scrollLeft;\n\tlet newPos;\n\tconst step = w.scrollWidth / el.length;\n\t// console.log(width, w.clientWidth)\n\tif (int == 1) {\n\t\tnewPos = currentPos + step;\n\t\tif (newPos > width) {\n\t\t\tnewPos = width;\n\t\t};\n\t\tconsole.log(newPos);\n\t\tw.scrollLeft = newPos;\n\t} else if (int == -1) {\n\t\tnewPos = currentPos - step;\n\t\tif (newPos < 0) {\n\t\t\tnewPos = 0;\n\t\t};\n\t\tconsole.log(newPos);\n\t\tw.scrollLeft = newPos;\n\t}\n};\n","export const EXT_SEARCH_DOMAIN = 'https://x1337x.ws/sort-category-search/';\nexport const GOOGLE_SEARCH_DOMAIN = 'https://www.google.com/search?q=';\nexport const BING_SEARCH_DOMAIN = 'https://www.bing.com/search?q=';\nexport const DUCKDUCKGO_SEARCH_DOMAIN = 'https://duckduckgo.com/?q=';\n// export const SEARCH_BUTTON_DOM =\n// document.getElementsByClassName('searchButton').item(0).childNodes[1];\nexport const BOOKMARKS_SAMPLE_URL = './samples/bookmarks.json';\n// 'https://raw.githubusercontent.com/lscambo13/casamia/main/custom_bookmarks_sample/home-page-bookmarks-2023-1-23.json';\n// eslint-disable-next-line max-len\nexport const SAMPLE_AUTOFILL = '[\"--help\",\"--dl\",\"--clock\",\"--countdown\"]';\nexport const WALLPAPERS_URL = './wallpapers/';\nexport const DOWNLOAD_WALLPAPERS_URL = './wallpapers/backups/';\nexport const DEF_WALLPAPER = '085.webp';\nexport const DEF_CUSTOM_TEXT = 'Custom Text';\nexport const DEF_PREF =\n{\n\t'bg-img-drop': 'shown',\n\t'bg-blur-drop': 'off',\n\t// 'bg-glow-drop': 'auto',\n\t// 'weather-display-drop': 'off',\n\t'footer-display-drop': 'on',\n\t'def-widget-drop': 'casamia',\n\t// 'widget-style-drop': 'minimal',\n\t'greeting-display-drop': 'on',\n\t'def-widget-display-drop': 'on',\n\t// 'show-seconds-drop': 'off',\n\t// 'clock-style-drop': '12hrs',\n\t// 'am-pm-style-drop': 'uppercase',\n\t'def-search-engine-drop': 'google',\n\t'searchbar-position-drop': 'middle',\n\t'searchbar-color-theme-drop': 'glass',\n\t'focus-search-drop': 'off',\n\t'search-display-drop': 'on',\n\t// 'show-titles-drop': 'off',\n\t'movies-search-display-drop': 'shown',\n\t'tv-search-display-drop': 'shown',\n\t'games-search-display-drop': 'shown',\n\t'ebooks-search-display-drop': 'shown',\n\t'add-bookmark-display-drop': 'shown',\n};\n\n// 'https://github.com/lscambo13/casamia/raw/main/wallpapers/'\n// 'https://raw.githubusercontent.com/lscambo13/casamia/main/wallpapers/'\n// const X1337X_DOMAIN = 'https://x1337x.ws/home/';\n","exports.interopDefault = function (a) {\n return a && a.__esModule ? a : {default: a};\n};\n\nexports.defineInteropFlag = function (a) {\n Object.defineProperty(a, '__esModule', {value: true});\n};\n\nexports.exportAll = function (source, dest) {\n Object.keys(source).forEach(function (key) {\n if (\n key === 'default' ||\n key === '__esModule' ||\n Object.prototype.hasOwnProperty.call(dest, key)\n ) {\n return;\n }\n\n Object.defineProperty(dest, key, {\n enumerable: true,\n get: function () {\n return source[key];\n },\n });\n });\n\n return dest;\n};\n\nexports.export = function (dest, destName, get) {\n Object.defineProperty(dest, destName, {\n enumerable: true,\n get: get,\n });\n};\n","import { DOWNLOAD_WALLPAPERS_URL } from './constants.js';\nimport {\n\tcustomBookmarks,\n\tdownloadBookmarks,\n\tsaveBookmarks,\n} from './custom_bookmarks.js';\nimport { updateAmPmStyle } from './load_preferences.js';\nimport {\n\tresetAllWarningText,\n\tresetBookmarksWarningText,\n} from './strings.js';\nimport { addZero } from './utils/addZero.js';\nimport { genericAlert } from './utils/alertDialog.js';\nimport { changeExtension } from './utils/changeExtension.js';\nimport { wait } from './utils/wait.js';\nimport { selectedWallpaper } from './wallpapers.js';\n\nexport function exportBookmarks(event) {\n\tevent.stopPropagation();\n\tconst bookmarksString = localStorage.saved_bookmarks;\n\tconst d = new Date();\n\tdownloadBookmarks(\n\t\t`casamia-bookmarks-only-${d.getFullYear()}-${d.getMonth() + 1\n\t\t}-${d.getDate()}.json`,\n\t\tbookmarksString,\n\t);\n};\n\nexport function exportBackup(event) {\n\tevent.stopPropagation();\n\tconst data = { ...localStorage };\n\tconst backupString = JSON.stringify(data);\n\tconst d = new Date();\n\tdownloadBookmarks(\n\t\t`casamia-full-backup-${d.getFullYear()}-${d.getMonth() + 1\n\t\t}-${d.getDate()}.json`,\n\t\tbackupString,\n\t);\n};\n\nexport function downloadWallpaper() {\n\t// console.log(DOWNLOAD_WALLPAPERS_URL + selectedWallpaper);\n\tconst element = document.createElement('a');\n\tconst hiResWall = changeExtension(selectedWallpaper, 'png');\n\telement\n\t\t.setAttribute('href', DOWNLOAD_WALLPAPERS_URL + hiResWall);\n\telement.setAttribute('download', hiResWall);\n\telement.style.display = 'none';\n\tdocument.body.appendChild(element);\n\telement.click();\n\tdocument.body.removeChild(element);\n\t/* alert(\n\t\"If the download doesn't start, disable the pop-up blocker extensions.\"\n ); */\n};\n\nexport function toggleFavicons(event) {\n\t// http://www.google.com/s2/favicons?domain=google.com\n\tconst customBookmarks = document.getElementsByClassName('custom_bookmark');\n\tconst spans = document.getElementsByClassName('custom_link_name');\n\n\tfor (let i = 0; i < customBookmarks.length; i++) {\n\t\tspans[i].style.display = 'none';\n\n\t\tconst newFavicon = document.createElement('img');\n\t\tnewFavicon.className = 'ext_favicon';\n\t\tconst domain = customBookmarks[i].href;\n\t\tnewFavicon.src =\n\t\t\t'http://www.google.com/s2/favicons?sz=32&domain=' + domain;\n\t\tcustomBookmarks[i].appendChild(newFavicon);\n\t}\n};\n\nlet clockLoop = null;\nexport function displayClock(value) {\n\tconst target = 'widget-slide';\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tclearInterval(clockLoop);\n\t\t\tclockLoop = null;\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tif (clockLoop) clearInterval(clockLoop);\n\t\t\tclockLoop = setInterval(() => refreshClock(target), 1000);\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction refreshClock(targetClass) {\n\tconst target = document.getElementsByClassName(targetClass);\n\tconst date = new Date();\n\tlet hours = date.getHours();\n\tlet amPm = (int) => {\n\t\tif (int == 0) {\n\t\t\thours.toString();\n\t\t\thours = '12';\n\t\t\treturn 'AM';\n\t\t} else if (int > 0 && int < 12) {\n\t\t\thours = addZero(hours.toString());\n\t\t\treturn 'AM';\n\t\t} else if (int == 12) {\n\t\t\thours = '12';\n\t\t\treturn 'PM';\n\t\t} else if (int > 12) {\n\t\t\thours = hours - 12;\n\t\t\thours.toString();\n\t\t\thours = addZero(hours);\n\t\t\treturn 'PM';\n\t\t}\n\t};\n\n\tconst minutes = addZero(date.getMinutes().toString());\n\tconst seconds = addZero(date.getSeconds().toString());\n\tamPm = amPm(hours);\n\tlet separator = ':';\n\n\tfor (let i = 0; i < target.length; i++) {\n\t\tif (seconds % 2 === 0) {\n\t\t\tseparator = `:`;\n\t\t} else {\n\t\t\tseparator = `:`;\n\t\t}\n\t\ttarget[i].innerHTML =\n\t\t\t`${hours}${separator}${minutes} ${updateAmPmStyle(amPm.toString())}`;\n\t}\n\n\t// subtitle.style.display = 'block';\n\t// console.log(`${hours}:${minutes}:${seconds} ${amPm}`);\n}\n\nexport function refreshGreeting() {\n\tconst subtitle = document.getElementById('subtitle');\n\tconst user = localStorage.getItem('userName');\n\tconst date = new Date();\n\tconst hours = date.getHours();\n\tlet greeting = (int) => {\n\t\tif (int < 12) {\n\t\t\treturn `Good Morning, ${user}`;\n\t\t} else if (int >= 12 && int <= 18) {\n\t\t\treturn `Good Afternoon, ${user}`;\n\t\t} else if (int >= 18) {\n\t\t\treturn `Good Evening, ${user}`;\n\t\t}\n\t};\n\tgreeting = greeting(hours);\n\tsubtitle.innerText = greeting;\n}\n// let greetingLoop = null;\n// export function toggleGreeting() {\n// switch (value) {\n// case 'off': {\n// subtitle.classList.toggle('collapsed');\n// clearInterval(greetingLoop);\n// break;\n// };\n// case 'on': {\n// subtitle.classList.toggle('collapsed');\n// greetingLoop = setInterval(refreshGreeting, 1000);\n// break;\n// };\n// }\n// }\n\nexport function toggleGlow() {\n\tconst gradientOverlay = document.getElementById('gradient_overlay');\n\tlet glow = localStorage.getItem('glow');\n\tif (glow == null || glow == '0') {\n\t\tglow = '1';\n\t\tgradientOverlay.style.opacity = 1;\n\t\tlocalStorage.setItem('glow', '1');\n\t} else if (glow == '1') {\n\t\tglow = '0';\n\t\tgradientOverlay.style.opacity = 0;\n\t\tlocalStorage.setItem('glow', '0');\n\t}\n};\n\nexport function importBookmarks(event, text = '') {\n\tlet file;\n\tif (event) {\n\t\tevent.stopPropagation();\n\t\tfile = event.target.files[0].text();\n\t} else file = text;\n\n\tfunction result(file) {\n\t\tconst importedBookmarks = JSON.parse(file);\n\t\tif (!importedBookmarks[0]?.id) {\n\t\t\tconsole.log(importedBookmarks);\n\t\t\tgenericAlert('Failed', 'The backup does not seem to be valid.');\n\t\t\tevent.target.value = null;\n\t\t\treturn;\n\t\t}\n\t\tconst ids = [];\n\t\tfor (const bookmark of customBookmarks) {\n\t\t\tids.push(bookmark.id);\n\t\t}\n\t\tfor (const i of importedBookmarks) {\n\t\t\tif (ids.includes(i.id)) {\n\t\t\t\twait(1);\n\t\t\t\ti.id = Date.now();\n\t\t\t}\n\t\t\tids.push(i.id);\n\t\t\tsaveBookmarks(i.link, i.name, i.id);\n\t\t}\n\t\twindow.location.reload();\n\t}\n\n\tfile.then(result);\n};\n\nexport function importBackup(event, text = '') {\n\tlet file;\n\tif (event) {\n\t\tevent.stopPropagation();\n\t\tfile = event.target.files[0].text();\n\t} else file = text;\n\n\tfunction result(file) {\n\t\tconst importedBackup = JSON.parse(file);\n\t\tif (importedBackup.onBoarding) {\n\t\t\tconst keys = Object.keys(importedBackup);\n\t\t\tkeys.forEach((e, i) => {\n\t\t\t\tlocalStorage.setItem(e, importedBackup[keys[i]]);\n\t\t\t});\n\t\t\twindow.location.reload();\n\t\t} else {\n\t\t\tconsole.log(importedBackup);\n\t\t\tgenericAlert('Failed', 'The backup does not seem to be valid.');\n\t\t\tevent.target.value = null;\n\t\t};\n\t}\n\n\tfile.then(result);\n};\n\nexport function resetBookmarks(event) {\n\tif (\n\t\tconfirm(resetBookmarksWarningText)\n\t) {\n\t\tlocalStorage.removeItem('saved_bookmarks');\n\t\twindow.location.reload();\n\t}\n};\n\nexport function resetAll(event) {\n\tif (\n\t\tconfirm(resetAllWarningText)\n\t) {\n\t\tlocalStorage.clear();\n\t\twindow.location.reload();\n\t}\n};\n\nexport function showNestedOptions(id) {\n\tconst element = document.getElementById(id);\n\telement.classList.toggle('nested-close');\n}\n\n// export function toggleDim(event) {\n// event.stopPropagation();\n// const checkboxWall = document.getElementById('dim-setting');\n// const overlay = document.getElementById('overlay');\n// if (checkboxWall.checked == false) {\n// overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n// localStorage.setItem('dim_wallpaper', 'rgba(0, 0, 0, 0.375)');\n// } else {\n// overlay.style.backgroundColor = 'rgb(0, 0, 0, 0.25)';\n// localStorage.setItem('dim_wallpaper', 'rgb(0, 0, 0, 0.25)');\n// }\n// };\n\n// export function toggleBlur() {\n// // event.stopPropagation();\n// const checkboxBlur = document.getElementById('toggle-blur-cb');\n// // const overlay = document.getElementById('overlay');\n// if (checkboxBlur.checked == true) {\n// toggleBackdropBlur('overlay', 1);\n// localStorage.setItem('blur_wallpaper', 'blur(1em)');\n// } else {\n// toggleBackdropBlur('overlay', 0);\n// localStorage.setItem('blur_wallpaper', 'blur(0em)');\n// }\n// };\n\n// export function toggleWallpaper(event) {\n// event.stopPropagation();\n// const checkboxWall = document.getElementById('toggle-wallpaper-cb');\n// const overlay = document.getElementById('overlay');\n// if (checkboxWall.checked == false) {\n// overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n// localStorage.setItem('disable_wallpaper', 'rgba(0, 0, 0, 0.375)');\n// } else {\n// overlay.style.backgroundColor = 'rgb(0, 0, 0)';\n// localStorage.setItem('disable_wallpaper', 'rgb(0, 0, 0)');\n// }\n// };\n\n// export function toggleLabs(event) {\n// // event.stopPropagation();\n// console.log('called labs');\n// const checkboxLabs = document.getElementById('toggle-labs-cb');\n// const labsDiv = document.getElementById('labs');\n\n// if (checkboxLabs.checked == true) {\n// labsDiv.style.display = 'block';\n// localStorage.setItem('labs', 'block');\n// } else {\n// labsDiv.style.display = 'none';\n// localStorage.setItem('labs', 'none');\n// }\n// };\n\n","import { InputDialog } from './utils/inputDialog.js';\nimport { enableSubmitButton } from './utils/enableSubmitButton.js';\nimport { crossDisplay } from './utils/toggleDisplay.js';\n\nexport let customBookmarks =\n JSON.parse(localStorage.getItem('saved_bookmarks'));\n\nexport function loadBookmarks() {\n if (customBookmarks == null) {\n customBookmarks = [];\n return;\n }\n for (const n of customBookmarks) {\n addBookmarkToHTML(n.link, n.name, n.id);\n }\n}\n\nexport function addBookmarkToHTML(link, name, id) {\n const bookmarkContainer = document.getElementsByClassName(\n 'flex-sub-container-horizontal',\n )[0];\n bookmarkContainer.appendChild(createBookmark(link, name, id));\n const justAdded = document.getElementsByClassName('cross');\n justAdded[justAdded.length - 1].addEventListener('click', editBookmark);\n}\n\nfunction createBookmark(link, name, id) {\n const i = document.createElement('span');\n i.textContent = name;\n i.className = 'custom_link_name';\n\n const d = document.createElement('div');\n d.className = 'cross';\n d.title = 'Modify bookmark details';\n d.setAttribute('tabindex', '5');\n\n const newBookmark = document.createElement('a');\n newBookmark.className = 'custom_bookmark clickable';\n newBookmark.setAttribute('href', link);\n newBookmark.setAttribute('id', id);\n newBookmark.setAttribute('tabindex', '1');\n newBookmark.appendChild(i);\n newBookmark.appendChild(d);\n return newBookmark;\n}\n\nexport function saveBookmarks(link, name, id) {\n customBookmarks.push({\n link: link,\n name: name,\n id: id,\n });\n localStorage.setItem('saved_bookmarks', JSON.stringify(customBookmarks));\n}\n\nexport function removeBookmarkFromLocalStorage(id) {\n customBookmarks = customBookmarks.filter((elem) => {\n return id != elem.id;\n });\n localStorage.setItem('saved_bookmarks', JSON.stringify(customBookmarks));\n}\n\nexport function editBookmarkInLocalStorage(id, newName, newLink) {\n const edit = customBookmarks.filter((elem) => {\n return id == elem.id;\n });\n edit[0].name = newName;\n edit[0].link = newLink;\n localStorage.setItem('saved_bookmarks', JSON.stringify(customBookmarks));\n}\n\nexport function getBookmarkDetailsFromLocalStorage(id) {\n const edit = customBookmarks.filter((elem) => {\n return id == elem.id;\n });\n return [edit[0].id, edit[0].name, edit[0].link];\n}\n\nexport function toggleRemoveButtons(visible) {\n switch (visible) {\n case 'show': {\n crossDisplay(`block`);\n break;\n }\n case 'hide': {\n crossDisplay(`none`);\n break;\n }\n }\n}\n\nexport function downloadBookmarks(filename, text) {\n const element = document.createElement('a');\n element.setAttribute(\n 'href',\n 'data:text/plain;charset=utf-8,' + encodeURIComponent(text),\n );\n element.setAttribute('download', filename);\n element.style.display = 'none';\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n}\n\nexport function editBookmark(event) {\n event.preventDefault();\n event.stopPropagation();\n const targetElement = event.target.parentNode;\n\n const onChange = () => {\n const checkbox = InputDialog.getCheckboxField();\n const modalSubmitButton = InputDialog.getSubmitButton();\n const inputFields = InputDialog.getInputFields();\n\n if (checkbox.checked) {\n modalSubmitButton.textContent = 'Delete';\n modalSubmitButton.classList.add('deleteButton');\n for (const i of inputFields) {\n i.disabled = true;\n }\n modalSubmitButton.disabled = false;\n } else if (!checkbox.checked) {\n modalSubmitButton.textContent = 'Save';\n modalSubmitButton.classList.remove('deleteButton');\n for (const i of inputFields) {\n i.disabled = false;\n }\n };\n };\n\n const details = getBookmarkDetailsFromLocalStorage(targetElement.id);\n\n InputDialog.show('Edit bookmark',\n null,\n ['Name', 'Address'],\n 'Save',\n 'Cancel',\n 'Delete this bookmark',\n [() => enableSubmitButton(event, true), onChange],\n () => {\n InputDialog.getInputFields()[0].setAttribute('maxlength', '4');\n InputDialog.getInputFields()[0].value = details[1];\n InputDialog.getInputFields()[1].value = details[2];\n },\n ).then((res) => {\n if (res.checkboxChecked) {\n removeBookmarkFromLocalStorage(targetElement.id);\n targetElement.style.display = 'none';\n return;\n }\n\n targetElement.href = res.inputValues[1].replaceAll(' ', '');\n targetElement.firstChild.innerHTML = res.inputValues[0];\n\n editBookmarkInLocalStorage(\n targetElement.id,\n res.inputValues[0],\n res.inputValues[1].replaceAll(' ', ''),\n );\n }).catch((e) => console.log(e));\n\n return;\n}\n\n","let modalContainer;\r\nlet modalSubmitButton;\r\nlet modalCancelButton;\r\nlet tickBoxField;\r\nlet inputFields;\r\n\r\nconst showInputDialog = (\r\n\ttitle = null,\r\n\tdescription = null,\r\n\tinputBoxes = ['Input A', 'Input B'],\r\n\tsubmitButtonName = 'Submit',\r\n\tcancelButtonName = 'Cancel',\r\n\ttickBox = null,\r\n\tlisteners = [onInput = null, onChange = null],\r\n\tonInit = null,\r\n) => {\r\n\tmodalContainer = document.getElementById('inputDialogContainer');\r\n\tif (modalContainer) modalContainer.remove();\r\n\r\n\tdocument.activeElement.blur();\r\n\r\n\tif (title) {\r\n\t\ttitle = `

${title}

`;\r\n\t} else (title = '');\r\n\tif (description) {\r\n\t\tdescription = `\r\n\t\t

${description}

\r\n\t`;\r\n\t} else (description = '');\r\n\r\n\tdocument.body\r\n\t\t.insertAdjacentHTML('afterbegin', `\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\t${title}\r\n\t\t\t\t${description}\r\n\t\t\t\t
\r\n\t\t\t\t\t${submitButtonName}\r\n\t\t\t\t\t${cancelButtonName}\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t
\r\n\t`);\r\n\tinputBoxes.forEach((e) => {\r\n\t\tlet id = e.replaceAll(' ', '-').toLowerCase();\r\n\t\tid = `MODAL-INPUT-${id}`;\r\n\t\tdocument.getElementById('inputDialogButtonsBar')\r\n\t\t\t.insertAdjacentHTML('beforebegin', `\r\n\t\t\t\t\t${e}\r\n\t\t\t\t\t\r\n\t\t`);\r\n\t});\r\n\tif (tickBox) {\r\n\t\tdocument.getElementById('inputDialogButtonsBar')\r\n\t\t\t.insertAdjacentHTML('beforebegin', `\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t${tickBox}\r\n\t\t\t\t\t \r\n\t\t`);\r\n\t\ttickBoxField = document.getElementById('tickBoxField');\r\n\t};\r\n\r\n\tmodalContainer = document.getElementById('inputDialogContainer');\r\n\tmodalSubmitButton = document.getElementById('inputDialogSubmitButton');\r\n\tmodalCancelButton = document.getElementById('inputDialogCancelButton');\r\n\tinputFields = document.getElementsByClassName('modalInputField');\r\n\tdocument.body.style.overflow = 'hidden';\r\n\r\n\tinputFields[0].focus();\r\n\tif (!cancelButtonName) modalCancelButton.style.display = 'none';\r\n\r\n\tconst promise = new Promise((resolve, reject) => {\r\n\t\t// modalContainer.style.paddingBlockStart = '4em';\r\n\t\tmodalContainer.style.opacity = '1';\r\n\r\n\t\tconst rejectModal = () => {\r\n\t\t\tmodalCancelButton.removeEventListener('click', rejectModal);\r\n\t\t\tmodalContainer.remove();\r\n\t\t\tdocument.body.style.overflow = 'auto';\r\n\t\t\treject(Error(null));\r\n\t\t};\r\n\r\n\t\tconst resolveModal = () => {\r\n\t\t\tmodalSubmitButton.removeEventListener('click', resolveModal);\r\n\t\t\tif (tickBox) {\r\n\t\t\t\ttickBoxField.removeEventListener('change', listeners[1]);\r\n\t\t\t\ttickBoxField = tickBoxField.checked;\r\n\t\t\t}\r\n\t\t\tconst inputValues = [];\r\n\t\t\tfor (const e of inputFields) {\r\n\t\t\t\tinputValues.push(e.value);\r\n\t\t\t\tif (listeners) e.removeEventListener('input', listeners);\r\n\t\t\t}\r\n\t\t\tconst result = {\r\n\t\t\t\t'inputValues': inputValues, 'checkboxChecked': tickBoxField,\r\n\t\t\t};\r\n\t\t\tmodalContainer.remove();\r\n\t\t\tdocument.body.style.overflow = 'auto';\r\n\r\n\t\t\tconsole.log(result);\r\n\t\t\tresolve(result);\r\n\t\t};\r\n\r\n\t\tmodalCancelButton.addEventListener('click', rejectModal);\r\n\t\tmodalSubmitButton.addEventListener('click', resolveModal);\r\n\t\tif (listeners[0]) {\r\n\t\t\tfor (const e of inputFields) e.addEventListener('input', listeners[0]);\r\n\t\t}\r\n\t\tif (listeners[1] && tickBox) {\r\n\t\t\ttickBoxField.addEventListener('change', listeners[1]);\r\n\t\t}\r\n\t});\r\n\r\n\tif (onInit) onInit();\r\n\treturn promise;\r\n};\r\n\r\nexport const InputDialog = {\r\n\tshow: showInputDialog,\r\n\tgetSubmitButton: () => {\r\n\t\treturn modalSubmitButton;\r\n\t},\r\n\tgetCancelButton: () => {\r\n\t\treturn modalCancelButton;\r\n\t},\r\n\tgetInputFields: () => {\r\n\t\treturn inputFields;\r\n\t},\r\n\tgetCheckboxField: (n) => {\r\n\t\treturn tickBoxField;\r\n\t},\r\n};\r\n","import { isUrlValid } from '../validators.js';\nimport { InputDialog } from './inputDialog.js';\n\nexport const enableSubmitButton = (event, alt = false) => {\n\tconst modalSubmitButton = InputDialog.getSubmitButton();\n\tconst inputFields = InputDialog.getInputFields();\n\tfor (const e of inputFields) {\n\t\tif (e.value.length) modalSubmitButton.disabled = false;\n\t\telse {\n\t\t\tmodalSubmitButton.disabled = true;\n\t\t\treturn;\n\t\t}\n\t}\n\tif (!alt) return;\n\telse {\n\t\tif (isUrlValid(inputFields[1].value)) {\n\t\t\tmodalSubmitButton.disabled = false;\n\t\t} else modalSubmitButton.disabled = true;\n\t}\n};\n","export function isUrlValid(userInput) {\n try {\n new URL(userInput);\n return true;\n } catch (err) {\n return false;\n }\n}\n\nexport function isClockStyleCapital() {\n const clockClass = document.getElementById('main-heading-slider');\n if (clockClass.classList.contains('default-text-style')) return true;\n else return false;\n}\n","export function crossDisplay(str) {\n\tdocument.documentElement.style\n\t\t.setProperty('--cross-display', str);\n};\n","import {\n\tBING_SEARCH_DOMAIN,\n\tDEF_CUSTOM_TEXT,\n\tDUCKDUCKGO_SEARCH_DOMAIN,\n\tGOOGLE_SEARCH_DOMAIN,\n} from './constants.js';\nimport { displayClock, refreshGreeting } from './preferences.js';\nimport { fixBackgroundBlurOnResize } from './utils.js';\nimport { InputDialog } from './utils/inputDialog.js';\nimport { enableSubmitButton } from './utils/enableSubmitButton.js';\nimport { intersectionObserver } from './utils/intersectionObserver.js';\n\nconst PREF_MAP = {\n\t'bg-img-drop': backgroundImage,\n\t'bg-blur-drop': backgroundBlur,\n\t// 'bg-glow-drop': backgroundGlow,\n\t// 'weather-display-drop': displayWeather,\n\t'footer-display-drop': displayFooter,\n\t'def-widget-drop': defaultWidget,\n\t// 'widget-style-drop': widgetStyle,\n\t'greeting-display-drop': displayGreeting,\n\t'def-widget-display-drop': displayWidget,\n\t// 'show-seconds-drop': showSeconds,\n\t// 'clock-style-drop': clockStyle,\n\t// 'am-pm-style-drop': amPmStyle,\n\t'def-search-engine-drop': defaultSearchEngine,\n\t'searchbar-position-drop': defaultSearchbarPosition,\n\t'searchbar-color-theme-drop': searchbarTheme,\n\t'focus-search-drop': focusSearchBar,\n\t'search-display-drop': displaySearch,\n\t// 'show-titles-drop': showTitles,\n\t'movies-search-display-drop': moviesSearch,\n\t'tv-search-display-drop': tvSearch,\n\t'games-search-display-drop': gamesSearch,\n\t'ebooks-search-display-drop': ebooksSearch,\n\t'add-bookmark-display-drop': displayAddBookmark,\n};\n\nfunction backgroundImage(value) {\n\tconst overlay = document.getElementById('overlay');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\toverlay.style.backgroundColor = 'rgba(0, 0, 0, 1)';\n\t\t\t// console.log(value);\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\toverlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n\t\t\t// console.log(value);\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction backgroundBlur(value) {\n\tconst overlay = document.getElementById('overlay');\n\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\toverlay.style.backdropFilter = 'blur(0em)';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\toverlay.style.backdropFilter = 'blur(1em)';\n\t\t\tfixBackgroundBlurOnResize('overlay');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n// function backgroundGlow() { };\n\n// function displayWeather() { };\n\nfunction displayFooter(value) {\n\tconst footer = document.getElementById('footer');\n\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tfooter.classList.add('hidden');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tfooter.classList.remove('hidden');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nexport function focusSearchBar(value) {\n\tsessionStorage.setItem('focus', value);\n\n\t// const searchbar = document.getElementById('searchTerm');\n\t// switch (value) {\n\t// \tcase 'off': {\n\t// \t\t// searchbar.focus();\n\t// \t\t// sessionStorage.setItem('focus', 'off');\n\t// \t\tbreak;\n\t// \t};\n\t// \tcase 'on': {\n\t// \t\t// searchbar.focus();\n\t// \t\t// searchbar.click();\n\t// \t\tbreak;\n\t// \t};\n};\n\nfunction displayWidget(value) {\n\tconst widget = document.getElementById('main-heading-slider');\n\tconst lArrow = document.getElementById('left-arrow');\n\tconst rArrow = document.getElementById('right-arrow');\n\n\tfunction toggleDefaultWidgetButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tdocument.getElementById('main-widget-children-container')\n\t\t\t\t\t.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tdocument.getElementById('main-widget-children-container')\n\t\t\t\t\t.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\twidget.classList.add('hidden');\n\t\t\tlArrow.classList.add('hidden');\n\t\t\trArrow.classList.add('hidden');\n\t\t\ttoggleDefaultWidgetButton('hide');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\twidget.classList.remove('hidden');\n\t\t\tlArrow.classList.remove('hidden');\n\t\t\trArrow.classList.remove('hidden');\n\t\t\ttoggleDefaultWidgetButton('show');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction displaySearch(value) {\n\tconst search = document.getElementById('searchbar');\n\tconst searchChildren = document\n\t\t.getElementById('search-display-children-container');\n\tconst searchEngineDrop = document\n\t\t.getElementById('def-search-engine-drop-container');\n\n\tfunction toggleSearchEngineButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tsearchChildren.classList.remove('nested-close');\n\t\t\t\tsearchEngineDrop.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tsearchChildren.classList.add('nested-close');\n\t\t\t\tsearchEngineDrop.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tsearch.classList.add('hidden');\n\t\t\ttoggleSearchEngineButton('hide');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tsearch.classList.remove('hidden');\n\t\t\ttoggleSearchEngineButton('show');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nconst widgetSlides = document.getElementsByClassName('widget-slide');\n\nfunction applyText(input) {\n\tfor (const i of widgetSlides) {\n\t\ti.textContent = input;\n\t}\n};\n\nfunction defaultWidget(value) {\n\tfunction loadCustomText() {\n\t\tlet customText = localStorage.getItem('customWidgetText');\n\t\tif (customText == null) {\n\t\t\tlocalStorage.setItem('customWidgetText', DEF_CUSTOM_TEXT);\n\t\t\tcustomText = localStorage.getItem('customWidgetText');\n\t\t\taskCustomText();\n\t\t}\n\t\tapplyText(customText);\n\t\t// return customText;\n\t}\n\n\tfunction toggleCustomTextButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tdocument.getElementById('update-customtext-btn')\n\t\t\t\t\t.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tdocument.getElementById('update-customtext-btn')\n\t\t\t\t\t.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\n\tswitch (value) {\n\t\tcase 'casamia': {\n\t\t\ttoggleCustomTextButton('hide');\n\t\t\tdisplayClock('off');\n\t\t\tapplyText('Casa Mia');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'search': {\n\t\t\ttoggleCustomTextButton('hide');\n\t\t\tdisplayClock('off');\n\t\t\tapplyText('Search');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'clock': {\n\t\t\ttoggleCustomTextButton('hide');\n\t\t\tdisplayClock('on');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'custom': {\n\t\t\tdisplayClock('off');\n\t\t\ttoggleCustomTextButton('show');\n\t\t\tloadCustomText();\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nexport function askCustomText() {\n\tconst savedText = localStorage.getItem('customWidgetText');\n\tInputDialog.show(\n\t\t'Custom widget text',\n\t\t'Enter text you want to set as the main widget.',\n\t\t['Custom text'],\n\t\t'Save',\n\t\t'Cancel',\n\t\tnull,\n\t\t[enableSubmitButton, null],\n\t\t() => {\n\t\t\tInputDialog.getInputFields()[0].value = savedText;\n\t\t},\n\t).then((res) => {\n\t\tlocalStorage.setItem('customWidgetText', res.inputValues[0]);\n\t\tapplyText(res.inputValues[0]);\n\t\tupdateCustomTextPreview();\n\t}).catch((e) => {\n\t\tconsole.error(e);\n\t});\n}\n\nexport function askCustomDomain() {\n\tconst savedDomain = localStorage.getItem('customDomain');\n\tInputDialog.show(\n\t\t'Custom widget text',\n\t\t'Enter text you want to set as the main widget.',\n\t\t['Custom text'],\n\t\t'Save',\n\t\t'Cancel',\n\t\tnull,\n\t\t[enableSubmitButton, null],\n\t\t() => {\n\t\t\tInputDialog.getInputFields()[0].value = savedDomain;\n\t\t},\n\t).then((res) => {\n\t\tlocalStorage.setItem('customDomain', res.inputValues[0]);\n\t\tapplyDomain(res.inputValues[0]);\n\t\tupdateCustomDomainPreview();\n\t}).catch((e) => {\n\t\tconsole.error(e);\n\t});\n}\n\n// function widgetStyle() { };\n\nlet greetingLoop = null;\nfunction displayGreeting(value) {\n\tconst subtitle = document.getElementById('subtitle');\n\tclearInterval(greetingLoop);\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tsubtitle.classList.add('collapsed');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tsubtitle.classList.remove('collapsed');\n\t\t\trefreshGreeting();\n\t\t\tgreetingLoop = setInterval(refreshGreeting, 20000);\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\n// function showSeconds() { };\n\n// function clockStyle() { };\n\n// function amPmStyle() { };\n\nfunction applyDomain(domain) {\n\tlocalStorage.setItem('default-search-url', domain);\n}\n\nexport function defaultSearchEngine(value) {\n\tfunction loadCustomDomain() {\n\t\tlet customDomain = localStorage.getItem('customDomain');\n\t\tif (customDomain == null) {\n\t\t\tlocalStorage.setItem('customDomain', GOOGLE_SEARCH_DOMAIN);\n\t\t\tcustomDomain = localStorage.getItem('customDomain');\n\t\t\taskCustomDomain();\n\t\t}\n\t\tapplyDomain(customDomain);\n\t\t// return customText;\n\t}\n\n\tfunction applyIcon(value) {\n\t\tdocument.getElementById('search-btn-icon').className = value;\n\t\tlocalStorage.setItem('default-search-icon', value);\n\t}\n\n\tfunction toggleCustomDomainButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tdocument.getElementById('update-customdomain-btn')\n\t\t\t\t\t.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tdocument.getElementById('update-customdomain-btn')\n\t\t\t\t\t.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\n\tswitch (value) {\n\t\tcase 'google': {\n\t\t\ttoggleCustomDomainButton('hide');\n\t\t\tapplyDomain(GOOGLE_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa-brands fa-google');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'bing': {\n\t\t\ttoggleCustomDomainButton('hide');\n\t\t\tapplyDomain(BING_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-magnifying-glass');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'duckduckgo': {\n\t\t\ttoggleCustomDomainButton('hide');\n\t\t\tapplyDomain(DUCKDUCKGO_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-magnifying-glass');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'custom': {\n\t\t\ttoggleCustomDomainButton('show');\n\t\t\tloadCustomDomain();\n\t\t\t// applyDomain(GOOGLE_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-magnifying-glass');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction searchbarTheme(value) {\n\tconst searchContainer = document.getElementById('searchContainer');\n\tsessionStorage.setItem('searchbar-color-theme-drop', value);\n\tswitch (value) {\n\t\tcase 'glass': {\n\t\t\tsearchContainer.classList.add('searchbox-style-glass');\n\t\t\tsearchContainer.classList.remove('searchbox-style-light');\n\t\t\tsearchContainer.classList.remove('searchbox-style-dark');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'light': {\n\t\t\tsearchContainer.classList.remove('searchbox-style-glass');\n\t\t\tsearchContainer.classList.add('searchbox-style-light');\n\t\t\tsearchContainer.classList.remove('searchbox-style-dark');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'dark': {\n\t\t\tsearchContainer.classList.remove('searchbox-style-glass');\n\t\t\tsearchContainer.classList.remove('searchbox-style-light');\n\t\t\tsearchContainer.classList.add('searchbox-style-dark');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction defaultSearchbarPosition(value) {\n\tconst searchbar = document.getElementById('searchbar');\n\tconst autofillContainer = document.getElementById('autofillContainer');\n\tconst wrap = document.getElementById('wrap');\n\tsessionStorage.setItem('searchbar-position-drop', value);\n\n\tswitch (value) {\n\t\tcase 'top': {\n\t\t\tsearchbar.style.order = '0';\n\t\t\tautofillContainer.style.order = '1';\n\t\t\tautofillContainer.style.bottom = '0em';\n\t\t\tautofillContainer.style.top = '3.75em';\n\t\t\twrap.style.margin = '0 auto auto auto';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'bottom': {\n\t\t\tsearchbar.style.order = '1';\n\t\t\tautofillContainer.style.order = '0';\n\t\t\tautofillContainer.style.bottom = '3.75em';\n\t\t\tautofillContainer.style.top = '';\n\t\t\twrap.style.margin = 'auto auto 0 auto';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'middle': {\n\t\t\tsearchbar.style.order = '0';\n\t\t\tautofillContainer.style.order = '1';\n\t\t\tautofillContainer.style.bottom = '0em';\n\t\t\tautofillContainer.style.top = '3.75em';\n\t\t\twrap.style.margin = 'auto auto auto auto';\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nexport function scrollToBottom() {\n\tif (document.getElementById('searchbar').style.order == '1') {\n\t\twindow.scrollTo(0, document.body.scrollHeight);\n\t}\n}\n\n// function showTitles() { };\n\nexport function applyPreferences() {\n\tconst preferencesObj =\n\t\tJSON.parse(localStorage.getItem('advDropdownValues'));\n\n\tconst preferencesArray = Object.entries(preferencesObj);\n\tfor (const i of preferencesArray) {\n\t\tconst func = PREF_MAP[i[0]];\n\t\tif (func) func(i[1]);\n\t}\n\n\t// apply previews\n\tupdateUserNamePreview();\n\tupdateCustomTextPreview();\n\tupdateCustomDomainPreview();\n\n\tconst lastSession = sessionStorage.getItem('input');\n\tif (lastSession) document.getElementById('searchTerm').value = lastSession;\n}\n\nexport function loadDropdownPositions() {\n\tconst loadedFromStorage =\n\t\tObject.entries(JSON.parse(localStorage.getItem('advDropdownValues')));\n\t// if (!loadButtonPreviews) return;\n\tfor (const i of loadedFromStorage) {\n\t\tconst elem = document.getElementById(i[0]);\n\t\tif (elem) {\n\t\t\telem.value = i[1];\n\t\t}\n\t}\n};\n\nexport function updateUserNamePreview() {\n\tdocument.getElementById('update-username-btn-preview').\n\t\ttextContent = localStorage.getItem('userName');\n}\n\nexport function updateCustomTextPreview() {\n\tdocument.getElementById('update-customtext-btn-preview').\n\t\ttextContent = localStorage.getItem('customWidgetText');\n}\n\nexport function updateCustomDomainPreview() {\n\tdocument.getElementById('update-customdomain-btn-preview').\n\t\ttextContent = localStorage.getItem('customDomain');\n}\n\nexport function loadSelectedWidgetStyle() {\n\tdocument.getElementById(localStorage.getItem('selected-widget-style'))\n\t\t.scrollIntoView();\n\n\tsetTimeout(() => {\n\t\tintersectionObserver('main-heading-slider', 'widget-slide');\n\t}, 500);\n}\n\nexport function updateAmPmStyle(amPm) {\n\tconst style = localStorage.getItem('selected-widget-style');\n\tif (style == 'widget-2' || style == 'widget-7' || style == 'widget-5') {\n\t\treturn amPm.toLowerCase();\n\t}\n\treturn amPm;\n}\n\nfunction moviesSearch(value) {\n\tconst button = document.getElementById('movies-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction tvSearch(value) {\n\tconst button = document.getElementById('tv-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction gamesSearch(value) {\n\tconst button = document.getElementById('games-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction ebooksSearch(value) {\n\tconst button = document.getElementById('ebooks-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction displayAddBookmark(value) {\n\tconst button = document.getElementById('add_bookmark_button');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\n","export function intersectionObserver(rootID, targetClass) {\n\tconst targetClasses = document.getElementsByClassName(targetClass);\n\tconst options = {\n\t\troot: document.getElementById(rootID),\n\t\trootMargin: '0px',\n\t\tthreshold: 0.5,\n\t};\n\n\tconst callback = (entries) => {\n\t\tentries.forEach((entry) => {\n\t\t\tentry.isIntersecting ? localStorage\n\t\t\t\t.setItem('selected-widget-style', entry.target.id) : null;\n\t\t\t// console.log(entry.target.id)\n\t\t\t// console.log(entry.intersectionRatio)\n\t\t});\n\t};\n\n\tconst observer = new IntersectionObserver(callback, options);\n\n\tfor (const target of targetClasses) {\n\t\tobserver.observe(target);\n\t}\n};\n","// eslint-disable-next-line block-spacing\n{/* eslint-disable max-len */ }\n\n// export const cliHelpText =\n// `Documentation:\\n\n// To Batch search a list of search terms separated by comma:\n// --g : Google search\n// --b : Bing search\n// --d : DuckDuckGo search\\n\n// --fetch : Import a predefined set of custom bookmarks.\n// --reset : Deletes only the saved bookmarks.\n// --reset : Reset everything, including the bookmarks and wallpaper preferences.\\n\n// --help: This page`;\n\nexport const cliUnexpectedCmdText =\n `The command you have passed is invalid.\\n\nType --help to read the documentation.\\n`;\n\nexport const resetBookmarksWarningText =\n `This will reset bookmarks.\nMake sure you have a backup to import later on.\\n\\n\nAre you sure ?`;\n\nexport const resetAllWarningText =\n `This will reset everything.\nThere is no going back.\\n\nAre you sure?`;\n\n// export const askUserNameText =\n// `Welcome to Casa Mia\n// What is your name?`;\n\n// export const retryUserNameText =\n// `Please enter a valid name to proceed.\n// Maximum length allowed is 14 characters.`;\n\nexport const updateUserNameText =\n `Maximum length allowed is 17 characters.`;\n","export function addZero(char) {\n if (char.length == 1) char = '0' + char;\n return char;\n}\n","let alertModalContainer;\nlet modalCancelButton;\nlet tickBoxField;\nlet submitButtons;\n\nconst showAlertDialog = (\n\ttitle = null,\n\tdescription = null,\n\tsubmitButtonNames = ['Submit A', 'Submit B'],\n\tcancelButtonName = 'Ok',\n\ttickBox = [null, null],\n\tlisteners = [],\n\tonInit = null,\n) => {\n\talertModalContainer = document.getElementById('alertDialogContainer');\n\tif (alertModalContainer) alertModalContainer.remove();\n\n\tif (title) {\n\t\ttitle = `

${title}

`;\n\t} else (title = '');\n\tif (description) {\n\t\tdescription = `\n\t\t

${description}

\n\t`;\n\t} else (description = '');\n\n\tdocument.body\n\t\t.insertAdjacentHTML('afterbegin', `\n\t\t
\n\t\t\t
\n\t\t\t\t${title}\n\t\t\t\t${description}\n\t\t\t\t
\n\t\t\t\t\t${cancelButtonName}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t`);\n\tif (submitButtonNames) {\n\t\tsubmitButtonNames.forEach((e) => {\n\t\t\tlet id = e.replaceAll(' ', '-').toLowerCase();\n\t\t\tid = `ALERT-BUTTON-${id}`;\n\t\t\tdocument.getElementById('alertDialogButtonsBar')\n\t\t\t\t.insertAdjacentHTML('afterbegin', `\n\t\t\t\n\t\t\t${e}\n\t\t\t`);\n\t\t});\n\t}\n\tif (tickBox[0]) {\n\t\tdocument.getElementById('alertDialogButtonsBar')\n\t\t\t.insertAdjacentHTML('beforebegin', `\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t${tickBox[0]}\n\t\t\t\t\t \n\t\t`);\n\t\ttickBoxField = document.getElementById('tickBoxField');\n\t};\n\n\talertModalContainer = document.getElementById('alertDialogContainer');\n\tmodalCancelButton = document.getElementById('alertDialogCancelButton');\n\tsubmitButtons = document.getElementsByClassName('alertDialogSubmitButton');\n\tdocument.body.style.overflow = 'hidden';\n\tmodalCancelButton.focus();\n\n\tconst promise = new Promise((resolve, reject) => {\n\t\talertModalContainer.style.alignItems = 'center';\n\t\talertModalContainer.style.opacity = '1';\n\n\t\tconst resolveModal = () => {\n\t\t\tmodalCancelButton.removeEventListener('click', resolveModal);\n\t\t\tif (tickBox[0]) {\n\t\t\t\ttickBoxField.removeEventListener('change', tickBox[1]);\n\t\t\t\ttickBoxField = tickBoxField.checked;\n\t\t\t}\n\t\t\tif (listeners) {\n\t\t\t\tlisteners.forEach((element, index) => {\n\t\t\t\t\tsubmitButtons[index].removeEventListener('click', element);\n\t\t\t\t});\n\t\t\t}\n\t\t\talertModalContainer.remove();\n\t\t\tdocument.body.style.overflow = 'auto';\n\t\t\t// console.log(result);\n\t\t\tresolve(tickBoxField);\n\t\t};\n\n\t\tmodalCancelButton.addEventListener('click', resolveModal);\n\t\tif (listeners) {\n\t\t\tlisteners.forEach((element, index) => {\n\t\t\t\tsubmitButtons[index].addEventListener('click', element);\n\t\t\t});\n\t\t}\n\t\tif (tickBox[0]) {\n\t\t\ttickBoxField.addEventListener('change', tickBox[1]);\n\t\t}\n\t});\n\n\tif (onInit) onInit();\n\treturn promise;\n};\n\nexport const AlertDialog = {\n\tshow: showAlertDialog,\n\tgetCancelButton: () => {\n\t\treturn modalCancelButton;\n\t},\n\tgetSubmitButtons: () => {\n\t\treturn submitButtons;\n\t},\n\tgetCheckboxField: () => {\n\t\treturn tickBoxField;\n\t},\n};\n\nexport const genericAlert = (title, msg) => {\n\tAlertDialog.show(\n\t\ttitle,\n\t\tmsg,\n\t\tnull,\n\t\t'Ok',\n\t\t[null, null],\n\t\tnull,\n\t\tnull,\n\t).then((res) => console.log(res))\n\t\t.catch((e) => console.error(e));\n};\n","export function changeExtension(filename, ext) {\n\tconst array = filename.split('.');\n\tarray[array.length - 1] = ext;\n\treturn array.join('.');\n};\n","export function wait(ms) {\n let now = Date.now();\n const end = now + ms;\n while (now < end) {\n now = Date.now();\n }\n}\n","import { changeGlow, changeSelectionColor } from './colors.js';\nimport { WALLPAPERS_URL } from './constants.js';\nimport { applyPreferences } from './load_preferences.js';\nimport { changeTextAccentColor } from './colors.js';\n\nexport let selectedWallpaper;\nexport let color;\nexport let wallpapersList = [];\n\nexport function fetchWallpapersList() {\n\t// Add wallpapers to HTML\n\tfetch(WALLPAPERS_URL + 'wallpapers_list.json').then((response) => {\n\t\tresponse.text().then((text) => {\n\t\t\twallpapersList = JSON.parse(text);\n\t\t\tresolveWallpapers();\n\t\t\tpopulateWallpapersInDOM();\n\t\t\thighlightSetWallpaper();\n\t\t});\n\t}).catch((e) => {\n\t\tconsole.log(e);\n\t\twindow.open('./pages/error', '_self');\n\t});\n}\n\nexport function setWallpaper(fileName, color) {\n\tselectedWallpaper = fileName;\n\tconst overlay = document.getElementById('overlay');\n\t// console.log('test ' + overlay.style.backdropFilter);\n\toverlay.style.backdropFilter = 'blur(1em)';\n\tconst temp = new Image();\n\ttemp.src = WALLPAPERS_URL + fileName;\n\ttemp.onload = (e) => {\n\t\tapplyWallpaper(selectedWallpaper);\n\t\tlocalStorage.setItem('wallpaper', selectedWallpaper);\n\t\tapplyPreferences();\n\t};\n\n\tchangeGlow(color);\n\tchangeTextAccentColor(color);\n\tchangeSelectionColor(color);\n\tconst inputThumb = fileName.split('.').join('-thumb.');\n\tapplyWallpaper(inputThumb);\n}\n\nfunction applyWallpaper(input) {\n\tdocument.body.style.backgroundImage = 'url(' + WALLPAPERS_URL + input + ')';\n\tdocument.body.style.backgroundRepeat = 'no-repeat';\n\tdocument.body.style.backgroundSize = 'cover';\n\tdocument.body.style.backgroundAttachment = 'fixed';\n\tdocument.body.style.backgroundPosition = 'center';\n}\n\nexport function highlightSetWallpaper() {\n\tconst availableWallpapers = document.getElementsByClassName('thumb-group');\n\tfor (const n of availableWallpapers) {\n\t\tconst thumbnail = n.getElementsByClassName('thumbnail')[0];\n\t\tconst title = n.getElementsByClassName('thumb-title')[0];\n\t\tn.classList.add('animate');\n\n\t\tif (thumbnail.src.replace('-thumb', '').includes(selectedWallpaper)) {\n\t\t\ttitle.style.opacity = '1';\n\t\t\tn.classList.remove('animate');\n\t\t\tn.classList.add('highlighted');\n\t\t} else {\n\t\t\ttitle.style.opacity = '0';\n\t\t\tn.classList.add('animate');\n\t\t\tn.classList.remove('highlighted');\n\t\t}\n\t}\n}\n\n\nexport function changeWallpaper(event) {\n\tevent.stopPropagation();\n\tlet selection = event.target.title;\n\tif (!selection) selection = event.target.childNodes[1].title;\n\t// console.log(\"clicks \" + selection + event.target.childNodes[1].title);\n\tconst wall = getWallpaperDetails(selection);\n\tsetWallpaper(wall[0], wall[1]);\n\thighlightSetWallpaper();\n}\n\nexport function getWallpaperDetails(title) {\n\tconst wallpaper = wallpapersList.filter((item) => {\n\t\treturn item.title == title;\n\t})[0].file;\n\tconst color = wallpapersList.filter((item) => {\n\t\treturn item.title == title;\n\t})[0].color[1];\n\treturn [wallpaper, color];\n}\n\nfunction resolveWallpapers() {\n\tselectedWallpaper = localStorage.getItem('wallpaper');\n\tcolor = wallpapersList.filter((item) => {\n\t\treturn item.file == selectedWallpaper;\n\t})[0].color[1];\n\tsetWallpaper(selectedWallpaper, color);\n}\n\nfunction populateWallpapersInDOM() {\n\tconst bar = document.getElementById('wallpapers');\n\n\tfor (const n of wallpapersList) {\n\t\tlet input = n.file;\n\t\tinput = input.split('.').join('-thumb.');\n\n\t\tconst thumb = document.createElement('div');\n\t\tthumb.className = 'thumb-group';\n\t\tthumb.setAttribute('onclick', 'changeWallpaper(event)');\n\t\tthumb.setAttribute('onkeypress', 'click_to_enter(event)');\n\t\tthumb.setAttribute('tabindex', '3');\n\n\t\tconst div = document.createElement('div');\n\t\tdiv.innerHTML = n.title;\n\t\tdiv.className = 'thumb-title';\n\t\tthumb.appendChild(div);\n\n\t\tconst img = document.createElement('img');\n\t\timg.src = WALLPAPERS_URL + input;\n\t\timg.className = 'thumbnail';\n\t\timg.title = n.title;\n\t\timg.setAttribute('draggable', 'false');\n\t\tthumb.appendChild(img);\n\n\t\tbar.appendChild(thumb);\n\t}\n}\n","export function changeGlow(color, opacity) {\n\tconst glowOverlay = document.getElementById('gradient_overlay');\n\tconst wallpapersRollOverlay = document.getElementById('wallpapers');\n\tconst glowSetting = localStorage.getItem('glow');\n\tif (opacity != null) {\n\t\tif (glowSetting != '1') glowOverlay.style.opacity = opacity;\n\t}\n\tif (color != null) {\n\t\twallpapersRollOverlay.style.background =\n\t\t\t`linear-gradient(to top, rgb(${color}), 50%, #fbd3e900)`;\n\t\tglowOverlay.style.background =\n\t\t\t`linear-gradient(to top, rgb(${color}), 50%, #fbd3e900)`;\n\t}\n}\n\nexport function changeTextAccentColor(color) {\n\tconst i = document.getElementsByClassName('has-shadow');\n\tfor (let n = 0; n < i.length; n++) {\n\t\ti[n].style.textShadow =\n\t\t\t`4px 4px 0 rgba(${color},.85), 6px 6px 0px black`;\n\t}\n}\n\nexport function changeSelectionColor(color) {\n\tdocument.documentElement.style\n\t\t.setProperty('--selection-color', `rgba(${color}, .5)`);\n}\n","export const headingStyles = [\n 'default-text-style',\n 'brush-text-style-1',\n 'brush-text-style-2',\n 'brush-text-style-3',\n];\n","import {\n BING_SEARCH_DOMAIN, DUCKDUCKGO_SEARCH_DOMAIN, GOOGLE_SEARCH_DOMAIN,\n} from './constants.js';\nimport { resetAll, resetBookmarks } from './preferences.js';\nimport { cliUnexpectedCmdText } from './strings.js';\nimport { fetchBookmarks } from './utils.js';\nimport { genericAlert } from './utils/alertDialog.js';\nimport { downloadFile } from './utils/downloadFile.js';\n\n\nexport function cliCheck(input) {\n // var input = getSearchTerm().value;\n if (input.startsWith('--')) {\n return true;\n }\n return false;\n}\n\nfunction parseDL(url) {\n fetch(`https://casamia.cambo.in/api/?url=${url}`).then((results) => {\n return results.json();\n }).then((res) => {\n const download = confirm('Download video?');\n if (download) downloadFile(res.url, 'CasaMia_Downloader.mp4');\n console.log(res.url);\n });\n}\n\nfunction searchViaCli(url, searchTerm) {\n let searchQuery = searchTerm.substr(4);\n searchQuery = searchQuery.split(',');\n searchQuery.forEach((value) => {\n // value = encodeURIComponent(value);\n const o = window.open(`${url}${value}`, '_blank');\n if (o == null) {\n genericAlert('Information',\n 'Allow pop-ups for this feature to work properly.');\n return;\n };\n });\n}\n\nexport function cliParse(input) {\n const forBatchSearch = input.toLowerCase();\n input = input.split('--').join('');\n input = input.split(' ');\n switch (input[0].toLowerCase()) {\n case 'help':\n window.open(`/pages/help/index.html`, '_self');\n // alert(cliHelpText);\n break;\n case 'reset':\n if (input[1] == 'bookmarks') resetBookmarks();\n else if (input[1] == 'all') resetAll();\n else genericAlert('Error', cliUnexpectedCmdText);\n break;\n case 'fetch':\n if (input[1] == 'default') fetchBookmarks();\n // else if (input[1] == 'all') resetAll();\n else genericAlert('Error', cliUnexpectedCmdText);\n break;\n case 'dl':\n if (input[1]) parseDL(input[1]);\n else genericAlert('Failed', `Enter a valid YT address`);\n break;\n case 'clock':\n window.open(`./pages/clock`, '_self');\n break;\n case 'count':\n window.open(`./pages/countdown`, '_self');\n break;\n case 'g':\n searchViaCli(GOOGLE_SEARCH_DOMAIN, forBatchSearch);\n break;\n case 'b':\n searchViaCli(BING_SEARCH_DOMAIN, forBatchSearch);\n break;\n case 'd':\n searchViaCli(DUCKDUCKGO_SEARCH_DOMAIN, forBatchSearch);\n break;\n default:\n genericAlert('Error', cliUnexpectedCmdText);\n };\n}\n\n","// export const downloadFile = (path, filename) => {\n// // Create a new link\n// const anchor = document.createElement('a');\n// anchor.href = path;\n// anchor.download = filename;\n\n// // Append to the DOM\n// document.body.appendChild(anchor);\n\n// // Trigger `click` event\n// anchor.click();\n\n// // Remove element from DOM\n// document.body.removeChild(anchor);\n// };\n\nexport function downloadFile(url) {\n // console.log(WALLPAPERS_URL + selectedWallpaper);\n const element = document.createElement('a');\n element.setAttribute('href', url);\n element.setAttribute('download', 'CasaMia-Downloaer');\n element.target = '_blank';\n element.style.display = 'none';\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n /* alert(\n \"If the download doesn't start, disable the pop-up blocker extensions.\"\n); */\n};\n","const notifyModalContainer = document.getElementById('notifyContainer');\r\nlet modalCancelButton;\r\nlet notify;\r\n\r\nconst showNotifyDialog = (\r\n\tdescription,\r\n\tms = '5000',\r\n\tonClick = null,\r\n) => {\r\n\tconst id = Date.now();\r\n\tnotify = document.getElementById(`notifyModal-${id}`);\r\n\tif (notify) notify.parentNode.remove();\r\n\r\n\tnotifyModalContainer.insertAdjacentHTML('afterbegin', `\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t

\r\n\t\t\t\t\t${description}\r\n\t\t\t\t

\r\n\t\t\t\t
\r\n\t\t\t
\t\r\n\t\t\t\r\n\t\t
\r\n\t`);\r\n\r\n\tconst notifyLoader = document.getElementById(`notifyLoader-${id}`);\r\n\r\n\tnotify = document.getElementById(`notifyModal-${id}`);\r\n\tif (onClick) notify.addEventListner('click', onClick);\r\n\r\n\tconst closeNotification = (event) => {\r\n\t\tif (onClick) notify.removeEventListner('click', onClick);\r\n\t\tmodalCancelButton.removeEventListener('click', closeNotification);\r\n\t\tevent.target.parentNode.remove();\r\n\t};\r\n\r\n\tmodalCancelButton = document.getElementById(`notifyDialogCancelButton-${id}`);\r\n\tmodalCancelButton.addEventListener('click', closeNotification);\r\n\r\n\tsetTimeout(() => {\r\n\t\tconst close = modalCancelButton;\r\n\t\tsetTimeout(() => {\r\n\t\t\tclose.click();\r\n\t\t}, ms);\r\n\t\tnotifyLoader.style.transition = ms + 'ms';\r\n\t\tnotify.style.opacity = '1';\r\n\t\tnotify.style.marginTop = '2em';\r\n\t\tnotifyLoader.style.width = '0%';\r\n\t}, 50);\r\n};\r\n\r\nexport const Notify = {\r\n\tshow: showNotifyDialog,\r\n};\r\n","let previousClick = null;\n\nexport function hideLoading() {\n if (previousClick) {\n previousClick.classList.toggle('loader');\n }\n previousClick = null;\n}\nexport function displayLoading(event) {\n // console.log(event);\n event.stopPropagation();\n // event.preventDefault();\n hideLoading();\n const click = event.target;\n previousClick = click;\n click.classList.toggle('loader');\n}\n","import { DEF_PREF, DEF_WALLPAPER, SAMPLE_AUTOFILL } from './constants.js';\nimport { updateUserNamePreview } from './load_preferences.js';\nimport { refreshGreeting } from './preferences.js';\nimport { updateUserNameText } from './strings.js';\nimport { InputDialog } from './utils/inputDialog.js';\nimport { enableSubmitButton } from './utils/enableSubmitButton.js';\n\nexport function askUserName() {\n let userName = localStorage.getItem('userName');\n\n if (userName) {\n InputDialog.show(\n 'Update your name',\n updateUserNameText,\n ['Change name to'],\n 'Update',\n 'Cancel',\n null,\n [enableSubmitButton, null],\n () => {\n InputDialog.getInputFields()[0].setAttribute('maxlength', 17);\n InputDialog.getInputFields()[0].value = userName;\n },\n ).then((res) => {\n userName = res.inputValues[0];\n localStorage.setItem('userName', userName);\n updateUserNamePreview();\n refreshGreeting();\n return;\n }).catch((e) => {\n console.error(e);\n return;\n });\n return;\n };\n\n if (!userName) {\n const onBoardingInProgress = InputDialog.show(\n 'Welcome to Casa Mia',\n `Hi! We are so excited to see you here.\n Please fill out the following details before moving forward. `,\n [`Your name`],\n 'Proceed',\n null,\n null,\n [enableSubmitButton, null],\n () => {\n InputDialog.getInputFields()[0].setAttribute('maxlength', 17);\n },\n );\n onBoardingInProgress.then((res) => {\n userName = res.inputValues[0];\n localStorage.setItem('userName', userName);\n localStorage.setItem('onBoarding', '1');\n return;\n }).catch((e) => {\n console.error(e);\n return;\n });\n return onBoardingInProgress;\n };\n};\n\nexport function preOnboarding() {\n const onBoardingInProgress = askUserName();\n localStorage.setItem('onBoarding', '0');\n localStorage.setItem('advDropdownValues', JSON.stringify(DEF_PREF));\n localStorage.setItem('wallpaper', DEF_WALLPAPER);\n localStorage.setItem('autocompleteDatabase', SAMPLE_AUTOFILL);\n localStorage.setItem('selected-widget-style', 'widget-1');\n return onBoardingInProgress;\n}\n\n","import { applyPreferences } from './load_preferences.js';\n\nexport function saveDropdownPositions() {\n const select = document.getElementsByTagName('select');\n const dropdownPositions = {};\n for (const i of select) {\n dropdownPositions[i.id] = i.value;\n };\n localStorage\n .setItem('advDropdownValues', JSON.stringify(dropdownPositions));\n applyPreferences();\n};\n\n// export function saveButtonValues() {\n// const previews = document.getElementsByClassName('custom-button');\n// const buttonPreviews = {};\n// for (const i of previews) {\n// buttonPreviews[i.id] = i.value;\n// };\n// localStorage\n// .setItem('advButtonPreviews', JSON.stringify(buttonPreviews));\n// loadButtonPreviews();\n// };\n\n// export function loadButtonPreviews() {\n// let loadedFromStorage = localStorage.getItem('advButtonPreviews');\n// if (!loadedFromStorage) return;\n// loadedFromStorage =\n// Object.entries(JSON.parse(loadedFromStorage));\n// for (const i of loadedFromStorage) {\n// document.getElementById(i[0] + '-preview').textContent = i[1];\n// }\n// };\n","export function getLastUpdated(id) {\n\tfetch('https://api.github.com/repos/lscambo13/casamia/commits/HEAD')\n\t\t.then((response) => {\n\t\t\tresponse.json().then((response) => {\n\t\t\t\tconst date = new Date(response.commit.committer.date);\n\t\t\t\tlet time = date.toISOString();\n\t\t\t\ttime = time.slice(0, time.length - 5);\n\t\t\t\ttime = time\n\t\t\t\t\t.replaceAll('T', '-')\n\t\t\t\t\t.replaceAll(':', '')\n\t\t\t\t\t.replaceAll('-', '.');\n\t\t\t\tconst element = document.getElementById(id);\n\t\t\t\telement.innerHTML = `Version ${time}`;\n\t\t\t}).catch((e) => {\n\t\t\t\tconsole.error('getLastUpdated', e);\n\t\t\t});\n\t\t}).catch((e) => {\n\t\t\tconsole.error('getLastUpdated', e);\n\t\t});\n};\n","export function blurLevel(int) {\r\n\tdocument.documentElement.style\r\n\t\t.setProperty('--blur-one-em', `blur(${int}em)`);\r\n\tdocument.documentElement.style\r\n\t\t.setProperty('--blur-one-px', `blur(${int}px)`);\r\n}\r\n","let pause = false\r\nexport function pauseSnaowfall(boolean) {\r\n\tpause = boolean\r\n\tisItChristmas()\r\n}\r\nexport function isItChristmas() {\r\n\tlet date = new Date()\r\n\tif (date.getMonth() == 11 && date.getDate() > 17 && date.getDate() < 32) {\r\n\t\t// console.log(date.getMonth() == 11, date.getDate() > 17, date.getDate() < 32)\r\n\t\tletItSnow()\r\n\t}\r\n}\r\nfunction letItSnow() {\r\n\tpause = true\r\n\t//canvas init\r\n\tvar canvas = document.getElementById(\"canvasFar\");\r\n\tvar ctx = canvas.getContext(\"2d\");\r\n\r\n\t//canvas dimensions\r\n\tvar W = window.innerWidth;\r\n\tvar H = window.innerHeight;\r\n\tcanvas.width = W;\r\n\tcanvas.height = H;\r\n\r\n\t//snowflake particles\r\n\tvar mp = 50; //max particles\r\n\tvar particles = [];\r\n\tfor (var i = 0; i < mp; i++) {\r\n\t\tparticles.push({\r\n\t\t\tx: Math.random() * W, //x-coordinate\r\n\t\t\ty: Math.random() * H, //y-coordinate\r\n\t\t\tr: Math.random() * 4 + 1, //radius\r\n\t\t\td: Math.random() * mp //density\r\n\t\t})\r\n\t}\r\n\r\n\t//Lets draw the flakes\r\n\tctx.fillStyle = \"rgba(255, 255, 255, 0.5)\";\r\n\tfunction draw() {\r\n\t\t// let tStart = Date.now()\r\n\t\tctx.clearRect(0, 0, W, H);\r\n\t\tctx.beginPath();\r\n\t\tfor (var i = 0; i < mp; i++) {\r\n\t\t\tvar p = particles[i];\r\n\t\t\tctx.moveTo(p.x, p.y);\r\n\t\t\tctx.arc(p.x, p.y, p.r, 0, Math.PI * 2, true);\r\n\t\t}\r\n\t\tctx.fill();\r\n\t\tupdate();\r\n\t\tif (!pause) window.requestAnimationFrame(draw);\r\n\t\t// console.log(Date.now() - tStart)\r\n\t\t// console.log('draw')\r\n\t}\r\n\r\n\t//Function to move the snowflakes\r\n\t//angle will be an ongoing incremental flag. Sin and Cos functions will be applied to it to create vertical and horizontal movements of the flakes\r\n\t// var angle = 0;\r\n\tfunction update() {\r\n\t\t// console.log('update main')\r\n\t\t// angle += 0.01;\r\n\t\tfor (var i = 0; i < mp; i++) {\r\n\t\t\t// console.log('update loop')\r\n\t\t\tvar p = particles[i];\r\n\t\t\t//Updating X and Y coordinates\r\n\t\t\t//We will add 1 to the cos function to prevent negative values which will lead flakes to move upwards\r\n\t\t\t//Every particle has its own density which can be used to make the downward movement different for each flake\r\n\t\t\t//Lets make it more random by adding in the radius\r\n\t\t\tp.y += Math.cos(p.d) + 1 + p.r / 10;\r\n\t\t\t// p.y += Math.cos(angle + p.d) + 1 + p.r / 2;\r\n\t\t\t// p.x += Math.sin(angle) * 2;\r\n\r\n\t\t\t//Sending flakes back from the top when it exits\r\n\t\t\t//Lets make it a bit more organic and let flakes enter from the left and right also.\r\n\t\t\tif (p.x > W + 5 || p.x < -5 || p.y > H) {\r\n\t\t\t\tif (i % 3 > 0) //66.67% of the flakes\r\n\t\t\t\t{\r\n\t\t\t\t\tparticles[i] = { x: Math.random() * W, y: -10, r: p.r, d: p.d };\r\n\t\t\t\t}\r\n\t\t\t\t// else {\r\n\t\t\t\t// \t//If the flake is exitting from the right\r\n\t\t\t\t// \tif (Math.sin(angle) > 0) {\r\n\t\t\t\t// \t\t//Enter from the left\r\n\t\t\t\t// \t\tparticles[i] = { x: -5, y: Math.random() * H, r: p.r, d: p.d };\r\n\t\t\t\t// \t}\r\n\t\t\t\t// \telse {\r\n\t\t\t\t// \t\t//Enter from the right\r\n\t\t\t\t// \t\tparticles[i] = { x: W + 5, y: Math.random() * H, r: p.r, d: p.d };\r\n\t\t\t\t// \t}\r\n\t\t\t\t// }\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tcanvas.style.display = 'block'\r\n\tpause = false\r\n\twindow.requestAnimationFrame(draw);\r\n\t//animation loop\r\n\t// setInterval(draw, 60);\r\n}\r\n","export function isTouchDevice() {\n\t// return (('ontouchstart' in window) ||\n\t// \t(navigator.maxTouchPoints > 0) ||\n\t// \t(navigator.msMaxTouchPoints > 0));\n\tif (window.matchMedia('(hover: none)').matches) {\n\t\treturn true;\n\t} else return false;\n};\n"],"names":[],"version":3,"file":"index.3d214d75.js.map","sourceRoot":"/__parcel_source_root/"} \ No newline at end of file diff --git a/dist/index.3d214d75.js.map.19808.13 b/dist/index.3d214d75.js.map.19808.13 new file mode 100644 index 0000000..e5c8799 --- /dev/null +++ b/dist/index.3d214d75.js.map.19808.13 @@ -0,0 +1 @@ +{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAI,WAAW;AAAK,IAAI,WAAW;AAAK,IAAI,aAAa;AAAM,IAAI,eAAe;AAAmB,OAAO,MAAM,CAAC,aAAa,GAAG;AAAmB;AAEtJ,iJAAiJ,GACjJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,GACA,IAAI,aAAa;AACjB,IAAI,YAAY,OAAO,MAAM,CAAC,MAAM;AACpC,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yB;AAC1B;;;;;ACjGA,mDAAgB;AAAT,SAAS;IACf,wCAAwC;IACxC,qCAAqC;IACrC,sCAAsC;IACtC,IAAI,OAAO,UAAU,CAAC,iBAAiB,OAAO,EAC7C,OAAO;SACD,OAAO;AACf","sources":["node_modules/@parcel/runtime-browser-hmr/lib/runtime-3979cc5714f673f7.js","index.js","js_modules/search.js","js_modules/utils.js","js_modules/constants.js","node_modules/@parcel/transformer-js/src/esmodule-helpers.js","js_modules/preferences.js","js_modules/custom_bookmarks.js","js_modules/utils/inputDialog.js","js_modules/utils/enableSubmitButton.js","js_modules/validators.js","js_modules/utils/toggleDisplay.js","js_modules/load_preferences.js","js_modules/utils/intersectionObserver.js","js_modules/strings.js","js_modules/utils/addZero.js","js_modules/utils/alertDialog.js","js_modules/utils/changeExtension.js","js_modules/utils/wait.js","js_modules/wallpapers.js","js_modules/colors.js","js_modules/styles.js","js_modules/cli.js","js_modules/utils/downloadFile.js","js_modules/utils/notifyDialog.js","js_modules/loading_spinner.js","js_modules/onboarding.js","js_modules/save_preferences.js","js_modules/utils/getLastUpdated.js","js_modules/utils/blurLevel.js","js_modules/utils/letItSnow.js","js_modules/utils/isTouchDevice.js"],"sourcesContent":["var HMR_HOST = null;var HMR_PORT = null;var HMR_SECURE = false;var HMR_ENV_HASH = \"d6ea1d42532a7575\";module.bundle.HMR_BUNDLE_ID = \"0a8ecb283d214d75\";\"use strict\";\n\n/* global HMR_HOST, HMR_PORT, HMR_ENV_HASH, HMR_SECURE, chrome, browser, __parcel__import__, __parcel__importScripts__, ServiceWorkerGlobalScope */\n/*::\nimport type {\n HMRAsset,\n HMRMessage,\n} from '@parcel/reporter-dev-server/src/HMRServer.js';\ninterface ParcelRequire {\n (string): mixed;\n cache: {|[string]: ParcelModule|};\n hotData: {|[string]: mixed|};\n Module: any;\n parent: ?ParcelRequire;\n isParcelRequire: true;\n modules: {|[string]: [Function, {|[string]: string|}]|};\n HMR_BUNDLE_ID: string;\n root: ParcelRequire;\n}\ninterface ParcelModule {\n hot: {|\n data: mixed,\n accept(cb: (Function) => void): void,\n dispose(cb: (mixed) => void): void,\n // accept(deps: Array | string, cb: (Function) => void): void,\n // decline(): void,\n _acceptCallbacks: Array<(Function) => void>,\n _disposeCallbacks: Array<(mixed) => void>,\n |};\n}\ninterface ExtensionContext {\n runtime: {|\n reload(): void,\n getURL(url: string): string;\n getManifest(): {manifest_version: number, ...};\n |};\n}\ndeclare var module: {bundle: ParcelRequire, ...};\ndeclare var HMR_HOST: string;\ndeclare var HMR_PORT: string;\ndeclare var HMR_ENV_HASH: string;\ndeclare var HMR_SECURE: boolean;\ndeclare var chrome: ExtensionContext;\ndeclare var browser: ExtensionContext;\ndeclare var __parcel__import__: (string) => Promise;\ndeclare var __parcel__importScripts__: (string) => Promise;\ndeclare var globalThis: typeof self;\ndeclare var ServiceWorkerGlobalScope: Object;\n*/\nvar OVERLAY_ID = '__parcel__error__overlay__';\nvar OldModule = module.bundle.Module;\nfunction Module(moduleName) {\n OldModule.call(this, moduleName);\n this.hot = {\n data: module.bundle.hotData[moduleName],\n _acceptCallbacks: [],\n _disposeCallbacks: [],\n accept: function (fn) {\n this._acceptCallbacks.push(fn || function () {});\n },\n dispose: function (fn) {\n this._disposeCallbacks.push(fn);\n }\n };\n module.bundle.hotData[moduleName] = undefined;\n}\nmodule.bundle.Module = Module;\nmodule.bundle.hotData = {};\nvar checkedAssets /*: {|[string]: boolean|} */, assetsToDispose /*: Array<[ParcelRequire, string]> */, assetsToAccept /*: Array<[ParcelRequire, string]> */;\n\nfunction getHostname() {\n return HMR_HOST || (location.protocol.indexOf('http') === 0 ? location.hostname : 'localhost');\n}\nfunction getPort() {\n return HMR_PORT || location.port;\n}\n\n// eslint-disable-next-line no-redeclare\nvar parent = module.bundle.parent;\nif ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {\n var hostname = getHostname();\n var port = getPort();\n var protocol = HMR_SECURE || location.protocol == 'https:' && !['localhost', '127.0.0.1', '0.0.0.0'].includes(hostname) ? 'wss' : 'ws';\n var ws;\n try {\n ws = new WebSocket(protocol + '://' + hostname + (port ? ':' + port : '') + '/');\n } catch (err) {\n if (err.message) {\n console.error(err.message);\n }\n ws = {};\n }\n\n // Web extension context\n var extCtx = typeof browser === 'undefined' ? typeof chrome === 'undefined' ? null : chrome : browser;\n\n // Safari doesn't support sourceURL in error stacks.\n // eval may also be disabled via CSP, so do a quick check.\n var supportsSourceURL = false;\n try {\n (0, eval)('throw new Error(\"test\"); //# sourceURL=test.js');\n } catch (err) {\n supportsSourceURL = err.stack.includes('test.js');\n }\n\n // $FlowFixMe\n ws.onmessage = async function (event /*: {data: string, ...} */) {\n checkedAssets = {} /*: {|[string]: boolean|} */;\n assetsToAccept = [];\n assetsToDispose = [];\n var data /*: HMRMessage */ = JSON.parse(event.data);\n if (data.type === 'update') {\n // Remove error overlay if there is one\n if (typeof document !== 'undefined') {\n removeErrorOverlay();\n }\n let assets = data.assets.filter(asset => asset.envHash === HMR_ENV_HASH);\n\n // Handle HMR Update\n let handled = assets.every(asset => {\n return asset.type === 'css' || asset.type === 'js' && hmrAcceptCheck(module.bundle.root, asset.id, asset.depsByBundle);\n });\n if (handled) {\n console.clear();\n\n // Dispatch custom event so other runtimes (e.g React Refresh) are aware.\n if (typeof window !== 'undefined' && typeof CustomEvent !== 'undefined') {\n window.dispatchEvent(new CustomEvent('parcelhmraccept'));\n }\n await hmrApplyUpdates(assets);\n\n // Dispose all old assets.\n let processedAssets = {} /*: {|[string]: boolean|} */;\n for (let i = 0; i < assetsToDispose.length; i++) {\n let id = assetsToDispose[i][1];\n if (!processedAssets[id]) {\n hmrDispose(assetsToDispose[i][0], id);\n processedAssets[id] = true;\n }\n }\n\n // Run accept callbacks. This will also re-execute other disposed assets in topological order.\n processedAssets = {};\n for (let i = 0; i < assetsToAccept.length; i++) {\n let id = assetsToAccept[i][1];\n if (!processedAssets[id]) {\n hmrAccept(assetsToAccept[i][0], id);\n processedAssets[id] = true;\n }\n }\n } else fullReload();\n }\n if (data.type === 'error') {\n // Log parcel errors to console\n for (let ansiDiagnostic of data.diagnostics.ansi) {\n let stack = ansiDiagnostic.codeframe ? ansiDiagnostic.codeframe : ansiDiagnostic.stack;\n console.error('🚨 [parcel]: ' + ansiDiagnostic.message + '\\n' + stack + '\\n\\n' + ansiDiagnostic.hints.join('\\n'));\n }\n if (typeof document !== 'undefined') {\n // Render the fancy html overlay\n removeErrorOverlay();\n var overlay = createErrorOverlay(data.diagnostics.html);\n // $FlowFixMe\n document.body.appendChild(overlay);\n }\n }\n };\n ws.onerror = function (e) {\n if (e.message) {\n console.error(e.message);\n }\n };\n ws.onclose = function () {\n console.warn('[parcel] 🚨 Connection to the HMR server was lost');\n };\n}\nfunction removeErrorOverlay() {\n var overlay = document.getElementById(OVERLAY_ID);\n if (overlay) {\n overlay.remove();\n console.log('[parcel] ✨ Error resolved');\n }\n}\nfunction createErrorOverlay(diagnostics) {\n var overlay = document.createElement('div');\n overlay.id = OVERLAY_ID;\n let errorHTML = '
';\n for (let diagnostic of diagnostics) {\n let stack = diagnostic.frames.length ? diagnostic.frames.reduce((p, frame) => {\n return `${p}\n${frame.location}\n${frame.code}`;\n }, '') : diagnostic.stack;\n errorHTML += `\n
\n
\n 🚨 ${diagnostic.message}\n
\n
${stack}
\n
\n ${diagnostic.hints.map(hint => '
💡 ' + hint + '
').join('')}\n
\n ${diagnostic.documentation ? `` : ''}\n
\n `;\n }\n errorHTML += '
';\n overlay.innerHTML = errorHTML;\n return overlay;\n}\nfunction fullReload() {\n if ('reload' in location) {\n location.reload();\n } else if (extCtx && extCtx.runtime && extCtx.runtime.reload) {\n extCtx.runtime.reload();\n }\n}\nfunction getParents(bundle, id) /*: Array<[ParcelRequire, string]> */{\n var modules = bundle.modules;\n if (!modules) {\n return [];\n }\n var parents = [];\n var k, d, dep;\n for (k in modules) {\n for (d in modules[k][1]) {\n dep = modules[k][1][d];\n if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {\n parents.push([bundle, k]);\n }\n }\n }\n if (bundle.parent) {\n parents = parents.concat(getParents(bundle.parent, id));\n }\n return parents;\n}\nfunction updateLink(link) {\n var href = link.getAttribute('href');\n if (!href) {\n return;\n }\n var newLink = link.cloneNode();\n newLink.onload = function () {\n if (link.parentNode !== null) {\n // $FlowFixMe\n link.parentNode.removeChild(link);\n }\n };\n newLink.setAttribute('href',\n // $FlowFixMe\n href.split('?')[0] + '?' + Date.now());\n // $FlowFixMe\n link.parentNode.insertBefore(newLink, link.nextSibling);\n}\nvar cssTimeout = null;\nfunction reloadCSS() {\n if (cssTimeout) {\n return;\n }\n cssTimeout = setTimeout(function () {\n var links = document.querySelectorAll('link[rel=\"stylesheet\"]');\n for (var i = 0; i < links.length; i++) {\n // $FlowFixMe[incompatible-type]\n var href /*: string */ = links[i].getAttribute('href');\n var hostname = getHostname();\n var servedFromHMRServer = hostname === 'localhost' ? new RegExp('^(https?:\\\\/\\\\/(0.0.0.0|127.0.0.1)|localhost):' + getPort()).test(href) : href.indexOf(hostname + ':' + getPort());\n var absolute = /^https?:\\/\\//i.test(href) && href.indexOf(location.origin) !== 0 && !servedFromHMRServer;\n if (!absolute) {\n updateLink(links[i]);\n }\n }\n cssTimeout = null;\n }, 50);\n}\nfunction hmrDownload(asset) {\n if (asset.type === 'js') {\n if (typeof document !== 'undefined') {\n let script = document.createElement('script');\n script.src = asset.url + '?t=' + Date.now();\n if (asset.outputFormat === 'esmodule') {\n script.type = 'module';\n }\n return new Promise((resolve, reject) => {\n var _document$head;\n script.onload = () => resolve(script);\n script.onerror = reject;\n (_document$head = document.head) === null || _document$head === void 0 || _document$head.appendChild(script);\n });\n } else if (typeof importScripts === 'function') {\n // Worker scripts\n if (asset.outputFormat === 'esmodule') {\n return __parcel__import__(asset.url + '?t=' + Date.now());\n } else {\n return new Promise((resolve, reject) => {\n try {\n __parcel__importScripts__(asset.url + '?t=' + Date.now());\n resolve();\n } catch (err) {\n reject(err);\n }\n });\n }\n }\n }\n}\nasync function hmrApplyUpdates(assets) {\n global.parcelHotUpdate = Object.create(null);\n let scriptsToRemove;\n try {\n // If sourceURL comments aren't supported in eval, we need to load\n // the update from the dev server over HTTP so that stack traces\n // are correct in errors/logs. This is much slower than eval, so\n // we only do it if needed (currently just Safari).\n // https://bugs.webkit.org/show_bug.cgi?id=137297\n // This path is also taken if a CSP disallows eval.\n if (!supportsSourceURL) {\n let promises = assets.map(asset => {\n var _hmrDownload;\n return (_hmrDownload = hmrDownload(asset)) === null || _hmrDownload === void 0 ? void 0 : _hmrDownload.catch(err => {\n // Web extension fix\n if (extCtx && extCtx.runtime && extCtx.runtime.getManifest().manifest_version == 3 && typeof ServiceWorkerGlobalScope != 'undefined' && global instanceof ServiceWorkerGlobalScope) {\n extCtx.runtime.reload();\n return;\n }\n throw err;\n });\n });\n scriptsToRemove = await Promise.all(promises);\n }\n assets.forEach(function (asset) {\n hmrApply(module.bundle.root, asset);\n });\n } finally {\n delete global.parcelHotUpdate;\n if (scriptsToRemove) {\n scriptsToRemove.forEach(script => {\n if (script) {\n var _document$head2;\n (_document$head2 = document.head) === null || _document$head2 === void 0 || _document$head2.removeChild(script);\n }\n });\n }\n }\n}\nfunction hmrApply(bundle /*: ParcelRequire */, asset /*: HMRAsset */) {\n var modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (asset.type === 'css') {\n reloadCSS();\n } else if (asset.type === 'js') {\n let deps = asset.depsByBundle[bundle.HMR_BUNDLE_ID];\n if (deps) {\n if (modules[asset.id]) {\n // Remove dependencies that are removed and will become orphaned.\n // This is necessary so that if the asset is added back again, the cache is gone, and we prevent a full page reload.\n let oldDeps = modules[asset.id][1];\n for (let dep in oldDeps) {\n if (!deps[dep] || deps[dep] !== oldDeps[dep]) {\n let id = oldDeps[dep];\n let parents = getParents(module.bundle.root, id);\n if (parents.length === 1) {\n hmrDelete(module.bundle.root, id);\n }\n }\n }\n }\n if (supportsSourceURL) {\n // Global eval. We would use `new Function` here but browser\n // support for source maps is better with eval.\n (0, eval)(asset.output);\n }\n\n // $FlowFixMe\n let fn = global.parcelHotUpdate[asset.id];\n modules[asset.id] = [fn, deps];\n } else if (bundle.parent) {\n hmrApply(bundle.parent, asset);\n }\n }\n}\nfunction hmrDelete(bundle, id) {\n let modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (modules[id]) {\n // Collect dependencies that will become orphaned when this module is deleted.\n let deps = modules[id][1];\n let orphans = [];\n for (let dep in deps) {\n let parents = getParents(module.bundle.root, deps[dep]);\n if (parents.length === 1) {\n orphans.push(deps[dep]);\n }\n }\n\n // Delete the module. This must be done before deleting dependencies in case of circular dependencies.\n delete modules[id];\n delete bundle.cache[id];\n\n // Now delete the orphans.\n orphans.forEach(id => {\n hmrDelete(module.bundle.root, id);\n });\n } else if (bundle.parent) {\n hmrDelete(bundle.parent, id);\n }\n}\nfunction hmrAcceptCheck(bundle /*: ParcelRequire */, id /*: string */, depsByBundle /*: ?{ [string]: { [string]: string } }*/) {\n if (hmrAcceptCheckOne(bundle, id, depsByBundle)) {\n return true;\n }\n\n // Traverse parents breadth first. All possible ancestries must accept the HMR update, or we'll reload.\n let parents = getParents(module.bundle.root, id);\n let accepted = false;\n while (parents.length > 0) {\n let v = parents.shift();\n let a = hmrAcceptCheckOne(v[0], v[1], null);\n if (a) {\n // If this parent accepts, stop traversing upward, but still consider siblings.\n accepted = true;\n } else {\n // Otherwise, queue the parents in the next level upward.\n let p = getParents(module.bundle.root, v[1]);\n if (p.length === 0) {\n // If there are no parents, then we've reached an entry without accepting. Reload.\n accepted = false;\n break;\n }\n parents.push(...p);\n }\n }\n return accepted;\n}\nfunction hmrAcceptCheckOne(bundle /*: ParcelRequire */, id /*: string */, depsByBundle /*: ?{ [string]: { [string]: string } }*/) {\n var modules = bundle.modules;\n if (!modules) {\n return;\n }\n if (depsByBundle && !depsByBundle[bundle.HMR_BUNDLE_ID]) {\n // If we reached the root bundle without finding where the asset should go,\n // there's nothing to do. Mark as \"accepted\" so we don't reload the page.\n if (!bundle.parent) {\n return true;\n }\n return hmrAcceptCheck(bundle.parent, id, depsByBundle);\n }\n if (checkedAssets[id]) {\n return true;\n }\n checkedAssets[id] = true;\n var cached = bundle.cache[id];\n assetsToDispose.push([bundle, id]);\n if (!cached || cached.hot && cached.hot._acceptCallbacks.length) {\n assetsToAccept.push([bundle, id]);\n return true;\n }\n}\nfunction hmrDispose(bundle /*: ParcelRequire */, id /*: string */) {\n var cached = bundle.cache[id];\n bundle.hotData[id] = {};\n if (cached && cached.hot) {\n cached.hot.data = bundle.hotData[id];\n }\n if (cached && cached.hot && cached.hot._disposeCallbacks.length) {\n cached.hot._disposeCallbacks.forEach(function (cb) {\n cb(bundle.hotData[id]);\n });\n }\n delete bundle.cache[id];\n}\nfunction hmrAccept(bundle /*: ParcelRequire */, id /*: string */) {\n // Execute the module.\n bundle(id);\n\n // Run the accept callbacks in the new version of the module.\n var cached = bundle.cache[id];\n if (cached && cached.hot && cached.hot._acceptCallbacks.length) {\n cached.hot._acceptCallbacks.forEach(function (cb) {\n var assetsToAlsoAccept = cb(function () {\n return getParents(module.bundle.root, id);\n });\n if (assetsToAlsoAccept && assetsToAccept.length) {\n assetsToAlsoAccept.forEach(function (a) {\n hmrDispose(a[0], a[1]);\n });\n\n // $FlowFixMe[method-unbinding]\n assetsToAccept.push.apply(assetsToAccept, assetsToAlsoAccept);\n }\n });\n }\n}","import * as Search from './js_modules/search.js';\nimport {\n\taddEventListenerOnID,\n\taddEventListenerOnClass,\n\tclickToEnter,\n\tfetchBookmarks,\n\tscrollHighlightedWallpaperIntoView,\n\ttoggleArrows,\n\tchangeSlide,\n\taddEventListenerOnTag,\n\tgetSearchTerm,\n} from './js_modules/utils.js';\nimport { displayLoading, hideLoading } from './js_modules/loading_spinner.js';\nimport { changeGlow } from './js_modules/colors.js';\nimport {\n\taddBookmarkToHTML,\n\tloadBookmarks,\n\tsaveBookmarks,\n\ttoggleRemoveButtons,\n} from './js_modules/custom_bookmarks.js';\nimport {\n\tfetchWallpapersList,\n\tgetWallpaperDetails,\n\thighlightSetWallpaper,\n\tsetWallpaper,\n} from './js_modules/wallpapers.js';\nimport {\n\tapplyPreferences,\n\taskCustomDomain,\n\taskCustomText,\n\tloadDropdownPositions,\n\tloadSelectedWidgetStyle,\n\tscrollToBottom,\n} from './js_modules/load_preferences.js';\nimport {\n\tdownloadWallpaper,\n\texportBackup,\n\texportBookmarks,\n\timportBackup,\n\timportBookmarks,\n\tresetAll,\n\tresetBookmarks,\n\tshowNestedOptions,\n\ttoggleFavicons,\n} from './js_modules/preferences.js';\nimport { isUrlValid } from './js_modules/validators.js';\nimport { askUserName, preOnboarding } from './js_modules/onboarding.js';\nimport { saveDropdownPositions } from './js_modules/save_preferences.js';\n// eslint-disable-next-line max-len\nimport { getLastUpdated } from './js_modules/utils/getLastUpdated.js';\nimport { blurLevel } from './js_modules/utils/blurLevel.js';\nimport { isItChristmas } from './js_modules/utils/letItSnow.js';\nimport { InputDialog } from './js_modules/utils/inputDialog.js';\nimport { isTouchDevice } from './js_modules/utils/isTouchDevice.js';\nimport { enableSubmitButton } from './js_modules/utils/enableSubmitButton.js';\nimport { genericAlert } from './js_modules/utils/alertDialog.js';\n\nconst bottomFilmRollContainer = document.getElementById('wallpapers');\nconst wrap = document.getElementById('wrap');\nconst advancedSettingsButton = document.getElementById('toggle-labs-btn');\nconst modal = document.getElementById('advanced-settings-modal');\nconst modalBackground =\n\tdocument.getElementById('advanced-settings-modal-background-overlay');\n\nlet areAdvancedSettingsOpen = false;\n\nlet areWallpapersOpen = false;\nlet timeout;\nconst wallpapersPanel = (str) => {\n\thideLoading();\n\tswitch (str) {\n\t\tcase 'close': {\n\t\t\tdocument.title = document.title\n\t\t\t\t.replace('Backgrounds', 'Search');\n\t\t\thistory.pushState({ loc: 'home' }, '', '?home');\n\t\t\tbottomFilmRollContainer.classList.remove('animation_slide_up');\n\t\t\tsetTimeout(() => advancedSettingsButton.classList\n\t\t\t\t.remove('advanced-settings-button-right'), 350);\n\t\t\tbottomFilmRollContainer.classList.add('animation_slide_down');\n\t\t\twrap.classList.remove('animation2_slide_up');\n\t\t\twrap.classList.add('animation2_slide_down');\n\t\t\tclearTimeout(timeout);\n\n\t\t\ttoggleRemoveButtons('hide');\n\t\t\ttoggleArrows('hide');\n\t\t\tchangeGlow(null, 0);\n\t\t\tsetTimeout(() => blurLevel(1), 400);\n\t\t\tareWallpapersOpen = false;\n\t\t\tbreak;\n\t\t};\n\t\tcase 'open': {\n\t\t\tbottomFilmRollContainer.style.display = 'flex';\n\t\t\tblurLevel(0);\n\t\t\tbottomFilmRollContainer.classList.remove('animation_slide_down');\n\t\t\tbottomFilmRollContainer.classList.add('animation_slide_up');\n\t\t\twrap.classList.remove('animation2_slide_down', 'startup_slide_down');\n\t\t\twrap.classList.add('animation2_slide_up');\n\t\t\tsetTimeout(() => {\n\t\t\t\tadvancedSettingsButton.classList\n\t\t\t\t\t.add('advanced-settings-button-right');\n\t\t\t\tscrollHighlightedWallpaperIntoView();\n\t\t\t}, 350);\n\t\t\tchangeGlow(null, 1);\n\t\t\ttimeout = setTimeout(() => toggleRemoveButtons('show'), 450);\n\t\t\ttoggleArrows('show');\n\t\t\tdocument.title = document.title\n\t\t\t\t.replace('Search', 'Backgrounds');\n\t\t\thistory.pushState({ loc: 'backgrounds' }, '', '?backgrounds');\n\t\t\tareWallpapersOpen = true;\n\t\t\tbreak;\n\t\t}\n\t}\n};\n\nwindow.createNewBookmark = () => {\n\tconst inputDialogTitle = 'Add new bookmark';\n\tconst inputDialogDescription = `\n\tYou may only use upto four letters as the bookmark name.`;\n\tconst bookmarkLabel = 'Bookmark name';\n\tconst bookmarkAddress = 'Link to website';\n\n\tInputDialog.show(\n\t\tinputDialogTitle,\n\t\tinputDialogDescription,\n\t\t[bookmarkLabel, bookmarkAddress],\n\t\t'Save',\n\t\tundefined,\n\t\tnull,\n\t\t[() => enableSubmitButton(null, true), null],\n\t\t() => {\n\t\t\tconst label = InputDialog.getInputFields()[0];\n\t\t\tlabel.setAttribute('maxlength', 4);\n\t\t\tlabel.setAttribute('placeholder', 'e.g. YT');\n\n\t\t\tconst address = InputDialog.getInputFields()[1];\n\t\t\taddress.setAttribute('placeholder', 'e.g. youtube.com');\n\t\t\taddress.value = 'https://';\n\n\t\t\tnavigator.clipboard.readText().then((res) => {\n\t\t\t\tif (isUrlValid(res)) {\n\t\t\t\t\taddress.value = res.replaceAll(' ', '');\n\t\t\t\t};\n\t\t\t}).catch((err) => {\n\t\t\t\tconsole.log(err);\n\t\t\t});\n\t\t},\n\t).then((res) => {\n\t\tconst id = Date.now();\n\t\tconst name = res.inputValues[0];\n\t\tlet link = res.inputValues[1].replaceAll(' ', '');\n\t\tif (!link.startsWith('http')) link = `https://${link}`;\n\t\t// console.log(res.inputValues);\n\t\taddBookmarkToHTML(link, name, id);\n\t\tsaveBookmarks(link, name, id);\n\t}).catch((e) => console.log(e));\n};\n\nwindow.changeWallpaper = (event) => {\n\tevent.stopPropagation();\n\tlet selection = event.target.title;\n\tif (!selection) selection = event.target.childNodes[1].title;\n\tconst wall = getWallpaperDetails(selection);\n\tsetWallpaper(wall[0], wall[1]);\n\thighlightSetWallpaper();\n};\n\naddEventListenerOnID('export-bookmarks-btn', 'click', exportBookmarks);\naddEventListenerOnID('import-bookmarks-btn', 'change', importBookmarks);\naddEventListenerOnID('export-backup-btn', 'click', exportBackup);\naddEventListenerOnID('import-backup-btn', 'change', importBackup);\naddEventListenerOnID('download-wallpaper-btn', 'click', downloadWallpaper);\naddEventListenerOnID('toggle-favicons-btn', 'click', toggleFavicons);\naddEventListenerOnID('update-username-btn', 'click', askUserName);\naddEventListenerOnID('update-customtext-btn', 'click', askCustomText);\naddEventListenerOnID('deep-search-btn', 'click', (event) => {\n\tshowNestedOptions('deep-search-nested');\n\tconst arrow = document.getElementById('deep-search-btn-arrow');\n\tarrow.classList.toggle('fa-angle-down');\n\tarrow.classList.toggle('fa-angle-up');\n});\naddEventListenerOnID('update-customdomain-btn', 'click', askCustomDomain);\naddEventListenerOnID('fetch-bookmarks-btn', 'click', fetchBookmarks);\naddEventListenerOnID('reset-bookmarks-btn', 'click', resetBookmarks);\naddEventListenerOnID('reset-all-btn', 'click', resetAll);\n\nfunction openAdvancedSettings() {\n\twallpapersPanel('close');\n\thistory.pushState({ loc: 'settings' }, '', '?settings');\n\tsetTimeout(() => blurLevel(0), 420);\n\tdocument.title = document.title.replace('Search', 'Settings');\n\tdocument.body.classList.add('justifySpaceBetween');\n\t// wrap.style.opacity = 0;\n\twrap.style.display = 'none';\n\tmodal.style.display = 'block';\n\tmodalBackground.style.display = 'block';\n\tareAdvancedSettingsOpen = true;\n};\n\nfunction closeAdvancedSettings() {\n\tdocument.title = document.title.replace('Settings', 'Search');\n\thistory.pushState({ loc: 'home' }, '', '?home');\n\tdocument.body.classList.remove('justifySpaceBetween');\n\twrap.style.display = 'block';\n\t// wrap.style.opacity = 1;\n\tmodal.style.display = 'none';\n\tmodalBackground.style.display = 'none';\n\tsetTimeout(() => blurLevel(1), 100);\n\tareAdvancedSettingsOpen = false;\n};\n\naddEventListenerOnClass('modal-close-btn', 'click', closeAdvancedSettings);\naddEventListenerOnID('toggle-labs-btn', 'click', openAdvancedSettings);\n\naddEventListenerOnID('search-btn', 'click', Search.webSearch);\naddEventListenerOnID('movies-search', 'click', Search.movies);\naddEventListenerOnID('tv-search', 'click', Search.tv);\naddEventListenerOnID('games-search', 'click', Search.games);\naddEventListenerOnID('ebooks-search', 'click', Search.ebooks);\naddEventListenerOnID('searchTerm', 'input', Search.processSearchboxInput);\naddEventListenerOnID('searchTerm', 'click', () => {\n\tconst x = new InputEvent('input');\n\tgetSearchTerm().dispatchEvent(x);\n});\naddEventListenerOnID('searchBarFocusMode', 'click', Search.collapseAutofill);\naddEventListenerOnID('searchTerm', 'keypress', Search.enterToSearch);\naddEventListenerOnID('fetch-bookmarks-btn', 'click', fetchBookmarks);\n\naddEventListenerOnID('left-arrow', 'click', (event) => {\n\tevent.stopPropagation();\n\tchangeSlide('widget-slide', -1);\n});\n\naddEventListenerOnID('right-arrow', 'click', (event) => {\n\tevent.stopPropagation();\n\tchangeSlide('widget-slide', 1);\n});\n\nwindow.addEventListener('resize', () => {\n\tapplyPreferences();\n\tisItChristmas();\n});\n\nwindow.addEventListener('blur', () => {\n\thideLoading();\n});\n\nwindow.addEventListener('appinstalled', (event) => {\n\tconsole.log('installed');\n});\n\nonload = (event) => {\n\tconst slider = document.getElementById('main-heading-slider');\n\tslider.classList.remove('nowrap');\n};\n\naddEventListenerOnID('settings_button', 'click', (event) => {\n\tif (areWallpapersOpen) wallpapersPanel('close', event);\n\telse if (!areWallpapersOpen) wallpapersPanel('open', event);\n});\n\nconst pressAndHold = () => {\n\tconst target = document.body;\n\tlet timerId;\n\tlet timer = 250;\n\tconst clearTimer = () => {\n\t\tclearInterval(timerId);\n\t\ttimerId = null;\n\t};\n\n\tconst clickEvent = (event) => {\n\t\tconst x = event.target.id;\n\t\tconst validElements = ['gradient_overlay',\n\t\t\t'wrap',\n\t\t\t'bookmarks',\n\t\t\t'autofillContainer',\n\t\t\t'flex-main-container-vertical',\n\t\t\t'subtitle',\n\t\t\t'footer',\n\t\t];\n\t\tif (\n\t\t\tvalidElements.includes(x)\n\t\t) {\n\t\t\tif (areWallpapersOpen) timer = 1;\n\t\t\telse timer = 250;\n\n\t\t\ttimerId = setInterval(() => {\n\t\t\t\tif (areWallpapersOpen) wallpapersPanel('close');\n\t\t\t\telse if (!areWallpapersOpen) wallpapersPanel('open');\n\t\t\t\tclearTimer();\n\t\t\t}, timer);\n\t\t}\n\t};\n\n\ttarget.addEventListener('mousedown', clickEvent);\n\ttarget.addEventListener('mouseup', clearTimer);\n\ttarget.addEventListener('mouseout', clearTimer);\n\n\ttarget.addEventListener('touchstart', clickEvent);\n\ttarget.addEventListener('touchend', clearTimer);\n\ttarget.addEventListener('touchcancel', clearTimer);\n\n\treturn () => {\n\t\ttarget.removeEventListener('mousedown', clickEvent);\n\t\ttarget.removeEventListener('mouseup', clearTimer);\n\t\ttarget.removeEventListener('mouseout', clearTimer);\n\t\ttarget.removeEventListener('touchstart', clickEvent);\n\t\ttarget.removeEventListener('touchend', clearTimer);\n\t\ttarget.removeEventListener('touchcancel', clearTimer);\n\t\tconsole.log('un-focuss', timerId);\n\t};\n};\n\nconst switchPage = () => {\n\twindow.addEventListener('popstate', (e) => {\n\t\tif (areWallpapersOpen) {\n\t\t\twallpapersPanel('close');\n\t\t} else if (areAdvancedSettingsOpen) {\n\t\t\tcloseAdvancedSettings();\n\t\t} else if (!areWallpapersOpen && !areAdvancedSettingsOpen) {\n\t\t\thistory.go(-1);\n\t\t\tconsole.log('cant go back anymore', -history.length - 1);\n\t\t}\n\t});\n\n\tlet page = window.location.href;\n\tpage = page.split('/?')[1];\n\tif (!page) history.pushState({ loc: 'home' }, '', '?home');\n\telse if (page == 'settings') openAdvancedSettings();\n\telse if (page == 'backgrounds') wallpapersPanel('open');\n};\n\nconst postOnboarding = () => {\n\tconst btnInstall = document.getElementById('btn-install');\n\tlet deferredPrompt;\n\tapplyPreferences();\n\tloadBookmarks();\n\tloadDropdownPositions();\n\twrap.style.opacity = 1;\n\n\tfetchWallpapersList();\n\thighlightSetWallpaper();\n\n\tpressAndHold();\n\taddEventListenerOnClass('clickable', 'keypress', clickToEnter);\n\taddEventListenerOnClass('custom_bookmark', 'click', displayLoading);\n\taddEventListenerOnTag('select', 'change', saveDropdownPositions);\n\n\taddEventListenerOnID('btn-install', 'click', (e) => {\n\t\tdeferredPrompt.prompt();\n\t\tdeferredPrompt.userChoice.then((choiceResult) => {\n\t\t\tif (choiceResult.outcome === 'accepted') {\n\t\t\t\tconsole.log('user accepted prompt');\n\t\t\t}\n\t\t\tdeferredPrompt = null;\n\t\t});\n\t});\n\n\twindow.addEventListener('beforeinstallprompt', (event) => {\n\t\tevent.preventDefault();\n\t\tdeferredPrompt = event;\n\t\tbtnInstall.style.display = 'block';\n\t});\n\tscrollToBottom();\n\tif (sessionStorage.getItem('focus') == 'on') {\n\t\tdocument.getElementById('searchTerm').focus();\n\t\tdocument.getElementById('searchTerm').click();\n\t}\n\tgetLastUpdated('version-preview');\n\tisItChristmas();\n\tloadSelectedWidgetStyle();\n\tswitchPage();\n};\n\n// Start ----------------------------------------------------------\n\ndocument.addEventListener('DOMContentLoaded', () => {\n\t// preOnboarding();\n\n\tif (localStorage.getItem('onBoarding') == '1') {\n\t\tpostOnboarding();\n\t\tconsole.log('Already onboard.');\n\t} else {\n\t\tconsole.log('Onboarding...');\n\t\tpreOnboarding().then(() => {\n\t\t\tif (isTouchDevice()) {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tgenericAlert('Information',\n\t\t\t\t\t\t'Press and hold on empty area to open settings.');\n\t\t\t\t}, 5000);\n\t\t\t}\n\t\t\tpostOnboarding();\n\t\t\tconsole.log('Onboarding complete.');\n\t\t});\n\t}\n}, { once: true });\n\n// ---------------------------------------------------------- End\n\n","import {\n clickToEnter,\n getSearchTerm,\n} from './utils.js';\nimport {\n EXT_SEARCH_DOMAIN,\n GOOGLE_SEARCH_DOMAIN,\n SAMPLE_AUTOFILL,\n} from './constants.js';\nimport {\n cliCheck,\n cliParse,\n} from './cli.js';\nimport { isUrlValid } from './validators.js';\nimport { Notify } from './utils/notifyDialog.js';\n\nconst MSG = 'You must enter a search query to continue.';\nconst container = document.querySelector('.autofillContainer');\nconst searchBG = document.querySelector('#searchBarFocusMode');\nlet myScript = '';\n\nfunction loadSearchDomain() {\n let domain = localStorage.getItem('default-search-url');\n if (domain == null) {\n localStorage.setItem('default-search-url', GOOGLE_SEARCH_DOMAIN);\n domain = localStorage.getItem('default-search-url');\n }\n return domain;\n}\n\nexport function webSearch() {\n let input = getSearchTerm().value;\n if (input != '') {\n updateAutocompleteDatabase(input);\n if (isUrlValid(input) && !input.includes(' ')) {\n // if (!input.startsWith('http')) input = `http://${input}`;\n window.open(input, '_self');\n return;\n }\n if (!cliCheck(input)) {\n input = encodeURIComponent(input);\n // input = input.split(\" \").join(\"+\");\n const url = loadSearchDomain() + input;\n window.open(url, '_self');\n } else cliParse(input);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function movies() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n // input = input.split(\" \").join(\"%20\");\n const url = EXT_SEARCH_DOMAIN + input + '/Movies/time/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function tv() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n const url = EXT_SEARCH_DOMAIN + input + '/TV/size/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function games() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n const url = EXT_SEARCH_DOMAIN + input + '/Games/time/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function ebooks() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n const url = EXT_SEARCH_DOMAIN + input + '/Other/seeders/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n};\n\nlet returnedSuggestions = [];\nwindow.googleSuggestions = (data) => {\n returnedSuggestions = [];\n const inputQuery = getSearchTerm().value;\n returnedSuggestions = data[1];\n if (inputQuery) {\n showAutofillBox(inputQuery, returnedSuggestions);\n expandAutofill(inputQuery);\n // console.log(returnedSuggestions);\n }\n};\n\nexport function processSearchboxInput(event) {\n const oldInput = sessionStorage.getItem('input');\n const input = event.target.value;\n sessionStorage.setItem('input', input);\n switchToCLI(input);\n switchToURL(input);\n if (!input) {\n clearSuggestions();\n setTimeout(() => {\n collapseAutofill();\n }, 1);\n return;\n }\n expandAutofill(input);\n if (input != oldInput) googleAutocomplete(input);\n};\n\nconst googleAutocomplete = (input) => {\n if (myScript !== '') {\n document.body.removeChild(myScript);\n }\n const provider = 'https://suggestqueries.google.com/complete/search?client=firefox&callback=googleSuggestions&q=';\n myScript = document.createElement('script');\n myScript.src = `${provider}${input}`;\n document.body.appendChild(myScript);\n};\n\nconst switchToCLI = (input) => {\n const btnIcon = document.getElementById('search-btn-icon');\n const currentIcon = localStorage.getItem('default-search-icon');\n if (cliCheck(input)) {\n btnIcon.className = 'fa fa-terminal';\n } else {\n btnIcon.className = currentIcon;\n };\n};\n\nconst switchToURL = (input) => {\n const btnIcon = document.getElementById('search-btn-icon');\n const currentIcon = localStorage.getItem('default-search-icon');\n if (isUrlValid(input)) {\n btnIcon.className = 'fa fa-globe';\n } else {\n btnIcon.className = currentIcon;\n };\n};\n\nexport const collapseAutofill = () => {\n searchBG.style.opacity = '0';\n container.style.paddingBlock = '0em';\n container.style.height = '0px';\n setTimeout(() => {\n searchBG.style.display = 'none';\n }, 200);\n};\n\nconst expandAutofill = (input) => {\n const items = document.querySelectorAll('.autofillItem');\n if (input.length) {\n searchBG.style.display = 'block';\n setTimeout(() => {\n if (items.length) {\n const d = items[0].getBoundingClientRect();\n const calc = (d.height * items.length) + (d.height * 1.5);\n container.style.height = `${calc}px`;\n container.style.paddingBlockStart = '0em';\n }\n searchBG.style.opacity = '1';\n }, 1);\n }\n};\n\nconst clearSuggestions = () => {\n const items = document.querySelectorAll('.autofillItem');\n items.forEach((e) => {\n e.remove();\n });\n};\n\nconst showAutofillBox = (input, cloudInput) => {\n input = input.toLowerCase();\n const db = JSON.parse(localStorage.getItem('autocompleteDatabase'));\n if (!db) localStorage.setItem('autocompleteDatabase', SAMPLE_AUTOFILL);\n\n const filteredArray = db.filter((e) => {\n if (e == input) return;\n else return e.toLowerCase().startsWith(input);\n });\n\n function autofill(event) {\n getSearchTerm().value = event.target.innerHTML;\n const e = new InputEvent('input');\n getSearchTerm().dispatchEvent(e);\n getSearchTerm().focus();\n };\n\n const generateSuggestions = (filteredArray) => {\n clearSuggestions();\n if (!input) return;\n const theme = sessionStorage.getItem('searchbar-color-theme-drop');\n const order = sessionStorage.getItem('searchbar-position-drop');\n if (order == 'bottom') container.style.flexDirection = 'column-reverse';\n else container.style.flexDirection = 'column';\n let i = 0;\n for (const e of filteredArray) {\n if (i == 6) break;\n container.insertAdjacentHTML('beforeend', `\n\t\t\t\t${e}\n `);\n i++;\n }\n for (const e of cloudInput) {\n if (i == 10) break;\n container.insertAdjacentHTML('beforeend', `\n \t\t${e}\n `);\n i++;\n }\n };\n\n generateSuggestions(filteredArray);\n const items = document.querySelectorAll('.autofillItem');\n items.forEach((e) => {\n e.addEventListener('click', autofill);\n // e.addEventListener('focus', autofill);\n e.addEventListener('keydown', clickToEnter);\n });\n};\n\nexport function enterToSearch(event) {\n if (event.key == 'Enter') {\n document.querySelector('#search-btn').click();\n }\n};\n\nconst updateAutocompleteDatabase = (entry) => {\n const db = JSON.parse(localStorage.getItem('autocompleteDatabase'));\n const set = new Set(db);\n set.add(entry.toLowerCase());\n const update = Array.from(set);\n localStorage.setItem('autocompleteDatabase', JSON.stringify(update));\n};\n","import { BOOKMARKS_SAMPLE_URL } from './constants.js';\nimport { importBookmarks } from './preferences.js';\nimport { headingStyles } from './styles.js';\n\n\nexport function getSearchTerm() {\n\treturn document.getElementsByClassName('searchTerm')[0];\n}\n\nexport function addEventListenerOnID(id, event, func) {\n\tif (event == null) return;\n\treturn document.getElementById(id).\n\t\taddEventListener(event, func, { passive: true });\n}\n\nexport function addEventListenerOnClass(className, event, func) {\n\tconst classList = document.getElementsByClassName(className);\n\tfor (let i = 0; i < classList.length; i++) {\n\t\tclassList[i].addEventListener(event, func);\n\t};\n}\n\nexport function addEventListenerOnTag(tagName, event, func) {\n\tconst tagList = document.getElementsByTagName(tagName);\n\tfor (let i = 0; i < tagList.length; i++) {\n\t\ttagList[i].addEventListener(event, func);\n\t};\n}\n\nexport function clickToEnter(event) {\n\tif (event.key === 'Enter' || event.key === ' ') event.target.click();\n};\n\nexport function fetchBookmarks() {\n\tfetch(BOOKMARKS_SAMPLE_URL)\n\t\t.then((res) => importBookmarks(null, res.text()));\n}\n\nexport function fixBackgroundBlurOnResize(id) {\n\tdocument.getElementById(id).style.backdropFilter = `blur(0.9em)`;\n\tsetTimeout(() => {\n\t\tdocument.getElementById(id).style.backdropFilter = `blur(1em)`;\n\t}, 1);\n};\n\nexport function scrollHighlightedWallpaperIntoView() {\n\tconst wallpaper = document.getElementsByClassName('highlighted')[0];\n\tsetTimeout(() => {\n\t\tif (wallpaper) wallpaper.scrollIntoView({ inline: 'center' });\n\t}, 10);\n};\n\nexport async function stylizeText(id, int = 0) {\n\tdocument.getElementById(id).className = headingStyles[int];\n};\n\nlet i = 0;\nexport function changeHeadingStyles(event = null, int) {\n\tif (event) event.stopPropagation();\n\n\ti += int;\n\tif (i < 0) {\n\t\ti = headingStyles.length - 1;\n\t};\n\tif (i >= headingStyles.length) i = 0;\n\tstylizeText('main-heading', i);\n};\n\nexport function toggleArrows(str) {\n\tconst arrows = document.getElementsByClassName('arrows');\n\tswitch (str) {\n\t\tcase 'show': {\n\t\t\tfor (let i = 0; i < arrows.length; i++) {\n\t\t\t\tarrows[i].style.height = '2em';\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tcase 'hide': {\n\t\t\tfor (let i = 0; i < arrows.length; i++) {\n\t\t\t\tarrows[i].style.height = '0em';\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t}\n};\n\nexport function changeSlide(element, int) {\n\tconst w = document.getElementById('main-heading-slider');\n\tconst width = w.scrollWidth;\n\tconst el = document.getElementsByClassName(element);\n\tconst currentPos = w.scrollLeft;\n\tlet newPos;\n\tconst step = w.scrollWidth / el.length;\n\t// console.log(width, w.clientWidth)\n\tif (int == 1) {\n\t\tnewPos = currentPos + step;\n\t\tif (newPos > width) {\n\t\t\tnewPos = width;\n\t\t};\n\t\tconsole.log(newPos);\n\t\tw.scrollLeft = newPos;\n\t} else if (int == -1) {\n\t\tnewPos = currentPos - step;\n\t\tif (newPos < 0) {\n\t\t\tnewPos = 0;\n\t\t};\n\t\tconsole.log(newPos);\n\t\tw.scrollLeft = newPos;\n\t}\n};\n","export const EXT_SEARCH_DOMAIN = 'https://x1337x.ws/sort-category-search/';\nexport const GOOGLE_SEARCH_DOMAIN = 'https://www.google.com/search?q=';\nexport const BING_SEARCH_DOMAIN = 'https://www.bing.com/search?q=';\nexport const DUCKDUCKGO_SEARCH_DOMAIN = 'https://duckduckgo.com/?q=';\n// export const SEARCH_BUTTON_DOM =\n// document.getElementsByClassName('searchButton').item(0).childNodes[1];\nexport const BOOKMARKS_SAMPLE_URL = './samples/bookmarks.json';\n// 'https://raw.githubusercontent.com/lscambo13/casamia/main/custom_bookmarks_sample/home-page-bookmarks-2023-1-23.json';\n// eslint-disable-next-line max-len\nexport const SAMPLE_AUTOFILL = '[\"--help\",\"--dl\",\"--clock\",\"--countdown\"]';\nexport const WALLPAPERS_URL = './wallpapers/';\nexport const DOWNLOAD_WALLPAPERS_URL = './wallpapers/backups/';\nexport const DEF_WALLPAPER = '085.webp';\nexport const DEF_CUSTOM_TEXT = 'Custom Text';\nexport const DEF_PREF =\n{\n\t'bg-img-drop': 'shown',\n\t'bg-blur-drop': 'off',\n\t// 'bg-glow-drop': 'auto',\n\t// 'weather-display-drop': 'off',\n\t'footer-display-drop': 'on',\n\t'def-widget-drop': 'casamia',\n\t// 'widget-style-drop': 'minimal',\n\t'greeting-display-drop': 'on',\n\t'def-widget-display-drop': 'on',\n\t// 'show-seconds-drop': 'off',\n\t// 'clock-style-drop': '12hrs',\n\t// 'am-pm-style-drop': 'uppercase',\n\t'def-search-engine-drop': 'google',\n\t'searchbar-position-drop': 'middle',\n\t'searchbar-color-theme-drop': 'glass',\n\t'focus-search-drop': 'off',\n\t'search-display-drop': 'on',\n\t// 'show-titles-drop': 'off',\n\t'movies-search-display-drop': 'shown',\n\t'tv-search-display-drop': 'shown',\n\t'games-search-display-drop': 'shown',\n\t'ebooks-search-display-drop': 'shown',\n\t'add-bookmark-display-drop': 'shown',\n};\n\n// 'https://github.com/lscambo13/casamia/raw/main/wallpapers/'\n// 'https://raw.githubusercontent.com/lscambo13/casamia/main/wallpapers/'\n// const X1337X_DOMAIN = 'https://x1337x.ws/home/';\n","exports.interopDefault = function (a) {\n return a && a.__esModule ? a : {default: a};\n};\n\nexports.defineInteropFlag = function (a) {\n Object.defineProperty(a, '__esModule', {value: true});\n};\n\nexports.exportAll = function (source, dest) {\n Object.keys(source).forEach(function (key) {\n if (\n key === 'default' ||\n key === '__esModule' ||\n Object.prototype.hasOwnProperty.call(dest, key)\n ) {\n return;\n }\n\n Object.defineProperty(dest, key, {\n enumerable: true,\n get: function () {\n return source[key];\n },\n });\n });\n\n return dest;\n};\n\nexports.export = function (dest, destName, get) {\n Object.defineProperty(dest, destName, {\n enumerable: true,\n get: get,\n });\n};\n","import { DOWNLOAD_WALLPAPERS_URL } from './constants.js';\nimport {\n\tcustomBookmarks,\n\tdownloadBookmarks,\n\tsaveBookmarks,\n} from './custom_bookmarks.js';\nimport { updateAmPmStyle } from './load_preferences.js';\nimport {\n\tresetAllWarningText,\n\tresetBookmarksWarningText,\n} from './strings.js';\nimport { addZero } from './utils/addZero.js';\nimport { genericAlert } from './utils/alertDialog.js';\nimport { changeExtension } from './utils/changeExtension.js';\nimport { wait } from './utils/wait.js';\nimport { selectedWallpaper } from './wallpapers.js';\n\nexport function exportBookmarks(event) {\n\tevent.stopPropagation();\n\tconst bookmarksString = localStorage.saved_bookmarks;\n\tconst d = new Date();\n\tdownloadBookmarks(\n\t\t`casamia-bookmarks-only-${d.getFullYear()}-${d.getMonth() + 1\n\t\t}-${d.getDate()}.json`,\n\t\tbookmarksString,\n\t);\n};\n\nexport function exportBackup(event) {\n\tevent.stopPropagation();\n\tconst data = { ...localStorage };\n\tconst backupString = JSON.stringify(data);\n\tconst d = new Date();\n\tdownloadBookmarks(\n\t\t`casamia-full-backup-${d.getFullYear()}-${d.getMonth() + 1\n\t\t}-${d.getDate()}.json`,\n\t\tbackupString,\n\t);\n};\n\nexport function downloadWallpaper() {\n\t// console.log(DOWNLOAD_WALLPAPERS_URL + selectedWallpaper);\n\tconst element = document.createElement('a');\n\tconst hiResWall = changeExtension(selectedWallpaper, 'png');\n\telement\n\t\t.setAttribute('href', DOWNLOAD_WALLPAPERS_URL + hiResWall);\n\telement.setAttribute('download', hiResWall);\n\telement.style.display = 'none';\n\tdocument.body.appendChild(element);\n\telement.click();\n\tdocument.body.removeChild(element);\n\t/* alert(\n\t\"If the download doesn't start, disable the pop-up blocker extensions.\"\n ); */\n};\n\nexport function toggleFavicons(event) {\n\t// http://www.google.com/s2/favicons?domain=google.com\n\tconst customBookmarks = document.getElementsByClassName('custom_bookmark');\n\tconst spans = document.getElementsByClassName('custom_link_name');\n\n\tfor (let i = 0; i < customBookmarks.length; i++) {\n\t\tspans[i].style.display = 'none';\n\n\t\tconst newFavicon = document.createElement('img');\n\t\tnewFavicon.className = 'ext_favicon';\n\t\tconst domain = customBookmarks[i].href;\n\t\tnewFavicon.src =\n\t\t\t'http://www.google.com/s2/favicons?sz=32&domain=' + domain;\n\t\tcustomBookmarks[i].appendChild(newFavicon);\n\t}\n};\n\nlet clockLoop = null;\nexport function displayClock(value) {\n\tconst target = 'widget-slide';\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tclearInterval(clockLoop);\n\t\t\tclockLoop = null;\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tif (clockLoop) clearInterval(clockLoop);\n\t\t\tclockLoop = setInterval(() => refreshClock(target), 1000);\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction refreshClock(targetClass) {\n\tconst target = document.getElementsByClassName(targetClass);\n\tconst date = new Date();\n\tlet hours = date.getHours();\n\tlet amPm = (int) => {\n\t\tif (int == 0) {\n\t\t\thours.toString();\n\t\t\thours = '12';\n\t\t\treturn 'AM';\n\t\t} else if (int > 0 && int < 12) {\n\t\t\thours = addZero(hours.toString());\n\t\t\treturn 'AM';\n\t\t} else if (int == 12) {\n\t\t\thours = '12';\n\t\t\treturn 'PM';\n\t\t} else if (int > 12) {\n\t\t\thours = hours - 12;\n\t\t\thours.toString();\n\t\t\thours = addZero(hours);\n\t\t\treturn 'PM';\n\t\t}\n\t};\n\n\tconst minutes = addZero(date.getMinutes().toString());\n\tconst seconds = addZero(date.getSeconds().toString());\n\tamPm = amPm(hours);\n\tlet separator = ':';\n\n\tfor (let i = 0; i < target.length; i++) {\n\t\tif (seconds % 2 === 0) {\n\t\t\tseparator = `:`;\n\t\t} else {\n\t\t\tseparator = `:`;\n\t\t}\n\t\ttarget[i].innerHTML =\n\t\t\t`${hours}${separator}${minutes} ${updateAmPmStyle(amPm.toString())}`;\n\t}\n\n\t// subtitle.style.display = 'block';\n\t// console.log(`${hours}:${minutes}:${seconds} ${amPm}`);\n}\n\nexport function refreshGreeting() {\n\tconst subtitle = document.getElementById('subtitle');\n\tconst user = localStorage.getItem('userName');\n\tconst date = new Date();\n\tconst hours = date.getHours();\n\tlet greeting = (int) => {\n\t\tif (int < 12) {\n\t\t\treturn `Good Morning, ${user}`;\n\t\t} else if (int >= 12 && int <= 18) {\n\t\t\treturn `Good Afternoon, ${user}`;\n\t\t} else if (int >= 18) {\n\t\t\treturn `Good Evening, ${user}`;\n\t\t}\n\t};\n\tgreeting = greeting(hours);\n\tsubtitle.innerText = greeting;\n}\n// let greetingLoop = null;\n// export function toggleGreeting() {\n// switch (value) {\n// case 'off': {\n// subtitle.classList.toggle('collapsed');\n// clearInterval(greetingLoop);\n// break;\n// };\n// case 'on': {\n// subtitle.classList.toggle('collapsed');\n// greetingLoop = setInterval(refreshGreeting, 1000);\n// break;\n// };\n// }\n// }\n\nexport function toggleGlow() {\n\tconst gradientOverlay = document.getElementById('gradient_overlay');\n\tlet glow = localStorage.getItem('glow');\n\tif (glow == null || glow == '0') {\n\t\tglow = '1';\n\t\tgradientOverlay.style.opacity = 1;\n\t\tlocalStorage.setItem('glow', '1');\n\t} else if (glow == '1') {\n\t\tglow = '0';\n\t\tgradientOverlay.style.opacity = 0;\n\t\tlocalStorage.setItem('glow', '0');\n\t}\n};\n\nexport function importBookmarks(event, text = '') {\n\tlet file;\n\tif (event) {\n\t\tevent.stopPropagation();\n\t\tfile = event.target.files[0].text();\n\t} else file = text;\n\n\tfunction result(file) {\n\t\tconst importedBookmarks = JSON.parse(file);\n\t\tif (!importedBookmarks[0]?.id) {\n\t\t\tconsole.log(importedBookmarks);\n\t\t\tgenericAlert('Failed', 'The backup does not seem to be valid.');\n\t\t\tevent.target.value = null;\n\t\t\treturn;\n\t\t}\n\t\tconst ids = [];\n\t\tfor (const bookmark of customBookmarks) {\n\t\t\tids.push(bookmark.id);\n\t\t}\n\t\tfor (const i of importedBookmarks) {\n\t\t\tif (ids.includes(i.id)) {\n\t\t\t\twait(1);\n\t\t\t\ti.id = Date.now();\n\t\t\t}\n\t\t\tids.push(i.id);\n\t\t\tsaveBookmarks(i.link, i.name, i.id);\n\t\t}\n\t\twindow.location.reload();\n\t}\n\n\tfile.then(result);\n};\n\nexport function importBackup(event, text = '') {\n\tlet file;\n\tif (event) {\n\t\tevent.stopPropagation();\n\t\tfile = event.target.files[0].text();\n\t} else file = text;\n\n\tfunction result(file) {\n\t\tconst importedBackup = JSON.parse(file);\n\t\tif (importedBackup.onBoarding) {\n\t\t\tconst keys = Object.keys(importedBackup);\n\t\t\tkeys.forEach((e, i) => {\n\t\t\t\tlocalStorage.setItem(e, importedBackup[keys[i]]);\n\t\t\t});\n\t\t\twindow.location.reload();\n\t\t} else {\n\t\t\tconsole.log(importedBackup);\n\t\t\tgenericAlert('Failed', 'The backup does not seem to be valid.');\n\t\t\tevent.target.value = null;\n\t\t};\n\t}\n\n\tfile.then(result);\n};\n\nexport function resetBookmarks(event) {\n\tif (\n\t\tconfirm(resetBookmarksWarningText)\n\t) {\n\t\tlocalStorage.removeItem('saved_bookmarks');\n\t\twindow.location.reload();\n\t}\n};\n\nexport function resetAll(event) {\n\tif (\n\t\tconfirm(resetAllWarningText)\n\t) {\n\t\tlocalStorage.clear();\n\t\twindow.location.reload();\n\t}\n};\n\nexport function showNestedOptions(id) {\n\tconst element = document.getElementById(id);\n\telement.classList.toggle('nested-close');\n}\n\n// export function toggleDim(event) {\n// event.stopPropagation();\n// const checkboxWall = document.getElementById('dim-setting');\n// const overlay = document.getElementById('overlay');\n// if (checkboxWall.checked == false) {\n// overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n// localStorage.setItem('dim_wallpaper', 'rgba(0, 0, 0, 0.375)');\n// } else {\n// overlay.style.backgroundColor = 'rgb(0, 0, 0, 0.25)';\n// localStorage.setItem('dim_wallpaper', 'rgb(0, 0, 0, 0.25)');\n// }\n// };\n\n// export function toggleBlur() {\n// // event.stopPropagation();\n// const checkboxBlur = document.getElementById('toggle-blur-cb');\n// // const overlay = document.getElementById('overlay');\n// if (checkboxBlur.checked == true) {\n// toggleBackdropBlur('overlay', 1);\n// localStorage.setItem('blur_wallpaper', 'blur(1em)');\n// } else {\n// toggleBackdropBlur('overlay', 0);\n// localStorage.setItem('blur_wallpaper', 'blur(0em)');\n// }\n// };\n\n// export function toggleWallpaper(event) {\n// event.stopPropagation();\n// const checkboxWall = document.getElementById('toggle-wallpaper-cb');\n// const overlay = document.getElementById('overlay');\n// if (checkboxWall.checked == false) {\n// overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n// localStorage.setItem('disable_wallpaper', 'rgba(0, 0, 0, 0.375)');\n// } else {\n// overlay.style.backgroundColor = 'rgb(0, 0, 0)';\n// localStorage.setItem('disable_wallpaper', 'rgb(0, 0, 0)');\n// }\n// };\n\n// export function toggleLabs(event) {\n// // event.stopPropagation();\n// console.log('called labs');\n// const checkboxLabs = document.getElementById('toggle-labs-cb');\n// const labsDiv = document.getElementById('labs');\n\n// if (checkboxLabs.checked == true) {\n// labsDiv.style.display = 'block';\n// localStorage.setItem('labs', 'block');\n// } else {\n// labsDiv.style.display = 'none';\n// localStorage.setItem('labs', 'none');\n// }\n// };\n\n","import { InputDialog } from './utils/inputDialog.js';\nimport { enableSubmitButton } from './utils/enableSubmitButton.js';\nimport { crossDisplay } from './utils/toggleDisplay.js';\n\nexport let customBookmarks =\n JSON.parse(localStorage.getItem('saved_bookmarks'));\n\nexport function loadBookmarks() {\n if (customBookmarks == null) {\n customBookmarks = [];\n return;\n }\n for (const n of customBookmarks) {\n addBookmarkToHTML(n.link, n.name, n.id);\n }\n}\n\nexport function addBookmarkToHTML(link, name, id) {\n const bookmarkContainer = document.getElementsByClassName(\n 'flex-sub-container-horizontal',\n )[0];\n bookmarkContainer.appendChild(createBookmark(link, name, id));\n const justAdded = document.getElementsByClassName('cross');\n justAdded[justAdded.length - 1].addEventListener('click', editBookmark);\n}\n\nfunction createBookmark(link, name, id) {\n const i = document.createElement('span');\n i.textContent = name;\n i.className = 'custom_link_name';\n\n const d = document.createElement('div');\n d.className = 'cross';\n d.title = 'Modify bookmark details';\n d.setAttribute('tabindex', '5');\n\n const newBookmark = document.createElement('a');\n newBookmark.className = 'custom_bookmark clickable';\n newBookmark.setAttribute('href', link);\n newBookmark.setAttribute('id', id);\n newBookmark.setAttribute('tabindex', '1');\n newBookmark.appendChild(i);\n newBookmark.appendChild(d);\n return newBookmark;\n}\n\nexport function saveBookmarks(link, name, id) {\n customBookmarks.push({\n link: link,\n name: name,\n id: id,\n });\n localStorage.setItem('saved_bookmarks', JSON.stringify(customBookmarks));\n}\n\nexport function removeBookmarkFromLocalStorage(id) {\n customBookmarks = customBookmarks.filter((elem) => {\n return id != elem.id;\n });\n localStorage.setItem('saved_bookmarks', JSON.stringify(customBookmarks));\n}\n\nexport function editBookmarkInLocalStorage(id, newName, newLink) {\n const edit = customBookmarks.filter((elem) => {\n return id == elem.id;\n });\n edit[0].name = newName;\n edit[0].link = newLink;\n localStorage.setItem('saved_bookmarks', JSON.stringify(customBookmarks));\n}\n\nexport function getBookmarkDetailsFromLocalStorage(id) {\n const edit = customBookmarks.filter((elem) => {\n return id == elem.id;\n });\n return [edit[0].id, edit[0].name, edit[0].link];\n}\n\nexport function toggleRemoveButtons(visible) {\n switch (visible) {\n case 'show': {\n crossDisplay(`block`);\n break;\n }\n case 'hide': {\n crossDisplay(`none`);\n break;\n }\n }\n}\n\nexport function downloadBookmarks(filename, text) {\n const element = document.createElement('a');\n element.setAttribute(\n 'href',\n 'data:text/plain;charset=utf-8,' + encodeURIComponent(text),\n );\n element.setAttribute('download', filename);\n element.style.display = 'none';\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n}\n\nexport function editBookmark(event) {\n event.preventDefault();\n event.stopPropagation();\n const targetElement = event.target.parentNode;\n\n const onChange = () => {\n const checkbox = InputDialog.getCheckboxField();\n const modalSubmitButton = InputDialog.getSubmitButton();\n const inputFields = InputDialog.getInputFields();\n\n if (checkbox.checked) {\n modalSubmitButton.textContent = 'Delete';\n modalSubmitButton.classList.add('deleteButton');\n for (const i of inputFields) {\n i.disabled = true;\n }\n modalSubmitButton.disabled = false;\n } else if (!checkbox.checked) {\n modalSubmitButton.textContent = 'Save';\n modalSubmitButton.classList.remove('deleteButton');\n for (const i of inputFields) {\n i.disabled = false;\n }\n };\n };\n\n const details = getBookmarkDetailsFromLocalStorage(targetElement.id);\n\n InputDialog.show('Edit bookmark',\n null,\n ['Name', 'Address'],\n 'Save',\n 'Cancel',\n 'Delete this bookmark',\n [() => enableSubmitButton(event, true), onChange],\n () => {\n InputDialog.getInputFields()[0].setAttribute('maxlength', '4');\n InputDialog.getInputFields()[0].value = details[1];\n InputDialog.getInputFields()[1].value = details[2];\n },\n ).then((res) => {\n if (res.checkboxChecked) {\n removeBookmarkFromLocalStorage(targetElement.id);\n targetElement.style.display = 'none';\n return;\n }\n\n targetElement.href = res.inputValues[1].replaceAll(' ', '');\n targetElement.firstChild.innerHTML = res.inputValues[0];\n\n editBookmarkInLocalStorage(\n targetElement.id,\n res.inputValues[0],\n res.inputValues[1].replaceAll(' ', ''),\n );\n }).catch((e) => console.log(e));\n\n return;\n}\n\n","let modalContainer;\r\nlet modalSubmitButton;\r\nlet modalCancelButton;\r\nlet tickBoxField;\r\nlet inputFields;\r\n\r\nconst showInputDialog = (\r\n\ttitle = null,\r\n\tdescription = null,\r\n\tinputBoxes = ['Input A', 'Input B'],\r\n\tsubmitButtonName = 'Submit',\r\n\tcancelButtonName = 'Cancel',\r\n\ttickBox = null,\r\n\tlisteners = [onInput = null, onChange = null],\r\n\tonInit = null,\r\n) => {\r\n\tmodalContainer = document.getElementById('inputDialogContainer');\r\n\tif (modalContainer) modalContainer.remove();\r\n\r\n\tdocument.activeElement.blur();\r\n\r\n\tif (title) {\r\n\t\ttitle = `

${title}

`;\r\n\t} else (title = '');\r\n\tif (description) {\r\n\t\tdescription = `\r\n\t\t

${description}

\r\n\t`;\r\n\t} else (description = '');\r\n\r\n\tdocument.body\r\n\t\t.insertAdjacentHTML('afterbegin', `\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\t${title}\r\n\t\t\t\t${description}\r\n\t\t\t\t
\r\n\t\t\t\t\t${submitButtonName}\r\n\t\t\t\t\t${cancelButtonName}\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t
\r\n\t`);\r\n\tinputBoxes.forEach((e) => {\r\n\t\tlet id = e.replaceAll(' ', '-').toLowerCase();\r\n\t\tid = `MODAL-INPUT-${id}`;\r\n\t\tdocument.getElementById('inputDialogButtonsBar')\r\n\t\t\t.insertAdjacentHTML('beforebegin', `\r\n\t\t\t\t\t${e}\r\n\t\t\t\t\t\r\n\t\t`);\r\n\t});\r\n\tif (tickBox) {\r\n\t\tdocument.getElementById('inputDialogButtonsBar')\r\n\t\t\t.insertAdjacentHTML('beforebegin', `\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t${tickBox}\r\n\t\t\t\t\t \r\n\t\t`);\r\n\t\ttickBoxField = document.getElementById('tickBoxField');\r\n\t};\r\n\r\n\tmodalContainer = document.getElementById('inputDialogContainer');\r\n\tmodalSubmitButton = document.getElementById('inputDialogSubmitButton');\r\n\tmodalCancelButton = document.getElementById('inputDialogCancelButton');\r\n\tinputFields = document.getElementsByClassName('modalInputField');\r\n\tdocument.body.style.overflow = 'hidden';\r\n\r\n\tinputFields[0].focus();\r\n\tif (!cancelButtonName) modalCancelButton.style.display = 'none';\r\n\r\n\tconst promise = new Promise((resolve, reject) => {\r\n\t\t// modalContainer.style.paddingBlockStart = '4em';\r\n\t\tmodalContainer.style.opacity = '1';\r\n\r\n\t\tconst rejectModal = () => {\r\n\t\t\tmodalCancelButton.removeEventListener('click', rejectModal);\r\n\t\t\tmodalContainer.remove();\r\n\t\t\tdocument.body.style.overflow = 'auto';\r\n\t\t\treject(Error(null));\r\n\t\t};\r\n\r\n\t\tconst resolveModal = () => {\r\n\t\t\tmodalSubmitButton.removeEventListener('click', resolveModal);\r\n\t\t\tif (tickBox) {\r\n\t\t\t\ttickBoxField.removeEventListener('change', listeners[1]);\r\n\t\t\t\ttickBoxField = tickBoxField.checked;\r\n\t\t\t}\r\n\t\t\tconst inputValues = [];\r\n\t\t\tfor (const e of inputFields) {\r\n\t\t\t\tinputValues.push(e.value);\r\n\t\t\t\tif (listeners) e.removeEventListener('input', listeners);\r\n\t\t\t}\r\n\t\t\tconst result = {\r\n\t\t\t\t'inputValues': inputValues, 'checkboxChecked': tickBoxField,\r\n\t\t\t};\r\n\t\t\tmodalContainer.remove();\r\n\t\t\tdocument.body.style.overflow = 'auto';\r\n\r\n\t\t\tconsole.log(result);\r\n\t\t\tresolve(result);\r\n\t\t};\r\n\r\n\t\tmodalCancelButton.addEventListener('click', rejectModal);\r\n\t\tmodalSubmitButton.addEventListener('click', resolveModal);\r\n\t\tif (listeners[0]) {\r\n\t\t\tfor (const e of inputFields) e.addEventListener('input', listeners[0]);\r\n\t\t}\r\n\t\tif (listeners[1] && tickBox) {\r\n\t\t\ttickBoxField.addEventListener('change', listeners[1]);\r\n\t\t}\r\n\t});\r\n\r\n\tif (onInit) onInit();\r\n\treturn promise;\r\n};\r\n\r\nexport const InputDialog = {\r\n\tshow: showInputDialog,\r\n\tgetSubmitButton: () => {\r\n\t\treturn modalSubmitButton;\r\n\t},\r\n\tgetCancelButton: () => {\r\n\t\treturn modalCancelButton;\r\n\t},\r\n\tgetInputFields: () => {\r\n\t\treturn inputFields;\r\n\t},\r\n\tgetCheckboxField: (n) => {\r\n\t\treturn tickBoxField;\r\n\t},\r\n};\r\n","import { isUrlValid } from '../validators.js';\nimport { InputDialog } from './inputDialog.js';\n\nexport const enableSubmitButton = (event, alt = false) => {\n\tconst modalSubmitButton = InputDialog.getSubmitButton();\n\tconst inputFields = InputDialog.getInputFields();\n\tfor (const e of inputFields) {\n\t\tif (e.value.length) modalSubmitButton.disabled = false;\n\t\telse {\n\t\t\tmodalSubmitButton.disabled = true;\n\t\t\treturn;\n\t\t}\n\t}\n\tif (!alt) return;\n\telse {\n\t\tif (isUrlValid(inputFields[1].value)) {\n\t\t\tmodalSubmitButton.disabled = false;\n\t\t} else modalSubmitButton.disabled = true;\n\t}\n};\n","export function isUrlValid(userInput) {\n try {\n new URL(userInput);\n return true;\n } catch (err) {\n return false;\n }\n}\n\nexport function isClockStyleCapital() {\n const clockClass = document.getElementById('main-heading-slider');\n if (clockClass.classList.contains('default-text-style')) return true;\n else return false;\n}\n","export function crossDisplay(str) {\n\tdocument.documentElement.style\n\t\t.setProperty('--cross-display', str);\n};\n","import {\n\tBING_SEARCH_DOMAIN,\n\tDEF_CUSTOM_TEXT,\n\tDUCKDUCKGO_SEARCH_DOMAIN,\n\tGOOGLE_SEARCH_DOMAIN,\n} from './constants.js';\nimport { displayClock, refreshGreeting } from './preferences.js';\nimport { fixBackgroundBlurOnResize } from './utils.js';\nimport { InputDialog } from './utils/inputDialog.js';\nimport { enableSubmitButton } from './utils/enableSubmitButton.js';\nimport { intersectionObserver } from './utils/intersectionObserver.js';\n\nconst PREF_MAP = {\n\t'bg-img-drop': backgroundImage,\n\t'bg-blur-drop': backgroundBlur,\n\t// 'bg-glow-drop': backgroundGlow,\n\t// 'weather-display-drop': displayWeather,\n\t'footer-display-drop': displayFooter,\n\t'def-widget-drop': defaultWidget,\n\t// 'widget-style-drop': widgetStyle,\n\t'greeting-display-drop': displayGreeting,\n\t'def-widget-display-drop': displayWidget,\n\t// 'show-seconds-drop': showSeconds,\n\t// 'clock-style-drop': clockStyle,\n\t// 'am-pm-style-drop': amPmStyle,\n\t'def-search-engine-drop': defaultSearchEngine,\n\t'searchbar-position-drop': defaultSearchbarPosition,\n\t'searchbar-color-theme-drop': searchbarTheme,\n\t'focus-search-drop': focusSearchBar,\n\t'search-display-drop': displaySearch,\n\t// 'show-titles-drop': showTitles,\n\t'movies-search-display-drop': moviesSearch,\n\t'tv-search-display-drop': tvSearch,\n\t'games-search-display-drop': gamesSearch,\n\t'ebooks-search-display-drop': ebooksSearch,\n\t'add-bookmark-display-drop': displayAddBookmark,\n};\n\nfunction backgroundImage(value) {\n\tconst overlay = document.getElementById('overlay');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\toverlay.style.backgroundColor = 'rgba(0, 0, 0, 1)';\n\t\t\t// console.log(value);\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\toverlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n\t\t\t// console.log(value);\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction backgroundBlur(value) {\n\tconst overlay = document.getElementById('overlay');\n\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\toverlay.style.backdropFilter = 'blur(0em)';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\toverlay.style.backdropFilter = 'blur(1em)';\n\t\t\tfixBackgroundBlurOnResize('overlay');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n// function backgroundGlow() { };\n\n// function displayWeather() { };\n\nfunction displayFooter(value) {\n\tconst footer = document.getElementById('footer');\n\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tfooter.classList.add('hidden');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tfooter.classList.remove('hidden');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nexport function focusSearchBar(value) {\n\tsessionStorage.setItem('focus', value);\n\n\t// const searchbar = document.getElementById('searchTerm');\n\t// switch (value) {\n\t// \tcase 'off': {\n\t// \t\t// searchbar.focus();\n\t// \t\t// sessionStorage.setItem('focus', 'off');\n\t// \t\tbreak;\n\t// \t};\n\t// \tcase 'on': {\n\t// \t\t// searchbar.focus();\n\t// \t\t// searchbar.click();\n\t// \t\tbreak;\n\t// \t};\n};\n\nfunction displayWidget(value) {\n\tconst widget = document.getElementById('main-heading-slider');\n\tconst lArrow = document.getElementById('left-arrow');\n\tconst rArrow = document.getElementById('right-arrow');\n\n\tfunction toggleDefaultWidgetButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tdocument.getElementById('main-widget-children-container')\n\t\t\t\t\t.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tdocument.getElementById('main-widget-children-container')\n\t\t\t\t\t.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\twidget.classList.add('hidden');\n\t\t\tlArrow.classList.add('hidden');\n\t\t\trArrow.classList.add('hidden');\n\t\t\ttoggleDefaultWidgetButton('hide');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\twidget.classList.remove('hidden');\n\t\t\tlArrow.classList.remove('hidden');\n\t\t\trArrow.classList.remove('hidden');\n\t\t\ttoggleDefaultWidgetButton('show');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction displaySearch(value) {\n\tconst search = document.getElementById('searchbar');\n\tconst searchChildren = document\n\t\t.getElementById('search-display-children-container');\n\tconst searchEngineDrop = document\n\t\t.getElementById('def-search-engine-drop-container');\n\n\tfunction toggleSearchEngineButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tsearchChildren.classList.remove('nested-close');\n\t\t\t\tsearchEngineDrop.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tsearchChildren.classList.add('nested-close');\n\t\t\t\tsearchEngineDrop.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tsearch.classList.add('hidden');\n\t\t\ttoggleSearchEngineButton('hide');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tsearch.classList.remove('hidden');\n\t\t\ttoggleSearchEngineButton('show');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nconst widgetSlides = document.getElementsByClassName('widget-slide');\n\nfunction applyText(input) {\n\tfor (const i of widgetSlides) {\n\t\ti.textContent = input;\n\t}\n};\n\nfunction defaultWidget(value) {\n\tfunction loadCustomText() {\n\t\tlet customText = localStorage.getItem('customWidgetText');\n\t\tif (customText == null) {\n\t\t\tlocalStorage.setItem('customWidgetText', DEF_CUSTOM_TEXT);\n\t\t\tcustomText = localStorage.getItem('customWidgetText');\n\t\t\taskCustomText();\n\t\t}\n\t\tapplyText(customText);\n\t\t// return customText;\n\t}\n\n\tfunction toggleCustomTextButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tdocument.getElementById('update-customtext-btn')\n\t\t\t\t\t.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tdocument.getElementById('update-customtext-btn')\n\t\t\t\t\t.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\n\tswitch (value) {\n\t\tcase 'casamia': {\n\t\t\ttoggleCustomTextButton('hide');\n\t\t\tdisplayClock('off');\n\t\t\tapplyText('Casa Mia');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'search': {\n\t\t\ttoggleCustomTextButton('hide');\n\t\t\tdisplayClock('off');\n\t\t\tapplyText('Search');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'clock': {\n\t\t\ttoggleCustomTextButton('hide');\n\t\t\tdisplayClock('on');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'custom': {\n\t\t\tdisplayClock('off');\n\t\t\ttoggleCustomTextButton('show');\n\t\t\tloadCustomText();\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nexport function askCustomText() {\n\tconst savedText = localStorage.getItem('customWidgetText');\n\tInputDialog.show(\n\t\t'Custom widget text',\n\t\t'Enter text you want to set as the main widget.',\n\t\t['Custom text'],\n\t\t'Save',\n\t\t'Cancel',\n\t\tnull,\n\t\t[enableSubmitButton, null],\n\t\t() => {\n\t\t\tInputDialog.getInputFields()[0].value = savedText;\n\t\t},\n\t).then((res) => {\n\t\tlocalStorage.setItem('customWidgetText', res.inputValues[0]);\n\t\tapplyText(res.inputValues[0]);\n\t\tupdateCustomTextPreview();\n\t}).catch((e) => {\n\t\tconsole.error(e);\n\t});\n}\n\nexport function askCustomDomain() {\n\tconst savedDomain = localStorage.getItem('customDomain');\n\tInputDialog.show(\n\t\t'Custom widget text',\n\t\t'Enter text you want to set as the main widget.',\n\t\t['Custom text'],\n\t\t'Save',\n\t\t'Cancel',\n\t\tnull,\n\t\t[enableSubmitButton, null],\n\t\t() => {\n\t\t\tInputDialog.getInputFields()[0].value = savedDomain;\n\t\t},\n\t).then((res) => {\n\t\tlocalStorage.setItem('customDomain', res.inputValues[0]);\n\t\tapplyDomain(res.inputValues[0]);\n\t\tupdateCustomDomainPreview();\n\t}).catch((e) => {\n\t\tconsole.error(e);\n\t});\n}\n\n// function widgetStyle() { };\n\nlet greetingLoop = null;\nfunction displayGreeting(value) {\n\tconst subtitle = document.getElementById('subtitle');\n\tclearInterval(greetingLoop);\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tsubtitle.classList.add('collapsed');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tsubtitle.classList.remove('collapsed');\n\t\t\trefreshGreeting();\n\t\t\tgreetingLoop = setInterval(refreshGreeting, 20000);\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\n// function showSeconds() { };\n\n// function clockStyle() { };\n\n// function amPmStyle() { };\n\nfunction applyDomain(domain) {\n\tlocalStorage.setItem('default-search-url', domain);\n}\n\nexport function defaultSearchEngine(value) {\n\tfunction loadCustomDomain() {\n\t\tlet customDomain = localStorage.getItem('customDomain');\n\t\tif (customDomain == null) {\n\t\t\tlocalStorage.setItem('customDomain', GOOGLE_SEARCH_DOMAIN);\n\t\t\tcustomDomain = localStorage.getItem('customDomain');\n\t\t\taskCustomDomain();\n\t\t}\n\t\tapplyDomain(customDomain);\n\t\t// return customText;\n\t}\n\n\tfunction applyIcon(value) {\n\t\tdocument.getElementById('search-btn-icon').className = value;\n\t\tlocalStorage.setItem('default-search-icon', value);\n\t}\n\n\tfunction toggleCustomDomainButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tdocument.getElementById('update-customdomain-btn')\n\t\t\t\t\t.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tdocument.getElementById('update-customdomain-btn')\n\t\t\t\t\t.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\n\tswitch (value) {\n\t\tcase 'google': {\n\t\t\ttoggleCustomDomainButton('hide');\n\t\t\tapplyDomain(GOOGLE_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-google');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'bing': {\n\t\t\ttoggleCustomDomainButton('hide');\n\t\t\tapplyDomain(BING_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-search');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'duckduckgo': {\n\t\t\ttoggleCustomDomainButton('hide');\n\t\t\tapplyDomain(DUCKDUCKGO_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-search');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'custom': {\n\t\t\ttoggleCustomDomainButton('show');\n\t\t\tloadCustomDomain();\n\t\t\t// applyDomain(GOOGLE_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-search');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction searchbarTheme(value) {\n\tconst searchContainer = document.getElementById('searchContainer');\n\tsessionStorage.setItem('searchbar-color-theme-drop', value);\n\tswitch (value) {\n\t\tcase 'glass': {\n\t\t\tsearchContainer.classList.add('searchbox-style-glass');\n\t\t\tsearchContainer.classList.remove('searchbox-style-light');\n\t\t\tsearchContainer.classList.remove('searchbox-style-dark');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'light': {\n\t\t\tsearchContainer.classList.remove('searchbox-style-glass');\n\t\t\tsearchContainer.classList.add('searchbox-style-light');\n\t\t\tsearchContainer.classList.remove('searchbox-style-dark');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'dark': {\n\t\t\tsearchContainer.classList.remove('searchbox-style-glass');\n\t\t\tsearchContainer.classList.remove('searchbox-style-light');\n\t\t\tsearchContainer.classList.add('searchbox-style-dark');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction defaultSearchbarPosition(value) {\n\tconst searchbar = document.getElementById('searchbar');\n\tconst autofillContainer = document.getElementById('autofillContainer');\n\tconst wrap = document.getElementById('wrap');\n\tsessionStorage.setItem('searchbar-position-drop', value);\n\n\tswitch (value) {\n\t\tcase 'top': {\n\t\t\tsearchbar.style.order = '0';\n\t\t\tautofillContainer.style.order = '1';\n\t\t\tautofillContainer.style.bottom = '0em';\n\t\t\tautofillContainer.style.top = '3.25em';\n\t\t\twrap.style.margin = '0 auto auto auto';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'bottom': {\n\t\t\tsearchbar.style.order = '1';\n\t\t\tautofillContainer.style.order = '0';\n\t\t\tautofillContainer.style.bottom = '3.75em';\n\t\t\tautofillContainer.style.top = '';\n\t\t\twrap.style.margin = 'auto auto 0 auto';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'middle': {\n\t\t\tsearchbar.style.order = '0';\n\t\t\tautofillContainer.style.order = '1';\n\t\t\tautofillContainer.style.bottom = '0em';\n\t\t\tautofillContainer.style.top = '3.25em';\n\t\t\twrap.style.margin = 'auto auto auto auto';\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nexport function scrollToBottom() {\n\tif (document.getElementById('searchbar').style.order == '1') {\n\t\twindow.scrollTo(0, document.body.scrollHeight);\n\t}\n}\n\n// function showTitles() { };\n\nexport function applyPreferences() {\n\tconst preferencesObj =\n\t\tJSON.parse(localStorage.getItem('advDropdownValues'));\n\n\tconst preferencesArray = Object.entries(preferencesObj);\n\tfor (const i of preferencesArray) {\n\t\tconst func = PREF_MAP[i[0]];\n\t\tif (func) func(i[1]);\n\t}\n\n\t// apply previews\n\tupdateUserNamePreview();\n\tupdateCustomTextPreview();\n\tupdateCustomDomainPreview();\n\n\tconst lastSession = sessionStorage.getItem('input');\n\tif (lastSession) document.getElementById('searchTerm').value = lastSession;\n}\n\nexport function loadDropdownPositions() {\n\tconst loadedFromStorage =\n\t\tObject.entries(JSON.parse(localStorage.getItem('advDropdownValues')));\n\t// if (!loadButtonPreviews) return;\n\tfor (const i of loadedFromStorage) {\n\t\tconst elem = document.getElementById(i[0]);\n\t\tif (elem) {\n\t\t\telem.value = i[1];\n\t\t}\n\t}\n};\n\nexport function updateUserNamePreview() {\n\tdocument.getElementById('update-username-btn-preview').\n\t\ttextContent = localStorage.getItem('userName');\n}\n\nexport function updateCustomTextPreview() {\n\tdocument.getElementById('update-customtext-btn-preview').\n\t\ttextContent = localStorage.getItem('customWidgetText');\n}\n\nexport function updateCustomDomainPreview() {\n\tdocument.getElementById('update-customdomain-btn-preview').\n\t\ttextContent = localStorage.getItem('customDomain');\n}\n\nexport function loadSelectedWidgetStyle() {\n\tdocument.getElementById(localStorage.getItem('selected-widget-style'))\n\t\t.scrollIntoView();\n\n\tsetTimeout(() => {\n\t\tintersectionObserver('main-heading-slider', 'widget-slide');\n\t}, 500);\n}\n\nexport function updateAmPmStyle(amPm) {\n\tconst style = localStorage.getItem('selected-widget-style');\n\tif (style == 'widget-2' || style == 'widget-7' || style == 'widget-5') {\n\t\treturn amPm.toLowerCase();\n\t}\n\treturn amPm;\n}\n\nfunction moviesSearch(value) {\n\tconst button = document.getElementById('movies-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction tvSearch(value) {\n\tconst button = document.getElementById('tv-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction gamesSearch(value) {\n\tconst button = document.getElementById('games-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction ebooksSearch(value) {\n\tconst button = document.getElementById('ebooks-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction displayAddBookmark(value) {\n\tconst button = document.getElementById('add_bookmark_button');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\n","export function intersectionObserver(rootID, targetClass) {\n\tconst targetClasses = document.getElementsByClassName(targetClass);\n\tconst options = {\n\t\troot: document.getElementById(rootID),\n\t\trootMargin: '0px',\n\t\tthreshold: 0.5,\n\t};\n\n\tconst callback = (entries) => {\n\t\tentries.forEach((entry) => {\n\t\t\tentry.isIntersecting ? localStorage\n\t\t\t\t.setItem('selected-widget-style', entry.target.id) : null;\n\t\t\t// console.log(entry.target.id)\n\t\t\t// console.log(entry.intersectionRatio)\n\t\t});\n\t};\n\n\tconst observer = new IntersectionObserver(callback, options);\n\n\tfor (const target of targetClasses) {\n\t\tobserver.observe(target);\n\t}\n};\n","// eslint-disable-next-line block-spacing\n{/* eslint-disable max-len */ }\n\n// export const cliHelpText =\n// `Documentation:\\n\n// To Batch search a list of search terms separated by comma:\n// --g : Google search\n// --b : Bing search\n// --d : DuckDuckGo search\\n\n// --fetch : Import a predefined set of custom bookmarks.\n// --reset : Deletes only the saved bookmarks.\n// --reset : Reset everything, including the bookmarks and wallpaper preferences.\\n\n// --help: This page`;\n\nexport const cliUnexpectedCmdText =\n `The command you have passed is invalid.\\n\nType --help to read the documentation.\\n`;\n\nexport const resetBookmarksWarningText =\n `This will reset bookmarks.\nMake sure you have a backup to import later on.\\n\\n\nAre you sure ?`;\n\nexport const resetAllWarningText =\n `This will reset everything.\nThere is no going back.\\n\nAre you sure?`;\n\n// export const askUserNameText =\n// `Welcome to Casa Mia\n// What is your name?`;\n\n// export const retryUserNameText =\n// `Please enter a valid name to proceed.\n// Maximum length allowed is 14 characters.`;\n\nexport const updateUserNameText =\n `Maximum length allowed is 17 characters.`;\n","export function addZero(char) {\n if (char.length == 1) char = '0' + char;\n return char;\n}\n","let alertModalContainer;\nlet modalCancelButton;\nlet tickBoxField;\nlet submitButtons;\n\nconst showAlertDialog = (\n\ttitle = null,\n\tdescription = null,\n\tsubmitButtonNames = ['Submit A', 'Submit B'],\n\tcancelButtonName = 'Ok',\n\ttickBox = [null, null],\n\tlisteners = [],\n\tonInit = null,\n) => {\n\talertModalContainer = document.getElementById('alertDialogContainer');\n\tif (alertModalContainer) alertModalContainer.remove();\n\n\tif (title) {\n\t\ttitle = `

${title}

`;\n\t} else (title = '');\n\tif (description) {\n\t\tdescription = `\n\t\t

${description}

\n\t`;\n\t} else (description = '');\n\n\tdocument.body\n\t\t.insertAdjacentHTML('afterbegin', `\n\t\t
\n\t\t\t
\n\t\t\t\t${title}\n\t\t\t\t${description}\n\t\t\t\t
\n\t\t\t\t\t${cancelButtonName}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t`);\n\tif (submitButtonNames) {\n\t\tsubmitButtonNames.forEach((e) => {\n\t\t\tlet id = e.replaceAll(' ', '-').toLowerCase();\n\t\t\tid = `ALERT-BUTTON-${id}`;\n\t\t\tdocument.getElementById('alertDialogButtonsBar')\n\t\t\t\t.insertAdjacentHTML('afterbegin', `\n\t\t\t\n\t\t\t${e}\n\t\t\t`);\n\t\t});\n\t}\n\tif (tickBox[0]) {\n\t\tdocument.getElementById('alertDialogButtonsBar')\n\t\t\t.insertAdjacentHTML('beforebegin', `\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t${tickBox[0]}\n\t\t\t\t\t \n\t\t`);\n\t\ttickBoxField = document.getElementById('tickBoxField');\n\t};\n\n\talertModalContainer = document.getElementById('alertDialogContainer');\n\tmodalCancelButton = document.getElementById('alertDialogCancelButton');\n\tsubmitButtons = document.getElementsByClassName('alertDialogSubmitButton');\n\tdocument.body.style.overflow = 'hidden';\n\tmodalCancelButton.focus();\n\n\tconst promise = new Promise((resolve, reject) => {\n\t\talertModalContainer.style.alignItems = 'center';\n\t\talertModalContainer.style.opacity = '1';\n\n\t\tconst resolveModal = () => {\n\t\t\tmodalCancelButton.removeEventListener('click', resolveModal);\n\t\t\tif (tickBox[0]) {\n\t\t\t\ttickBoxField.removeEventListener('change', tickBox[1]);\n\t\t\t\ttickBoxField = tickBoxField.checked;\n\t\t\t}\n\t\t\tif (listeners) {\n\t\t\t\tlisteners.forEach((element, index) => {\n\t\t\t\t\tsubmitButtons[index].removeEventListener('click', element);\n\t\t\t\t});\n\t\t\t}\n\t\t\talertModalContainer.remove();\n\t\t\tdocument.body.style.overflow = 'auto';\n\t\t\t// console.log(result);\n\t\t\tresolve(tickBoxField);\n\t\t};\n\n\t\tmodalCancelButton.addEventListener('click', resolveModal);\n\t\tif (listeners) {\n\t\t\tlisteners.forEach((element, index) => {\n\t\t\t\tsubmitButtons[index].addEventListener('click', element);\n\t\t\t});\n\t\t}\n\t\tif (tickBox[0]) {\n\t\t\ttickBoxField.addEventListener('change', tickBox[1]);\n\t\t}\n\t});\n\n\tif (onInit) onInit();\n\treturn promise;\n};\n\nexport const AlertDialog = {\n\tshow: showAlertDialog,\n\tgetCancelButton: () => {\n\t\treturn modalCancelButton;\n\t},\n\tgetSubmitButtons: () => {\n\t\treturn submitButtons;\n\t},\n\tgetCheckboxField: () => {\n\t\treturn tickBoxField;\n\t},\n};\n\nexport const genericAlert = (title, msg) => {\n\tAlertDialog.show(\n\t\ttitle,\n\t\tmsg,\n\t\tnull,\n\t\t'Ok',\n\t\t[null, null],\n\t\tnull,\n\t\tnull,\n\t).then((res) => console.log(res))\n\t\t.catch((e) => console.error(e));\n};\n","export function changeExtension(filename, ext) {\n\tconst array = filename.split('.');\n\tarray[array.length - 1] = ext;\n\treturn array.join('.');\n};\n","export function wait(ms) {\n let now = Date.now();\n const end = now + ms;\n while (now < end) {\n now = Date.now();\n }\n}\n","import { changeGlow, changeSelectionColor } from './colors.js';\nimport { WALLPAPERS_URL } from './constants.js';\nimport { applyPreferences } from './load_preferences.js';\nimport { changeTextAccentColor } from './colors.js';\n\nexport let selectedWallpaper;\nexport let color;\nexport let wallpapersList = [];\n\nexport function fetchWallpapersList() {\n\t// Add wallpapers to HTML\n\tfetch(WALLPAPERS_URL + 'wallpapers_list.json').then((response) => {\n\t\tresponse.text().then((text) => {\n\t\t\twallpapersList = JSON.parse(text);\n\t\t\tresolveWallpapers();\n\t\t\tpopulateWallpapersInDOM();\n\t\t\thighlightSetWallpaper();\n\t\t});\n\t}).catch((e) => {\n\t\tconsole.log(e);\n\t\twindow.open('./pages/error', '_self');\n\t});\n}\n\nexport function setWallpaper(fileName, color) {\n\tselectedWallpaper = fileName;\n\tconst overlay = document.getElementById('overlay');\n\t// console.log('test ' + overlay.style.backdropFilter);\n\toverlay.style.backdropFilter = 'blur(1em)';\n\tconst temp = new Image();\n\ttemp.src = WALLPAPERS_URL + fileName;\n\ttemp.onload = (e) => {\n\t\tapplyWallpaper(selectedWallpaper);\n\t\tlocalStorage.setItem('wallpaper', selectedWallpaper);\n\t\tapplyPreferences();\n\t};\n\n\tchangeGlow(color);\n\tchangeTextAccentColor(color);\n\tchangeSelectionColor(color);\n\tconst inputThumb = fileName.split('.').join('-thumb.');\n\tapplyWallpaper(inputThumb);\n}\n\nfunction applyWallpaper(input) {\n\tdocument.body.style.backgroundImage = 'url(' + WALLPAPERS_URL + input + ')';\n\tdocument.body.style.backgroundRepeat = 'no-repeat';\n\tdocument.body.style.backgroundSize = 'cover';\n\tdocument.body.style.backgroundAttachment = 'fixed';\n\tdocument.body.style.backgroundPosition = 'center';\n}\n\nexport function highlightSetWallpaper() {\n\tconst availableWallpapers = document.getElementsByClassName('thumb-group');\n\tfor (const n of availableWallpapers) {\n\t\tconst thumbnail = n.getElementsByClassName('thumbnail')[0];\n\t\tconst title = n.getElementsByClassName('thumb-title')[0];\n\t\tn.classList.add('animate');\n\n\t\tif (thumbnail.src.replace('-thumb', '').includes(selectedWallpaper)) {\n\t\t\ttitle.style.opacity = '1';\n\t\t\tn.classList.remove('animate');\n\t\t\tn.classList.add('highlighted');\n\t\t} else {\n\t\t\ttitle.style.opacity = '0';\n\t\t\tn.classList.add('animate');\n\t\t\tn.classList.remove('highlighted');\n\t\t}\n\t}\n}\n\n\nexport function changeWallpaper(event) {\n\tevent.stopPropagation();\n\tlet selection = event.target.title;\n\tif (!selection) selection = event.target.childNodes[1].title;\n\t// console.log(\"clicks \" + selection + event.target.childNodes[1].title);\n\tconst wall = getWallpaperDetails(selection);\n\tsetWallpaper(wall[0], wall[1]);\n\thighlightSetWallpaper();\n}\n\nexport function getWallpaperDetails(title) {\n\tconst wallpaper = wallpapersList.filter((item) => {\n\t\treturn item.title == title;\n\t})[0].file;\n\tconst color = wallpapersList.filter((item) => {\n\t\treturn item.title == title;\n\t})[0].color[1];\n\treturn [wallpaper, color];\n}\n\nfunction resolveWallpapers() {\n\tselectedWallpaper = localStorage.getItem('wallpaper');\n\tcolor = wallpapersList.filter((item) => {\n\t\treturn item.file == selectedWallpaper;\n\t})[0].color[1];\n\tsetWallpaper(selectedWallpaper, color);\n}\n\nfunction populateWallpapersInDOM() {\n\tconst bar = document.getElementById('wallpapers');\n\n\tfor (const n of wallpapersList) {\n\t\tlet input = n.file;\n\t\tinput = input.split('.').join('-thumb.');\n\n\t\tconst thumb = document.createElement('div');\n\t\tthumb.className = 'thumb-group';\n\t\tthumb.setAttribute('onclick', 'changeWallpaper(event)');\n\t\tthumb.setAttribute('onkeypress', 'click_to_enter(event)');\n\t\tthumb.setAttribute('tabindex', '3');\n\n\t\tconst div = document.createElement('div');\n\t\tdiv.innerHTML = n.title;\n\t\tdiv.className = 'thumb-title';\n\t\tthumb.appendChild(div);\n\n\t\tconst img = document.createElement('img');\n\t\timg.src = WALLPAPERS_URL + input;\n\t\timg.className = 'thumbnail';\n\t\timg.title = n.title;\n\t\timg.setAttribute('draggable', 'false');\n\t\tthumb.appendChild(img);\n\n\t\tbar.appendChild(thumb);\n\t}\n}\n","export function changeGlow(color, opacity) {\n\tconst glowOverlay = document.getElementById('gradient_overlay');\n\tconst wallpapersRollOverlay = document.getElementById('wallpapers');\n\tconst glowSetting = localStorage.getItem('glow');\n\tif (opacity != null) {\n\t\tif (glowSetting != '1') glowOverlay.style.opacity = opacity;\n\t}\n\tif (color != null) {\n\t\twallpapersRollOverlay.style.background =\n\t\t\t`linear-gradient(to top, rgb(${color}), 50%, #fbd3e900)`;\n\t\tglowOverlay.style.background =\n\t\t\t`linear-gradient(to top, rgb(${color}), 50%, #fbd3e900)`;\n\t}\n}\n\nexport function changeTextAccentColor(color) {\n\tconst i = document.getElementsByClassName('has-shadow');\n\tfor (let n = 0; n < i.length; n++) {\n\t\ti[n].style.textShadow =\n\t\t\t`4px 4px 0 rgba(${color},.85), 6px 6px 0px black`;\n\t}\n}\n\nexport function changeSelectionColor(color) {\n\tdocument.documentElement.style\n\t\t.setProperty('--selection-color', `rgba(${color}, .5)`);\n}\n","export const headingStyles = [\n 'default-text-style',\n 'brush-text-style-1',\n 'brush-text-style-2',\n 'brush-text-style-3',\n];\n","import {\n BING_SEARCH_DOMAIN, DUCKDUCKGO_SEARCH_DOMAIN, GOOGLE_SEARCH_DOMAIN,\n} from './constants.js';\nimport { resetAll, resetBookmarks } from './preferences.js';\nimport { cliUnexpectedCmdText } from './strings.js';\nimport { fetchBookmarks } from './utils.js';\nimport { genericAlert } from './utils/alertDialog.js';\nimport { downloadFile } from './utils/downloadFile.js';\n\n\nexport function cliCheck(input) {\n // var input = getSearchTerm().value;\n if (input.startsWith('--')) {\n return true;\n }\n return false;\n}\n\nfunction parseDL(url) {\n fetch(`https://casamia.cambo.in/api/?url=${url}`).then((results) => {\n return results.json();\n }).then((res) => {\n const download = confirm('Download video?');\n if (download) downloadFile(res.url, 'CasaMia_Downloader.mp4');\n console.log(res.url);\n });\n}\n\nfunction searchViaCli(url, searchTerm) {\n let searchQuery = searchTerm.substr(4);\n searchQuery = searchQuery.split(',');\n searchQuery.forEach((value) => {\n // value = encodeURIComponent(value);\n const o = window.open(`${url}${value}`, '_blank');\n if (o == null) {\n genericAlert('Information',\n 'Allow pop-ups for this feature to work properly.');\n return;\n };\n });\n}\n\nexport function cliParse(input) {\n const forBatchSearch = input.toLowerCase();\n input = input.split('--').join('');\n input = input.split(' ');\n switch (input[0].toLowerCase()) {\n case 'help':\n window.open(`/pages/help/index.html`, '_self');\n // alert(cliHelpText);\n break;\n case 'reset':\n if (input[1] == 'bookmarks') resetBookmarks();\n else if (input[1] == 'all') resetAll();\n else genericAlert('Error', cliUnexpectedCmdText);\n break;\n case 'fetch':\n if (input[1] == 'default') fetchBookmarks();\n // else if (input[1] == 'all') resetAll();\n else genericAlert('Error', cliUnexpectedCmdText);\n break;\n case 'dl':\n if (input[1]) parseDL(input[1]);\n else genericAlert('Failed', `Enter a valid YT address`);\n break;\n case 'clock':\n window.open(`./pages/clock`, '_self');\n break;\n case 'count':\n window.open(`./pages/countdown`, '_self');\n break;\n case 'g':\n searchViaCli(GOOGLE_SEARCH_DOMAIN, forBatchSearch);\n break;\n case 'b':\n searchViaCli(BING_SEARCH_DOMAIN, forBatchSearch);\n break;\n case 'd':\n searchViaCli(DUCKDUCKGO_SEARCH_DOMAIN, forBatchSearch);\n break;\n default:\n genericAlert('Error', cliUnexpectedCmdText);\n };\n}\n\n","// export const downloadFile = (path, filename) => {\n// // Create a new link\n// const anchor = document.createElement('a');\n// anchor.href = path;\n// anchor.download = filename;\n\n// // Append to the DOM\n// document.body.appendChild(anchor);\n\n// // Trigger `click` event\n// anchor.click();\n\n// // Remove element from DOM\n// document.body.removeChild(anchor);\n// };\n\nexport function downloadFile(url) {\n // console.log(WALLPAPERS_URL + selectedWallpaper);\n const element = document.createElement('a');\n element.setAttribute('href', url);\n element.setAttribute('download', 'CasaMia-Downloaer');\n element.target = '_blank';\n element.style.display = 'none';\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n /* alert(\n \"If the download doesn't start, disable the pop-up blocker extensions.\"\n); */\n};\n","const notifyModalContainer = document.getElementById('notifyContainer');\r\nlet modalCancelButton;\r\nlet notify;\r\n\r\nconst showNotifyDialog = (\r\n\tdescription,\r\n\tms = '5000',\r\n\tonClick = null,\r\n) => {\r\n\tconst id = Date.now();\r\n\tnotify = document.getElementById(`notifyModal-${id}`);\r\n\tif (notify) notify.parentNode.remove();\r\n\r\n\tnotifyModalContainer.insertAdjacentHTML('afterbegin', `\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t

\r\n\t\t\t\t\t${description}\r\n\t\t\t\t

\r\n\t\t\t\t
\r\n\t\t\t
\t\r\n\t\t\t\r\n\t\t
\r\n\t`);\r\n\r\n\tconst notifyLoader = document.getElementById(`notifyLoader-${id}`);\r\n\r\n\tnotify = document.getElementById(`notifyModal-${id}`);\r\n\tif (onClick) notify.addEventListner('click', onClick);\r\n\r\n\tconst closeNotification = (event) => {\r\n\t\tif (onClick) notify.removeEventListner('click', onClick);\r\n\t\tmodalCancelButton.removeEventListener('click', closeNotification);\r\n\t\tevent.target.parentNode.remove();\r\n\t};\r\n\r\n\tmodalCancelButton = document.getElementById(`notifyDialogCancelButton-${id}`);\r\n\tmodalCancelButton.addEventListener('click', closeNotification);\r\n\r\n\tsetTimeout(() => {\r\n\t\tconst close = modalCancelButton;\r\n\t\tsetTimeout(() => {\r\n\t\t\tclose.click();\r\n\t\t}, ms);\r\n\t\tnotifyLoader.style.transition = ms + 'ms';\r\n\t\tnotify.style.opacity = '1';\r\n\t\tnotify.style.marginTop = '2em';\r\n\t\tnotifyLoader.style.width = '0%';\r\n\t}, 50);\r\n};\r\n\r\nexport const Notify = {\r\n\tshow: showNotifyDialog,\r\n};\r\n","let previousClick = null;\n\nexport function hideLoading() {\n if (previousClick) {\n previousClick.classList.toggle('loader');\n }\n previousClick = null;\n}\nexport function displayLoading(event) {\n // console.log(event);\n event.stopPropagation();\n // event.preventDefault();\n hideLoading();\n const click = event.target;\n previousClick = click;\n click.classList.toggle('loader');\n}\n","import { DEF_PREF, DEF_WALLPAPER, SAMPLE_AUTOFILL } from './constants.js';\nimport { updateUserNamePreview } from './load_preferences.js';\nimport { refreshGreeting } from './preferences.js';\nimport { updateUserNameText } from './strings.js';\nimport { InputDialog } from './utils/inputDialog.js';\nimport { enableSubmitButton } from './utils/enableSubmitButton.js';\n\nexport function askUserName() {\n let userName = localStorage.getItem('userName');\n\n if (userName) {\n InputDialog.show(\n 'Update your name',\n updateUserNameText,\n ['Change name to'],\n 'Update',\n 'Cancel',\n null,\n [enableSubmitButton, null],\n () => {\n InputDialog.getInputFields()[0].setAttribute('maxlength', 17);\n InputDialog.getInputFields()[0].value = userName;\n },\n ).then((res) => {\n userName = res.inputValues[0];\n localStorage.setItem('userName', userName);\n updateUserNamePreview();\n refreshGreeting();\n return;\n }).catch((e) => {\n console.error(e);\n return;\n });\n return;\n };\n\n if (!userName) {\n const onBoardingInProgress = InputDialog.show(\n 'Welcome to Casa Mia',\n `Hi! We are so excited to see you here.\n Please fill out the following details before moving forward. `,\n [`Your name`],\n 'Proceed',\n null,\n null,\n [enableSubmitButton, null],\n () => {\n InputDialog.getInputFields()[0].setAttribute('maxlength', 17);\n },\n );\n onBoardingInProgress.then((res) => {\n userName = res.inputValues[0];\n localStorage.setItem('userName', userName);\n localStorage.setItem('onBoarding', '1');\n return;\n }).catch((e) => {\n console.error(e);\n return;\n });\n return onBoardingInProgress;\n };\n};\n\nexport function preOnboarding() {\n const onBoardingInProgress = askUserName();\n localStorage.setItem('onBoarding', '0');\n localStorage.setItem('advDropdownValues', JSON.stringify(DEF_PREF));\n localStorage.setItem('wallpaper', DEF_WALLPAPER);\n localStorage.setItem('autocompleteDatabase', SAMPLE_AUTOFILL);\n localStorage.setItem('selected-widget-style', 'widget-1');\n return onBoardingInProgress;\n}\n\n","import { applyPreferences } from './load_preferences.js';\n\nexport function saveDropdownPositions() {\n const select = document.getElementsByTagName('select');\n const dropdownPositions = {};\n for (const i of select) {\n dropdownPositions[i.id] = i.value;\n };\n localStorage\n .setItem('advDropdownValues', JSON.stringify(dropdownPositions));\n applyPreferences();\n};\n\n// export function saveButtonValues() {\n// const previews = document.getElementsByClassName('custom-button');\n// const buttonPreviews = {};\n// for (const i of previews) {\n// buttonPreviews[i.id] = i.value;\n// };\n// localStorage\n// .setItem('advButtonPreviews', JSON.stringify(buttonPreviews));\n// loadButtonPreviews();\n// };\n\n// export function loadButtonPreviews() {\n// let loadedFromStorage = localStorage.getItem('advButtonPreviews');\n// if (!loadedFromStorage) return;\n// loadedFromStorage =\n// Object.entries(JSON.parse(loadedFromStorage));\n// for (const i of loadedFromStorage) {\n// document.getElementById(i[0] + '-preview').textContent = i[1];\n// }\n// };\n","export function getLastUpdated(id) {\n\tfetch('https://api.github.com/repos/lscambo13/casamia/commits/HEAD')\n\t\t.then((response) => {\n\t\t\tresponse.json().then((response) => {\n\t\t\t\tconst date = new Date(response.commit.committer.date);\n\t\t\t\tlet time = date.toISOString();\n\t\t\t\ttime = time.slice(0, time.length - 5);\n\t\t\t\ttime = time\n\t\t\t\t\t.replaceAll('T', '-')\n\t\t\t\t\t.replaceAll(':', '')\n\t\t\t\t\t.replaceAll('-', '.');\n\t\t\t\tconst element = document.getElementById(id);\n\t\t\t\telement.innerHTML = `Version ${time}`;\n\t\t\t}).catch((e) => {\n\t\t\t\tconsole.error('getLastUpdated', e);\n\t\t\t});\n\t\t}).catch((e) => {\n\t\t\tconsole.error('getLastUpdated', e);\n\t\t});\n};\n","export function blurLevel(int) {\r\n\tdocument.documentElement.style\r\n\t\t.setProperty('--blur-one-em', `blur(${int}em)`);\r\n\tdocument.documentElement.style\r\n\t\t.setProperty('--blur-one-px', `blur(${int}px)`);\r\n}\r\n","let pause = false\r\nexport function pauseSnaowfall(boolean) {\r\n\tpause = boolean\r\n\tisItChristmas()\r\n}\r\nexport function isItChristmas() {\r\n\tlet date = new Date()\r\n\tif (date.getMonth() == 11 && date.getDate() > 17 && date.getDate() < 32) {\r\n\t\t// console.log(date.getMonth() == 11, date.getDate() > 17, date.getDate() < 32)\r\n\t\tletItSnow()\r\n\t}\r\n}\r\nfunction letItSnow() {\r\n\tpause = true\r\n\t//canvas init\r\n\tvar canvas = document.getElementById(\"canvasFar\");\r\n\tvar ctx = canvas.getContext(\"2d\");\r\n\r\n\t//canvas dimensions\r\n\tvar W = window.innerWidth;\r\n\tvar H = window.innerHeight;\r\n\tcanvas.width = W;\r\n\tcanvas.height = H;\r\n\r\n\t//snowflake particles\r\n\tvar mp = 50; //max particles\r\n\tvar particles = [];\r\n\tfor (var i = 0; i < mp; i++) {\r\n\t\tparticles.push({\r\n\t\t\tx: Math.random() * W, //x-coordinate\r\n\t\t\ty: Math.random() * H, //y-coordinate\r\n\t\t\tr: Math.random() * 4 + 1, //radius\r\n\t\t\td: Math.random() * mp //density\r\n\t\t})\r\n\t}\r\n\r\n\t//Lets draw the flakes\r\n\tctx.fillStyle = \"rgba(255, 255, 255, 0.5)\";\r\n\tfunction draw() {\r\n\t\t// let tStart = Date.now()\r\n\t\tctx.clearRect(0, 0, W, H);\r\n\t\tctx.beginPath();\r\n\t\tfor (var i = 0; i < mp; i++) {\r\n\t\t\tvar p = particles[i];\r\n\t\t\tctx.moveTo(p.x, p.y);\r\n\t\t\tctx.arc(p.x, p.y, p.r, 0, Math.PI * 2, true);\r\n\t\t}\r\n\t\tctx.fill();\r\n\t\tupdate();\r\n\t\tif (!pause) window.requestAnimationFrame(draw);\r\n\t\t// console.log(Date.now() - tStart)\r\n\t\t// console.log('draw')\r\n\t}\r\n\r\n\t//Function to move the snowflakes\r\n\t//angle will be an ongoing incremental flag. Sin and Cos functions will be applied to it to create vertical and horizontal movements of the flakes\r\n\t// var angle = 0;\r\n\tfunction update() {\r\n\t\t// console.log('update main')\r\n\t\t// angle += 0.01;\r\n\t\tfor (var i = 0; i < mp; i++) {\r\n\t\t\t// console.log('update loop')\r\n\t\t\tvar p = particles[i];\r\n\t\t\t//Updating X and Y coordinates\r\n\t\t\t//We will add 1 to the cos function to prevent negative values which will lead flakes to move upwards\r\n\t\t\t//Every particle has its own density which can be used to make the downward movement different for each flake\r\n\t\t\t//Lets make it more random by adding in the radius\r\n\t\t\tp.y += Math.cos(p.d) + 1 + p.r / 10;\r\n\t\t\t// p.y += Math.cos(angle + p.d) + 1 + p.r / 2;\r\n\t\t\t// p.x += Math.sin(angle) * 2;\r\n\r\n\t\t\t//Sending flakes back from the top when it exits\r\n\t\t\t//Lets make it a bit more organic and let flakes enter from the left and right also.\r\n\t\t\tif (p.x > W + 5 || p.x < -5 || p.y > H) {\r\n\t\t\t\tif (i % 3 > 0) //66.67% of the flakes\r\n\t\t\t\t{\r\n\t\t\t\t\tparticles[i] = { x: Math.random() * W, y: -10, r: p.r, d: p.d };\r\n\t\t\t\t}\r\n\t\t\t\t// else {\r\n\t\t\t\t// \t//If the flake is exitting from the right\r\n\t\t\t\t// \tif (Math.sin(angle) > 0) {\r\n\t\t\t\t// \t\t//Enter from the left\r\n\t\t\t\t// \t\tparticles[i] = { x: -5, y: Math.random() * H, r: p.r, d: p.d };\r\n\t\t\t\t// \t}\r\n\t\t\t\t// \telse {\r\n\t\t\t\t// \t\t//Enter from the right\r\n\t\t\t\t// \t\tparticles[i] = { x: W + 5, y: Math.random() * H, r: p.r, d: p.d };\r\n\t\t\t\t// \t}\r\n\t\t\t\t// }\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tcanvas.style.display = 'block'\r\n\tpause = false\r\n\twindow.requestAnimationFrame(draw);\r\n\t//animation loop\r\n\t// setInterval(draw, 60);\r\n}\r\n","export function isTouchDevice() {\n\t// return (('ontouchstart' in window) ||\n\t// \t(navigator.maxTouchPoints > 0) ||\n\t// \t(navigator.msMaxTouchPoints > 0));\n\tif (window.matchMedia('(hover: none)').matches) {\n\t\treturn true;\n\t} else return false;\n};\n"],"names":[],"version":3,"file":"index.3d214d75.js.map","sourceRoot":"/__parcel_source_root/"} \ No newline at end of file diff --git a/dist/index.52a762c6.js b/dist/index.4f422112.js similarity index 59% rename from dist/index.52a762c6.js rename to dist/index.4f422112.js index c91c632..1f3308e 100644 --- a/dist/index.52a762c6.js +++ b/dist/index.4f422112.js @@ -1,4 +1,4 @@ -let e,t,o,n,l,a,s,i,c,r,d,u,m,g;const h="https://x1337x.ws/sort-category-search/",p="https://www.google.com/search?q=",f="https://www.bing.com/search?q=",y="https://duckduckgo.com/?q=",b='["--help","--dl","--clock","--countdown"]',w="./wallpapers/",k={"bg-img-drop":"shown","bg-blur-drop":"off","footer-display-drop":"on","def-widget-drop":"casamia","greeting-display-drop":"on","def-widget-display-drop":"on","def-search-engine-drop":"google","searchbar-position-drop":"middle","searchbar-color-theme-drop":"glass","focus-search-drop":"off","search-display-drop":"on","movies-search-display-drop":"shown","tv-search-display-drop":"shown","games-search-display-drop":"shown","ebooks-search-display-drop":"shown","add-bookmark-display-drop":"shown"},v={show:(a=null,s=null,i=["Input A","Input B"],c="Submit",r="Cancel",d=null,u=[onInput=null,onChange=null],m=null)=>{(e=document.getElementById("inputDialogContainer"))&&e.remove(),document.activeElement.blur(),a=a?`

${a}

`:"",s=s?` +let e,t,o,n,l,a,s,i,c,r,d,u,m,g;const p="https://x1337x.ws/sort-category-search/",h="https://www.google.com/search?q=",f="https://www.bing.com/search?q=",y="https://duckduckgo.com/?q=",b='["--help","--dl","--clock","--countdown"]',w="./wallpapers/",k={"bg-img-drop":"shown","bg-blur-drop":"off","footer-display-drop":"on","def-widget-drop":"casamia","greeting-display-drop":"on","def-widget-display-drop":"on","def-search-engine-drop":"google","searchbar-position-drop":"middle","searchbar-color-theme-drop":"glass","focus-search-drop":"off","search-display-drop":"on","movies-search-display-drop":"shown","tv-search-display-drop":"shown","games-search-display-drop":"shown","ebooks-search-display-drop":"shown","add-bookmark-display-drop":"shown"},v={show:(a=null,s=null,i=["Input A","Input B"],c="Submit",r="Cancel",d=null,u=[onInput=null,onChange=null],m=null)=>{(e=document.getElementById("inputDialogContainer"))&&e.remove(),document.activeElement.blur(),a=a?`

${a}

`:"",s=s?`

${s}

`:"",document.body.insertAdjacentHTML("afterbegin",`
@@ -38,7 +38,7 @@ let e,t,o,n,l,a,s,i,c,r,d,u,m,g;const h="https://x1337x.ws/sort-category-search/ id="tickBoxField"> ${d} - `),n=document.getElementById("tickBoxField")),e=document.getElementById("inputDialogContainer"),t=document.getElementById("inputDialogSubmitButton"),o=document.getElementById("inputDialogCancelButton"),l=document.getElementsByClassName("modalInputField"),document.body.style.overflow="hidden",l[0].focus(),r||(o.style.display="none");let g=new Promise((a,s)=>{e.style.opacity="1";let i=()=>{o.removeEventListener("click",i),e.remove(),document.body.style.overflow="auto",s(Error(null))},c=()=>{t.removeEventListener("click",c),d&&(n.removeEventListener("change",u[1]),n=n.checked);let o=[];for(let e of l)o.push(e.value),u&&e.removeEventListener("input",u);let s={inputValues:o,checkboxChecked:n};e.remove(),document.body.style.overflow="auto",console.log(s),a(s)};if(o.addEventListener("click",i),t.addEventListener("click",c),u[0])for(let e of l)e.addEventListener("input",u[0]);u[1]&&d&&n.addEventListener("change",u[1])});return m&&m(),g},getSubmitButton:()=>t,getCancelButton:()=>o,getInputFields:()=>l,getCheckboxField:e=>n};function I(e){try{return new URL(e),!0}catch(e){return!1}}const E=(e,t=!1)=>{let o=v.getSubmitButton(),n=v.getInputFields();for(let e of n)if(e.value.length)o.disabled=!1;else{o.disabled=!0;return}t&&(I(n[1].value)?o.disabled=!1:o.disabled=!0)};function B(e){document.documentElement.style.setProperty("--cross-display",e)}let L=JSON.parse(localStorage.getItem("saved_bookmarks"));function S(e,t,o){document.getElementsByClassName("flex-sub-container-horizontal")[0].appendChild(function(e,t,o){let n=document.createElement("span");n.textContent=t,n.className="custom_link_name";let l=document.createElement("div");l.className="cross",l.title="Modify bookmark details",l.setAttribute("tabindex","5");let a=document.createElement("a");return a.className="custom_bookmark clickable",a.setAttribute("href",e),a.setAttribute("id",o),a.setAttribute("tabindex","1"),a.appendChild(n),a.appendChild(l),a}(e,t,o));let n=document.getElementsByClassName("cross");n[n.length-1].addEventListener("click",T)}function x(e,t,o){L.push({link:e,name:t,id:o}),localStorage.setItem("saved_bookmarks",JSON.stringify(L))}function C(e){switch(e){case"show":B("block");break;case"hide":B("none")}}function D(e,t){let o=document.createElement("a");o.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(t)),o.setAttribute("download",e),o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o)}function T(e){e.preventDefault(),e.stopPropagation();let t=e.target.parentNode,o=function(e){let t=L.filter(t=>e==t.id);return[t[0].id,t[0].name,t[0].link]}(t.id);v.show("Edit bookmark",null,["Name","Address"],"Save","Cancel","Delete this bookmark",[()=>E(e,!0),()=>{let e=v.getCheckboxField(),t=v.getSubmitButton(),o=v.getInputFields();if(e.checked){for(let e of(t.textContent="Delete",t.classList.add("deleteButton"),o))e.disabled=!0;t.disabled=!1}else if(!e.checked)for(let e of(t.textContent="Save",t.classList.remove("deleteButton"),o))e.disabled=!1}],()=>{v.getInputFields()[0].setAttribute("maxlength","4"),v.getInputFields()[0].value=o[1],v.getInputFields()[1].value=o[2]}).then(e=>{if(e.checkboxChecked){var o;o=t.id,L=L.filter(e=>o!=e.id),localStorage.setItem("saved_bookmarks",JSON.stringify(L)),t.style.display="none";return}t.href=e.inputValues[1].replaceAll(" ",""),t.firstChild.innerHTML=e.inputValues[0],function(e,t,o){let n=L.filter(t=>e==t.id);n[0].name=t,n[0].link=o,localStorage.setItem("saved_bookmarks",JSON.stringify(L))}(t.id,e.inputValues[0],e.inputValues[1].replaceAll(" ",""))}).catch(e=>console.log(e))}const $={"bg-img-drop":function(e){let t=document.getElementById("overlay");switch(e){case"hidden":t.style.backgroundColor="rgba(0, 0, 0, 1)";break;case"shown":t.style.backgroundColor="rgba(0, 0, 0, 0.375)"}},"bg-blur-drop":function(e){let t=document.getElementById("overlay");switch(e){case"off":t.style.backdropFilter="blur(0em)";break;case"on":var o;t.style.backdropFilter="blur(1em)",o="overlay",document.getElementById(o).style.backdropFilter="blur(0.9em)",setTimeout(()=>{document.getElementById(o).style.backdropFilter="blur(1em)"},1)}},"footer-display-drop":function(e){let t=document.getElementById("footer");switch(e){case"off":t.classList.add("hidden");break;case"on":t.classList.remove("hidden")}},"def-widget-drop":function(e){function t(e){switch(e){case"show":document.getElementById("update-customtext-btn").classList.remove("nested-close");break;case"hide":document.getElementById("update-customtext-btn").classList.add("nested-close")}}switch(e){case"casamia":t("hide"),ee("off"),A("Casa Mia");break;case"search":t("hide"),ee("off"),A("Search");break;case"clock":t("hide"),ee("on");break;case"custom":let o;ee("off"),t("show"),null==(o=localStorage.getItem("customWidgetText"))&&(localStorage.setItem("customWidgetText","Custom Text"),o=localStorage.getItem("customWidgetText"),_()),A(o)}},"greeting-display-drop":function(e){let t=document.getElementById("subtitle");switch(clearInterval(F),e){case"off":t.classList.add("collapsed");break;case"on":t.classList.remove("collapsed"),et(),F=setInterval(et,2e4)}},"def-widget-display-drop":function(e){let t=document.getElementById("main-heading-slider"),o=document.getElementById("left-arrow"),n=document.getElementById("right-arrow");function l(e){switch(e){case"show":document.getElementById("main-widget-children-container").classList.remove("nested-close");break;case"hide":document.getElementById("main-widget-children-container").classList.add("nested-close")}}switch(e){case"off":t.classList.add("hidden"),o.classList.add("hidden"),n.classList.add("hidden"),l("hide");break;case"on":t.classList.remove("hidden"),o.classList.remove("hidden"),n.classList.remove("hidden"),l("show")}},"def-search-engine-drop":function(e){function t(e){document.getElementById("search-btn-icon").className=e,localStorage.setItem("default-search-icon",e)}function o(e){switch(e){case"show":document.getElementById("update-customdomain-btn").classList.remove("nested-close");break;case"hide":document.getElementById("update-customdomain-btn").classList.add("nested-close")}}switch(e){case"google":o("hide"),O(p),t("fa fa-google");break;case"bing":o("hide"),O(f),t("fa fa-search");break;case"duckduckgo":o("hide"),O(y),t("fa fa-search");break;case"custom":let n;o("show"),null==(n=localStorage.getItem("customDomain"))&&(localStorage.setItem("customDomain",p),n=localStorage.getItem("customDomain"),M()),O(n),t("fa fa-search")}},"searchbar-position-drop":function(e){let t=document.getElementById("searchbar"),o=document.getElementById("autofillContainer"),n=document.getElementById("wrap");switch(sessionStorage.setItem("searchbar-position-drop",e),e){case"top":t.style.order="0",o.style.order="1",o.style.bottom="0em",o.style.top="3.25em",n.style.margin="0 auto auto auto";break;case"bottom":t.style.order="1",o.style.order="0",o.style.bottom="3.75em",o.style.top="",n.style.margin="auto auto 0 auto";break;case"middle":t.style.order="0",o.style.order="1",o.style.bottom="0em",o.style.top="3.25em",n.style.margin="auto auto auto auto"}},"searchbar-color-theme-drop":function(e){let t=document.getElementById("searchContainer");switch(sessionStorage.setItem("searchbar-color-theme-drop",e),e){case"glass":t.classList.add("searchbox-style-glass"),t.classList.remove("searchbox-style-light"),t.classList.remove("searchbox-style-dark");break;case"light":t.classList.remove("searchbox-style-glass"),t.classList.add("searchbox-style-light"),t.classList.remove("searchbox-style-dark");break;case"dark":t.classList.remove("searchbox-style-glass"),t.classList.remove("searchbox-style-light"),t.classList.add("searchbox-style-dark")}},"focus-search-drop":function(e){sessionStorage.setItem("focus",e)},"search-display-drop":function(e){let t=document.getElementById("searchbar"),o=document.getElementById("search-display-children-container"),n=document.getElementById("def-search-engine-drop-container");function l(e){switch(e){case"show":o.classList.remove("nested-close"),n.classList.remove("nested-close");break;case"hide":o.classList.add("nested-close"),n.classList.add("nested-close")}}switch(e){case"off":t.classList.add("hidden"),l("hide");break;case"on":t.classList.remove("hidden"),l("show")}},"movies-search-display-drop":function(e){let t=document.getElementById("movies-search");switch(e){case"hidden":t.style.display="none";break;case"shown":t.style.display="flex"}},"tv-search-display-drop":function(e){let t=document.getElementById("tv-search");switch(e){case"hidden":t.style.display="none";break;case"shown":t.style.display="flex"}},"games-search-display-drop":function(e){let t=document.getElementById("games-search");switch(e){case"hidden":t.style.display="none";break;case"shown":t.style.display="flex"}},"ebooks-search-display-drop":function(e){let t=document.getElementById("ebooks-search");switch(e){case"hidden":t.style.display="none";break;case"shown":t.style.display="flex"}},"add-bookmark-display-drop":function(e){let t=document.getElementById("add_bookmark_button");switch(e){case"hidden":t.style.display="none";break;case"shown":t.style.display="flex"}}},N=document.getElementsByClassName("widget-slide");function A(e){for(let t of N)t.textContent=e}function _(){let e=localStorage.getItem("customWidgetText");v.show("Custom widget text","Enter text you want to set as the main widget.",["Custom text"],"Save","Cancel",null,[E,null],()=>{v.getInputFields()[0].value=e}).then(e=>{localStorage.setItem("customWidgetText",e.inputValues[0]),A(e.inputValues[0]),V()}).catch(e=>{console.error(e)})}function M(){let e=localStorage.getItem("customDomain");v.show("Custom widget text","Enter text you want to set as the main widget.",["Custom text"],"Save","Cancel",null,[E,null],()=>{v.getInputFields()[0].value=e}).then(e=>{localStorage.setItem("customDomain",e.inputValues[0]),O(e.inputValues[0]),H()}).catch(e=>{console.error(e)})}let F=null;function O(e){localStorage.setItem("default-search-url",e)}function j(){for(let e of Object.entries(JSON.parse(localStorage.getItem("advDropdownValues")))){let t=$[e[0]];t&&t(e[1])}P(),V(),H();let e=sessionStorage.getItem("input");e&&(document.getElementById("searchTerm").value=e)}function P(){document.getElementById("update-username-btn-preview").textContent=localStorage.getItem("userName")}function V(){document.getElementById("update-customtext-btn-preview").textContent=localStorage.getItem("customWidgetText")}function H(){document.getElementById("update-customdomain-btn-preview").textContent=localStorage.getItem("customDomain")}const W=`The command you have passed is invalid. + `),n=document.getElementById("tickBoxField")),e=document.getElementById("inputDialogContainer"),t=document.getElementById("inputDialogSubmitButton"),o=document.getElementById("inputDialogCancelButton"),l=document.getElementsByClassName("modalInputField"),document.body.style.overflow="hidden",l[0].focus(),r||(o.style.display="none");let g=new Promise((a,s)=>{e.style.opacity="1";let i=()=>{o.removeEventListener("click",i),e.remove(),document.body.style.overflow="auto",s(Error(null))},c=()=>{t.removeEventListener("click",c),d&&(n.removeEventListener("change",u[1]),n=n.checked);let o=[];for(let e of l)o.push(e.value),u&&e.removeEventListener("input",u);let s={inputValues:o,checkboxChecked:n};e.remove(),document.body.style.overflow="auto",console.log(s),a(s)};if(o.addEventListener("click",i),t.addEventListener("click",c),u[0])for(let e of l)e.addEventListener("input",u[0]);u[1]&&d&&n.addEventListener("change",u[1])});return m&&m(),g},getSubmitButton:()=>t,getCancelButton:()=>o,getInputFields:()=>l,getCheckboxField:e=>n};function I(e){try{return new URL(e),!0}catch(e){return!1}}const E=(e,t=!1)=>{let o=v.getSubmitButton(),n=v.getInputFields();for(let e of n)if(e.value.length)o.disabled=!1;else{o.disabled=!0;return}t&&(I(n[1].value)?o.disabled=!1:o.disabled=!0)};function B(e){document.documentElement.style.setProperty("--cross-display",e)}let L=JSON.parse(localStorage.getItem("saved_bookmarks"));function S(e,t,o){document.getElementsByClassName("flex-sub-container-horizontal")[0].appendChild(function(e,t,o){let n=document.createElement("span");n.textContent=t,n.className="custom_link_name";let l=document.createElement("div");l.className="cross",l.title="Modify bookmark details",l.setAttribute("tabindex","5");let a=document.createElement("a");return a.className="custom_bookmark clickable",a.setAttribute("href",e),a.setAttribute("id",o),a.setAttribute("tabindex","1"),a.appendChild(n),a.appendChild(l),a}(e,t,o));let n=document.getElementsByClassName("cross");n[n.length-1].addEventListener("click",T)}function x(e,t,o){L.push({link:e,name:t,id:o}),localStorage.setItem("saved_bookmarks",JSON.stringify(L))}function C(e){switch(e){case"show":B("block");break;case"hide":B("none")}}function D(e,t){let o=document.createElement("a");o.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(t)),o.setAttribute("download",e),o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o)}function T(e){e.preventDefault(),e.stopPropagation();let t=e.target.parentNode,o=function(e){let t=L.filter(t=>e==t.id);return[t[0].id,t[0].name,t[0].link]}(t.id);v.show("Edit bookmark",null,["Name","Address"],"Save","Cancel","Delete this bookmark",[()=>E(e,!0),()=>{let e=v.getCheckboxField(),t=v.getSubmitButton(),o=v.getInputFields();if(e.checked){for(let e of(t.textContent="Delete",t.classList.add("deleteButton"),o))e.disabled=!0;t.disabled=!1}else if(!e.checked)for(let e of(t.textContent="Save",t.classList.remove("deleteButton"),o))e.disabled=!1}],()=>{v.getInputFields()[0].setAttribute("maxlength","4"),v.getInputFields()[0].value=o[1],v.getInputFields()[1].value=o[2]}).then(e=>{if(e.checkboxChecked){var o;o=t.id,L=L.filter(e=>o!=e.id),localStorage.setItem("saved_bookmarks",JSON.stringify(L)),t.style.display="none";return}t.href=e.inputValues[1].replaceAll(" ",""),t.firstChild.innerHTML=e.inputValues[0],function(e,t,o){let n=L.filter(t=>e==t.id);n[0].name=t,n[0].link=o,localStorage.setItem("saved_bookmarks",JSON.stringify(L))}(t.id,e.inputValues[0],e.inputValues[1].replaceAll(" ",""))}).catch(e=>console.log(e))}const $={"bg-img-drop":function(e){let t=document.getElementById("overlay");switch(e){case"hidden":t.style.backgroundColor="rgba(0, 0, 0, 1)";break;case"shown":t.style.backgroundColor="rgba(0, 0, 0, 0.375)"}},"bg-blur-drop":function(e){let t=document.getElementById("overlay");switch(e){case"off":t.style.backdropFilter="blur(0em)";break;case"on":var o;t.style.backdropFilter="blur(1em)",o="overlay",document.getElementById(o).style.backdropFilter="blur(0.9em)",setTimeout(()=>{document.getElementById(o).style.backdropFilter="blur(1em)"},1)}},"footer-display-drop":function(e){let t=document.getElementById("footer");switch(e){case"off":t.classList.add("hidden");break;case"on":t.classList.remove("hidden")}},"def-widget-drop":function(e){function t(e){switch(e){case"show":document.getElementById("update-customtext-btn").classList.remove("nested-close");break;case"hide":document.getElementById("update-customtext-btn").classList.add("nested-close")}}switch(e){case"casamia":t("hide"),ee("off"),N("Casa Mia");break;case"search":t("hide"),ee("off"),N("Search");break;case"clock":t("hide"),ee("on");break;case"custom":let o;ee("off"),t("show"),null==(o=localStorage.getItem("customWidgetText"))&&(localStorage.setItem("customWidgetText","Custom Text"),o=localStorage.getItem("customWidgetText"),_()),N(o)}},"greeting-display-drop":function(e){let t=document.getElementById("subtitle");switch(clearInterval(F),e){case"off":t.classList.add("collapsed");break;case"on":t.classList.remove("collapsed"),et(),F=setInterval(et,2e4)}},"def-widget-display-drop":function(e){let t=document.getElementById("main-heading-slider"),o=document.getElementById("left-arrow"),n=document.getElementById("right-arrow");function l(e){switch(e){case"show":document.getElementById("main-widget-children-container").classList.remove("nested-close");break;case"hide":document.getElementById("main-widget-children-container").classList.add("nested-close")}}switch(e){case"off":t.classList.add("hidden"),o.classList.add("hidden"),n.classList.add("hidden"),l("hide");break;case"on":t.classList.remove("hidden"),o.classList.remove("hidden"),n.classList.remove("hidden"),l("show")}},"def-search-engine-drop":function(e){function t(e){document.getElementById("search-btn-icon").className=e,localStorage.setItem("default-search-icon",e)}function o(e){switch(e){case"show":document.getElementById("update-customdomain-btn").classList.remove("nested-close");break;case"hide":document.getElementById("update-customdomain-btn").classList.add("nested-close")}}switch(e){case"google":o("hide"),O(h),t("fa-brands fa-google");break;case"bing":o("hide"),O(f),t("fa fa-magnifying-glass");break;case"duckduckgo":o("hide"),O(y),t("fa fa-magnifying-glass");break;case"custom":let n;o("show"),null==(n=localStorage.getItem("customDomain"))&&(localStorage.setItem("customDomain",h),n=localStorage.getItem("customDomain"),M()),O(n),t("fa fa-magnifying-glass")}},"searchbar-position-drop":function(e){let t=document.getElementById("searchbar"),o=document.getElementById("autofillContainer"),n=document.getElementById("wrap");switch(sessionStorage.setItem("searchbar-position-drop",e),e){case"top":t.style.order="0",o.style.order="1",o.style.bottom="0em",o.style.top="3.75em",n.style.margin="0 auto auto auto";break;case"bottom":t.style.order="1",o.style.order="0",o.style.bottom="3.75em",o.style.top="",n.style.margin="auto auto 0 auto";break;case"middle":t.style.order="0",o.style.order="1",o.style.bottom="0em",o.style.top="3.75em",n.style.margin="auto auto auto auto"}},"searchbar-color-theme-drop":function(e){let t=document.getElementById("searchContainer");switch(sessionStorage.setItem("searchbar-color-theme-drop",e),e){case"glass":t.classList.add("searchbox-style-glass"),t.classList.remove("searchbox-style-light"),t.classList.remove("searchbox-style-dark");break;case"light":t.classList.remove("searchbox-style-glass"),t.classList.add("searchbox-style-light"),t.classList.remove("searchbox-style-dark");break;case"dark":t.classList.remove("searchbox-style-glass"),t.classList.remove("searchbox-style-light"),t.classList.add("searchbox-style-dark")}},"focus-search-drop":function(e){sessionStorage.setItem("focus",e)},"search-display-drop":function(e){let t=document.getElementById("searchbar"),o=document.getElementById("search-display-children-container"),n=document.getElementById("def-search-engine-drop-container");function l(e){switch(e){case"show":o.classList.remove("nested-close"),n.classList.remove("nested-close");break;case"hide":o.classList.add("nested-close"),n.classList.add("nested-close")}}switch(e){case"off":t.classList.add("hidden"),l("hide");break;case"on":t.classList.remove("hidden"),l("show")}},"movies-search-display-drop":function(e){let t=document.getElementById("movies-search");switch(e){case"hidden":t.style.display="none";break;case"shown":t.style.display="flex"}},"tv-search-display-drop":function(e){let t=document.getElementById("tv-search");switch(e){case"hidden":t.style.display="none";break;case"shown":t.style.display="flex"}},"games-search-display-drop":function(e){let t=document.getElementById("games-search");switch(e){case"hidden":t.style.display="none";break;case"shown":t.style.display="flex"}},"ebooks-search-display-drop":function(e){let t=document.getElementById("ebooks-search");switch(e){case"hidden":t.style.display="none";break;case"shown":t.style.display="flex"}},"add-bookmark-display-drop":function(e){let t=document.getElementById("add_bookmark_button");switch(e){case"hidden":t.style.display="none";break;case"shown":t.style.display="flex"}}},A=document.getElementsByClassName("widget-slide");function N(e){for(let t of A)t.textContent=e}function _(){let e=localStorage.getItem("customWidgetText");v.show("Custom widget text","Enter text you want to set as the main widget.",["Custom text"],"Save","Cancel",null,[E,null],()=>{v.getInputFields()[0].value=e}).then(e=>{localStorage.setItem("customWidgetText",e.inputValues[0]),N(e.inputValues[0]),V()}).catch(e=>{console.error(e)})}function M(){let e=localStorage.getItem("customDomain");v.show("Custom widget text","Enter text you want to set as the main widget.",["Custom text"],"Save","Cancel",null,[E,null],()=>{v.getInputFields()[0].value=e}).then(e=>{localStorage.setItem("customDomain",e.inputValues[0]),O(e.inputValues[0]),H()}).catch(e=>{console.error(e)})}let F=null;function O(e){localStorage.setItem("default-search-url",e)}function j(){for(let e of Object.entries(JSON.parse(localStorage.getItem("advDropdownValues")))){let t=$[e[0]];t&&t(e[1])}P(),V(),H();let e=sessionStorage.getItem("input");e&&(document.getElementById("searchTerm").value=e)}function P(){document.getElementById("update-username-btn-preview").textContent=localStorage.getItem("userName")}function V(){document.getElementById("update-customtext-btn-preview").textContent=localStorage.getItem("customWidgetText")}function H(){document.getElementById("update-customdomain-btn-preview").textContent=localStorage.getItem("customDomain")}const W=`The command you have passed is invalid. Type --help to read the documentation. `,J=`This will reset bookmarks. @@ -79,7 +79,7 @@ Are you sure?`;function U(e){return 1==e.length&&(e="0"+e),e}const R={show:(e=nu id="tickBoxField"> ${l[0]} - `),i=document.getElementById("tickBoxField")),a=document.getElementById("alertDialogContainer"),s=document.getElementById("alertDialogCancelButton"),c=document.getElementsByClassName("alertDialogSubmitButton"),document.body.style.overflow="hidden",s.focus();let u=new Promise((e,t)=>{a.style.alignItems="center",a.style.opacity="1";let o=()=>{s.removeEventListener("click",o),l[0]&&(i.removeEventListener("change",l[1]),i=i.checked),r&&r.forEach((e,t)=>{c[t].removeEventListener("click",e)}),a.remove(),document.body.style.overflow="auto",e(i)};s.addEventListener("click",o),r&&r.forEach((e,t)=>{c[t].addEventListener("click",e)}),l[0]&&i.addEventListener("change",l[1])});return d&&d(),u},getCancelButton:()=>s,getSubmitButtons:()=>c,getCheckboxField:()=>i},Y=(e,t)=>{R.show(e,t,null,"Ok",[null,null],null,null).then(e=>console.log(e)).catch(e=>console.error(e))};function z(e,t){let o=document.getElementById("gradient_overlay"),n=document.getElementById("wallpapers"),l=localStorage.getItem("glow");null!=t&&"1"!=l&&(o.style.opacity=t),null!=e&&(n.style.background=`linear-gradient(to top, rgb(${e}), 50%, #fbd3e900)`,o.style.background=`linear-gradient(to top, rgb(${e}), 50%, #fbd3e900)`)}let G=[];function K(e,t){r=e,document.getElementById("overlay").style.backdropFilter="blur(1em)";let o=new Image;o.src=w+e,o.onload=e=>{Q(r),localStorage.setItem("wallpaper",r),j()},z(t),function(e){let t=document.getElementsByClassName("has-shadow");for(let o=0;o(function(e){let t=document.getElementsByClassName(e),o=new Date,n=o.getHours(),l=e=>0==e?(n.toString(),n="12","AM"):e>0&&e<12?(n=U(n.toString()),"AM"):12==e?(n="12","PM"):e>12?((n-=12).toString(),n=U(n),"PM"):void 0,a=U(o.getMinutes().toString()),s=U(o.getSeconds().toString());l=l(n);let i=":";for(let e=0;e:':':',t[e].innerHTML=`${n}${i}${a} ${function(e){let t=localStorage.getItem("selected-widget-style");return"widget-2"==t||"widget-7"==t||"widget-5"==t?e.toLowerCase():e}(l.toString())}`})("widget-slide"),1e3)}}function et(){let e=document.getElementById("subtitle"),t=localStorage.getItem("userName"),o=new Date().getHours(),n=e=>e<12?`Good Morning, ${t}`:e>=12&&e<=18?`Good Afternoon, ${t}`:e>=18?`Good Evening, ${t}`:void 0;n=n(o),e.innerText=n}function eo(e,t=""){let o;e?(e.stopPropagation(),o=e.target.files[0].text()):o=t,o.then(function(t){let o=JSON.parse(t);if(!o[0]?.id){console.log(o),Y("Failed","The backup does not seem to be valid."),e.target.value=null;return}let n=[];for(let e of L)n.push(e.id);for(let e of o)n.includes(e.id)&&(function(e){let t=Date.now(),o=t+1;for(;teo(null,e.text()))}function ed(e){let t=document.getElementsByClassName("arrows");switch(e){case"show":for(let e=0;el&&(o=l),console.log(o),n.scrollLeft=o):-1==t&&((o=s-i)<0&&(o=0),console.log(o),n.scrollLeft=o)}function em(e){return!!e.startsWith("--")}function eg(e,t){let o=t.substr(4);(o=o.split(",")).forEach(t=>{if(null==window.open(`${e}${t}`,"_blank")){Y("Information","Allow pop-ups for this feature to work properly.");return}})}const eh=document.getElementById("notifyContainer"),ep={show:(e,t="5000",o=null)=>{let n=Date.now();(m=document.getElementById(`notifyModal-${n}`))&&m.parentNode.remove(),eh.insertAdjacentHTML("afterbegin",` + `),i=document.getElementById("tickBoxField")),a=document.getElementById("alertDialogContainer"),s=document.getElementById("alertDialogCancelButton"),c=document.getElementsByClassName("alertDialogSubmitButton"),document.body.style.overflow="hidden",s.focus();let u=new Promise((e,t)=>{a.style.alignItems="center",a.style.opacity="1";let o=()=>{s.removeEventListener("click",o),l[0]&&(i.removeEventListener("change",l[1]),i=i.checked),r&&r.forEach((e,t)=>{c[t].removeEventListener("click",e)}),a.remove(),document.body.style.overflow="auto",e(i)};s.addEventListener("click",o),r&&r.forEach((e,t)=>{c[t].addEventListener("click",e)}),l[0]&&i.addEventListener("change",l[1])});return d&&d(),u},getCancelButton:()=>s,getSubmitButtons:()=>c,getCheckboxField:()=>i},Y=(e,t)=>{R.show(e,t,null,"Ok",[null,null],null,null).then(e=>console.log(e)).catch(e=>console.error(e))};function z(e,t){let o=document.getElementById("gradient_overlay"),n=document.getElementById("wallpapers"),l=localStorage.getItem("glow");null!=t&&"1"!=l&&(o.style.opacity=t),null!=e&&(n.style.background=`linear-gradient(to top, rgb(${e}), 50%, #fbd3e900)`,o.style.background=`linear-gradient(to top, rgb(${e}), 50%, #fbd3e900)`)}let G=[];function K(e,t){r=e,document.getElementById("overlay").style.backdropFilter="blur(1em)";let o=new Image;o.src=w+e,o.onload=e=>{Q(r),localStorage.setItem("wallpaper",r),j()},z(t),function(e){let t=document.getElementsByClassName("has-shadow");for(let o=0;o(function(e){let t=document.getElementsByClassName(e),o=new Date,n=o.getHours(),l=e=>0==e?(n.toString(),n="12","AM"):e>0&&e<12?(n=U(n.toString()),"AM"):12==e?(n="12","PM"):e>12?((n-=12).toString(),n=U(n),"PM"):void 0,a=U(o.getMinutes().toString()),s=U(o.getSeconds().toString());l=l(n);let i=":";for(let e=0;e:':':',t[e].innerHTML=`${n}${i}${a} ${function(e){let t=localStorage.getItem("selected-widget-style");return"widget-2"==t||"widget-7"==t||"widget-5"==t?e.toLowerCase():e}(l.toString())}`})("widget-slide"),1e3)}}function et(){let e=document.getElementById("subtitle"),t=localStorage.getItem("userName"),o=new Date().getHours(),n=e=>e<12?`Good Morning, ${t}`:e>=12&&e<=18?`Good Afternoon, ${t}`:e>=18?`Good Evening, ${t}`:void 0;n=n(o),e.innerText=n}function eo(e,t=""){let o;e?(e.stopPropagation(),o=e.target.files[0].text()):o=t,o.then(function(t){let o=JSON.parse(t);if(!o[0]?.id){console.log(o),Y("Failed","The backup does not seem to be valid."),e.target.value=null;return}let n=[];for(let e of L)n.push(e.id);for(let e of o)n.includes(e.id)&&(function(e){let t=Date.now(),o=t+1;for(;teo(null,e.text()))}function ed(e){let t=document.getElementsByClassName("arrows");switch(e){case"show":for(let e=0;el&&(o=l),console.log(o),n.scrollLeft=o):-1==t&&((o=s-i)<0&&(o=0),console.log(o),n.scrollLeft=o)}function em(e){return!!e.startsWith("--")}function eg(e,t){let o=t.substr(4);(o=o.split(",")).forEach(t=>{if(null==window.open(`${e}${t}`,"_blank")){Y("Information","Allow pop-ups for this feature to work properly.");return}})}const ep=document.getElementById("notifyContainer"),eh={show:(e,t="5000",o=null)=>{let n=Date.now();(m=document.getElementById(`notifyModal-${n}`))&&m.parentNode.remove(),ep.insertAdjacentHTML("afterbegin",`

@@ -91,7 +91,7 @@ Are you sure?`;function U(e){return 1==e.length&&(e="0"+e),e}const R={show:(e=nu x

- `);let l=document.getElementById(`notifyLoader-${n}`);m=document.getElementById(`notifyModal-${n}`),o&&m.addEventListner("click",o);let a=e=>{o&&m.removeEventListner("click",o),u.removeEventListener("click",a),e.target.parentNode.remove()};(u=document.getElementById(`notifyDialogCancelButton-${n}`)).addEventListener("click",a),setTimeout(()=>{let e=u;setTimeout(()=>{e.click()},t),l.style.transition=t+"ms",m.style.opacity="1",m.style.marginTop="2em",l.style.width="0%"},50)}},ef="You must enter a search query to continue.",ey=document.querySelector(".autofillContainer"),eb=document.querySelector("#searchBarFocusMode");let ew="",ek=[];window.googleSuggestions=e=>{ek=[];let t=ea().value;ek=e[1],t&&(ex(t,ek),eL(t))};const ev=e=>{""!==ew&&document.body.removeChild(ew),(ew=document.createElement("script")).src=`https://suggestqueries.google.com/complete/search?client=firefox&callback=googleSuggestions&q=${e}`,document.body.appendChild(ew)},eI=e=>{let t=document.getElementById("search-btn-icon"),o=localStorage.getItem("default-search-icon");em(e)?t.className="fa fa-terminal":t.className=o},eE=e=>{let t=document.getElementById("search-btn-icon"),o=localStorage.getItem("default-search-icon");I(e)?t.className="fa fa-globe":t.className=o},eB=()=>{eb.style.opacity="0",ey.style.paddingBlock="0em",ey.style.height="0px",setTimeout(()=>{eb.style.display="none"},200)},eL=e=>{let t=document.querySelectorAll(".autofillItem");e.length&&(eb.style.display="block",setTimeout(()=>{if(t.length){let e=t[0].getBoundingClientRect(),o=e.height*t.length+1.5*e.height;ey.style.height=`${o}px`,ey.style.paddingBlockStart="0em"}eb.style.opacity="1"},1))},eS=()=>{document.querySelectorAll(".autofillItem").forEach(e=>{e.remove()})},ex=(e,t)=>{e=e.toLowerCase();let o=JSON.parse(localStorage.getItem("autocompleteDatabase"));function n(e){ea().value=e.target.innerHTML;let t=new InputEvent("input");ea().dispatchEvent(t),ea().focus()}o||localStorage.setItem("autocompleteDatabase",b),(o=>{if(eS(),!e)return;let n=sessionStorage.getItem("searchbar-color-theme-drop");"bottom"==sessionStorage.getItem("searchbar-position-drop")?ey.style.flexDirection="column-reverse":ey.style.flexDirection="column";let l=0;for(let e of o){if(6==l)break;ey.insertAdjacentHTML("beforeend",` + `);let l=document.getElementById(`notifyLoader-${n}`);m=document.getElementById(`notifyModal-${n}`),o&&m.addEventListner("click",o);let a=e=>{o&&m.removeEventListner("click",o),u.removeEventListener("click",a),e.target.parentNode.remove()};(u=document.getElementById(`notifyDialogCancelButton-${n}`)).addEventListener("click",a),setTimeout(()=>{let e=u;setTimeout(()=>{e.click()},t),l.style.transition=t+"ms",m.style.opacity="1",m.style.marginTop="2em",l.style.width="0%"},50)}},ef="You must enter a search query to continue.",ey=document.querySelector(".autofillContainer"),eb=document.querySelector("#searchBarFocusMode");let ew="",ek=[];window.googleSuggestions=e=>{ek=[];let t=ea().value;ek=e[1],t&&(eS(t,ek),eB(t))};const ev=e=>{""!==ew&&document.body.removeChild(ew),(ew=document.createElement("script")).src=`https://suggestqueries.google.com/complete/search?client=firefox&callback=googleSuggestions&q=${e}`,document.body.appendChild(ew)},eI=e=>{let t=document.getElementById("search-btn-icon"),o=localStorage.getItem("default-search-icon");if(I(e)){t.className="fa fa-globe";return}if(em(e)){t.className="fa fa-terminal";return}t.className=o},eE=()=>{eb.style.opacity="0",ey.style.paddingBlock="0em",ey.style.height="0px",setTimeout(()=>{eb.style.display="none"},200)},eB=e=>{let t=document.querySelectorAll(".autofillItem"),o=document.getElementById("searchbar");e.length&&(eb.style.display="block",setTimeout(()=>{if(t.length){let e=t[0].getBoundingClientRect(),n=e.height*t.length+1.5*e.height;ey.style.height=`${n}px`,ey.style.paddingBlockStart="0em",o.scrollIntoView()}eb.style.opacity="1"},1))},eL=()=>{document.querySelectorAll(".autofillItem").forEach(e=>{e.remove()})},eS=(e,t)=>{e=e.toLowerCase();let o=JSON.parse(localStorage.getItem("autocompleteDatabase"));function n(e){ea().value=e.target.innerHTML;let t=new InputEvent("input");ea().dispatchEvent(t),ea().focus()}o||localStorage.setItem("autocompleteDatabase",b),(o=>{if(eL(),!e)return;let n=sessionStorage.getItem("searchbar-color-theme-drop");"bottom"==sessionStorage.getItem("searchbar-position-drop")?ey.style.flexDirection="column-reverse":ey.style.flexDirection="column";let l=0;for(let e of o){if(6==l)break;ey.insertAdjacentHTML("beforeend",` ${e} @@ -99,7 +99,7 @@ Are you sure?`;function U(e){return 1==e.length&&(e="0"+e),e}const R={show:(e=nu ${e} - `),l++}})(o.filter(t=>{if(t!=e)return t.toLowerCase().startsWith(e)})),document.querySelectorAll(".autofillItem").forEach(e=>{e.addEventListener("click",n),e.addEventListener("keydown",ec)})},eC=e=>{let t=JSON.parse(localStorage.getItem("autocompleteDatabase")),o=new Set(t);o.add(e.toLowerCase());let n=Array.from(o);localStorage.setItem("autocompleteDatabase",JSON.stringify(n))};let eD=null;function eT(){eD&&eD.classList.toggle("loader"),eD=null}function e$(e){e.stopPropagation(),eT();let t=e.target;eD=t,t.classList.toggle("loader")}function eN(){let e=localStorage.getItem("userName");if(e){v.show("Update your name","Maximum length allowed is 17 characters.",["Change name to"],"Update","Cancel",null,[E,null],()=>{v.getInputFields()[0].setAttribute("maxlength",17),v.getInputFields()[0].value=e}).then(t=>{e=t.inputValues[0],localStorage.setItem("userName",e),P(),et()}).catch(e=>{console.error(e)});return}if(!e){let t=v.show("Welcome to Casa Mia",`Hi! We are so excited to see you here. - Please fill out the following details before moving forward. `,["Your name"],"Proceed",null,null,[E,null],()=>{v.getInputFields()[0].setAttribute("maxlength",17)});return t.then(t=>{e=t.inputValues[0],localStorage.setItem("userName",e),localStorage.setItem("onBoarding","1")}).catch(e=>{console.error(e)}),t}}function eA(){let e=document.getElementsByTagName("select"),t={};for(let o of e)t[o.id]=o.value;localStorage.setItem("advDropdownValues",JSON.stringify(t)),j()}function e_(e){document.documentElement.style.setProperty("--blur-one-em",`blur(${e}em)`),document.documentElement.style.setProperty("--blur-one-px",`blur(${e}px)`)}let eM=!1;function eF(){let e=new Date;11==e.getMonth()&&e.getDate()>17&&32>e.getDate()&&function(){eM=!0;var e=document.getElementById("canvasFar"),t=e.getContext("2d"),o=window.innerWidth,n=window.innerHeight;e.width=o,e.height=n;for(var l=[],a=0;a<50;a++)l.push({x:Math.random()*o,y:Math.random()*n,r:4*Math.random()+1,d:50*Math.random()});t.fillStyle="rgba(255, 255, 255, 0.5)",e.style.display="block",eM=!1,window.requestAnimationFrame(function e(){t.clearRect(0,0,o,n),t.beginPath();for(var a=0;a<50;a++){var s=l[a];t.moveTo(s.x,s.y),t.arc(s.x,s.y,s.r,0,2*Math.PI,!0)}t.fill(),function(){for(var e=0;e<50;e++){var t=l[e];t.y+=Math.cos(t.d)+1+t.r/10,(t.x>o+5||t.x<-5||t.y>n)&&e%3>0&&(l[e]={x:Math.random()*o,y:-10,r:t.r,d:t.d})}}(),eM||window.requestAnimationFrame(e)})}()}const eO=document.getElementById("wallpapers"),ej=document.getElementById("wrap"),eP=document.getElementById("toggle-labs-btn"),eV=document.getElementById("advanced-settings-modal"),eH=document.getElementById("advanced-settings-modal-background-overlay");let eW=!1,eJ=!1;const eq=e=>{switch(eT(),e){case"close":document.title=document.title.replace("Backgrounds","Search"),history.pushState({loc:"home"},"","?home"),eO.classList.remove("animation_slide_up"),setTimeout(()=>eP.classList.remove("animation_slide_right"),350),eO.classList.add("animation_slide_down"),ej.classList.remove("animation2_slide_up"),ej.classList.add("animation2_slide_down"),clearTimeout(g),C("hide"),ed("hide"),z(null,0),setTimeout(()=>e_(1),400),eJ=!1;break;case"open":eO.style.display="flex",e_(0),eO.classList.remove("animation_slide_down"),eO.classList.add("animation_slide_up"),ej.classList.remove("animation2_slide_down","startup_slide_down"),ej.classList.add("animation2_slide_up"),setTimeout(()=>{eP.classList.add("animation_slide_right"),function(){let e=document.getElementsByClassName("highlighted")[0];setTimeout(()=>{e&&e.scrollIntoView({inline:"center"})},10)}()},350),z(null,1),g=setTimeout(()=>C("show"),450),ed("show"),document.title=document.title.replace("Search","Backgrounds"),history.pushState({loc:"backgrounds"},"","?backgrounds"),eJ=!0}};function eU(){eq("close"),history.pushState({loc:"settings"},"","?settings"),setTimeout(()=>e_(0),420),document.title=document.title.replace("Search","Settings"),document.body.classList.add("justifySpaceBetween"),ej.style.display="none",eV.style.display="block",eH.style.display="block",eW=!0}function eR(){document.title=document.title.replace("Settings","Search"),history.pushState({loc:"home"},"","?home"),document.body.classList.remove("justifySpaceBetween"),ej.style.display="block",eV.style.display="none",eH.style.display="none",setTimeout(()=>e_(1),100),eW=!1}window.createNewBookmark=()=>{let e=` - You may only use upto four letters as the bookmark name.`;v.show("Add new bookmark",e,["Bookmark name","Link to website"],"Save",void 0,null,[()=>E(null,!0),null],()=>{let e=v.getInputFields()[0];e.setAttribute("maxlength",4),e.setAttribute("placeholder","e.g. YT");let t=v.getInputFields()[1];t.setAttribute("placeholder","e.g. youtube.com"),t.value="https://",navigator.clipboard.readText().then(e=>{I(e)&&(t.value=e.replaceAll(" ",""))}).catch(e=>{console.log(e)})}).then(e=>{let t=Date.now(),o=e.inputValues[0],n=e.inputValues[1].replaceAll(" ","");n.startsWith("http")||(n=`https://${n}`),S(n,o,t),x(n,o,t)}).catch(e=>console.log(e))},window.changeWallpaper=e=>{var t;e.stopPropagation();let o=e.target.title;o||(o=e.target.childNodes[1].title);let n=(t=o,[G.filter(e=>e.title==t)[0].file,G.filter(e=>e.title==t)[0].color[1]]);K(n[0],n[1]),X()},es("export-bookmarks-btn","click",function(e){e.stopPropagation();let t=localStorage.saved_bookmarks,o=new Date;D(`casamia-bookmarks-only-${o.getFullYear()}-${o.getMonth()+1}-${o.getDate()}.json`,t)}),es("import-bookmarks-btn","change",eo),es("export-backup-btn","click",function(e){e.stopPropagation();let t=JSON.stringify({...localStorage}),o=new Date;D(`casamia-full-backup-${o.getFullYear()}-${o.getMonth()+1}-${o.getDate()}.json`,t)}),es("import-backup-btn","change",function(e,t=""){let o;e?(e.stopPropagation(),o=e.target.files[0].text()):o=t,o.then(function(t){let o=JSON.parse(t);if(o.onBoarding){let e=Object.keys(o);e.forEach((t,n)=>{localStorage.setItem(t,o[e[n]])}),window.location.reload()}else console.log(o),Y("Failed","The backup does not seem to be valid."),e.target.value=null})}),es("download-wallpaper-btn","click",function(){let e=document.createElement("a"),t=function(e,t){let o=e.split(".");return o[o.length-1]="png",o.join(".")}(r,0);e.setAttribute("href","./wallpapers/backups/"+t),e.setAttribute("download",t),e.style.display="none",document.body.appendChild(e),e.click(),document.body.removeChild(e)}),es("toggle-favicons-btn","click",function(e){let t=document.getElementsByClassName("custom_bookmark"),o=document.getElementsByClassName("custom_link_name");for(let e=0;e{!function(e){document.getElementById(e).classList.toggle("nested-close")}("deep-search-nested");let t=document.getElementById("deep-search-btn-arrow");t.classList.toggle("fa-angle-down"),t.classList.toggle("fa-angle-up")}),es("update-customdomain-btn","click",M),es("fetch-bookmarks-btn","click",er),es("reset-bookmarks-btn","click",en),es("reset-all-btn","click",el),ei("modal-close-btn","click",eR),es("toggle-labs-btn","click",eU),es("search-btn","click",function(){let e=ea().value;if(""!=e){if(eC(e),I(e)&&!e.includes(" ")){window.open(e,"_self");return}if(em(e))!function(e){let t=e.toLowerCase();switch((e=(e=e.split("--").join("")).split(" "))[0].toLowerCase()){case"help":window.open("/pages/help/index.html","_self");break;case"reset":"bookmarks"==e[1]?en():"all"==e[1]?el():Y("Error",W);break;case"fetch":"default"==e[1]?er():Y("Error",W);break;case"dl":e[1]?function(e){fetch(`https://casamia.cambo.in/api/?url=${e}`).then(e=>e.json()).then(e=>{confirm("Download video?")&&function(e){let t=document.createElement("a");t.setAttribute("href",e),t.setAttribute("download","CasaMia-Downloaer"),t.target="_blank",t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)}(e.url,"CasaMia_Downloader.mp4"),console.log(e.url)})}(e[1]):Y("Failed","Enter a valid YT address");break;case"clock":window.open("./pages/clock","_self");break;case"count":window.open("./pages/countdown","_self");break;case"g":eg(p,t);break;case"b":eg(f,t);break;case"d":eg(y,t);break;default:Y("Error",W)}}(e);else{let t;e=encodeURIComponent(e);let o=(null==(t=localStorage.getItem("default-search-url"))&&(localStorage.setItem("default-search-url",p),t=localStorage.getItem("default-search-url")),t+e);window.open(o,"_self")}}else ep.show(ef)}),es("movies-search","click",function(){let e=ea().value;if(""!=e){let t=h+(e=encodeURIComponent(e))+"/Movies/time/desc/1/";window.open(t)}else ep.show(ef)}),es("tv-search","click",function(){let e=ea().value;if(""!=e){let t=h+(e=encodeURIComponent(e))+"/TV/size/desc/1/";window.open(t)}else ep.show(ef)}),es("games-search","click",function(){let e=ea().value;if(""!=e){let t=h+(e=encodeURIComponent(e))+"/Games/time/desc/1/";window.open(t)}else ep.show(ef)}),es("ebooks-search","click",function(){let e=ea().value;if(""!=e){let t=h+(e=encodeURIComponent(e))+"/Other/seeders/desc/1/";window.open(t)}else ep.show(ef)}),es("searchTerm","input",function(e){let t=sessionStorage.getItem("input"),o=e.target.value;if(sessionStorage.setItem("input",o),eI(o),eE(o),!o){eS(),setTimeout(()=>{eB()},1);return}eL(o),o!=t&&ev(o)}),es("searchTerm","click",()=>{let e=new InputEvent("input");ea().dispatchEvent(e)}),es("searchBarFocusMode","click",eB),es("searchTerm","keypress",function(e){"Enter"==e.key&&document.querySelector("#search-btn").click()}),es("fetch-bookmarks-btn","click",er),es("left-arrow","click",e=>{e.stopPropagation(),eu("widget-slide",-1)}),es("right-arrow","click",e=>{e.stopPropagation(),eu("widget-slide",1)}),window.addEventListener("resize",()=>{j(),eF()}),window.addEventListener("blur",()=>{eT()}),window.addEventListener("appinstalled",e=>{console.log("installed")}),onload=e=>{document.getElementById("main-heading-slider").classList.remove("nowrap")},es("settings_button","click",e=>{eJ?eq("close",e):eJ||eq("open",e)});const eY=()=>{let e;let t=document.body,o=()=>{clearInterval(e),e=null},n=t=>{["gradient_overlay","wrap","bookmarks","autofillContainer","flex-main-container-vertical","subtitle","footer"].includes(t.target.id)&&(e=setInterval(()=>{eJ?eq("close"):eJ||eq("open"),o()},eJ?1:250))};return t.addEventListener("mousedown",n),t.addEventListener("mouseup",o),t.addEventListener("mouseout",o),t.addEventListener("touchstart",n),t.addEventListener("touchend",o),t.addEventListener("touchcancel",o),()=>{t.removeEventListener("mousedown",n),t.removeEventListener("mouseup",o),t.removeEventListener("mouseout",o),t.removeEventListener("touchstart",n),t.removeEventListener("touchend",o),t.removeEventListener("touchcancel",o),console.log("un-focuss",e)}},ez=()=>{window.addEventListener("popstate",e=>{eJ?eq("close"):eW?eR():eJ||eW||(history.go(-1),console.log("cant go back anymore",-history.length-1))});let e=window.location.href;(e=e.split("/?")[1])?"settings"==e?eU():"backgrounds"==e&&eq("open"):history.pushState({loc:"home"},"","?home")},eG=()=>{let e;let t=document.getElementById("btn-install");j(),function(){if(null==L){L=[];return}for(let e of L)S(e.link,e.name,e.id)}(),function(){for(let e of Object.entries(JSON.parse(localStorage.getItem("advDropdownValues")))){let t=document.getElementById(e[0]);t&&(t.value=e[1])}}(),ej.style.opacity=1,fetch(w+"wallpapers_list.json").then(e=>{e.text().then(e=>{G=JSON.parse(e),r=localStorage.getItem("wallpaper"),d=G.filter(e=>e.file==r)[0].color[1],K(r,d),function(){let e=document.getElementById("wallpapers");for(let t of G){let o=t.file;o=o.split(".").join("-thumb.");let n=document.createElement("div");n.className="thumb-group",n.setAttribute("onclick","changeWallpaper(event)"),n.setAttribute("onkeypress","click_to_enter(event)"),n.setAttribute("tabindex","3");let l=document.createElement("div");l.innerHTML=t.title,l.className="thumb-title",n.appendChild(l);let a=document.createElement("img");a.src=w+o,a.className="thumbnail",a.title=t.title,a.setAttribute("draggable","false"),n.appendChild(a),e.appendChild(n)}}(),X()})}).catch(e=>{console.log(e),window.open("./pages/error","_self")}),X(),eY(),ei("clickable","keypress",ec),ei("custom_bookmark","click",e$),function(e,t,o){let n=document.getElementsByTagName(e);for(let e=0;e{e.prompt(),e.userChoice.then(t=>{"accepted"===t.outcome&&console.log("user accepted prompt"),e=null})}),window.addEventListener("beforeinstallprompt",o=>{o.preventDefault(),e=o,t.style.display="block"}),"1"==document.getElementById("searchbar").style.order&&window.scrollTo(0,document.body.scrollHeight),"on"==sessionStorage.getItem("focus")&&(document.getElementById("searchTerm").focus(),document.getElementById("searchTerm").click()),function(e){fetch("https://api.github.com/repos/lscambo13/casamia/commits/HEAD").then(t=>{t.json().then(t=>{let o=new Date(t.commit.committer.date).toISOString();o=(o=o.slice(0,o.length-5)).replaceAll("T","-").replaceAll(":","").replaceAll("-","."),document.getElementById(e).innerHTML=`Version ${o}`}).catch(e=>{console.error("getLastUpdated",e)})}).catch(e=>{console.error("getLastUpdated",e)})}("version-preview"),eF(),document.getElementById(localStorage.getItem("selected-widget-style")).scrollIntoView(),setTimeout(()=>{!function(e,t){let o=document.getElementsByClassName(t),n={root:document.getElementById(e),rootMargin:"0px",threshold:.5},l=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&localStorage.setItem("selected-widget-style",e.target.id)})},n);for(let e of o)l.observe(e)}("main-heading-slider","widget-slide")},500),ez()};document.addEventListener("DOMContentLoaded",()=>{"1"==localStorage.getItem("onBoarding")?(eG(),console.log("Already onboard.")):(console.log("Onboarding..."),(function(){let e=eN();return localStorage.setItem("onBoarding","0"),localStorage.setItem("advDropdownValues",JSON.stringify(k)),localStorage.setItem("wallpaper","085.webp"),localStorage.setItem("autocompleteDatabase",b),localStorage.setItem("selected-widget-style","widget-1"),e})().then(()=>{window.matchMedia("(hover: none)").matches&&setTimeout(()=>{Y("Information","Press and hold on empty area to open settings.")},5e3),eG(),console.log("Onboarding complete.")}))},{once:!0}); -//# sourceMappingURL=index.52a762c6.js.map + `),l++}})(o.filter(t=>{if(t!=e)return t.toLowerCase().startsWith(e)})),document.querySelectorAll(".autofillItem").forEach(e=>{e.addEventListener("click",n),e.addEventListener("keydown",ec)})},ex=e=>{let t=JSON.parse(localStorage.getItem("autocompleteDatabase")),o=new Set(t);o.add(e.toLowerCase());let n=Array.from(o);localStorage.setItem("autocompleteDatabase",JSON.stringify(n))};let eC=null;function eD(){eC&&eC.classList.toggle("loader"),eC=null}function eT(e){e.stopPropagation(),eD();let t=e.target;eC=t,t.classList.toggle("loader")}function e$(){let e=localStorage.getItem("userName");if(e){v.show("Update your name","Maximum length allowed is 17 characters.",["Change name to"],"Update","Cancel",null,[E,null],()=>{v.getInputFields()[0].setAttribute("maxlength",17),v.getInputFields()[0].value=e}).then(t=>{e=t.inputValues[0],localStorage.setItem("userName",e),P(),et()}).catch(e=>{console.error(e)});return}if(!e){let t=v.show("Welcome to Casa Mia",`Hi! We are so excited to see you here. + Please fill out the following details before moving forward. `,["Your name"],"Proceed",null,null,[E,null],()=>{v.getInputFields()[0].setAttribute("maxlength",17)});return t.then(t=>{e=t.inputValues[0],localStorage.setItem("userName",e),localStorage.setItem("onBoarding","1")}).catch(e=>{console.error(e)}),t}}function eA(){let e=document.getElementsByTagName("select"),t={};for(let o of e)t[o.id]=o.value;localStorage.setItem("advDropdownValues",JSON.stringify(t)),j()}function eN(e){document.documentElement.style.setProperty("--blur-one-em",`blur(${e}em)`),document.documentElement.style.setProperty("--blur-one-px",`blur(${e}px)`)}let e_=!1;function eM(){let e=new Date;11==e.getMonth()&&e.getDate()>17&&32>e.getDate()&&function(){e_=!0;var e=document.getElementById("canvasFar"),t=e.getContext("2d"),o=window.innerWidth,n=window.innerHeight;e.width=o,e.height=n;for(var l=[],a=0;a<50;a++)l.push({x:Math.random()*o,y:Math.random()*n,r:4*Math.random()+1,d:50*Math.random()});t.fillStyle="rgba(255, 255, 255, 0.5)",e.style.display="block",e_=!1,window.requestAnimationFrame(function e(){t.clearRect(0,0,o,n),t.beginPath();for(var a=0;a<50;a++){var s=l[a];t.moveTo(s.x,s.y),t.arc(s.x,s.y,s.r,0,2*Math.PI,!0)}t.fill(),function(){for(var e=0;e<50;e++){var t=l[e];t.y+=Math.cos(t.d)+1+t.r/10,(t.x>o+5||t.x<-5||t.y>n)&&e%3>0&&(l[e]={x:Math.random()*o,y:-10,r:t.r,d:t.d})}}(),e_||window.requestAnimationFrame(e)})}()}const eF=document.getElementById("wallpapers"),eO=document.getElementById("wrap"),ej=document.getElementById("toggle-labs-btn"),eP=document.getElementById("advanced-settings-modal"),eV=document.getElementById("advanced-settings-modal-background-overlay");let eH=!1,eW=!1;const eJ=e=>{switch(eD(),e){case"close":document.title=document.title.replace("Backgrounds","Search"),history.pushState({loc:"home"},"","?home"),eF.classList.remove("animation_slide_up"),setTimeout(()=>ej.classList.remove("advanced-settings-button-right"),350),eF.classList.add("animation_slide_down"),eO.classList.remove("animation2_slide_up"),eO.classList.add("animation2_slide_down"),clearTimeout(g),C("hide"),ed("hide"),z(null,0),setTimeout(()=>eN(1),400),eW=!1;break;case"open":eF.style.display="flex",eN(0),eF.classList.remove("animation_slide_down"),eF.classList.add("animation_slide_up"),eO.classList.remove("animation2_slide_down","startup_slide_down"),eO.classList.add("animation2_slide_up"),setTimeout(()=>{ej.classList.add("advanced-settings-button-right"),function(){let e=document.getElementsByClassName("highlighted")[0];setTimeout(()=>{e&&e.scrollIntoView({inline:"center"})},10)}()},350),z(null,1),g=setTimeout(()=>C("show"),450),ed("show"),document.title=document.title.replace("Search","Backgrounds"),history.pushState({loc:"backgrounds"},"","?backgrounds"),eW=!0}};function eq(){eJ("close"),history.pushState({loc:"settings"},"","?settings"),setTimeout(()=>eN(0),420),document.title=document.title.replace("Search","Settings"),document.body.classList.add("justifySpaceBetween"),eO.style.display="none",eP.style.display="block",eV.style.display="block",eH=!0}function eU(){document.title=document.title.replace("Settings","Search"),history.pushState({loc:"home"},"","?home"),document.body.classList.remove("justifySpaceBetween"),eO.style.display="block",eP.style.display="none",eV.style.display="none",setTimeout(()=>eN(1),100),eH=!1}window.createNewBookmark=()=>{let e=` + You may only use upto four letters as the bookmark name.`;v.show("Add new bookmark",e,["Bookmark name","Link to website"],"Save",void 0,null,[()=>E(null,!0),null],()=>{let e=v.getInputFields()[0];e.setAttribute("maxlength",4),e.setAttribute("placeholder","e.g. YT");let t=v.getInputFields()[1];t.setAttribute("placeholder","e.g. youtube.com"),t.value="https://",navigator.clipboard.readText().then(e=>{I(e)&&(t.value=e.replaceAll(" ",""))}).catch(e=>{console.log(e)})}).then(e=>{let t=Date.now(),o=e.inputValues[0],n=e.inputValues[1].replaceAll(" ","");n.startsWith("http")||(n=`https://${n}`),S(n,o,t),x(n,o,t)}).catch(e=>console.log(e))},window.changeWallpaper=e=>{var t;e.stopPropagation();let o=e.target.title;o||(o=e.target.childNodes[1].title);let n=(t=o,[G.filter(e=>e.title==t)[0].file,G.filter(e=>e.title==t)[0].color[1]]);K(n[0],n[1]),X()},es("export-bookmarks-btn","click",function(e){e.stopPropagation();let t=localStorage.saved_bookmarks,o=new Date;D(`casamia-bookmarks-only-${o.getFullYear()}-${o.getMonth()+1}-${o.getDate()}.json`,t)}),es("import-bookmarks-btn","change",eo),es("export-backup-btn","click",function(e){e.stopPropagation();let t=JSON.stringify({...localStorage}),o=new Date;D(`casamia-full-backup-${o.getFullYear()}-${o.getMonth()+1}-${o.getDate()}.json`,t)}),es("import-backup-btn","change",function(e,t=""){let o;e?(e.stopPropagation(),o=e.target.files[0].text()):o=t,o.then(function(t){let o=JSON.parse(t);if(o.onBoarding){let e=Object.keys(o);e.forEach((t,n)=>{localStorage.setItem(t,o[e[n]])}),window.location.reload()}else console.log(o),Y("Failed","The backup does not seem to be valid."),e.target.value=null})}),es("download-wallpaper-btn","click",function(){let e=document.createElement("a"),t=function(e,t){let o=e.split(".");return o[o.length-1]="png",o.join(".")}(r,0);e.setAttribute("href","./wallpapers/backups/"+t),e.setAttribute("download",t),e.style.display="none",document.body.appendChild(e),e.click(),document.body.removeChild(e)}),es("toggle-favicons-btn","click",function(e){let t=document.getElementsByClassName("custom_bookmark"),o=document.getElementsByClassName("custom_link_name");for(let e=0;e{!function(e){document.getElementById(e).classList.toggle("nested-close")}("deep-search-nested");let t=document.getElementById("deep-search-btn-arrow");t.classList.toggle("fa-angle-down"),t.classList.toggle("fa-angle-up")}),es("update-customdomain-btn","click",M),es("fetch-bookmarks-btn","click",er),es("reset-bookmarks-btn","click",en),es("reset-all-btn","click",el),ei("modal-close-btn","click",eU),es("toggle-labs-btn","click",eq),es("search-btn","click",function(){let e=ea().value;if(""!=e){if(ex(e),I(e)&&!e.includes(" ")){window.open(e,"_self");return}if(em(e))!function(e){let t=e.toLowerCase();switch((e=(e=e.split("--").join("")).split(" "))[0].toLowerCase()){case"help":window.open("/pages/help/index.html","_self");break;case"reset":"bookmarks"==e[1]?en():"all"==e[1]?el():Y("Error",W);break;case"fetch":"default"==e[1]?er():Y("Error",W);break;case"dl":e[1]?function(e){fetch(`https://casamia.cambo.in/api/?url=${e}`).then(e=>e.json()).then(e=>{confirm("Download video?")&&function(e){let t=document.createElement("a");t.setAttribute("href",e),t.setAttribute("download","CasaMia-Downloaer"),t.target="_blank",t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)}(e.url,"CasaMia_Downloader.mp4"),console.log(e.url)})}(e[1]):Y("Failed","Enter a valid YT address");break;case"clock":window.open("./pages/clock","_self");break;case"count":window.open("./pages/countdown","_self");break;case"g":eg(h,t);break;case"b":eg(f,t);break;case"d":eg(y,t);break;default:Y("Error",W)}}(e);else{let t;e=encodeURIComponent(e);let o=(null==(t=localStorage.getItem("default-search-url"))&&(localStorage.setItem("default-search-url",h),t=localStorage.getItem("default-search-url")),t+e);window.open(o,"_self")}}else eh.show(ef)}),es("movies-search","click",function(){let e=ea().value;if(""!=e){let t=p+(e=encodeURIComponent(e))+"/Movies/time/desc/1/";window.open(t)}else eh.show(ef)}),es("tv-search","click",function(){let e=ea().value;if(""!=e){let t=p+(e=encodeURIComponent(e))+"/TV/size/desc/1/";window.open(t)}else eh.show(ef)}),es("games-search","click",function(){let e=ea().value;if(""!=e){let t=p+(e=encodeURIComponent(e))+"/Games/time/desc/1/";window.open(t)}else eh.show(ef)}),es("ebooks-search","click",function(){let e=ea().value;if(""!=e){let t=p+(e=encodeURIComponent(e))+"/Other/seeders/desc/1/";window.open(t)}else eh.show(ef)}),es("searchTerm","input",function(e){let t=sessionStorage.getItem("input"),o=e.target.value;if(sessionStorage.setItem("input",o),eI(o),!o){eL(),setTimeout(()=>{eE()},1);return}eB(o),o!=t&&ev(o)}),es("searchTerm","click",()=>{let e=new InputEvent("input");ea().dispatchEvent(e)}),es("searchBarFocusMode","click",eE),es("searchTerm","keypress",function(e){"Enter"==e.key&&document.querySelector("#search-btn").click()}),es("fetch-bookmarks-btn","click",er),es("left-arrow","click",e=>{e.stopPropagation(),eu("widget-slide",-1)}),es("right-arrow","click",e=>{e.stopPropagation(),eu("widget-slide",1)}),window.addEventListener("resize",()=>{j(),eM()}),window.addEventListener("blur",()=>{eD()}),window.addEventListener("appinstalled",e=>{console.log("installed")}),onload=e=>{document.getElementById("main-heading-slider").classList.remove("nowrap")},es("settings_button","click",e=>{eW?eJ("close",e):eW||eJ("open",e)});const eR=()=>{let e;let t=document.body,o=()=>{clearInterval(e),e=null},n=t=>{["gradient_overlay","wrap","bookmarks","autofillContainer","flex-main-container-vertical","subtitle","footer"].includes(t.target.id)&&(e=setInterval(()=>{eW?eJ("close"):eW||eJ("open"),o()},eW?1:250))};return t.addEventListener("mousedown",n),t.addEventListener("mouseup",o),t.addEventListener("mouseout",o),t.addEventListener("touchstart",n),t.addEventListener("touchend",o),t.addEventListener("touchcancel",o),()=>{t.removeEventListener("mousedown",n),t.removeEventListener("mouseup",o),t.removeEventListener("mouseout",o),t.removeEventListener("touchstart",n),t.removeEventListener("touchend",o),t.removeEventListener("touchcancel",o),console.log("un-focuss",e)}},eY=()=>{window.addEventListener("popstate",e=>{eW?eJ("close"):eH?eU():eW||eH||(history.go(-1),console.log("cant go back anymore",-history.length-1))});let e=window.location.href;(e=e.split("/?")[1])?"settings"==e?eq():"backgrounds"==e&&eJ("open"):history.pushState({loc:"home"},"","?home")},ez=()=>{let e;let t=document.getElementById("btn-install");j(),function(){if(null==L){L=[];return}for(let e of L)S(e.link,e.name,e.id)}(),function(){for(let e of Object.entries(JSON.parse(localStorage.getItem("advDropdownValues")))){let t=document.getElementById(e[0]);t&&(t.value=e[1])}}(),eO.style.opacity=1,fetch(w+"wallpapers_list.json").then(e=>{e.text().then(e=>{G=JSON.parse(e),r=localStorage.getItem("wallpaper"),d=G.filter(e=>e.file==r)[0].color[1],K(r,d),function(){let e=document.getElementById("wallpapers");for(let t of G){let o=t.file;o=o.split(".").join("-thumb.");let n=document.createElement("div");n.className="thumb-group",n.setAttribute("onclick","changeWallpaper(event)"),n.setAttribute("onkeypress","click_to_enter(event)"),n.setAttribute("tabindex","3");let l=document.createElement("div");l.innerHTML=t.title,l.className="thumb-title",n.appendChild(l);let a=document.createElement("img");a.src=w+o,a.className="thumbnail",a.title=t.title,a.setAttribute("draggable","false"),n.appendChild(a),e.appendChild(n)}}(),X()})}).catch(e=>{console.log(e),window.open("./pages/error","_self")}),X(),eR(),ei("clickable","keypress",ec),ei("custom_bookmark","click",eT),function(e,t,o){let n=document.getElementsByTagName(e);for(let e=0;e{e.prompt(),e.userChoice.then(t=>{"accepted"===t.outcome&&console.log("user accepted prompt"),e=null})}),window.addEventListener("beforeinstallprompt",o=>{o.preventDefault(),e=o,t.style.display="block"}),"1"==document.getElementById("searchbar").style.order&&window.scrollTo(0,document.body.scrollHeight),"on"==sessionStorage.getItem("focus")&&(document.getElementById("searchTerm").focus(),document.getElementById("searchTerm").click()),function(e){fetch("https://api.github.com/repos/lscambo13/casamia/commits/HEAD").then(t=>{t.json().then(t=>{let o=new Date(t.commit.committer.date).toISOString();o=(o=o.slice(0,o.length-5)).replaceAll("T","-").replaceAll(":","").replaceAll("-","."),document.getElementById(e).innerHTML=`Version ${o}`}).catch(e=>{console.error("getLastUpdated",e)})}).catch(e=>{console.error("getLastUpdated",e)})}("version-preview"),eM(),document.getElementById(localStorage.getItem("selected-widget-style")).scrollIntoView(),setTimeout(()=>{!function(e,t){let o=document.getElementsByClassName(t),n={root:document.getElementById(e),rootMargin:"0px",threshold:.5},l=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&localStorage.setItem("selected-widget-style",e.target.id)})},n);for(let e of o)l.observe(e)}("main-heading-slider","widget-slide")},500),eY()};document.addEventListener("DOMContentLoaded",()=>{"1"==localStorage.getItem("onBoarding")?(ez(),console.log("Already onboard.")):(console.log("Onboarding..."),(function(){let e=e$();return localStorage.setItem("onBoarding","0"),localStorage.setItem("advDropdownValues",JSON.stringify(k)),localStorage.setItem("wallpaper","085.webp"),localStorage.setItem("autocompleteDatabase",b),localStorage.setItem("selected-widget-style","widget-1"),e})().then(()=>{window.matchMedia("(hover: none)").matches&&setTimeout(()=>{Y("Information","Press and hold on empty area to open settings.")},5e3),ez(),console.log("Onboarding complete.")}))},{once:!0}); +//# sourceMappingURL=index.4f422112.js.map diff --git a/dist/index.510077d1.css b/dist/index.510077d1.css new file mode 100644 index 0000000..f256b40 --- /dev/null +++ b/dist/index.510077d1.css @@ -0,0 +1,2 @@ +:root{--selection-color:null;--white:#fbfaf8;--white-half-alpha:#fbfaf892;--white-quarter-alpha:#fbfaf843;--white-low-alpha:#fbfaf815;--dark:#060604;--dark-low-alpha:#0606042c;--accent-color:#bb377d;--highlight-color:#dfb669;--predefined-bookmark:#6856347e;--custom-bookmark:#3535357e;--add-bookmark:#4d685a7e;--settings:#4d685a7e;--primary-color:#faf7f0;--secondary-color:#e7decd;--blur-one-em:blur(1em);--blur-one-px:blur(1px);--blur-half-em:blur(.5em);--cross-display:none}::selection{background:var(--selection-color)}#canvasFar{z-index:0;background-image:linear-gradient(#ffffff40 0%,#ebebff00 60%);display:none;position:fixed;top:0}.disable-select{-webkit-user-select:none;user-select:none}*{caret-color:#0000;scroll-behavior:smooth;outline-color:var(--selection-color);outline-offset:-1px;outline-width:1px;margin:0;padding:0;box-sizing:border-box!important}body{background-color:#282828;flex-direction:column;justify-content:space-between;align-items:center;min-height:100svh;font-family:Ubuntu Mono,monospace;font-size:12px;display:flex}.justifySpaceBetween{justify-content:space-between!important}#overlay{z-index:0;cursor:auto;background-color:#00000060;width:100%;height:100%;transition:all .3s;display:block;position:fixed;inset:0}#gradient_overlay{opacity:0;z-index:0;cursor:auto;width:100%;height:100%;transition:all .3s;display:block;position:fixed;bottom:0;left:0;right:0}.header{color:var(--primary-color);z-index:13;background-color:#2684e15c;justify-content:space-between;gap:.25em;width:100%;height:3em;padding:.5em;font-size:.75em;display:none;position:fixed;top:0;left:0}.header-left-block{align-items:center;gap:1em;display:flex}.user-avatar{border-radius:50%;width:2em;height:2em}.user-name{text-align:center}.header-right-block{align-items:center;gap:1em;display:flex}#wrap{opacity:0;z-index:2;width:100%;max-width:1280px;transition:all .125s;display:block}body::-webkit-scrollbar{-ms-overflow-style:none;display:none}.flex-main-container-vertical{flex-direction:column;margin:auto;display:flex}#home-widget-container{color:var(--primary-color);cursor:default;text-align:center;justify-content:center;align-items:flex-end;width:100%;margin-bottom:.5em;padding-inline:0;font-size:2em;display:flex;top:0;left:0}.home-widget{flex-direction:column;max-width:90%;display:flex}#main-heading-slider{scroll-snap-type:x mandatory;max-width:100%;padding-block-end:.125em;transition:all .5s;display:flex;overflow:scroll hidden}#main-heading-slider *{scroll-snap-align:center;scroll-snap-stop:always;flex:1;min-width:100%;margin-bottom:-.25em}#main-heading-slider::-webkit-scrollbar{height:8px;display:none}#main-heading-slider::-webkit-scrollbar-track{border-radius:10px;box-shadow:inset 0 0 5px gray}#main-heading-slider::-webkit-scrollbar-thumb{background:var(--accent-color);border-radius:10px}.default-text-style{color:var(--primary-color);font-family:Ubuntu;font-size:2em;line-height:2em;rotate:none;text-shadow:0 0 0 var(--accent-color),0 0 0 #000!important}.brush-text-style-1{color:#f5f5f5;text-shadow:4px 4px 0 var(--accent-color),6px 6px 0 #000;font-family:Vujahday Script,handwriting;font-size:2.25em;line-height:1.5em;rotate:-6deg}.brush-text-style-2{color:#f5f5f5;font-family:Advent Pro,sans-serif;font-size:2.25em;line-height:1.9em}.brush-text-style-3{color:#f5f5f5;text-shadow:4px 4px 0 var(--accent-color),6px 6px 0 #000;font-family:Nanum Brush Script,handwriting;font-size:2.8em;line-height:1.375em;rotate:none}.brush-text-style-4{color:#f5f5f5;text-shadow:1px 1px #000;font-family:Are You Serious,handwriting;font-size:2.5em;line-height:1.5em;rotate:none}.brush-text-style-5{color:#f5f5f5;text-shadow:1px 1px #000;font-family:Alkatra,display;font-size:2.25em;line-height:1.75em;rotate:none}.brush-text-style-6{color:#f5f5f5;text-shadow:1px 1px #000;font-family:Montez,handwriting;font-size:2.5em;line-height:1.5em;rotate:none}.separator{opacity:0}.separator-visible{opacity:1}.nowrap{text-wrap:nowrap}.arrows{opacity:.85;z-index:5;text-shadow:0 2px #000;height:0;font-size:1em;transition:all .25s;overflow:hidden}.arrows:hover{opacity:1}.arrows:active{opacity:.5;text-shadow:0 0 #000}#subtitle{font-family:Ubuntu;font-size:.65em}.search{text-align:center;cursor:default;z-index:2;flex-wrap:wrap;justify-content:center;align-items:stretch;width:100%;height:3em;margin-bottom:2em;padding-top:.5em;display:flex;position:relative}.searchBarFocusMode{opacity:0;-webkit-backdrop-filter:blur(.5em);backdrop-filter:blur(.5em);background-color:#ffffff1f;width:100%;height:100%;transition:all .2s;display:none;position:fixed;top:0}.searchContainer{z-index:2;border-radius:1.5em;order:1;justify-content:center;align-items:center;width:100%;min-width:4em;max-width:44em;height:3em;margin-inline:1.85em;display:flex;overflow:hidden}.searchContainer:has(.searchTerm:focus){border-radius:1em}.searchTerm{background:0 0;border:0;outline:0;width:100%;height:100%;padding:0 2em 0 1em;font-size:1em}.autofillContainer{background-color:#0000;justify-content:flex-start;align-items:center;width:calc(100% - 3.5em);min-width:4em;max-width:44em;height:0;padding-inline:.1em;transition:all .125s;display:flex;position:absolute;overflow:hidden}.autofillItem{text-wrap:nowrap;text-overflow:ellipsis;white-space:nowrap;text-align:start;z-index:2;border-radius:.5em;width:100%;min-width:4em;max-width:44em;min-height:2.25em;max-height:2.25em;margin-block-start:.25em;padding-block-start:.5em;padding-inline:1em;font-family:Ubuntu;font-weight:100;overflow:hidden;box-shadow:0 2px 2px #0000002e;border:1px solid #0000!important}input::-webkit-search-cancel-button{opacity:.5;margin-inline:.7em -1.25em;transition:all .2s}input::-webkit-search-cancel-button:hover{opacity:.75}input::-webkit-search-cancel-button:hover{transform:scale(1.1)}.searchButton{text-align:center;cursor:pointer;background:0 0;border:0;outline:0;width:4em;height:100%;font-size:1em}.searchButton>i{opacity:.5;background-color:#0000;background-size:2px;border-radius:2em;padding:.1em;transition:all .125s}.searchButton:active>i{background-color:var(--selection-color);color:var(--dark);padding:.7em;padding:.8em;transition:all .2s}.searchbox-style-glass{-webkit-backdrop-filter:var(--blur-one-em);backdrop-filter:var(--blur-one-em);background:var(--white-quarter-alpha);color:#fffd;border:1px solid #ffffff38;transition:all .125s}.searchbox-style-glass>:first-child::placeholder{color:#ffffff86}.searchbox-style-glass>:first-child{color:#ffffff92;caret-color:#fff;transition:all .125s}.searchbox-style-glass>:nth-child(2)>i,.searchbox-style-glass>:first-child:focus{color:#fff}.searchbox-style-glass:hover{color:#fff;border:1px solid #ffffffce}.searchbox-style-glass:hover>:first-child{color:#fff}.searchbox-style-glass:hover>.searchButton>i{opacity:1}.searchbox-style-glass:has(.searchTerm:focus){box-shadow:0 0 4px 0px var(--selection-color);border:1px solid #fff0}.searchbox-style-glass>:first-child::-webkit-search-cancel-button{filter:grayscale()invert()brightness(200%)}.searchbox-style-light{color:#000d;background:#fff;border:1px solid #fff;transition:all .125s}.searchbox-style-light>:first-child::placeholder{color:#75757586}.searchbox-style-light>:first-child{color:#00000092;caret-color:#000;transition:all .125s}.searchbox-style-light>:nth-child(2)>i,.searchbox-style-light>:first-child:focus{color:#000}.searchbox-style-light:hover{border:1px solid var(--selection-color);color:#000}.searchbox-style-light:hover>:first-child{color:#000}.searchbox-style-light:hover>.searchButton>i{opacity:1}.searchbox-style-light:has(.searchTerm:focus){box-shadow:0 0 4px 0px var(--selection-color);border:1px solid #0000}.searchbox-style-light>:first-child::-webkit-search-cancel-button{filter:grayscale()invert()brightness(50%)}.searchbox-style-dark{color:#fffd;background:#000;border:1px solid #ffffff1e;transition:all .125s}.searchbox-style-dark>:first-child::placeholder{color:#75757586}.searchbox-style-dark>:first-child{caret-color:#fff;color:#ffffff92;transition:all .125s}.searchbox-style-dark>:nth-child(2)>i,.searchbox-style-dark>:first-child:focus{color:#fff}.searchbox-style-dark:hover{border:1px solid var(--selection-color);color:#fff}.searchbox-style-dark:hover>:first-child{color:#fff}.searchbox-style-dark:hover>.searchButton>i{opacity:1}.searchbox-style-dark:has(.searchTerm:focus){box-shadow:0 0 4px 0px var(--selection-color);border:1px solid #fff0}.searchbox-style-dark>:first-child::-webkit-search-cancel-button{filter:grayscale()invert()brightness(200%)}.searchTerm:focus+.searchButton>i{opacity:1}.flex-sub-container-horizontal{flex-wrap:wrap;justify-content:center;align-items:center;margin-bottom:2em;padding:0 .5em;display:flex}.flex-sub-container-horizontal>div{color:var(--primary-color);cursor:pointer;caret-color:#0000;border:1px solid #ffffff38;border-radius:50%;flex-direction:row;justify-content:center;align-items:center;width:4em;height:4em;margin:2%;text-decoration:none;display:flex}.predefined-bookmark{background-color:var(--predefined-bookmark);-webkit-backdrop-filter:var(--blur-one-em);backdrop-filter:var(--blur-one-em)}.flex-sub-container-horizontal>div>i{font-size:1.5em}#add_bookmark_button:focus,#add_bookmark_button:hover,#settings_button:focus,#settings_button:hover,.flex-sub-container-horizontal>:focus,.flex-sub-container-horizontal>:hover{background-color:var(--highlight-color);transition:all .5s}.flex-wallpaper-horizontal{z-index:2;flex-flow:row;justify-content:start;width:100%;max-height:10em;padding:0 0 .75em;display:none;position:fixed;bottom:0;overflow-x:auto}.thumb-group{cursor:pointer;border-radius:1em;width:8em;height:4.8em;margin:.5em}.advanced-settings-button{cursor:pointer;z-index:3;background-color:#fff;border-radius:0 1.5em 1.5em 0;justify-content:center;align-items:center;min-width:9em;margin:1em 0;padding:0;padding-block:.5em;padding-inline:1em;font-size:.5em;transition:all .5s;display:flex;position:sticky;left:0;transform:translate(-10em)scale(1.125)}.advanced-settings-button:active>i{opacity:.5}.advanced-settings-button>i{color:#060604;opacity:.8;font-size:4em;transition:all .125s}.advanced-settings-button-right{transform:scale(1.125)}.thumb-group:focus,.thumb-group:hover{transition:all 1s;animation:.25s both animation_zoom;box-shadow:0 0 .5em #fff}.thumb-title{border:0 solid var(--primary-color);z-index:2;opacity:0;white-space:nowrap;text-overflow:ellipsis;color:var(--dark-text-color);pointer-events:none;padding-top:.075em;background-color:#faebd7cc;border-top:none;border-radius:0 0 1em 1em;width:8em;height:1.5em;margin-top:4em;padding-inline-start:.75em;font-family:Ubuntu;font-size:.875em;position:absolute;overflow:hidden}.animate:focus>.thumb-title,.animate:hover>.thumb-title{animation:.25s both animation_appear}.thumbnail{border:.1em solid var(--primary-color);border-radius:.9em;width:7.05em;height:4.8em;margin-left:-.04em;position:relative}#add_bookmark_button{background-color:var(--add-bookmark);-webkit-backdrop-filter:var(--blur-one-em);backdrop-filter:var(--blur-one-em);order:1336}#add_bookmark_button:not(:active)>i{transition:all .75s;rotate:360deg}#settings_button{color:var(--primary-color);-webkit-backdrop-filter:var(--blur-one-em);backdrop-filter:var(--blur-one-em);background-color:var(--settings);cursor:pointer;caret-color:#0000;border:1px solid #ffffff38;border-radius:50%;flex-direction:row;order:1337;justify-content:center;align-items:center;width:4em;height:4em;margin:2%;text-decoration:none;display:flex}#settings_button *{margin:0;padding:0;font-size:2em}#settings_button:not(:active)>i{transition:all .75s;rotate:360deg}.custom_bookmark{color:var(--primary-color);-webkit-backdrop-filter:var(--blur-one-em);backdrop-filter:var(--blur-one-em);cursor:pointer;caret-color:#0000;background-color:var(--custom-bookmark);border:1px solid #ffffff38;border-radius:50%;flex-direction:row;justify-content:center;align-items:center;width:4em;height:4em;margin:2%;text-decoration:none;display:flex}.custom_link_name{pointer-events:none;font-size:1.5em;font-weight:600}.cross{display:var(--cross-display);background-color:var(--selection-color);border:3px dashed tomato;border-radius:50%;justify-content:center;align-items:center;width:4em;height:4em;padding-top:1em;padding-left:2.5em;animation:10s linear infinite spin;position:fixed}#mydivheader{cursor:move;z-index:4;color:#fff;background-color:#0000;padding:0}#import-bookmarks-btn,#import-backup-btn{display:none}#advanced-settings-modal-background-overlay{-webkit-backdrop-filter:blur(3em);backdrop-filter:blur(3em);z-index:2;background-color:#45454576;width:100vw;height:100vh;display:none;position:fixed;top:0}#advanced-settings-modal{color:var(--white);z-index:3;cursor:default;background-color:#38383800;width:100dvw;height:auto;font-family:Ubuntu;display:none;position:absolute}#btn-install{display:none}.modal-page-title{background-color:var(--dark-low-alpha);border-radius:.5em;justify-content:flex-start;align-items:center;gap:.5em;margin:.5em;padding-block:.75em;padding-inline:.5em;font-size:1.5em;font-weight:700;display:flex}.modal-close-btn{border-radius:6px;padding-block:.25em;padding-inline:.25em .3em;font-size:1em;transition:all .125s}.modal-close-btn:hover{background-color:#ffffff45;transform:scale(1.125)}.modal-close-btn:active{opacity:.5;transform:scale(1)}.modal-group{background-color:var(--dark-low-alpha);border-radius:.75em;flex-direction:column;margin:.75em;padding:.5em;display:flex;position:relative}.modal-title{flex-direction:column;padding:.375em;font-size:1.3em;font-weight:700;display:flex}.modal-option{border-radius:.375em;justify-content:space-between;padding-block:.5em;padding-inline:.5em;font-size:1.1em;font-weight:400;transition:all .125s;display:flex}.modal-option:hover{background-color:var(--white-quarter-alpha)}.setting-preview{text-overflow:ellipsis;white-space:nowrap;text-align:end;color:var(--white-half-alpha);background-color:#06060400;border:0 solid #000;border-radius:6px;outline:0;width:10em;height:1.25em;padding-inline-end:.5em;font-family:Ubuntu;font-size:.9em;animation-name:animatetop;animation-duration:1s;overflow:hidden}.version-preview{text-overflow:ellipsis;white-space:nowrap;text-align:center;color:var(--white-half-alpha);border-radius:6px;width:auto;max-height:1px;font-family:Ubuntu;font-size:.7em;animation-name:animatetop;animation-duration:1s;overflow:hidden}.setting-preview option{color:#060604;text-align:end;background-color:var(--dark-low-alpha)}.footer{z-index:1;flex-direction:column;align-items:center;gap:.25em;width:100%;padding:.5em;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;display:flex}.footer *{color:#ffffff80;gap:1em;font-size:.875em;line-height:1.5em;text-decoration:none;list-style:none;transition:all .15s;display:flex}.footer :focus,.footer :hover{color:#fff}.ext_favicon{border-radius:50%;width:32px;height:32px}.nested-close{opacity:0;padding-block:0;height:0!important}.nested-one-element{height:100%;transition:all .2s;overflow:hidden}#deep-search-nested{height:9.5em;transition:all .2s;overflow:hidden}.loader{border-radius:50%;animation:1s infinite spin;border:4px solid var(--primary-color)!important;border-top:4px solid #1e90ff!important}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loader *{animation:1s infinite spin-rev}@keyframes spin-rev{0%{transform:rotate(360deg)}to{transform:rotate(0)}}.collapsed{height:0;margin:0;padding:0;overflow:hidden}.hidden{display:none!important}.modalContainer{color:#fff;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:5;opacity:0;background-color:#b3b3b34c;justify-content:center;align-items:flex-start;width:100%;height:100%;padding-block-start:2em;font-family:Ubuntu;transition:all .2s;display:flex;position:fixed;top:0}.notifyContainer{color:#fff;z-index:5;opacity:1;background-color:#0000;flex-direction:column-reverse;justify-content:center;align-items:center;width:100%;height:auto;font-family:Ubuntu;transition:all .2s;display:flex;position:fixed;top:0}.modal{background:#2b2b2b;border:1px solid #ffffff24;border-radius:1em;flex-direction:column;width:90%;min-width:10em;max-width:30em;padding:1.5em;display:flex;box-shadow:0 0 2em #0003}.notifyModal{z-index:5;opacity:0;background:#2b2b2b;border:1px solid #ffffff24;border-radius:1em;flex-direction:row;justify-content:space-between;align-items:center;gap:1em;width:90%;min-width:10em;max-width:30em;margin-top:0;margin-bottom:-1em;padding:1.5em;transition:all .2s;display:flex;box-shadow:0 0 2em #0003}.modalTitle{padding-bottom:.5em}.modalDescription{padding-bottom:2em;font-size:.9em;font-weight:100}.notifyDescriptionContainer{width:90%}.notifyDescription{word-wrap:break-word;font-size:1em;font-weight:200;overflow:hidden}.modalButtonsBar{vertical-align:middle;justify-content:flex-end;align-items:center;gap:1em;margin-block-start:1em;display:inline-flex}.label{justify-content:flex-start;align-items:center;gap:.25em;padding-bottom:.25em;font-size:.9em;display:flex}.modalInputField{caret-color:#000;padding:.5em;background-color:#f1f1f1;border:2px solid #fff;border-radius:6px;outline:0;width:100%;height:2.5em;margin-bottom:1em;padding-inline:1em}.inputTickBoxField{background-color:#ffffffe8;border:1px solid #0000;border-radius:1em;width:100%;margin-bottom:1em;padding:.5em}.modalInputField:focus{border:2px solid var(--selection-color);background-color:#fff}.button{opacity:1;background-color:#ececec;border:1px solid #cecece80;border-radius:6px;width:7em;height:2.5em;font-family:Ubuntu;font-size:.85em;font-weight:400;transition:all .1s}.tinyButton{min-width:1.75em;max-width:1.75em;min-height:1.75em;max-height:1.75em;padding-bottom:2px}.notifyLoader{opacity:.1;width:100%;margin-top:1em;margin-bottom:-1em}.button:disabled{opacity:.75;background-color:#fff}.button:hover{background-color:#fff}.button:active{opacity:.75}.deleteButton{color:tomato}@media only screen and (width>=370px){body{font-size:14px}}@media only screen and (width>=600px){body{font-size:16px}#home-widget-container{padding-inline:2em}.footer{flex-direction:row;justify-content:space-between;padding-inline:2em}}@media only screen and (width>=1024px){body{font-size:18px}#advanced-settings-modal{background-color:#38383800;width:50dvw;height:auto;position:absolute;top:0}}@media (pointer:coarse){#settings_button{display:none}} +/*# sourceMappingURL=index.510077d1.css.map */ diff --git a/dist/index.52a762c6.js.map b/dist/index.52a762c6.js.map deleted file mode 100644 index 948008a..0000000 --- a/dist/index.52a762c6.js.map +++ /dev/null @@ -1 +0,0 @@ -{"mappings":"IOAI,EACA,EACA,EACA,EACA,EQJA,EACA,EACA,EACA,EGEO,EACA,EKLP,EACA,Et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,CAAA,WACH,IAAM,EAAuB,KAM7B,OALA,aAAa,OAAO,CAAC,aAAc,KACnC,aAAa,OAAO,CAAC,oBAAqB,KAAK,SAAS,CAAC,IACzD,aAAa,OAAO,CAAC,YrBvDI,YqBwDzB,aAAa,OAAO,CAAC,uBAAwB,GAC7C,aAAa,OAAO,CAAC,wBAAyB,YACvC,CACX,CAAA,IxBuTkB,IAAI,CAAC,K6B1XlB,OAAO,UAAU,CAAC,iBAAiB,OAAO,E7B4X3C,WAAW,KACV,AAAA,EAAa,cACZ,iDACF,EAAG,KAEJ,KACA,QAAQ,GAAG,CAAC,uBACb,GAEF,EAAG,CAAE,KAAM,CAAA,CAAK","sources":["","index.js","js_modules/search.js","js_modules/utils.js","js_modules/constants.js","js_modules/preferences.js","js_modules/custom_bookmarks.js","js_modules/utils/inputDialog.js","js_modules/utils/enableSubmitButton.js","js_modules/validators.js","js_modules/utils/toggleDisplay.js","js_modules/load_preferences.js","js_modules/utils/intersectionObserver.js","js_modules/strings.js","js_modules/utils/addZero.js","js_modules/utils/alertDialog.js","js_modules/utils/changeExtension.js","js_modules/utils/wait.js","js_modules/wallpapers.js","js_modules/colors.js","js_modules/styles.js","js_modules/cli.js","js_modules/utils/downloadFile.js","js_modules/utils/notifyDialog.js","js_modules/loading_spinner.js","js_modules/onboarding.js","js_modules/save_preferences.js","js_modules/utils/getLastUpdated.js","js_modules/utils/blurLevel.js","js_modules/utils/letItSnow.js","js_modules/utils/isTouchDevice.js"],"sourcesContent":["const $5cb36cae53cff17f$export$13bef53858783c8 = \"https://x1337x.ws/sort-category-search/\";\nconst $5cb36cae53cff17f$export$f288c99438ae5042 = \"https://www.google.com/search?q=\";\nconst $5cb36cae53cff17f$export$eaf87ba60b13cb7b = \"https://www.bing.com/search?q=\";\nconst $5cb36cae53cff17f$export$7f0ed2ad69a4477b = \"https://duckduckgo.com/?q=\";\nconst $5cb36cae53cff17f$export$abfb1cc23f527c0c = \"./samples/bookmarks.json\";\nconst $5cb36cae53cff17f$export$c73e34d3fbf60d07 = '[\"--help\",\"--dl\",\"--clock\",\"--countdown\"]';\nconst $5cb36cae53cff17f$export$9e325b1a7d5ca2be = \"./wallpapers/\";\nconst $5cb36cae53cff17f$export$e62d6b7c94af1035 = \"./wallpapers/backups/\";\nconst $5cb36cae53cff17f$export$4f84be79598755f8 = \"085.webp\";\nconst $5cb36cae53cff17f$export$e65168134959b573 = \"Custom Text\";\nconst $5cb36cae53cff17f$export$26368a7293f8b58d = {\n \"bg-img-drop\": \"shown\",\n \"bg-blur-drop\": \"off\",\n // 'bg-glow-drop': 'auto',\n // 'weather-display-drop': 'off',\n \"footer-display-drop\": \"on\",\n \"def-widget-drop\": \"casamia\",\n // 'widget-style-drop': 'minimal',\n \"greeting-display-drop\": \"on\",\n \"def-widget-display-drop\": \"on\",\n // 'show-seconds-drop': 'off',\n // 'clock-style-drop': '12hrs',\n // 'am-pm-style-drop': 'uppercase',\n \"def-search-engine-drop\": \"google\",\n \"searchbar-position-drop\": \"middle\",\n \"searchbar-color-theme-drop\": \"glass\",\n \"focus-search-drop\": \"off\",\n \"search-display-drop\": \"on\",\n // 'show-titles-drop': 'off',\n \"movies-search-display-drop\": \"shown\",\n \"tv-search-display-drop\": \"shown\",\n \"games-search-display-drop\": \"shown\",\n \"ebooks-search-display-drop\": \"shown\",\n \"add-bookmark-display-drop\": \"shown\"\n}; // 'https://github.com/lscambo13/casamia/raw/main/wallpapers/'\n // 'https://raw.githubusercontent.com/lscambo13/casamia/main/wallpapers/'\n // const X1337X_DOMAIN = 'https://x1337x.ws/home/';\n\n\n\nlet $73ae58c03c087314$var$modalContainer;\nlet $73ae58c03c087314$var$modalSubmitButton;\nlet $73ae58c03c087314$var$modalCancelButton;\nlet $73ae58c03c087314$var$tickBoxField;\nlet $73ae58c03c087314$var$inputFields;\nconst $73ae58c03c087314$var$showInputDialog = (title = null, description = null, inputBoxes = [\n \"Input A\",\n \"Input B\"\n], submitButtonName = \"Submit\", cancelButtonName = \"Cancel\", tickBox = null, listeners = [\n onInput = null,\n onChange = null\n], onInit = null)=>{\n $73ae58c03c087314$var$modalContainer = document.getElementById(\"inputDialogContainer\");\n if ($73ae58c03c087314$var$modalContainer) $73ae58c03c087314$var$modalContainer.remove();\n document.activeElement.blur();\n if (title) title = `

${title}

`;\n else title = \"\";\n if (description) description = `\r\n\t\t

${description}

\r\n\t`;\n else description = \"\";\n document.body.insertAdjacentHTML(\"afterbegin\", `\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\t${title}\r\n\t\t\t\t${description}\r\n\t\t\t\t
\r\n\t\t\t\t\t${submitButtonName}\r\n\t\t\t\t\t${cancelButtonName}\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t
\r\n\t`);\n inputBoxes.forEach((e)=>{\n let id = e.replaceAll(\" \", \"-\").toLowerCase();\n id = `MODAL-INPUT-${id}`;\n document.getElementById(\"inputDialogButtonsBar\").insertAdjacentHTML(\"beforebegin\", `\r\n\t\t\t\t\t${e}\r\n\t\t\t\t\t\r\n\t\t`);\n });\n if (tickBox) {\n document.getElementById(\"inputDialogButtonsBar\").insertAdjacentHTML(\"beforebegin\", `\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t${tickBox}\r\n\t\t\t\t\t \r\n\t\t`);\n $73ae58c03c087314$var$tickBoxField = document.getElementById(\"tickBoxField\");\n }\n $73ae58c03c087314$var$modalContainer = document.getElementById(\"inputDialogContainer\");\n $73ae58c03c087314$var$modalSubmitButton = document.getElementById(\"inputDialogSubmitButton\");\n $73ae58c03c087314$var$modalCancelButton = document.getElementById(\"inputDialogCancelButton\");\n $73ae58c03c087314$var$inputFields = document.getElementsByClassName(\"modalInputField\");\n document.body.style.overflow = \"hidden\";\n $73ae58c03c087314$var$inputFields[0].focus();\n if (!cancelButtonName) $73ae58c03c087314$var$modalCancelButton.style.display = \"none\";\n const promise = new Promise((resolve, reject)=>{\n // modalContainer.style.paddingBlockStart = '4em';\n $73ae58c03c087314$var$modalContainer.style.opacity = \"1\";\n const rejectModal = ()=>{\n $73ae58c03c087314$var$modalCancelButton.removeEventListener(\"click\", rejectModal);\n $73ae58c03c087314$var$modalContainer.remove();\n document.body.style.overflow = \"auto\";\n reject(Error(null));\n };\n const resolveModal = ()=>{\n $73ae58c03c087314$var$modalSubmitButton.removeEventListener(\"click\", resolveModal);\n if (tickBox) {\n $73ae58c03c087314$var$tickBoxField.removeEventListener(\"change\", listeners[1]);\n $73ae58c03c087314$var$tickBoxField = $73ae58c03c087314$var$tickBoxField.checked;\n }\n const inputValues = [];\n for (const e of $73ae58c03c087314$var$inputFields){\n inputValues.push(e.value);\n if (listeners) e.removeEventListener(\"input\", listeners);\n }\n const result = {\n \"inputValues\": inputValues,\n \"checkboxChecked\": $73ae58c03c087314$var$tickBoxField\n };\n $73ae58c03c087314$var$modalContainer.remove();\n document.body.style.overflow = \"auto\";\n console.log(result);\n resolve(result);\n };\n $73ae58c03c087314$var$modalCancelButton.addEventListener(\"click\", rejectModal);\n $73ae58c03c087314$var$modalSubmitButton.addEventListener(\"click\", resolveModal);\n if (listeners[0]) for (const e of $73ae58c03c087314$var$inputFields)e.addEventListener(\"input\", listeners[0]);\n if (listeners[1] && tickBox) $73ae58c03c087314$var$tickBoxField.addEventListener(\"change\", listeners[1]);\n });\n if (onInit) onInit();\n return promise;\n};\nconst $73ae58c03c087314$export$582bc754b5da294a = {\n show: $73ae58c03c087314$var$showInputDialog,\n getSubmitButton: ()=>{\n return $73ae58c03c087314$var$modalSubmitButton;\n },\n getCancelButton: ()=>{\n return $73ae58c03c087314$var$modalCancelButton;\n },\n getInputFields: ()=>{\n return $73ae58c03c087314$var$inputFields;\n },\n getCheckboxField: (n)=>{\n return $73ae58c03c087314$var$tickBoxField;\n }\n};\n\n\nfunction $3f3f917efd553266$export$c4ea027afed2fe4a(userInput) {\n try {\n new URL(userInput);\n return true;\n } catch (err) {\n return false;\n }\n}\nfunction $3f3f917efd553266$export$48f7acf477ae272e() {\n const clockClass = document.getElementById(\"main-heading-slider\");\n if (clockClass.classList.contains(\"default-text-style\")) return true;\n else return false;\n}\n\n\n\nconst $9b503205b15d65b6$export$302ed7cda67b07d7 = (event, alt = false)=>{\n const modalSubmitButton = (0, $73ae58c03c087314$export$582bc754b5da294a).getSubmitButton();\n const inputFields = (0, $73ae58c03c087314$export$582bc754b5da294a).getInputFields();\n for (const e of inputFields)if (e.value.length) modalSubmitButton.disabled = false;\n else {\n modalSubmitButton.disabled = true;\n return;\n }\n if (!alt) return;\n else if ((0, $3f3f917efd553266$export$c4ea027afed2fe4a)(inputFields[1].value)) modalSubmitButton.disabled = false;\n else modalSubmitButton.disabled = true;\n};\n\n\nfunction $2418e51d71255ec8$export$4bec518d10afac3b(str) {\n document.documentElement.style.setProperty(\"--cross-display\", str);\n}\n\n\nlet $dbebd6b4cf5c8fbe$export$8d4841631317485f = JSON.parse(localStorage.getItem(\"saved_bookmarks\"));\nfunction $dbebd6b4cf5c8fbe$export$7c7816efe5f3d2b8() {\n if ($dbebd6b4cf5c8fbe$export$8d4841631317485f == null) {\n $dbebd6b4cf5c8fbe$export$8d4841631317485f = [];\n return;\n }\n for (const n of $dbebd6b4cf5c8fbe$export$8d4841631317485f)$dbebd6b4cf5c8fbe$export$6789c089e1fc97ab(n.link, n.name, n.id);\n}\nfunction $dbebd6b4cf5c8fbe$export$6789c089e1fc97ab(link, name, id) {\n const bookmarkContainer = document.getElementsByClassName(\"flex-sub-container-horizontal\")[0];\n bookmarkContainer.appendChild($dbebd6b4cf5c8fbe$var$createBookmark(link, name, id));\n const justAdded = document.getElementsByClassName(\"cross\");\n justAdded[justAdded.length - 1].addEventListener(\"click\", $dbebd6b4cf5c8fbe$export$bf080fbaa0a75b3f);\n}\nfunction $dbebd6b4cf5c8fbe$var$createBookmark(link, name, id) {\n const i = document.createElement(\"span\");\n i.textContent = name;\n i.className = \"custom_link_name\";\n const d = document.createElement(\"div\");\n d.className = \"cross\";\n d.title = \"Modify bookmark details\";\n d.setAttribute(\"tabindex\", \"5\");\n const newBookmark = document.createElement(\"a\");\n newBookmark.className = \"custom_bookmark clickable\";\n newBookmark.setAttribute(\"href\", link);\n newBookmark.setAttribute(\"id\", id);\n newBookmark.setAttribute(\"tabindex\", \"1\");\n newBookmark.appendChild(i);\n newBookmark.appendChild(d);\n return newBookmark;\n}\nfunction $dbebd6b4cf5c8fbe$export$7c6b17cf45d2b7e3(link, name, id) {\n $dbebd6b4cf5c8fbe$export$8d4841631317485f.push({\n link: link,\n name: name,\n id: id\n });\n localStorage.setItem(\"saved_bookmarks\", JSON.stringify($dbebd6b4cf5c8fbe$export$8d4841631317485f));\n}\nfunction $dbebd6b4cf5c8fbe$export$5ddb82d83542c52d(id) {\n $dbebd6b4cf5c8fbe$export$8d4841631317485f = $dbebd6b4cf5c8fbe$export$8d4841631317485f.filter((elem)=>{\n return id != elem.id;\n });\n localStorage.setItem(\"saved_bookmarks\", JSON.stringify($dbebd6b4cf5c8fbe$export$8d4841631317485f));\n}\nfunction $dbebd6b4cf5c8fbe$export$875bb17e303697e9(id, newName, newLink) {\n const edit = $dbebd6b4cf5c8fbe$export$8d4841631317485f.filter((elem)=>{\n return id == elem.id;\n });\n edit[0].name = newName;\n edit[0].link = newLink;\n localStorage.setItem(\"saved_bookmarks\", JSON.stringify($dbebd6b4cf5c8fbe$export$8d4841631317485f));\n}\nfunction $dbebd6b4cf5c8fbe$export$adffc1b042979c2c(id) {\n const edit = $dbebd6b4cf5c8fbe$export$8d4841631317485f.filter((elem)=>{\n return id == elem.id;\n });\n return [\n edit[0].id,\n edit[0].name,\n edit[0].link\n ];\n}\nfunction $dbebd6b4cf5c8fbe$export$70926afe0a056723(visible) {\n switch(visible){\n case \"show\":\n (0, $2418e51d71255ec8$export$4bec518d10afac3b)(`block`);\n break;\n case \"hide\":\n (0, $2418e51d71255ec8$export$4bec518d10afac3b)(`none`);\n break;\n }\n}\nfunction $dbebd6b4cf5c8fbe$export$30567b880d6812e6(filename, text) {\n const element = document.createElement(\"a\");\n element.setAttribute(\"href\", \"data:text/plain;charset=utf-8,\" + encodeURIComponent(text));\n element.setAttribute(\"download\", filename);\n element.style.display = \"none\";\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n}\nfunction $dbebd6b4cf5c8fbe$export$bf080fbaa0a75b3f(event) {\n event.preventDefault();\n event.stopPropagation();\n const targetElement = event.target.parentNode;\n const onChange = ()=>{\n const checkbox = (0, $73ae58c03c087314$export$582bc754b5da294a).getCheckboxField();\n const modalSubmitButton = (0, $73ae58c03c087314$export$582bc754b5da294a).getSubmitButton();\n const inputFields = (0, $73ae58c03c087314$export$582bc754b5da294a).getInputFields();\n if (checkbox.checked) {\n modalSubmitButton.textContent = \"Delete\";\n modalSubmitButton.classList.add(\"deleteButton\");\n for (const i of inputFields)i.disabled = true;\n modalSubmitButton.disabled = false;\n } else if (!checkbox.checked) {\n modalSubmitButton.textContent = \"Save\";\n modalSubmitButton.classList.remove(\"deleteButton\");\n for (const i of inputFields)i.disabled = false;\n }\n };\n const details = $dbebd6b4cf5c8fbe$export$adffc1b042979c2c(targetElement.id);\n (0, $73ae58c03c087314$export$582bc754b5da294a).show(\"Edit bookmark\", null, [\n \"Name\",\n \"Address\"\n ], \"Save\", \"Cancel\", \"Delete this bookmark\", [\n ()=>(0, $9b503205b15d65b6$export$302ed7cda67b07d7)(event, true),\n onChange\n ], ()=>{\n (0, $73ae58c03c087314$export$582bc754b5da294a).getInputFields()[0].setAttribute(\"maxlength\", \"4\");\n (0, $73ae58c03c087314$export$582bc754b5da294a).getInputFields()[0].value = details[1];\n (0, $73ae58c03c087314$export$582bc754b5da294a).getInputFields()[1].value = details[2];\n }).then((res)=>{\n if (res.checkboxChecked) {\n $dbebd6b4cf5c8fbe$export$5ddb82d83542c52d(targetElement.id);\n targetElement.style.display = \"none\";\n return;\n }\n targetElement.href = res.inputValues[1].replaceAll(\" \", \"\");\n targetElement.firstChild.innerHTML = res.inputValues[0];\n $dbebd6b4cf5c8fbe$export$875bb17e303697e9(targetElement.id, res.inputValues[0], res.inputValues[1].replaceAll(\" \", \"\"));\n }).catch((e)=>console.log(e));\n return;\n}\n\n\n\n\n\n\n\nfunction $606cabd3a5c40f06$export$ef81a4cd6adfcbc3(rootID, targetClass) {\n const targetClasses = document.getElementsByClassName(targetClass);\n const options = {\n root: document.getElementById(rootID),\n rootMargin: \"0px\",\n threshold: 0.5\n };\n const callback = (entries)=>{\n entries.forEach((entry)=>{\n entry.isIntersecting && localStorage.setItem(\"selected-widget-style\", entry.target.id);\n // console.log(entry.target.id)\n // console.log(entry.intersectionRatio)\n });\n };\n const observer = new IntersectionObserver(callback, options);\n for (const target of targetClasses)observer.observe(target);\n}\n\n\nconst $5389e778e2dc8e49$var$PREF_MAP = {\n \"bg-img-drop\": $5389e778e2dc8e49$var$backgroundImage,\n \"bg-blur-drop\": $5389e778e2dc8e49$var$backgroundBlur,\n // 'bg-glow-drop': backgroundGlow,\n // 'weather-display-drop': displayWeather,\n \"footer-display-drop\": $5389e778e2dc8e49$var$displayFooter,\n \"def-widget-drop\": $5389e778e2dc8e49$var$defaultWidget,\n // 'widget-style-drop': widgetStyle,\n \"greeting-display-drop\": $5389e778e2dc8e49$var$displayGreeting,\n \"def-widget-display-drop\": $5389e778e2dc8e49$var$displayWidget,\n // 'show-seconds-drop': showSeconds,\n // 'clock-style-drop': clockStyle,\n // 'am-pm-style-drop': amPmStyle,\n \"def-search-engine-drop\": $5389e778e2dc8e49$export$33147b6b6a8da72b,\n \"searchbar-position-drop\": $5389e778e2dc8e49$var$defaultSearchbarPosition,\n \"searchbar-color-theme-drop\": $5389e778e2dc8e49$var$searchbarTheme,\n \"focus-search-drop\": $5389e778e2dc8e49$export$3dfd9332ad34ac9b,\n \"search-display-drop\": $5389e778e2dc8e49$var$displaySearch,\n // 'show-titles-drop': showTitles,\n \"movies-search-display-drop\": $5389e778e2dc8e49$var$moviesSearch,\n \"tv-search-display-drop\": $5389e778e2dc8e49$var$tvSearch,\n \"games-search-display-drop\": $5389e778e2dc8e49$var$gamesSearch,\n \"ebooks-search-display-drop\": $5389e778e2dc8e49$var$ebooksSearch,\n \"add-bookmark-display-drop\": $5389e778e2dc8e49$var$displayAddBookmark\n};\nfunction $5389e778e2dc8e49$var$backgroundImage(value) {\n const overlay = document.getElementById(\"overlay\");\n switch(value){\n case \"hidden\":\n overlay.style.backgroundColor = \"rgba(0, 0, 0, 1)\";\n break;\n case \"shown\":\n overlay.style.backgroundColor = \"rgba(0, 0, 0, 0.375)\";\n break;\n }\n}\nfunction $5389e778e2dc8e49$var$backgroundBlur(value) {\n const overlay = document.getElementById(\"overlay\");\n switch(value){\n case \"off\":\n overlay.style.backdropFilter = \"blur(0em)\";\n break;\n case \"on\":\n overlay.style.backdropFilter = \"blur(1em)\";\n (0, $a68193f3fd1cac67$export$6f8b34931c81d91d)(\"overlay\");\n break;\n }\n}\n// function backgroundGlow() { };\n// function displayWeather() { };\nfunction $5389e778e2dc8e49$var$displayFooter(value) {\n const footer = document.getElementById(\"footer\");\n switch(value){\n case \"off\":\n footer.classList.add(\"hidden\");\n break;\n case \"on\":\n footer.classList.remove(\"hidden\");\n break;\n }\n}\nfunction $5389e778e2dc8e49$export$3dfd9332ad34ac9b(value) {\n sessionStorage.setItem(\"focus\", value);\n// const searchbar = document.getElementById('searchTerm');\n// switch (value) {\n// \tcase 'off': {\n// \t\t// searchbar.focus();\n// \t\t// sessionStorage.setItem('focus', 'off');\n// \t\tbreak;\n// \t};\n// \tcase 'on': {\n// \t\t// searchbar.focus();\n// \t\t// searchbar.click();\n// \t\tbreak;\n// \t};\n}\nfunction $5389e778e2dc8e49$var$displayWidget(value) {\n const widget = document.getElementById(\"main-heading-slider\");\n const lArrow = document.getElementById(\"left-arrow\");\n const rArrow = document.getElementById(\"right-arrow\");\n function toggleDefaultWidgetButton(value) {\n switch(value){\n case \"show\":\n document.getElementById(\"main-widget-children-container\").classList.remove(\"nested-close\");\n break;\n case \"hide\":\n document.getElementById(\"main-widget-children-container\").classList.add(\"nested-close\");\n break;\n }\n }\n switch(value){\n case \"off\":\n widget.classList.add(\"hidden\");\n lArrow.classList.add(\"hidden\");\n rArrow.classList.add(\"hidden\");\n toggleDefaultWidgetButton(\"hide\");\n break;\n case \"on\":\n widget.classList.remove(\"hidden\");\n lArrow.classList.remove(\"hidden\");\n rArrow.classList.remove(\"hidden\");\n toggleDefaultWidgetButton(\"show\");\n break;\n }\n}\nfunction $5389e778e2dc8e49$var$displaySearch(value) {\n const search = document.getElementById(\"searchbar\");\n const searchChildren = document.getElementById(\"search-display-children-container\");\n const searchEngineDrop = document.getElementById(\"def-search-engine-drop-container\");\n function toggleSearchEngineButton(value) {\n switch(value){\n case \"show\":\n searchChildren.classList.remove(\"nested-close\");\n searchEngineDrop.classList.remove(\"nested-close\");\n break;\n case \"hide\":\n searchChildren.classList.add(\"nested-close\");\n searchEngineDrop.classList.add(\"nested-close\");\n break;\n }\n }\n switch(value){\n case \"off\":\n search.classList.add(\"hidden\");\n toggleSearchEngineButton(\"hide\");\n break;\n case \"on\":\n search.classList.remove(\"hidden\");\n toggleSearchEngineButton(\"show\");\n break;\n }\n}\nconst $5389e778e2dc8e49$var$widgetSlides = document.getElementsByClassName(\"widget-slide\");\nfunction $5389e778e2dc8e49$var$applyText(input) {\n for (const i of $5389e778e2dc8e49$var$widgetSlides)i.textContent = input;\n}\nfunction $5389e778e2dc8e49$var$defaultWidget(value) {\n function loadCustomText() {\n let customText = localStorage.getItem(\"customWidgetText\");\n if (customText == null) {\n localStorage.setItem(\"customWidgetText\", (0, $5cb36cae53cff17f$export$e65168134959b573));\n customText = localStorage.getItem(\"customWidgetText\");\n $5389e778e2dc8e49$export$fcc3c2f16e2af6d4();\n }\n $5389e778e2dc8e49$var$applyText(customText);\n // return customText;\n }\n function toggleCustomTextButton(value) {\n switch(value){\n case \"show\":\n document.getElementById(\"update-customtext-btn\").classList.remove(\"nested-close\");\n break;\n case \"hide\":\n document.getElementById(\"update-customtext-btn\").classList.add(\"nested-close\");\n break;\n }\n }\n switch(value){\n case \"casamia\":\n toggleCustomTextButton(\"hide\");\n (0, $35a5d35243d57eec$export$a1096b222c632831)(\"off\");\n $5389e778e2dc8e49$var$applyText(\"Casa Mia\");\n break;\n case \"search\":\n toggleCustomTextButton(\"hide\");\n (0, $35a5d35243d57eec$export$a1096b222c632831)(\"off\");\n $5389e778e2dc8e49$var$applyText(\"Search\");\n break;\n case \"clock\":\n toggleCustomTextButton(\"hide\");\n (0, $35a5d35243d57eec$export$a1096b222c632831)(\"on\");\n break;\n case \"custom\":\n (0, $35a5d35243d57eec$export$a1096b222c632831)(\"off\");\n toggleCustomTextButton(\"show\");\n loadCustomText();\n break;\n }\n}\nfunction $5389e778e2dc8e49$export$fcc3c2f16e2af6d4() {\n const savedText = localStorage.getItem(\"customWidgetText\");\n (0, $73ae58c03c087314$export$582bc754b5da294a).show(\"Custom widget text\", \"Enter text you want to set as the main widget.\", [\n \"Custom text\"\n ], \"Save\", \"Cancel\", null, [\n (0, $9b503205b15d65b6$export$302ed7cda67b07d7),\n null\n ], ()=>{\n (0, $73ae58c03c087314$export$582bc754b5da294a).getInputFields()[0].value = savedText;\n }).then((res)=>{\n localStorage.setItem(\"customWidgetText\", res.inputValues[0]);\n $5389e778e2dc8e49$var$applyText(res.inputValues[0]);\n $5389e778e2dc8e49$export$cdeaa803477aba78();\n }).catch((e)=>{\n console.error(e);\n });\n}\nfunction $5389e778e2dc8e49$export$a352a5ecc9232970() {\n const savedDomain = localStorage.getItem(\"customDomain\");\n (0, $73ae58c03c087314$export$582bc754b5da294a).show(\"Custom widget text\", \"Enter text you want to set as the main widget.\", [\n \"Custom text\"\n ], \"Save\", \"Cancel\", null, [\n (0, $9b503205b15d65b6$export$302ed7cda67b07d7),\n null\n ], ()=>{\n (0, $73ae58c03c087314$export$582bc754b5da294a).getInputFields()[0].value = savedDomain;\n }).then((res)=>{\n localStorage.setItem(\"customDomain\", res.inputValues[0]);\n $5389e778e2dc8e49$var$applyDomain(res.inputValues[0]);\n $5389e778e2dc8e49$export$d8b215a47c29972();\n }).catch((e)=>{\n console.error(e);\n });\n}\n// function widgetStyle() { };\nlet $5389e778e2dc8e49$var$greetingLoop = null;\nfunction $5389e778e2dc8e49$var$displayGreeting(value) {\n const subtitle = document.getElementById(\"subtitle\");\n clearInterval($5389e778e2dc8e49$var$greetingLoop);\n switch(value){\n case \"off\":\n subtitle.classList.add(\"collapsed\");\n break;\n case \"on\":\n subtitle.classList.remove(\"collapsed\");\n (0, $35a5d35243d57eec$export$4bb88037aaddd25e)();\n $5389e778e2dc8e49$var$greetingLoop = setInterval((0, $35a5d35243d57eec$export$4bb88037aaddd25e), 20000);\n break;\n }\n}\n// function showSeconds() { };\n// function clockStyle() { };\n// function amPmStyle() { };\nfunction $5389e778e2dc8e49$var$applyDomain(domain) {\n localStorage.setItem(\"default-search-url\", domain);\n}\nfunction $5389e778e2dc8e49$export$33147b6b6a8da72b(value) {\n function loadCustomDomain() {\n let customDomain = localStorage.getItem(\"customDomain\");\n if (customDomain == null) {\n localStorage.setItem(\"customDomain\", (0, $5cb36cae53cff17f$export$f288c99438ae5042));\n customDomain = localStorage.getItem(\"customDomain\");\n $5389e778e2dc8e49$export$a352a5ecc9232970();\n }\n $5389e778e2dc8e49$var$applyDomain(customDomain);\n // return customText;\n }\n function applyIcon(value) {\n document.getElementById(\"search-btn-icon\").className = value;\n localStorage.setItem(\"default-search-icon\", value);\n }\n function toggleCustomDomainButton(value) {\n switch(value){\n case \"show\":\n document.getElementById(\"update-customdomain-btn\").classList.remove(\"nested-close\");\n break;\n case \"hide\":\n document.getElementById(\"update-customdomain-btn\").classList.add(\"nested-close\");\n break;\n }\n }\n switch(value){\n case \"google\":\n toggleCustomDomainButton(\"hide\");\n $5389e778e2dc8e49$var$applyDomain((0, $5cb36cae53cff17f$export$f288c99438ae5042));\n applyIcon(\"fa fa-google\");\n break;\n case \"bing\":\n toggleCustomDomainButton(\"hide\");\n $5389e778e2dc8e49$var$applyDomain((0, $5cb36cae53cff17f$export$eaf87ba60b13cb7b));\n applyIcon(\"fa fa-search\");\n break;\n case \"duckduckgo\":\n toggleCustomDomainButton(\"hide\");\n $5389e778e2dc8e49$var$applyDomain((0, $5cb36cae53cff17f$export$7f0ed2ad69a4477b));\n applyIcon(\"fa fa-search\");\n break;\n case \"custom\":\n toggleCustomDomainButton(\"show\");\n loadCustomDomain();\n // applyDomain(GOOGLE_SEARCH_DOMAIN);\n applyIcon(\"fa fa-search\");\n break;\n }\n}\nfunction $5389e778e2dc8e49$var$searchbarTheme(value) {\n const searchContainer = document.getElementById(\"searchContainer\");\n sessionStorage.setItem(\"searchbar-color-theme-drop\", value);\n switch(value){\n case \"glass\":\n searchContainer.classList.add(\"searchbox-style-glass\");\n searchContainer.classList.remove(\"searchbox-style-light\");\n searchContainer.classList.remove(\"searchbox-style-dark\");\n break;\n case \"light\":\n searchContainer.classList.remove(\"searchbox-style-glass\");\n searchContainer.classList.add(\"searchbox-style-light\");\n searchContainer.classList.remove(\"searchbox-style-dark\");\n break;\n case \"dark\":\n searchContainer.classList.remove(\"searchbox-style-glass\");\n searchContainer.classList.remove(\"searchbox-style-light\");\n searchContainer.classList.add(\"searchbox-style-dark\");\n break;\n }\n}\nfunction $5389e778e2dc8e49$var$defaultSearchbarPosition(value) {\n const searchbar = document.getElementById(\"searchbar\");\n const autofillContainer = document.getElementById(\"autofillContainer\");\n const wrap = document.getElementById(\"wrap\");\n sessionStorage.setItem(\"searchbar-position-drop\", value);\n switch(value){\n case \"top\":\n searchbar.style.order = \"0\";\n autofillContainer.style.order = \"1\";\n autofillContainer.style.bottom = \"0em\";\n autofillContainer.style.top = \"3.25em\";\n wrap.style.margin = \"0 auto auto auto\";\n break;\n case \"bottom\":\n searchbar.style.order = \"1\";\n autofillContainer.style.order = \"0\";\n autofillContainer.style.bottom = \"3.75em\";\n autofillContainer.style.top = \"\";\n wrap.style.margin = \"auto auto 0 auto\";\n break;\n case \"middle\":\n searchbar.style.order = \"0\";\n autofillContainer.style.order = \"1\";\n autofillContainer.style.bottom = \"0em\";\n autofillContainer.style.top = \"3.25em\";\n wrap.style.margin = \"auto auto auto auto\";\n break;\n }\n}\nfunction $5389e778e2dc8e49$export$64282f34fe8ec365() {\n if (document.getElementById(\"searchbar\").style.order == \"1\") window.scrollTo(0, document.body.scrollHeight);\n}\nfunction $5389e778e2dc8e49$export$38c14696b098549d() {\n const preferencesObj = JSON.parse(localStorage.getItem(\"advDropdownValues\"));\n const preferencesArray = Object.entries(preferencesObj);\n for (const i of preferencesArray){\n const func = $5389e778e2dc8e49$var$PREF_MAP[i[0]];\n if (func) func(i[1]);\n }\n // apply previews\n $5389e778e2dc8e49$export$bf7f0e9e24ecf9d1();\n $5389e778e2dc8e49$export$cdeaa803477aba78();\n $5389e778e2dc8e49$export$d8b215a47c29972();\n const lastSession = sessionStorage.getItem(\"input\");\n if (lastSession) document.getElementById(\"searchTerm\").value = lastSession;\n}\nfunction $5389e778e2dc8e49$export$ed158a8ac1452ae3() {\n const loadedFromStorage = Object.entries(JSON.parse(localStorage.getItem(\"advDropdownValues\")));\n // if (!loadButtonPreviews) return;\n for (const i of loadedFromStorage){\n const elem = document.getElementById(i[0]);\n if (elem) elem.value = i[1];\n }\n}\nfunction $5389e778e2dc8e49$export$bf7f0e9e24ecf9d1() {\n document.getElementById(\"update-username-btn-preview\").textContent = localStorage.getItem(\"userName\");\n}\nfunction $5389e778e2dc8e49$export$cdeaa803477aba78() {\n document.getElementById(\"update-customtext-btn-preview\").textContent = localStorage.getItem(\"customWidgetText\");\n}\nfunction $5389e778e2dc8e49$export$d8b215a47c29972() {\n document.getElementById(\"update-customdomain-btn-preview\").textContent = localStorage.getItem(\"customDomain\");\n}\nfunction $5389e778e2dc8e49$export$56fe25ff2821fb3c() {\n document.getElementById(localStorage.getItem(\"selected-widget-style\")).scrollIntoView();\n setTimeout(()=>{\n (0, $606cabd3a5c40f06$export$ef81a4cd6adfcbc3)(\"main-heading-slider\", \"widget-slide\");\n }, 500);\n}\nfunction $5389e778e2dc8e49$export$94dddc8645b6197d(amPm) {\n const style = localStorage.getItem(\"selected-widget-style\");\n if (style == \"widget-2\" || style == \"widget-7\" || style == \"widget-5\") return amPm.toLowerCase();\n return amPm;\n}\nfunction $5389e778e2dc8e49$var$moviesSearch(value) {\n const button = document.getElementById(\"movies-search\");\n switch(value){\n case \"hidden\":\n button.style.display = \"none\";\n break;\n case \"shown\":\n button.style.display = \"flex\";\n break;\n }\n}\nfunction $5389e778e2dc8e49$var$tvSearch(value) {\n const button = document.getElementById(\"tv-search\");\n switch(value){\n case \"hidden\":\n button.style.display = \"none\";\n break;\n case \"shown\":\n button.style.display = \"flex\";\n break;\n }\n}\nfunction $5389e778e2dc8e49$var$gamesSearch(value) {\n const button = document.getElementById(\"games-search\");\n switch(value){\n case \"hidden\":\n button.style.display = \"none\";\n break;\n case \"shown\":\n button.style.display = \"flex\";\n break;\n }\n}\nfunction $5389e778e2dc8e49$var$ebooksSearch(value) {\n const button = document.getElementById(\"ebooks-search\");\n switch(value){\n case \"hidden\":\n button.style.display = \"none\";\n break;\n case \"shown\":\n button.style.display = \"flex\";\n break;\n }\n}\nfunction $5389e778e2dc8e49$var$displayAddBookmark(value) {\n const button = document.getElementById(\"add_bookmark_button\");\n switch(value){\n case \"hidden\":\n button.style.display = \"none\";\n break;\n case \"shown\":\n button.style.display = \"flex\";\n break;\n }\n}\n\n\n// eslint-disable-next-line block-spacing\nconst $fd9e139cff288f6e$export$d96f8f3d69dea3e1 = `The command you have passed is invalid.\\n\nType --help to read the documentation.\\n`;\nconst $fd9e139cff288f6e$export$f41e93e41e0535b3 = `This will reset bookmarks.\nMake sure you have a backup to import later on.\\n\\n\nAre you sure ?`;\nconst $fd9e139cff288f6e$export$f650c1089f65d166 = `This will reset everything.\nThere is no going back.\\n\nAre you sure?`;\nconst $fd9e139cff288f6e$export$a940d5fa056ae665 = `Maximum length allowed is 17 characters.`;\n\n\nfunction $5c8a802a57df9165$export$9483fc21a5fb7b9e(char) {\n if (char.length == 1) char = \"0\" + char;\n return char;\n}\n\n\nlet $137ee9d386afeb28$var$alertModalContainer;\nlet $137ee9d386afeb28$var$modalCancelButton;\nlet $137ee9d386afeb28$var$tickBoxField;\nlet $137ee9d386afeb28$var$submitButtons;\nconst $137ee9d386afeb28$var$showAlertDialog = (title = null, description = null, submitButtonNames = [\n \"Submit A\",\n \"Submit B\"\n], cancelButtonName = \"Ok\", tickBox = [\n null,\n null\n], listeners = [], onInit = null)=>{\n $137ee9d386afeb28$var$alertModalContainer = document.getElementById(\"alertDialogContainer\");\n if ($137ee9d386afeb28$var$alertModalContainer) $137ee9d386afeb28$var$alertModalContainer.remove();\n if (title) title = `

${title}

`;\n else title = \"\";\n if (description) description = `\n\t\t

${description}

\n\t`;\n else description = \"\";\n document.body.insertAdjacentHTML(\"afterbegin\", `\n\t\t
\n\t\t\t
\n\t\t\t\t${title}\n\t\t\t\t${description}\n\t\t\t\t
\n\t\t\t\t\t${cancelButtonName}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t`);\n if (submitButtonNames) submitButtonNames.forEach((e)=>{\n let id = e.replaceAll(\" \", \"-\").toLowerCase();\n id = `ALERT-BUTTON-${id}`;\n document.getElementById(\"alertDialogButtonsBar\").insertAdjacentHTML(\"afterbegin\", `\n\t\t\t\n\t\t\t${e}\n\t\t\t`);\n });\n if (tickBox[0]) {\n document.getElementById(\"alertDialogButtonsBar\").insertAdjacentHTML(\"beforebegin\", `\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t${tickBox[0]}\n\t\t\t\t\t \n\t\t`);\n $137ee9d386afeb28$var$tickBoxField = document.getElementById(\"tickBoxField\");\n }\n $137ee9d386afeb28$var$alertModalContainer = document.getElementById(\"alertDialogContainer\");\n $137ee9d386afeb28$var$modalCancelButton = document.getElementById(\"alertDialogCancelButton\");\n $137ee9d386afeb28$var$submitButtons = document.getElementsByClassName(\"alertDialogSubmitButton\");\n document.body.style.overflow = \"hidden\";\n $137ee9d386afeb28$var$modalCancelButton.focus();\n const promise = new Promise((resolve, reject)=>{\n $137ee9d386afeb28$var$alertModalContainer.style.alignItems = \"center\";\n $137ee9d386afeb28$var$alertModalContainer.style.opacity = \"1\";\n const resolveModal = ()=>{\n $137ee9d386afeb28$var$modalCancelButton.removeEventListener(\"click\", resolveModal);\n if (tickBox[0]) {\n $137ee9d386afeb28$var$tickBoxField.removeEventListener(\"change\", tickBox[1]);\n $137ee9d386afeb28$var$tickBoxField = $137ee9d386afeb28$var$tickBoxField.checked;\n }\n if (listeners) listeners.forEach((element, index)=>{\n $137ee9d386afeb28$var$submitButtons[index].removeEventListener(\"click\", element);\n });\n $137ee9d386afeb28$var$alertModalContainer.remove();\n document.body.style.overflow = \"auto\";\n // console.log(result);\n resolve($137ee9d386afeb28$var$tickBoxField);\n };\n $137ee9d386afeb28$var$modalCancelButton.addEventListener(\"click\", resolveModal);\n if (listeners) listeners.forEach((element, index)=>{\n $137ee9d386afeb28$var$submitButtons[index].addEventListener(\"click\", element);\n });\n if (tickBox[0]) $137ee9d386afeb28$var$tickBoxField.addEventListener(\"change\", tickBox[1]);\n });\n if (onInit) onInit();\n return promise;\n};\nconst $137ee9d386afeb28$export$de466dd8317b0b75 = {\n show: $137ee9d386afeb28$var$showAlertDialog,\n getCancelButton: ()=>{\n return $137ee9d386afeb28$var$modalCancelButton;\n },\n getSubmitButtons: ()=>{\n return $137ee9d386afeb28$var$submitButtons;\n },\n getCheckboxField: ()=>{\n return $137ee9d386afeb28$var$tickBoxField;\n }\n};\nconst $137ee9d386afeb28$export$53cf4afa15b2ee29 = (title, msg)=>{\n $137ee9d386afeb28$export$de466dd8317b0b75.show(title, msg, null, \"Ok\", [\n null,\n null\n ], null, null).then((res)=>console.log(res)).catch((e)=>console.error(e));\n};\n\n\nfunction $f061b87e4b28880c$export$9dd69f535df087a7(filename, ext) {\n const array = filename.split(\".\");\n array[array.length - 1] = ext;\n return array.join(\".\");\n}\n\n\nfunction $60e6c6ecd5ed99d0$export$5c069c93d2b7493f(ms) {\n let now = Date.now();\n const end = now + ms;\n while(now < end)now = Date.now();\n}\n\n\nfunction $b153d78f6d86cf85$export$55dcfff404500f65(color, opacity) {\n const glowOverlay = document.getElementById(\"gradient_overlay\");\n const wallpapersRollOverlay = document.getElementById(\"wallpapers\");\n const glowSetting = localStorage.getItem(\"glow\");\n if (opacity != null) {\n if (glowSetting != \"1\") glowOverlay.style.opacity = opacity;\n }\n if (color != null) {\n wallpapersRollOverlay.style.background = `linear-gradient(to top, rgb(${color}), 50%, #fbd3e900)`;\n glowOverlay.style.background = `linear-gradient(to top, rgb(${color}), 50%, #fbd3e900)`;\n }\n}\nfunction $b153d78f6d86cf85$export$6cc6c932fd45f5fe(color) {\n const i = document.getElementsByClassName(\"has-shadow\");\n for(let n = 0; n < i.length; n++)i[n].style.textShadow = `4px 4px 0 rgba(${color},.85), 6px 6px 0px black`;\n}\nfunction $b153d78f6d86cf85$export$63af0dfee1c9f91e(color) {\n document.documentElement.style.setProperty(\"--selection-color\", `rgba(${color}, .5)`);\n}\n\n\n\n\nlet $7566187318f3fcf8$export$399f7ebe17396880;\nlet $7566187318f3fcf8$export$35e9368ef982300f;\nlet $7566187318f3fcf8$export$a6c333b3ac275b1c = [];\nfunction $7566187318f3fcf8$export$7fc827c60c93f98d() {\n // Add wallpapers to HTML\n fetch((0, $5cb36cae53cff17f$export$9e325b1a7d5ca2be) + \"wallpapers_list.json\").then((response)=>{\n response.text().then((text)=>{\n $7566187318f3fcf8$export$a6c333b3ac275b1c = JSON.parse(text);\n $7566187318f3fcf8$var$resolveWallpapers();\n $7566187318f3fcf8$var$populateWallpapersInDOM();\n $7566187318f3fcf8$export$69ac15e1f107dc66();\n });\n }).catch((e)=>{\n console.log(e);\n window.open(\"./pages/error\", \"_self\");\n });\n}\nfunction $7566187318f3fcf8$export$5afc1366ebd24132(fileName, color) {\n $7566187318f3fcf8$export$399f7ebe17396880 = fileName;\n const overlay = document.getElementById(\"overlay\");\n // console.log('test ' + overlay.style.backdropFilter);\n overlay.style.backdropFilter = \"blur(1em)\";\n const temp = new Image();\n temp.src = (0, $5cb36cae53cff17f$export$9e325b1a7d5ca2be) + fileName;\n temp.onload = (e)=>{\n $7566187318f3fcf8$var$applyWallpaper($7566187318f3fcf8$export$399f7ebe17396880);\n localStorage.setItem(\"wallpaper\", $7566187318f3fcf8$export$399f7ebe17396880);\n (0, $5389e778e2dc8e49$export$38c14696b098549d)();\n };\n (0, $b153d78f6d86cf85$export$55dcfff404500f65)(color);\n (0, $b153d78f6d86cf85$export$6cc6c932fd45f5fe)(color);\n (0, $b153d78f6d86cf85$export$63af0dfee1c9f91e)(color);\n const inputThumb = fileName.split(\".\").join(\"-thumb.\");\n $7566187318f3fcf8$var$applyWallpaper(inputThumb);\n}\nfunction $7566187318f3fcf8$var$applyWallpaper(input) {\n document.body.style.backgroundImage = \"url(\" + (0, $5cb36cae53cff17f$export$9e325b1a7d5ca2be) + input + \")\";\n document.body.style.backgroundRepeat = \"no-repeat\";\n document.body.style.backgroundSize = \"cover\";\n document.body.style.backgroundAttachment = \"fixed\";\n document.body.style.backgroundPosition = \"center\";\n}\nfunction $7566187318f3fcf8$export$69ac15e1f107dc66() {\n const availableWallpapers = document.getElementsByClassName(\"thumb-group\");\n for (const n of availableWallpapers){\n const thumbnail = n.getElementsByClassName(\"thumbnail\")[0];\n const title = n.getElementsByClassName(\"thumb-title\")[0];\n n.classList.add(\"animate\");\n if (thumbnail.src.replace(\"-thumb\", \"\").includes($7566187318f3fcf8$export$399f7ebe17396880)) {\n title.style.opacity = \"1\";\n n.classList.remove(\"animate\");\n n.classList.add(\"highlighted\");\n } else {\n title.style.opacity = \"0\";\n n.classList.add(\"animate\");\n n.classList.remove(\"highlighted\");\n }\n }\n}\nfunction $7566187318f3fcf8$export$92f4861d1dbed109(event) {\n event.stopPropagation();\n let selection = event.target.title;\n if (!selection) selection = event.target.childNodes[1].title;\n // console.log(\"clicks \" + selection + event.target.childNodes[1].title);\n const wall = $7566187318f3fcf8$export$cbee429dab57b16a(selection);\n $7566187318f3fcf8$export$5afc1366ebd24132(wall[0], wall[1]);\n $7566187318f3fcf8$export$69ac15e1f107dc66();\n}\nfunction $7566187318f3fcf8$export$cbee429dab57b16a(title) {\n const wallpaper = $7566187318f3fcf8$export$a6c333b3ac275b1c.filter((item)=>{\n return item.title == title;\n })[0].file;\n const color = $7566187318f3fcf8$export$a6c333b3ac275b1c.filter((item)=>{\n return item.title == title;\n })[0].color[1];\n return [\n wallpaper,\n color\n ];\n}\nfunction $7566187318f3fcf8$var$resolveWallpapers() {\n $7566187318f3fcf8$export$399f7ebe17396880 = localStorage.getItem(\"wallpaper\");\n $7566187318f3fcf8$export$35e9368ef982300f = $7566187318f3fcf8$export$a6c333b3ac275b1c.filter((item)=>{\n return item.file == $7566187318f3fcf8$export$399f7ebe17396880;\n })[0].color[1];\n $7566187318f3fcf8$export$5afc1366ebd24132($7566187318f3fcf8$export$399f7ebe17396880, $7566187318f3fcf8$export$35e9368ef982300f);\n}\nfunction $7566187318f3fcf8$var$populateWallpapersInDOM() {\n const bar = document.getElementById(\"wallpapers\");\n for (const n of $7566187318f3fcf8$export$a6c333b3ac275b1c){\n let input = n.file;\n input = input.split(\".\").join(\"-thumb.\");\n const thumb = document.createElement(\"div\");\n thumb.className = \"thumb-group\";\n thumb.setAttribute(\"onclick\", \"changeWallpaper(event)\");\n thumb.setAttribute(\"onkeypress\", \"click_to_enter(event)\");\n thumb.setAttribute(\"tabindex\", \"3\");\n const div = document.createElement(\"div\");\n div.innerHTML = n.title;\n div.className = \"thumb-title\";\n thumb.appendChild(div);\n const img = document.createElement(\"img\");\n img.src = (0, $5cb36cae53cff17f$export$9e325b1a7d5ca2be) + input;\n img.className = \"thumbnail\";\n img.title = n.title;\n img.setAttribute(\"draggable\", \"false\");\n thumb.appendChild(img);\n bar.appendChild(thumb);\n }\n}\n\n\nfunction $35a5d35243d57eec$export$93f99a652c2501da(event) {\n event.stopPropagation();\n const bookmarksString = localStorage.saved_bookmarks;\n const d = new Date();\n (0, $dbebd6b4cf5c8fbe$export$30567b880d6812e6)(`casamia-bookmarks-only-${d.getFullYear()}-${d.getMonth() + 1}-${d.getDate()}.json`, bookmarksString);\n}\nfunction $35a5d35243d57eec$export$a9fa0dc32734aad5(event) {\n event.stopPropagation();\n const data = {\n ...localStorage\n };\n const backupString = JSON.stringify(data);\n const d = new Date();\n (0, $dbebd6b4cf5c8fbe$export$30567b880d6812e6)(`casamia-full-backup-${d.getFullYear()}-${d.getMonth() + 1}-${d.getDate()}.json`, backupString);\n}\nfunction $35a5d35243d57eec$export$428b3ccf7ba1af56() {\n // console.log(DOWNLOAD_WALLPAPERS_URL + selectedWallpaper);\n const element = document.createElement(\"a\");\n const hiResWall = (0, $f061b87e4b28880c$export$9dd69f535df087a7)((0, $7566187318f3fcf8$export$399f7ebe17396880), \"png\");\n element.setAttribute(\"href\", (0, $5cb36cae53cff17f$export$e62d6b7c94af1035) + hiResWall);\n element.setAttribute(\"download\", hiResWall);\n element.style.display = \"none\";\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n/* alert(\n\t\"If the download doesn't start, disable the pop-up blocker extensions.\"\n ); */ }\nfunction $35a5d35243d57eec$export$bc07bbfa24c546f2(event) {\n // http://www.google.com/s2/favicons?domain=google.com\n const customBookmarks = document.getElementsByClassName(\"custom_bookmark\");\n const spans = document.getElementsByClassName(\"custom_link_name\");\n for(let i = 0; i < customBookmarks.length; i++){\n spans[i].style.display = \"none\";\n const newFavicon = document.createElement(\"img\");\n newFavicon.className = \"ext_favicon\";\n const domain = customBookmarks[i].href;\n newFavicon.src = \"http://www.google.com/s2/favicons?sz=32&domain=\" + domain;\n customBookmarks[i].appendChild(newFavicon);\n }\n}\nlet $35a5d35243d57eec$var$clockLoop = null;\nfunction $35a5d35243d57eec$export$a1096b222c632831(value) {\n const target = \"widget-slide\";\n switch(value){\n case \"off\":\n clearInterval($35a5d35243d57eec$var$clockLoop);\n $35a5d35243d57eec$var$clockLoop = null;\n break;\n case \"on\":\n if ($35a5d35243d57eec$var$clockLoop) clearInterval($35a5d35243d57eec$var$clockLoop);\n $35a5d35243d57eec$var$clockLoop = setInterval(()=>$35a5d35243d57eec$var$refreshClock(target), 1000);\n break;\n }\n}\nfunction $35a5d35243d57eec$var$refreshClock(targetClass) {\n const target = document.getElementsByClassName(targetClass);\n const date = new Date();\n let hours = date.getHours();\n let amPm = (int)=>{\n if (int == 0) {\n hours.toString();\n hours = \"12\";\n return \"AM\";\n } else if (int > 0 && int < 12) {\n hours = (0, $5c8a802a57df9165$export$9483fc21a5fb7b9e)(hours.toString());\n return \"AM\";\n } else if (int == 12) {\n hours = \"12\";\n return \"PM\";\n } else if (int > 12) {\n hours = hours - 12;\n hours.toString();\n hours = (0, $5c8a802a57df9165$export$9483fc21a5fb7b9e)(hours);\n return \"PM\";\n }\n };\n const minutes = (0, $5c8a802a57df9165$export$9483fc21a5fb7b9e)(date.getMinutes().toString());\n const seconds = (0, $5c8a802a57df9165$export$9483fc21a5fb7b9e)(date.getSeconds().toString());\n amPm = amPm(hours);\n let separator = \":\";\n for(let i = 0; i < target.length; i++){\n if (seconds % 2 === 0) separator = `:`;\n else separator = `:`;\n target[i].innerHTML = `${hours}${separator}${minutes} ${(0, $5389e778e2dc8e49$export$94dddc8645b6197d)(amPm.toString())}`;\n }\n// subtitle.style.display = 'block';\n// console.log(`${hours}:${minutes}:${seconds} ${amPm}`);\n}\nfunction $35a5d35243d57eec$export$4bb88037aaddd25e() {\n const subtitle = document.getElementById(\"subtitle\");\n const user = localStorage.getItem(\"userName\");\n const date = new Date();\n const hours = date.getHours();\n let greeting = (int)=>{\n if (int < 12) return `Good Morning, ${user}`;\n else if (int >= 12 && int <= 18) return `Good Afternoon, ${user}`;\n else if (int >= 18) return `Good Evening, ${user}`;\n };\n greeting = greeting(hours);\n subtitle.innerText = greeting;\n}\nfunction $35a5d35243d57eec$export$7b9bdb854c76c60c() {\n const gradientOverlay = document.getElementById(\"gradient_overlay\");\n let glow = localStorage.getItem(\"glow\");\n if (glow == null || glow == \"0\") {\n glow = \"1\";\n gradientOverlay.style.opacity = 1;\n localStorage.setItem(\"glow\", \"1\");\n } else if (glow == \"1\") {\n glow = \"0\";\n gradientOverlay.style.opacity = 0;\n localStorage.setItem(\"glow\", \"0\");\n }\n}\nfunction $35a5d35243d57eec$export$a7190c76717f8270(event, text = \"\") {\n let file;\n if (event) {\n event.stopPropagation();\n file = event.target.files[0].text();\n } else file = text;\n function result(file) {\n const importedBookmarks = JSON.parse(file);\n if (!importedBookmarks[0]?.id) {\n console.log(importedBookmarks);\n (0, $137ee9d386afeb28$export$53cf4afa15b2ee29)(\"Failed\", \"The backup does not seem to be valid.\");\n event.target.value = null;\n return;\n }\n const ids = [];\n for (const bookmark of (0, $dbebd6b4cf5c8fbe$export$8d4841631317485f))ids.push(bookmark.id);\n for (const i of importedBookmarks){\n if (ids.includes(i.id)) {\n (0, $60e6c6ecd5ed99d0$export$5c069c93d2b7493f)(1);\n i.id = Date.now();\n }\n ids.push(i.id);\n (0, $dbebd6b4cf5c8fbe$export$7c6b17cf45d2b7e3)(i.link, i.name, i.id);\n }\n window.location.reload();\n }\n file.then(result);\n}\nfunction $35a5d35243d57eec$export$72227cc49c591c29(event, text = \"\") {\n let file;\n if (event) {\n event.stopPropagation();\n file = event.target.files[0].text();\n } else file = text;\n function result(file) {\n const importedBackup = JSON.parse(file);\n if (importedBackup.onBoarding) {\n const keys = Object.keys(importedBackup);\n keys.forEach((e, i)=>{\n localStorage.setItem(e, importedBackup[keys[i]]);\n });\n window.location.reload();\n } else {\n console.log(importedBackup);\n (0, $137ee9d386afeb28$export$53cf4afa15b2ee29)(\"Failed\", \"The backup does not seem to be valid.\");\n event.target.value = null;\n }\n }\n file.then(result);\n}\nfunction $35a5d35243d57eec$export$a545fc2d14cf132f(event) {\n if (confirm((0, $fd9e139cff288f6e$export$f41e93e41e0535b3))) {\n localStorage.removeItem(\"saved_bookmarks\");\n window.location.reload();\n }\n}\nfunction $35a5d35243d57eec$export$ffe8c06b7e356699(event) {\n if (confirm((0, $fd9e139cff288f6e$export$f650c1089f65d166))) {\n localStorage.clear();\n window.location.reload();\n }\n}\nfunction $35a5d35243d57eec$export$1ffbc9766749ec0f(id) {\n const element = document.getElementById(id);\n element.classList.toggle(\"nested-close\");\n} // export function toggleDim(event) {\n // event.stopPropagation();\n // const checkboxWall = document.getElementById('dim-setting');\n // const overlay = document.getElementById('overlay');\n // if (checkboxWall.checked == false) {\n // overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n // localStorage.setItem('dim_wallpaper', 'rgba(0, 0, 0, 0.375)');\n // } else {\n // overlay.style.backgroundColor = 'rgb(0, 0, 0, 0.25)';\n // localStorage.setItem('dim_wallpaper', 'rgb(0, 0, 0, 0.25)');\n // }\n // };\n // export function toggleBlur() {\n // // event.stopPropagation();\n // const checkboxBlur = document.getElementById('toggle-blur-cb');\n // // const overlay = document.getElementById('overlay');\n // if (checkboxBlur.checked == true) {\n // toggleBackdropBlur('overlay', 1);\n // localStorage.setItem('blur_wallpaper', 'blur(1em)');\n // } else {\n // toggleBackdropBlur('overlay', 0);\n // localStorage.setItem('blur_wallpaper', 'blur(0em)');\n // }\n // };\n // export function toggleWallpaper(event) {\n // event.stopPropagation();\n // const checkboxWall = document.getElementById('toggle-wallpaper-cb');\n // const overlay = document.getElementById('overlay');\n // if (checkboxWall.checked == false) {\n // overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n // localStorage.setItem('disable_wallpaper', 'rgba(0, 0, 0, 0.375)');\n // } else {\n // overlay.style.backgroundColor = 'rgb(0, 0, 0)';\n // localStorage.setItem('disable_wallpaper', 'rgb(0, 0, 0)');\n // }\n // };\n // export function toggleLabs(event) {\n // // event.stopPropagation();\n // console.log('called labs');\n // const checkboxLabs = document.getElementById('toggle-labs-cb');\n // const labsDiv = document.getElementById('labs');\n // if (checkboxLabs.checked == true) {\n // labsDiv.style.display = 'block';\n // localStorage.setItem('labs', 'block');\n // } else {\n // labsDiv.style.display = 'none';\n // localStorage.setItem('labs', 'none');\n // }\n // };\n\n\nconst $8a7824b4bfcd83d3$export$4e7ae031e144fca5 = [\n \"default-text-style\",\n \"brush-text-style-1\",\n \"brush-text-style-2\",\n \"brush-text-style-3\"\n];\n\n\nfunction $a68193f3fd1cac67$export$91e00acd6f5df1a() {\n return document.getElementsByClassName(\"searchTerm\")[0];\n}\nfunction $a68193f3fd1cac67$export$fd0da135e577952c(id, event, func) {\n if (event == null) return;\n return document.getElementById(id).addEventListener(event, func, {\n passive: true\n });\n}\nfunction $a68193f3fd1cac67$export$14f70b5a16997eba(className, event, func) {\n const classList = document.getElementsByClassName(className);\n for(let i = 0; i < classList.length; i++)classList[i].addEventListener(event, func);\n}\nfunction $a68193f3fd1cac67$export$ef11c1846b2bd51b(tagName, event, func) {\n const tagList = document.getElementsByTagName(tagName);\n for(let i = 0; i < tagList.length; i++)tagList[i].addEventListener(event, func);\n}\nfunction $a68193f3fd1cac67$export$5c6a0752a4296de5(event) {\n if (event.key === \"Enter\" || event.key === \" \") event.target.click();\n}\nfunction $a68193f3fd1cac67$export$72b5cc31a1a78e6a() {\n fetch((0, $5cb36cae53cff17f$export$abfb1cc23f527c0c)).then((res)=>(0, $35a5d35243d57eec$export$a7190c76717f8270)(null, res.text()));\n}\nfunction $a68193f3fd1cac67$export$6f8b34931c81d91d(id) {\n document.getElementById(id).style.backdropFilter = `blur(0.9em)`;\n setTimeout(()=>{\n document.getElementById(id).style.backdropFilter = `blur(1em)`;\n }, 1);\n}\nfunction $a68193f3fd1cac67$export$a960e0fd78ecc153() {\n const wallpaper = document.getElementsByClassName(\"highlighted\")[0];\n setTimeout(()=>{\n if (wallpaper) wallpaper.scrollIntoView({\n inline: \"center\"\n });\n }, 10);\n}\nasync function $a68193f3fd1cac67$export$63dadd042c238f5f(id, int = 0) {\n document.getElementById(id).className = (0, $8a7824b4bfcd83d3$export$4e7ae031e144fca5)[int];\n}\nlet $a68193f3fd1cac67$var$i = 0;\nfunction $a68193f3fd1cac67$export$e17c25869bd3112b(event = null, int) {\n if (event) event.stopPropagation();\n $a68193f3fd1cac67$var$i += int;\n if ($a68193f3fd1cac67$var$i < 0) $a68193f3fd1cac67$var$i = (0, $8a7824b4bfcd83d3$export$4e7ae031e144fca5).length - 1;\n if ($a68193f3fd1cac67$var$i >= (0, $8a7824b4bfcd83d3$export$4e7ae031e144fca5).length) $a68193f3fd1cac67$var$i = 0;\n $a68193f3fd1cac67$export$63dadd042c238f5f(\"main-heading\", $a68193f3fd1cac67$var$i);\n}\nfunction $a68193f3fd1cac67$export$281e8fc8ea1e9fba(str) {\n const arrows = document.getElementsByClassName(\"arrows\");\n switch(str){\n case \"show\":\n for(let i = 0; i < arrows.length; i++)arrows[i].style.height = \"2em\";\n break;\n case \"hide\":\n for(let i = 0; i < arrows.length; i++)arrows[i].style.height = \"0em\";\n break;\n }\n}\nfunction $a68193f3fd1cac67$export$2b178751aa586095(element, int) {\n const w = document.getElementById(\"main-heading-slider\");\n const width = w.scrollWidth;\n const el = document.getElementsByClassName(element);\n const currentPos = w.scrollLeft;\n let newPos;\n const step = w.scrollWidth / el.length;\n // console.log(width, w.clientWidth)\n if (int == 1) {\n newPos = currentPos + step;\n if (newPos > width) newPos = width;\n console.log(newPos);\n w.scrollLeft = newPos;\n } else if (int == -1) {\n newPos = currentPos - step;\n if (newPos < 0) newPos = 0;\n console.log(newPos);\n w.scrollLeft = newPos;\n }\n}\n\n\n\n\n\n\n\n\n// export const downloadFile = (path, filename) => {\n// // Create a new link\n// const anchor = document.createElement('a');\n// anchor.href = path;\n// anchor.download = filename;\n// // Append to the DOM\n// document.body.appendChild(anchor);\n// // Trigger `click` event\n// anchor.click();\n// // Remove element from DOM\n// document.body.removeChild(anchor);\n// };\nfunction $c7eb108208597e4b$export$bb3b75778e3e272(url) {\n // console.log(WALLPAPERS_URL + selectedWallpaper);\n const element = document.createElement(\"a\");\n element.setAttribute(\"href\", url);\n element.setAttribute(\"download\", \"CasaMia-Downloaer\");\n element.target = \"_blank\";\n element.style.display = \"none\";\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n/* alert(\n \"If the download doesn't start, disable the pop-up blocker extensions.\"\n); */ }\n\n\nfunction $d7c60f3aead25bb6$export$457f6685672fd05e(input) {\n // var input = getSearchTerm().value;\n if (input.startsWith(\"--\")) return true;\n return false;\n}\nfunction $d7c60f3aead25bb6$var$parseDL(url) {\n fetch(`https://casamia.cambo.in/api/?url=${url}`).then((results)=>{\n return results.json();\n }).then((res)=>{\n const download = confirm(\"Download video?\");\n if (download) (0, $c7eb108208597e4b$export$bb3b75778e3e272)(res.url, \"CasaMia_Downloader.mp4\");\n console.log(res.url);\n });\n}\nfunction $d7c60f3aead25bb6$var$searchViaCli(url, searchTerm) {\n let searchQuery = searchTerm.substr(4);\n searchQuery = searchQuery.split(\",\");\n searchQuery.forEach((value)=>{\n // value = encodeURIComponent(value);\n const o = window.open(`${url}${value}`, \"_blank\");\n if (o == null) {\n (0, $137ee9d386afeb28$export$53cf4afa15b2ee29)(\"Information\", \"Allow pop-ups for this feature to work properly.\");\n return;\n }\n });\n}\nfunction $d7c60f3aead25bb6$export$388d3361690d08d6(input) {\n const forBatchSearch = input.toLowerCase();\n input = input.split(\"--\").join(\"\");\n input = input.split(\" \");\n switch(input[0].toLowerCase()){\n case \"help\":\n window.open(`/pages/help/index.html`, \"_self\");\n break;\n case \"reset\":\n if (input[1] == \"bookmarks\") (0, $35a5d35243d57eec$export$a545fc2d14cf132f)();\n else if (input[1] == \"all\") (0, $35a5d35243d57eec$export$ffe8c06b7e356699)();\n else (0, $137ee9d386afeb28$export$53cf4afa15b2ee29)(\"Error\", (0, $fd9e139cff288f6e$export$d96f8f3d69dea3e1));\n break;\n case \"fetch\":\n if (input[1] == \"default\") (0, $a68193f3fd1cac67$export$72b5cc31a1a78e6a)();\n else (0, $137ee9d386afeb28$export$53cf4afa15b2ee29)(\"Error\", (0, $fd9e139cff288f6e$export$d96f8f3d69dea3e1));\n break;\n case \"dl\":\n if (input[1]) $d7c60f3aead25bb6$var$parseDL(input[1]);\n else (0, $137ee9d386afeb28$export$53cf4afa15b2ee29)(\"Failed\", `Enter a valid YT address`);\n break;\n case \"clock\":\n window.open(`./pages/clock`, \"_self\");\n break;\n case \"count\":\n window.open(`./pages/countdown`, \"_self\");\n break;\n case \"g\":\n $d7c60f3aead25bb6$var$searchViaCli((0, $5cb36cae53cff17f$export$f288c99438ae5042), forBatchSearch);\n break;\n case \"b\":\n $d7c60f3aead25bb6$var$searchViaCli((0, $5cb36cae53cff17f$export$eaf87ba60b13cb7b), forBatchSearch);\n break;\n case \"d\":\n $d7c60f3aead25bb6$var$searchViaCli((0, $5cb36cae53cff17f$export$7f0ed2ad69a4477b), forBatchSearch);\n break;\n default:\n (0, $137ee9d386afeb28$export$53cf4afa15b2ee29)(\"Error\", (0, $fd9e139cff288f6e$export$d96f8f3d69dea3e1));\n }\n}\n\n\n\nconst $851bdc38234428b7$var$notifyModalContainer = document.getElementById(\"notifyContainer\");\nlet $851bdc38234428b7$var$modalCancelButton;\nlet $851bdc38234428b7$var$notify;\nconst $851bdc38234428b7$var$showNotifyDialog = (description, ms = \"5000\", onClick = null)=>{\n const id = Date.now();\n $851bdc38234428b7$var$notify = document.getElementById(`notifyModal-${id}`);\n if ($851bdc38234428b7$var$notify) $851bdc38234428b7$var$notify.parentNode.remove();\n $851bdc38234428b7$var$notifyModalContainer.insertAdjacentHTML(\"afterbegin\", `\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t

\r\n\t\t\t\t\t${description}\r\n\t\t\t\t

\r\n\t\t\t\t
\r\n\t\t\t
\t\r\n\t\t\t\r\n\t\t
\r\n\t`);\n const notifyLoader = document.getElementById(`notifyLoader-${id}`);\n $851bdc38234428b7$var$notify = document.getElementById(`notifyModal-${id}`);\n if (onClick) $851bdc38234428b7$var$notify.addEventListner(\"click\", onClick);\n const closeNotification = (event)=>{\n if (onClick) $851bdc38234428b7$var$notify.removeEventListner(\"click\", onClick);\n $851bdc38234428b7$var$modalCancelButton.removeEventListener(\"click\", closeNotification);\n event.target.parentNode.remove();\n };\n $851bdc38234428b7$var$modalCancelButton = document.getElementById(`notifyDialogCancelButton-${id}`);\n $851bdc38234428b7$var$modalCancelButton.addEventListener(\"click\", closeNotification);\n setTimeout(()=>{\n const close = $851bdc38234428b7$var$modalCancelButton;\n setTimeout(()=>{\n close.click();\n }, ms);\n notifyLoader.style.transition = ms + \"ms\";\n $851bdc38234428b7$var$notify.style.opacity = \"1\";\n $851bdc38234428b7$var$notify.style.marginTop = \"2em\";\n notifyLoader.style.width = \"0%\";\n }, 50);\n};\nconst $851bdc38234428b7$export$dd80a68918412a62 = {\n show: $851bdc38234428b7$var$showNotifyDialog\n};\n\n\nconst $70ed80e2236f14cc$var$MSG = \"You must enter a search query to continue.\";\nconst $70ed80e2236f14cc$var$container = document.querySelector(\".autofillContainer\");\nconst $70ed80e2236f14cc$var$searchBG = document.querySelector(\"#searchBarFocusMode\");\nlet $70ed80e2236f14cc$var$myScript = \"\";\nfunction $70ed80e2236f14cc$var$loadSearchDomain() {\n let domain = localStorage.getItem(\"default-search-url\");\n if (domain == null) {\n localStorage.setItem(\"default-search-url\", (0, $5cb36cae53cff17f$export$f288c99438ae5042));\n domain = localStorage.getItem(\"default-search-url\");\n }\n return domain;\n}\nfunction $70ed80e2236f14cc$export$82d40063fdd5ebb9() {\n let input = (0, $a68193f3fd1cac67$export$91e00acd6f5df1a)().value;\n if (input != \"\") {\n $70ed80e2236f14cc$var$updateAutocompleteDatabase(input);\n if ((0, $3f3f917efd553266$export$c4ea027afed2fe4a)(input) && !input.includes(\" \")) {\n // if (!input.startsWith('http')) input = `http://${input}`;\n window.open(input, \"_self\");\n return;\n }\n if (!(0, $d7c60f3aead25bb6$export$457f6685672fd05e)(input)) {\n input = encodeURIComponent(input);\n // input = input.split(\" \").join(\"+\");\n const url = $70ed80e2236f14cc$var$loadSearchDomain() + input;\n window.open(url, \"_self\");\n } else (0, $d7c60f3aead25bb6$export$388d3361690d08d6)(input);\n } else (0, $851bdc38234428b7$export$dd80a68918412a62).show($70ed80e2236f14cc$var$MSG);\n}\nfunction $70ed80e2236f14cc$export$e669603af3a9dcf4() {\n let input = (0, $a68193f3fd1cac67$export$91e00acd6f5df1a)().value;\n if (input != \"\") {\n input = encodeURIComponent(input);\n // input = input.split(\" \").join(\"%20\");\n const url = (0, $5cb36cae53cff17f$export$13bef53858783c8) + input + \"/Movies/time/desc/1/\";\n window.open(url);\n } else (0, $851bdc38234428b7$export$dd80a68918412a62).show($70ed80e2236f14cc$var$MSG);\n}\nfunction $70ed80e2236f14cc$export$984d890fc49ac622() {\n let input = (0, $a68193f3fd1cac67$export$91e00acd6f5df1a)().value;\n if (input != \"\") {\n input = encodeURIComponent(input);\n const url = (0, $5cb36cae53cff17f$export$13bef53858783c8) + input + \"/TV/size/desc/1/\";\n window.open(url);\n } else (0, $851bdc38234428b7$export$dd80a68918412a62).show($70ed80e2236f14cc$var$MSG);\n}\nfunction $70ed80e2236f14cc$export$79863f625c4e57() {\n let input = (0, $a68193f3fd1cac67$export$91e00acd6f5df1a)().value;\n if (input != \"\") {\n input = encodeURIComponent(input);\n const url = (0, $5cb36cae53cff17f$export$13bef53858783c8) + input + \"/Games/time/desc/1/\";\n window.open(url);\n } else (0, $851bdc38234428b7$export$dd80a68918412a62).show($70ed80e2236f14cc$var$MSG);\n}\nfunction $70ed80e2236f14cc$export$f0cc4cb452476a16() {\n let input = (0, $a68193f3fd1cac67$export$91e00acd6f5df1a)().value;\n if (input != \"\") {\n input = encodeURIComponent(input);\n const url = (0, $5cb36cae53cff17f$export$13bef53858783c8) + input + \"/Other/seeders/desc/1/\";\n window.open(url);\n } else (0, $851bdc38234428b7$export$dd80a68918412a62).show($70ed80e2236f14cc$var$MSG);\n}\nlet $70ed80e2236f14cc$var$returnedSuggestions = [];\nwindow.googleSuggestions = (data)=>{\n $70ed80e2236f14cc$var$returnedSuggestions = [];\n const inputQuery = (0, $a68193f3fd1cac67$export$91e00acd6f5df1a)().value;\n $70ed80e2236f14cc$var$returnedSuggestions = data[1];\n if (inputQuery) {\n $70ed80e2236f14cc$var$showAutofillBox(inputQuery, $70ed80e2236f14cc$var$returnedSuggestions);\n $70ed80e2236f14cc$var$expandAutofill(inputQuery);\n // console.log(returnedSuggestions);\n }\n};\nfunction $70ed80e2236f14cc$export$fc2ed6e8c7db0d26(event) {\n const oldInput = sessionStorage.getItem(\"input\");\n const input = event.target.value;\n sessionStorage.setItem(\"input\", input);\n $70ed80e2236f14cc$var$switchToCLI(input);\n $70ed80e2236f14cc$var$switchToURL(input);\n if (!input) {\n $70ed80e2236f14cc$var$clearSuggestions();\n setTimeout(()=>{\n $70ed80e2236f14cc$export$c6c617d92c407e82();\n }, 1);\n return;\n }\n $70ed80e2236f14cc$var$expandAutofill(input);\n if (input != oldInput) $70ed80e2236f14cc$var$googleAutocomplete(input);\n}\nconst $70ed80e2236f14cc$var$googleAutocomplete = (input)=>{\n if ($70ed80e2236f14cc$var$myScript !== \"\") document.body.removeChild($70ed80e2236f14cc$var$myScript);\n const provider = \"https://suggestqueries.google.com/complete/search?client=firefox&callback=googleSuggestions&q=\";\n $70ed80e2236f14cc$var$myScript = document.createElement(\"script\");\n $70ed80e2236f14cc$var$myScript.src = `${provider}${input}`;\n document.body.appendChild($70ed80e2236f14cc$var$myScript);\n};\nconst $70ed80e2236f14cc$var$switchToCLI = (input)=>{\n const btnIcon = document.getElementById(\"search-btn-icon\");\n const currentIcon = localStorage.getItem(\"default-search-icon\");\n if ((0, $d7c60f3aead25bb6$export$457f6685672fd05e)(input)) btnIcon.className = \"fa fa-terminal\";\n else btnIcon.className = currentIcon;\n};\nconst $70ed80e2236f14cc$var$switchToURL = (input)=>{\n const btnIcon = document.getElementById(\"search-btn-icon\");\n const currentIcon = localStorage.getItem(\"default-search-icon\");\n if ((0, $3f3f917efd553266$export$c4ea027afed2fe4a)(input)) btnIcon.className = \"fa fa-globe\";\n else btnIcon.className = currentIcon;\n};\nconst $70ed80e2236f14cc$export$c6c617d92c407e82 = ()=>{\n $70ed80e2236f14cc$var$searchBG.style.opacity = \"0\";\n $70ed80e2236f14cc$var$container.style.paddingBlock = \"0em\";\n $70ed80e2236f14cc$var$container.style.height = \"0px\";\n setTimeout(()=>{\n $70ed80e2236f14cc$var$searchBG.style.display = \"none\";\n }, 200);\n};\nconst $70ed80e2236f14cc$var$expandAutofill = (input)=>{\n const items = document.querySelectorAll(\".autofillItem\");\n if (input.length) {\n $70ed80e2236f14cc$var$searchBG.style.display = \"block\";\n setTimeout(()=>{\n if (items.length) {\n const d = items[0].getBoundingClientRect();\n const calc = d.height * items.length + d.height * 1.5;\n $70ed80e2236f14cc$var$container.style.height = `${calc}px`;\n $70ed80e2236f14cc$var$container.style.paddingBlockStart = \"0em\";\n }\n $70ed80e2236f14cc$var$searchBG.style.opacity = \"1\";\n }, 1);\n }\n};\nconst $70ed80e2236f14cc$var$clearSuggestions = ()=>{\n const items = document.querySelectorAll(\".autofillItem\");\n items.forEach((e)=>{\n e.remove();\n });\n};\nconst $70ed80e2236f14cc$var$showAutofillBox = (input, cloudInput)=>{\n input = input.toLowerCase();\n const db = JSON.parse(localStorage.getItem(\"autocompleteDatabase\"));\n if (!db) localStorage.setItem(\"autocompleteDatabase\", (0, $5cb36cae53cff17f$export$c73e34d3fbf60d07));\n const filteredArray = db.filter((e)=>{\n if (e == input) return;\n else return e.toLowerCase().startsWith(input);\n });\n function autofill(event) {\n (0, $a68193f3fd1cac67$export$91e00acd6f5df1a)().value = event.target.innerHTML;\n const e = new InputEvent(\"input\");\n (0, $a68193f3fd1cac67$export$91e00acd6f5df1a)().dispatchEvent(e);\n (0, $a68193f3fd1cac67$export$91e00acd6f5df1a)().focus();\n }\n const generateSuggestions = (filteredArray)=>{\n $70ed80e2236f14cc$var$clearSuggestions();\n if (!input) return;\n const theme = sessionStorage.getItem(\"searchbar-color-theme-drop\");\n const order = sessionStorage.getItem(\"searchbar-position-drop\");\n if (order == \"bottom\") $70ed80e2236f14cc$var$container.style.flexDirection = \"column-reverse\";\n else $70ed80e2236f14cc$var$container.style.flexDirection = \"column\";\n let i = 0;\n for (const e of filteredArray){\n if (i == 6) break;\n $70ed80e2236f14cc$var$container.insertAdjacentHTML(\"beforeend\", `\n\t\t\t\t${e}\n `);\n i++;\n }\n for (const e of cloudInput){\n if (i == 10) break;\n $70ed80e2236f14cc$var$container.insertAdjacentHTML(\"beforeend\", `\n \t\t${e}\n `);\n i++;\n }\n };\n generateSuggestions(filteredArray);\n const items = document.querySelectorAll(\".autofillItem\");\n items.forEach((e)=>{\n e.addEventListener(\"click\", autofill);\n // e.addEventListener('focus', autofill);\n e.addEventListener(\"keydown\", (0, $a68193f3fd1cac67$export$5c6a0752a4296de5));\n });\n};\nfunction $70ed80e2236f14cc$export$77ecf7caaa97c5fa(event) {\n if (event.key == \"Enter\") document.querySelector(\"#search-btn\").click();\n}\nconst $70ed80e2236f14cc$var$updateAutocompleteDatabase = (entry)=>{\n const db = JSON.parse(localStorage.getItem(\"autocompleteDatabase\"));\n const set = new Set(db);\n set.add(entry.toLowerCase());\n const update = Array.from(set);\n localStorage.setItem(\"autocompleteDatabase\", JSON.stringify(update));\n};\n\n\n\nlet $75590c282c4b6d2f$var$previousClick = null;\nfunction $75590c282c4b6d2f$export$7d026bf51c574e0d() {\n if ($75590c282c4b6d2f$var$previousClick) $75590c282c4b6d2f$var$previousClick.classList.toggle(\"loader\");\n $75590c282c4b6d2f$var$previousClick = null;\n}\nfunction $75590c282c4b6d2f$export$9c50633bb373449b(event) {\n // console.log(event);\n event.stopPropagation();\n // event.preventDefault();\n $75590c282c4b6d2f$export$7d026bf51c574e0d();\n const click = event.target;\n $75590c282c4b6d2f$var$previousClick = click;\n click.classList.toggle(\"loader\");\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction $af46b3898e95fec2$export$6719b8810e09631c() {\n let userName = localStorage.getItem(\"userName\");\n if (userName) {\n (0, $73ae58c03c087314$export$582bc754b5da294a).show(\"Update your name\", (0, $fd9e139cff288f6e$export$a940d5fa056ae665), [\n \"Change name to\"\n ], \"Update\", \"Cancel\", null, [\n (0, $9b503205b15d65b6$export$302ed7cda67b07d7),\n null\n ], ()=>{\n (0, $73ae58c03c087314$export$582bc754b5da294a).getInputFields()[0].setAttribute(\"maxlength\", 17);\n (0, $73ae58c03c087314$export$582bc754b5da294a).getInputFields()[0].value = userName;\n }).then((res)=>{\n userName = res.inputValues[0];\n localStorage.setItem(\"userName\", userName);\n (0, $5389e778e2dc8e49$export$bf7f0e9e24ecf9d1)();\n (0, $35a5d35243d57eec$export$4bb88037aaddd25e)();\n return;\n }).catch((e)=>{\n console.error(e);\n return;\n });\n return;\n }\n if (!userName) {\n const onBoardingInProgress = (0, $73ae58c03c087314$export$582bc754b5da294a).show(\"Welcome to Casa Mia\", `Hi! We are so excited to see you here.\n Please fill out the following details before moving forward. `, [\n `Your name`\n ], \"Proceed\", null, null, [\n (0, $9b503205b15d65b6$export$302ed7cda67b07d7),\n null\n ], ()=>{\n (0, $73ae58c03c087314$export$582bc754b5da294a).getInputFields()[0].setAttribute(\"maxlength\", 17);\n });\n onBoardingInProgress.then((res)=>{\n userName = res.inputValues[0];\n localStorage.setItem(\"userName\", userName);\n localStorage.setItem(\"onBoarding\", \"1\");\n return;\n }).catch((e)=>{\n console.error(e);\n return;\n });\n return onBoardingInProgress;\n }\n}\nfunction $af46b3898e95fec2$export$e96749f6e9366505() {\n const onBoardingInProgress = $af46b3898e95fec2$export$6719b8810e09631c();\n localStorage.setItem(\"onBoarding\", \"0\");\n localStorage.setItem(\"advDropdownValues\", JSON.stringify((0, $5cb36cae53cff17f$export$26368a7293f8b58d)));\n localStorage.setItem(\"wallpaper\", (0, $5cb36cae53cff17f$export$4f84be79598755f8));\n localStorage.setItem(\"autocompleteDatabase\", (0, $5cb36cae53cff17f$export$c73e34d3fbf60d07));\n localStorage.setItem(\"selected-widget-style\", \"widget-1\");\n return onBoardingInProgress;\n}\n\n\n\nfunction $7f5a022d19b7598c$export$f991f204b517fa6f() {\n const select = document.getElementsByTagName(\"select\");\n const dropdownPositions = {};\n for (const i of select)dropdownPositions[i.id] = i.value;\n localStorage.setItem(\"advDropdownValues\", JSON.stringify(dropdownPositions));\n (0, $5389e778e2dc8e49$export$38c14696b098549d)();\n}\n // export function saveButtonValues() {\n // const previews = document.getElementsByClassName('custom-button');\n // const buttonPreviews = {};\n // for (const i of previews) {\n // buttonPreviews[i.id] = i.value;\n // };\n // localStorage\n // .setItem('advButtonPreviews', JSON.stringify(buttonPreviews));\n // loadButtonPreviews();\n // };\n // export function loadButtonPreviews() {\n // let loadedFromStorage = localStorage.getItem('advButtonPreviews');\n // if (!loadedFromStorage) return;\n // loadedFromStorage =\n // Object.entries(JSON.parse(loadedFromStorage));\n // for (const i of loadedFromStorage) {\n // document.getElementById(i[0] + '-preview').textContent = i[1];\n // }\n // };\n\n\nfunction $a1e98fe1acf22182$export$820fb7fb68841687(id) {\n fetch(\"https://api.github.com/repos/lscambo13/casamia/commits/HEAD\").then((response)=>{\n response.json().then((response)=>{\n const date = new Date(response.commit.committer.date);\n let time = date.toISOString();\n time = time.slice(0, time.length - 5);\n time = time.replaceAll(\"T\", \"-\").replaceAll(\":\", \"\").replaceAll(\"-\", \".\");\n const element = document.getElementById(id);\n element.innerHTML = `Version ${time}`;\n }).catch((e)=>{\n console.error(\"getLastUpdated\", e);\n });\n }).catch((e)=>{\n console.error(\"getLastUpdated\", e);\n });\n}\n\n\nfunction $3422f2542f1843ad$export$120f25d091dbb0c6(int) {\n document.documentElement.style.setProperty(\"--blur-one-em\", `blur(${int}em)`);\n document.documentElement.style.setProperty(\"--blur-one-px\", `blur(${int}px)`);\n}\n\n\nlet $808733721e15f082$var$pause = false;\nfunction $808733721e15f082$export$3c6191f3f57dc485(boolean) {\n $808733721e15f082$var$pause = boolean;\n $808733721e15f082$export$940e1bb9f0126de();\n}\nfunction $808733721e15f082$export$940e1bb9f0126de() {\n let date = new Date();\n if (date.getMonth() == 11 && date.getDate() > 17 && date.getDate() < 32) // console.log(date.getMonth() == 11, date.getDate() > 17, date.getDate() < 32)\n $808733721e15f082$var$letItSnow();\n}\nfunction $808733721e15f082$var$letItSnow() {\n $808733721e15f082$var$pause = true;\n //canvas init\n var canvas = document.getElementById(\"canvasFar\");\n var ctx = canvas.getContext(\"2d\");\n //canvas dimensions\n var W = window.innerWidth;\n var H = window.innerHeight;\n canvas.width = W;\n canvas.height = H;\n //snowflake particles\n var mp = 50; //max particles\n var particles = [];\n for(var i = 0; i < mp; i++)particles.push({\n x: Math.random() * W,\n y: Math.random() * H,\n r: Math.random() * 4 + 1,\n d: Math.random() * mp //density\n });\n //Lets draw the flakes\n ctx.fillStyle = \"rgba(255, 255, 255, 0.5)\";\n function draw() {\n // let tStart = Date.now()\n ctx.clearRect(0, 0, W, H);\n ctx.beginPath();\n for(var i = 0; i < mp; i++){\n var p = particles[i];\n ctx.moveTo(p.x, p.y);\n ctx.arc(p.x, p.y, p.r, 0, Math.PI * 2, true);\n }\n ctx.fill();\n update();\n if (!$808733721e15f082$var$pause) window.requestAnimationFrame(draw);\n // console.log(Date.now() - tStart)\n // console.log('draw')\n }\n //Function to move the snowflakes\n //angle will be an ongoing incremental flag. Sin and Cos functions will be applied to it to create vertical and horizontal movements of the flakes\n // var angle = 0;\n function update() {\n // console.log('update main')\n // angle += 0.01;\n for(var i = 0; i < mp; i++){\n // console.log('update loop')\n var p = particles[i];\n //Updating X and Y coordinates\n //We will add 1 to the cos function to prevent negative values which will lead flakes to move upwards\n //Every particle has its own density which can be used to make the downward movement different for each flake\n //Lets make it more random by adding in the radius\n p.y += Math.cos(p.d) + 1 + p.r / 10;\n // p.y += Math.cos(angle + p.d) + 1 + p.r / 2;\n // p.x += Math.sin(angle) * 2;\n //Sending flakes back from the top when it exits\n //Lets make it a bit more organic and let flakes enter from the left and right also.\n if (p.x > W + 5 || p.x < -5 || p.y > H) {\n if (i % 3 > 0) particles[i] = {\n x: Math.random() * W,\n y: -10,\n r: p.r,\n d: p.d\n };\n }\n }\n }\n canvas.style.display = \"block\";\n $808733721e15f082$var$pause = false;\n window.requestAnimationFrame(draw);\n//animation loop\n// setInterval(draw, 60);\n}\n\n\n\nfunction $4755ca8653fc5314$export$a1d0d20ee9546562() {\n // return (('ontouchstart' in window) ||\n // \t(navigator.maxTouchPoints > 0) ||\n // \t(navigator.msMaxTouchPoints > 0));\n if (window.matchMedia(\"(hover: none)\").matches) return true;\n else return false;\n}\n\n\n\n\nconst $dad545c909cfec2d$var$bottomFilmRollContainer = document.getElementById(\"wallpapers\");\nconst $dad545c909cfec2d$var$wrap = document.getElementById(\"wrap\");\nconst $dad545c909cfec2d$var$advancedSettingsButton = document.getElementById(\"toggle-labs-btn\");\nconst $dad545c909cfec2d$var$modal = document.getElementById(\"advanced-settings-modal\");\nconst $dad545c909cfec2d$var$modalBackground = document.getElementById(\"advanced-settings-modal-background-overlay\");\nlet $dad545c909cfec2d$var$areAdvancedSettingsOpen = false;\nlet $dad545c909cfec2d$var$areWallpapersOpen = false;\nlet $dad545c909cfec2d$var$timeout;\nconst $dad545c909cfec2d$var$wallpapersPanel = (str)=>{\n (0, $75590c282c4b6d2f$export$7d026bf51c574e0d)();\n switch(str){\n case \"close\":\n document.title = document.title.replace(\"Backgrounds\", \"Search\");\n history.pushState({\n loc: \"home\"\n }, \"\", \"?home\");\n $dad545c909cfec2d$var$bottomFilmRollContainer.classList.remove(\"animation_slide_up\");\n setTimeout(()=>$dad545c909cfec2d$var$advancedSettingsButton.classList.remove(\"animation_slide_right\"), 350);\n $dad545c909cfec2d$var$bottomFilmRollContainer.classList.add(\"animation_slide_down\");\n $dad545c909cfec2d$var$wrap.classList.remove(\"animation2_slide_up\");\n $dad545c909cfec2d$var$wrap.classList.add(\"animation2_slide_down\");\n clearTimeout($dad545c909cfec2d$var$timeout);\n (0, $dbebd6b4cf5c8fbe$export$70926afe0a056723)(\"hide\");\n (0, $a68193f3fd1cac67$export$281e8fc8ea1e9fba)(\"hide\");\n (0, $b153d78f6d86cf85$export$55dcfff404500f65)(null, 0);\n setTimeout(()=>(0, $3422f2542f1843ad$export$120f25d091dbb0c6)(1), 400);\n $dad545c909cfec2d$var$areWallpapersOpen = false;\n break;\n case \"open\":\n $dad545c909cfec2d$var$bottomFilmRollContainer.style.display = \"flex\";\n (0, $3422f2542f1843ad$export$120f25d091dbb0c6)(0);\n $dad545c909cfec2d$var$bottomFilmRollContainer.classList.remove(\"animation_slide_down\");\n $dad545c909cfec2d$var$bottomFilmRollContainer.classList.add(\"animation_slide_up\");\n $dad545c909cfec2d$var$wrap.classList.remove(\"animation2_slide_down\", \"startup_slide_down\");\n $dad545c909cfec2d$var$wrap.classList.add(\"animation2_slide_up\");\n setTimeout(()=>{\n $dad545c909cfec2d$var$advancedSettingsButton.classList.add(\"animation_slide_right\");\n (0, $a68193f3fd1cac67$export$a960e0fd78ecc153)();\n }, 350);\n (0, $b153d78f6d86cf85$export$55dcfff404500f65)(null, 1);\n $dad545c909cfec2d$var$timeout = setTimeout(()=>(0, $dbebd6b4cf5c8fbe$export$70926afe0a056723)(\"show\"), 450);\n (0, $a68193f3fd1cac67$export$281e8fc8ea1e9fba)(\"show\");\n document.title = document.title.replace(\"Search\", \"Backgrounds\");\n history.pushState({\n loc: \"backgrounds\"\n }, \"\", \"?backgrounds\");\n $dad545c909cfec2d$var$areWallpapersOpen = true;\n break;\n }\n};\nwindow.createNewBookmark = ()=>{\n const inputDialogTitle = \"Add new bookmark\";\n const inputDialogDescription = `\n\tYou may only use upto four letters as the bookmark name.`;\n const bookmarkLabel = \"Bookmark name\";\n const bookmarkAddress = \"Link to website\";\n (0, $73ae58c03c087314$export$582bc754b5da294a).show(inputDialogTitle, inputDialogDescription, [\n bookmarkLabel,\n bookmarkAddress\n ], \"Save\", undefined, null, [\n ()=>(0, $9b503205b15d65b6$export$302ed7cda67b07d7)(null, true),\n null\n ], ()=>{\n const label = (0, $73ae58c03c087314$export$582bc754b5da294a).getInputFields()[0];\n label.setAttribute(\"maxlength\", 4);\n label.setAttribute(\"placeholder\", \"e.g. YT\");\n const address = (0, $73ae58c03c087314$export$582bc754b5da294a).getInputFields()[1];\n address.setAttribute(\"placeholder\", \"e.g. youtube.com\");\n address.value = \"https://\";\n navigator.clipboard.readText().then((res)=>{\n if ((0, $3f3f917efd553266$export$c4ea027afed2fe4a)(res)) address.value = res.replaceAll(\" \", \"\");\n }).catch((err)=>{\n console.log(err);\n });\n }).then((res)=>{\n const id = Date.now();\n const name = res.inputValues[0];\n let link = res.inputValues[1].replaceAll(\" \", \"\");\n if (!link.startsWith(\"http\")) link = `https://${link}`;\n // console.log(res.inputValues);\n (0, $dbebd6b4cf5c8fbe$export$6789c089e1fc97ab)(link, name, id);\n (0, $dbebd6b4cf5c8fbe$export$7c6b17cf45d2b7e3)(link, name, id);\n }).catch((e)=>console.log(e));\n};\nwindow.changeWallpaper = (event)=>{\n event.stopPropagation();\n let selection = event.target.title;\n if (!selection) selection = event.target.childNodes[1].title;\n const wall = (0, $7566187318f3fcf8$export$cbee429dab57b16a)(selection);\n (0, $7566187318f3fcf8$export$5afc1366ebd24132)(wall[0], wall[1]);\n (0, $7566187318f3fcf8$export$69ac15e1f107dc66)();\n};\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"export-bookmarks-btn\", \"click\", (0, $35a5d35243d57eec$export$93f99a652c2501da));\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"import-bookmarks-btn\", \"change\", (0, $35a5d35243d57eec$export$a7190c76717f8270));\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"export-backup-btn\", \"click\", (0, $35a5d35243d57eec$export$a9fa0dc32734aad5));\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"import-backup-btn\", \"change\", (0, $35a5d35243d57eec$export$72227cc49c591c29));\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"download-wallpaper-btn\", \"click\", (0, $35a5d35243d57eec$export$428b3ccf7ba1af56));\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"toggle-favicons-btn\", \"click\", (0, $35a5d35243d57eec$export$bc07bbfa24c546f2));\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"update-username-btn\", \"click\", (0, $af46b3898e95fec2$export$6719b8810e09631c));\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"update-customtext-btn\", \"click\", (0, $5389e778e2dc8e49$export$fcc3c2f16e2af6d4));\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"deep-search-btn\", \"click\", (event)=>{\n (0, $35a5d35243d57eec$export$1ffbc9766749ec0f)(\"deep-search-nested\");\n const arrow = document.getElementById(\"deep-search-btn-arrow\");\n arrow.classList.toggle(\"fa-angle-down\");\n arrow.classList.toggle(\"fa-angle-up\");\n});\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"update-customdomain-btn\", \"click\", (0, $5389e778e2dc8e49$export$a352a5ecc9232970));\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"fetch-bookmarks-btn\", \"click\", (0, $a68193f3fd1cac67$export$72b5cc31a1a78e6a));\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"reset-bookmarks-btn\", \"click\", (0, $35a5d35243d57eec$export$a545fc2d14cf132f));\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"reset-all-btn\", \"click\", (0, $35a5d35243d57eec$export$ffe8c06b7e356699));\nfunction $dad545c909cfec2d$var$openAdvancedSettings() {\n $dad545c909cfec2d$var$wallpapersPanel(\"close\");\n history.pushState({\n loc: \"settings\"\n }, \"\", \"?settings\");\n setTimeout(()=>(0, $3422f2542f1843ad$export$120f25d091dbb0c6)(0), 420);\n document.title = document.title.replace(\"Search\", \"Settings\");\n document.body.classList.add(\"justifySpaceBetween\");\n // wrap.style.opacity = 0;\n $dad545c909cfec2d$var$wrap.style.display = \"none\";\n $dad545c909cfec2d$var$modal.style.display = \"block\";\n $dad545c909cfec2d$var$modalBackground.style.display = \"block\";\n $dad545c909cfec2d$var$areAdvancedSettingsOpen = true;\n}\nfunction $dad545c909cfec2d$var$closeAdvancedSettings() {\n document.title = document.title.replace(\"Settings\", \"Search\");\n history.pushState({\n loc: \"home\"\n }, \"\", \"?home\");\n document.body.classList.remove(\"justifySpaceBetween\");\n $dad545c909cfec2d$var$wrap.style.display = \"block\";\n // wrap.style.opacity = 1;\n $dad545c909cfec2d$var$modal.style.display = \"none\";\n $dad545c909cfec2d$var$modalBackground.style.display = \"none\";\n setTimeout(()=>(0, $3422f2542f1843ad$export$120f25d091dbb0c6)(1), 100);\n $dad545c909cfec2d$var$areAdvancedSettingsOpen = false;\n}\n(0, $a68193f3fd1cac67$export$14f70b5a16997eba)(\"modal-close-btn\", \"click\", $dad545c909cfec2d$var$closeAdvancedSettings);\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"toggle-labs-btn\", \"click\", $dad545c909cfec2d$var$openAdvancedSettings);\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"search-btn\", \"click\", $70ed80e2236f14cc$export$82d40063fdd5ebb9);\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"movies-search\", \"click\", $70ed80e2236f14cc$export$e669603af3a9dcf4);\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"tv-search\", \"click\", $70ed80e2236f14cc$export$984d890fc49ac622);\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"games-search\", \"click\", $70ed80e2236f14cc$export$79863f625c4e57);\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"ebooks-search\", \"click\", $70ed80e2236f14cc$export$f0cc4cb452476a16);\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"searchTerm\", \"input\", $70ed80e2236f14cc$export$fc2ed6e8c7db0d26);\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"searchTerm\", \"click\", ()=>{\n const x = new InputEvent(\"input\");\n (0, $a68193f3fd1cac67$export$91e00acd6f5df1a)().dispatchEvent(x);\n});\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"searchBarFocusMode\", \"click\", $70ed80e2236f14cc$export$c6c617d92c407e82);\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"searchTerm\", \"keypress\", $70ed80e2236f14cc$export$77ecf7caaa97c5fa);\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"fetch-bookmarks-btn\", \"click\", (0, $a68193f3fd1cac67$export$72b5cc31a1a78e6a));\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"left-arrow\", \"click\", (event)=>{\n event.stopPropagation();\n (0, $a68193f3fd1cac67$export$2b178751aa586095)(\"widget-slide\", -1);\n});\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"right-arrow\", \"click\", (event)=>{\n event.stopPropagation();\n (0, $a68193f3fd1cac67$export$2b178751aa586095)(\"widget-slide\", 1);\n});\nwindow.addEventListener(\"resize\", ()=>{\n (0, $5389e778e2dc8e49$export$38c14696b098549d)();\n (0, $808733721e15f082$export$940e1bb9f0126de)();\n});\nwindow.addEventListener(\"blur\", ()=>{\n (0, $75590c282c4b6d2f$export$7d026bf51c574e0d)();\n});\nwindow.addEventListener(\"appinstalled\", (event)=>{\n console.log(\"installed\");\n});\nonload = (event)=>{\n const slider = document.getElementById(\"main-heading-slider\");\n slider.classList.remove(\"nowrap\");\n};\n(0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"settings_button\", \"click\", (event)=>{\n if ($dad545c909cfec2d$var$areWallpapersOpen) $dad545c909cfec2d$var$wallpapersPanel(\"close\", event);\n else if (!$dad545c909cfec2d$var$areWallpapersOpen) $dad545c909cfec2d$var$wallpapersPanel(\"open\", event);\n});\nconst $dad545c909cfec2d$var$pressAndHold = ()=>{\n const target = document.body;\n let timerId;\n let timer = 250;\n const clearTimer = ()=>{\n clearInterval(timerId);\n timerId = null;\n };\n const clickEvent = (event)=>{\n const x = event.target.id;\n const validElements = [\n \"gradient_overlay\",\n \"wrap\",\n \"bookmarks\",\n \"autofillContainer\",\n \"flex-main-container-vertical\",\n \"subtitle\",\n \"footer\"\n ];\n if (validElements.includes(x)) {\n if ($dad545c909cfec2d$var$areWallpapersOpen) timer = 1;\n else timer = 250;\n timerId = setInterval(()=>{\n if ($dad545c909cfec2d$var$areWallpapersOpen) $dad545c909cfec2d$var$wallpapersPanel(\"close\");\n else if (!$dad545c909cfec2d$var$areWallpapersOpen) $dad545c909cfec2d$var$wallpapersPanel(\"open\");\n clearTimer();\n }, timer);\n }\n };\n target.addEventListener(\"mousedown\", clickEvent);\n target.addEventListener(\"mouseup\", clearTimer);\n target.addEventListener(\"mouseout\", clearTimer);\n target.addEventListener(\"touchstart\", clickEvent);\n target.addEventListener(\"touchend\", clearTimer);\n target.addEventListener(\"touchcancel\", clearTimer);\n return ()=>{\n target.removeEventListener(\"mousedown\", clickEvent);\n target.removeEventListener(\"mouseup\", clearTimer);\n target.removeEventListener(\"mouseout\", clearTimer);\n target.removeEventListener(\"touchstart\", clickEvent);\n target.removeEventListener(\"touchend\", clearTimer);\n target.removeEventListener(\"touchcancel\", clearTimer);\n console.log(\"un-focuss\", timerId);\n };\n};\nconst $dad545c909cfec2d$var$switchPage = ()=>{\n window.addEventListener(\"popstate\", (e)=>{\n if ($dad545c909cfec2d$var$areWallpapersOpen) $dad545c909cfec2d$var$wallpapersPanel(\"close\");\n else if ($dad545c909cfec2d$var$areAdvancedSettingsOpen) $dad545c909cfec2d$var$closeAdvancedSettings();\n else if (!$dad545c909cfec2d$var$areWallpapersOpen && !$dad545c909cfec2d$var$areAdvancedSettingsOpen) {\n history.go(-1);\n console.log(\"cant go back anymore\", -history.length - 1);\n }\n });\n let page = window.location.href;\n page = page.split(\"/?\")[1];\n if (!page) history.pushState({\n loc: \"home\"\n }, \"\", \"?home\");\n else if (page == \"settings\") $dad545c909cfec2d$var$openAdvancedSettings();\n else if (page == \"backgrounds\") $dad545c909cfec2d$var$wallpapersPanel(\"open\");\n};\nconst $dad545c909cfec2d$var$postOnboarding = ()=>{\n const btnInstall = document.getElementById(\"btn-install\");\n let deferredPrompt;\n (0, $5389e778e2dc8e49$export$38c14696b098549d)();\n (0, $dbebd6b4cf5c8fbe$export$7c7816efe5f3d2b8)();\n (0, $5389e778e2dc8e49$export$ed158a8ac1452ae3)();\n $dad545c909cfec2d$var$wrap.style.opacity = 1;\n (0, $7566187318f3fcf8$export$7fc827c60c93f98d)();\n (0, $7566187318f3fcf8$export$69ac15e1f107dc66)();\n $dad545c909cfec2d$var$pressAndHold();\n (0, $a68193f3fd1cac67$export$14f70b5a16997eba)(\"clickable\", \"keypress\", (0, $a68193f3fd1cac67$export$5c6a0752a4296de5));\n (0, $a68193f3fd1cac67$export$14f70b5a16997eba)(\"custom_bookmark\", \"click\", (0, $75590c282c4b6d2f$export$9c50633bb373449b));\n (0, $a68193f3fd1cac67$export$ef11c1846b2bd51b)(\"select\", \"change\", (0, $7f5a022d19b7598c$export$f991f204b517fa6f));\n (0, $a68193f3fd1cac67$export$fd0da135e577952c)(\"btn-install\", \"click\", (e)=>{\n deferredPrompt.prompt();\n deferredPrompt.userChoice.then((choiceResult)=>{\n if (choiceResult.outcome === \"accepted\") console.log(\"user accepted prompt\");\n deferredPrompt = null;\n });\n });\n window.addEventListener(\"beforeinstallprompt\", (event)=>{\n event.preventDefault();\n deferredPrompt = event;\n btnInstall.style.display = \"block\";\n });\n (0, $5389e778e2dc8e49$export$64282f34fe8ec365)();\n if (sessionStorage.getItem(\"focus\") == \"on\") {\n document.getElementById(\"searchTerm\").focus();\n document.getElementById(\"searchTerm\").click();\n }\n (0, $a1e98fe1acf22182$export$820fb7fb68841687)(\"version-preview\");\n (0, $808733721e15f082$export$940e1bb9f0126de)();\n (0, $5389e778e2dc8e49$export$56fe25ff2821fb3c)();\n $dad545c909cfec2d$var$switchPage();\n};\n// Start ----------------------------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", ()=>{\n // preOnboarding();\n if (localStorage.getItem(\"onBoarding\") == \"1\") {\n $dad545c909cfec2d$var$postOnboarding();\n console.log(\"Already onboard.\");\n } else {\n console.log(\"Onboarding...\");\n (0, $af46b3898e95fec2$export$e96749f6e9366505)().then(()=>{\n if ((0, $4755ca8653fc5314$export$a1d0d20ee9546562)()) setTimeout(()=>{\n (0, $137ee9d386afeb28$export$53cf4afa15b2ee29)(\"Information\", \"Press and hold on empty area to open settings.\");\n }, 5000);\n $dad545c909cfec2d$var$postOnboarding();\n console.log(\"Onboarding complete.\");\n });\n }\n}, {\n once: true\n}); // ---------------------------------------------------------- End\n\n\n//# sourceMappingURL=index.52a762c6.js.map\n","import * as Search from './js_modules/search.js';\nimport {\n\taddEventListenerOnID,\n\taddEventListenerOnClass,\n\tclickToEnter,\n\tfetchBookmarks,\n\tscrollHighlightedWallpaperIntoView,\n\ttoggleArrows,\n\tchangeSlide,\n\taddEventListenerOnTag,\n\tgetSearchTerm,\n} from './js_modules/utils.js';\nimport { displayLoading, hideLoading } from './js_modules/loading_spinner.js';\nimport { changeGlow } from './js_modules/colors.js';\nimport {\n\taddBookmarkToHTML,\n\tloadBookmarks,\n\tsaveBookmarks,\n\ttoggleRemoveButtons,\n} from './js_modules/custom_bookmarks.js';\nimport {\n\tfetchWallpapersList,\n\tgetWallpaperDetails,\n\thighlightSetWallpaper,\n\tsetWallpaper,\n} from './js_modules/wallpapers.js';\nimport {\n\tapplyPreferences,\n\taskCustomDomain,\n\taskCustomText,\n\tloadDropdownPositions,\n\tloadSelectedWidgetStyle,\n\tscrollToBottom,\n} from './js_modules/load_preferences.js';\nimport {\n\tdownloadWallpaper,\n\texportBackup,\n\texportBookmarks,\n\timportBackup,\n\timportBookmarks,\n\tresetAll,\n\tresetBookmarks,\n\tshowNestedOptions,\n\ttoggleFavicons,\n} from './js_modules/preferences.js';\nimport { isUrlValid } from './js_modules/validators.js';\nimport { askUserName, preOnboarding } from './js_modules/onboarding.js';\nimport { saveDropdownPositions } from './js_modules/save_preferences.js';\n// eslint-disable-next-line max-len\nimport { getLastUpdated } from './js_modules/utils/getLastUpdated.js';\nimport { blurLevel } from './js_modules/utils/blurLevel.js';\nimport { isItChristmas } from './js_modules/utils/letItSnow.js';\nimport { InputDialog } from './js_modules/utils/inputDialog.js';\nimport { isTouchDevice } from './js_modules/utils/isTouchDevice.js';\nimport { enableSubmitButton } from './js_modules/utils/enableSubmitButton.js';\nimport { genericAlert } from './js_modules/utils/alertDialog.js';\n\nconst bottomFilmRollContainer = document.getElementById('wallpapers');\nconst wrap = document.getElementById('wrap');\nconst advancedSettingsButton = document.getElementById('toggle-labs-btn');\nconst modal = document.getElementById('advanced-settings-modal');\nconst modalBackground =\n\tdocument.getElementById('advanced-settings-modal-background-overlay');\n\nlet areAdvancedSettingsOpen = false;\n\nlet areWallpapersOpen = false;\nlet timeout;\nconst wallpapersPanel = (str) => {\n\thideLoading();\n\tswitch (str) {\n\t\tcase 'close': {\n\t\t\tdocument.title = document.title\n\t\t\t\t.replace('Backgrounds', 'Search');\n\t\t\thistory.pushState({ loc: 'home' }, '', '?home');\n\t\t\tbottomFilmRollContainer.classList.remove('animation_slide_up');\n\t\t\tsetTimeout(() => advancedSettingsButton.classList\n\t\t\t\t.remove('animation_slide_right'), 350);\n\t\t\tbottomFilmRollContainer.classList.add('animation_slide_down');\n\t\t\twrap.classList.remove('animation2_slide_up');\n\t\t\twrap.classList.add('animation2_slide_down');\n\t\t\tclearTimeout(timeout);\n\n\t\t\ttoggleRemoveButtons('hide');\n\t\t\ttoggleArrows('hide');\n\t\t\tchangeGlow(null, 0);\n\t\t\tsetTimeout(() => blurLevel(1), 400);\n\t\t\tareWallpapersOpen = false;\n\t\t\tbreak;\n\t\t};\n\t\tcase 'open': {\n\t\t\tbottomFilmRollContainer.style.display = 'flex';\n\t\t\tblurLevel(0);\n\t\t\tbottomFilmRollContainer.classList.remove('animation_slide_down');\n\t\t\tbottomFilmRollContainer.classList.add('animation_slide_up');\n\t\t\twrap.classList.remove('animation2_slide_down', 'startup_slide_down');\n\t\t\twrap.classList.add('animation2_slide_up');\n\t\t\tsetTimeout(() => {\n\t\t\t\tadvancedSettingsButton.classList.add('animation_slide_right');\n\t\t\t\tscrollHighlightedWallpaperIntoView();\n\t\t\t}, 350);\n\t\t\tchangeGlow(null, 1);\n\t\t\ttimeout = setTimeout(() => toggleRemoveButtons('show'), 450);\n\t\t\ttoggleArrows('show');\n\t\t\tdocument.title = document.title\n\t\t\t\t.replace('Search', 'Backgrounds');\n\t\t\thistory.pushState({ loc: 'backgrounds' }, '', '?backgrounds');\n\t\t\tareWallpapersOpen = true;\n\t\t\tbreak;\n\t\t}\n\t}\n};\n\nwindow.createNewBookmark = () => {\n\tconst inputDialogTitle = 'Add new bookmark';\n\tconst inputDialogDescription = `\n\tYou may only use upto four letters as the bookmark name.`;\n\tconst bookmarkLabel = 'Bookmark name';\n\tconst bookmarkAddress = 'Link to website';\n\n\tInputDialog.show(\n\t\tinputDialogTitle,\n\t\tinputDialogDescription,\n\t\t[bookmarkLabel, bookmarkAddress],\n\t\t'Save',\n\t\tundefined,\n\t\tnull,\n\t\t[() => enableSubmitButton(null, true), null],\n\t\t() => {\n\t\t\tconst label = InputDialog.getInputFields()[0];\n\t\t\tlabel.setAttribute('maxlength', 4);\n\t\t\tlabel.setAttribute('placeholder', 'e.g. YT');\n\n\t\t\tconst address = InputDialog.getInputFields()[1];\n\t\t\taddress.setAttribute('placeholder', 'e.g. youtube.com');\n\t\t\taddress.value = 'https://';\n\n\t\t\tnavigator.clipboard.readText().then((res) => {\n\t\t\t\tif (isUrlValid(res)) {\n\t\t\t\t\taddress.value = res.replaceAll(' ', '');\n\t\t\t\t};\n\t\t\t}).catch((err) => {\n\t\t\t\tconsole.log(err);\n\t\t\t});\n\t\t},\n\t).then((res) => {\n\t\tconst id = Date.now();\n\t\tconst name = res.inputValues[0];\n\t\tlet link = res.inputValues[1].replaceAll(' ', '');\n\t\tif (!link.startsWith('http')) link = `https://${link}`;\n\t\t// console.log(res.inputValues);\n\t\taddBookmarkToHTML(link, name, id);\n\t\tsaveBookmarks(link, name, id);\n\t}).catch((e) => console.log(e));\n};\n\nwindow.changeWallpaper = (event) => {\n\tevent.stopPropagation();\n\tlet selection = event.target.title;\n\tif (!selection) selection = event.target.childNodes[1].title;\n\tconst wall = getWallpaperDetails(selection);\n\tsetWallpaper(wall[0], wall[1]);\n\thighlightSetWallpaper();\n};\n\naddEventListenerOnID('export-bookmarks-btn', 'click', exportBookmarks);\naddEventListenerOnID('import-bookmarks-btn', 'change', importBookmarks);\naddEventListenerOnID('export-backup-btn', 'click', exportBackup);\naddEventListenerOnID('import-backup-btn', 'change', importBackup);\naddEventListenerOnID('download-wallpaper-btn', 'click', downloadWallpaper);\naddEventListenerOnID('toggle-favicons-btn', 'click', toggleFavicons);\naddEventListenerOnID('update-username-btn', 'click', askUserName);\naddEventListenerOnID('update-customtext-btn', 'click', askCustomText);\naddEventListenerOnID('deep-search-btn', 'click', (event) => {\n\tshowNestedOptions('deep-search-nested');\n\tconst arrow = document.getElementById('deep-search-btn-arrow');\n\tarrow.classList.toggle('fa-angle-down');\n\tarrow.classList.toggle('fa-angle-up');\n});\naddEventListenerOnID('update-customdomain-btn', 'click', askCustomDomain);\naddEventListenerOnID('fetch-bookmarks-btn', 'click', fetchBookmarks);\naddEventListenerOnID('reset-bookmarks-btn', 'click', resetBookmarks);\naddEventListenerOnID('reset-all-btn', 'click', resetAll);\n\nfunction openAdvancedSettings() {\n\twallpapersPanel('close');\n\thistory.pushState({ loc: 'settings' }, '', '?settings');\n\tsetTimeout(() => blurLevel(0), 420);\n\tdocument.title = document.title.replace('Search', 'Settings');\n\tdocument.body.classList.add('justifySpaceBetween');\n\t// wrap.style.opacity = 0;\n\twrap.style.display = 'none';\n\tmodal.style.display = 'block';\n\tmodalBackground.style.display = 'block';\n\tareAdvancedSettingsOpen = true;\n};\n\nfunction closeAdvancedSettings() {\n\tdocument.title = document.title.replace('Settings', 'Search');\n\thistory.pushState({ loc: 'home' }, '', '?home');\n\tdocument.body.classList.remove('justifySpaceBetween');\n\twrap.style.display = 'block';\n\t// wrap.style.opacity = 1;\n\tmodal.style.display = 'none';\n\tmodalBackground.style.display = 'none';\n\tsetTimeout(() => blurLevel(1), 100);\n\tareAdvancedSettingsOpen = false;\n};\n\naddEventListenerOnClass('modal-close-btn', 'click', closeAdvancedSettings);\naddEventListenerOnID('toggle-labs-btn', 'click', openAdvancedSettings);\n\naddEventListenerOnID('search-btn', 'click', Search.webSearch);\naddEventListenerOnID('movies-search', 'click', Search.movies);\naddEventListenerOnID('tv-search', 'click', Search.tv);\naddEventListenerOnID('games-search', 'click', Search.games);\naddEventListenerOnID('ebooks-search', 'click', Search.ebooks);\naddEventListenerOnID('searchTerm', 'input', Search.processSearchboxInput);\naddEventListenerOnID('searchTerm', 'click', () => {\n\tconst x = new InputEvent('input');\n\tgetSearchTerm().dispatchEvent(x);\n});\naddEventListenerOnID('searchBarFocusMode', 'click', Search.collapseAutofill);\naddEventListenerOnID('searchTerm', 'keypress', Search.enterToSearch);\naddEventListenerOnID('fetch-bookmarks-btn', 'click', fetchBookmarks);\n\naddEventListenerOnID('left-arrow', 'click', (event) => {\n\tevent.stopPropagation();\n\tchangeSlide('widget-slide', -1);\n});\n\naddEventListenerOnID('right-arrow', 'click', (event) => {\n\tevent.stopPropagation();\n\tchangeSlide('widget-slide', 1);\n});\n\nwindow.addEventListener('resize', () => {\n\tapplyPreferences();\n\tisItChristmas();\n});\n\nwindow.addEventListener('blur', () => {\n\thideLoading();\n});\n\nwindow.addEventListener('appinstalled', (event) => {\n\tconsole.log('installed');\n});\n\nonload = (event) => {\n\tconst slider = document.getElementById('main-heading-slider');\n\tslider.classList.remove('nowrap');\n};\n\naddEventListenerOnID('settings_button', 'click', (event) => {\n\tif (areWallpapersOpen) wallpapersPanel('close', event);\n\telse if (!areWallpapersOpen) wallpapersPanel('open', event);\n});\n\nconst pressAndHold = () => {\n\tconst target = document.body;\n\tlet timerId;\n\tlet timer = 250;\n\tconst clearTimer = () => {\n\t\tclearInterval(timerId);\n\t\ttimerId = null;\n\t};\n\n\tconst clickEvent = (event) => {\n\t\tconst x = event.target.id;\n\t\tconst validElements = ['gradient_overlay',\n\t\t\t'wrap',\n\t\t\t'bookmarks',\n\t\t\t'autofillContainer',\n\t\t\t'flex-main-container-vertical',\n\t\t\t'subtitle',\n\t\t\t'footer',\n\t\t];\n\t\tif (\n\t\t\tvalidElements.includes(x)\n\t\t) {\n\t\t\tif (areWallpapersOpen) timer = 1;\n\t\t\telse timer = 250;\n\n\t\t\ttimerId = setInterval(() => {\n\t\t\t\tif (areWallpapersOpen) wallpapersPanel('close');\n\t\t\t\telse if (!areWallpapersOpen) wallpapersPanel('open');\n\t\t\t\tclearTimer();\n\t\t\t}, timer);\n\t\t}\n\t};\n\n\ttarget.addEventListener('mousedown', clickEvent);\n\ttarget.addEventListener('mouseup', clearTimer);\n\ttarget.addEventListener('mouseout', clearTimer);\n\n\ttarget.addEventListener('touchstart', clickEvent);\n\ttarget.addEventListener('touchend', clearTimer);\n\ttarget.addEventListener('touchcancel', clearTimer);\n\n\treturn () => {\n\t\ttarget.removeEventListener('mousedown', clickEvent);\n\t\ttarget.removeEventListener('mouseup', clearTimer);\n\t\ttarget.removeEventListener('mouseout', clearTimer);\n\t\ttarget.removeEventListener('touchstart', clickEvent);\n\t\ttarget.removeEventListener('touchend', clearTimer);\n\t\ttarget.removeEventListener('touchcancel', clearTimer);\n\t\tconsole.log('un-focuss', timerId);\n\t};\n};\n\nconst switchPage = () => {\n\twindow.addEventListener('popstate', (e) => {\n\t\tif (areWallpapersOpen) {\n\t\t\twallpapersPanel('close');\n\t\t} else if (areAdvancedSettingsOpen) {\n\t\t\tcloseAdvancedSettings();\n\t\t} else if (!areWallpapersOpen && !areAdvancedSettingsOpen) {\n\t\t\thistory.go(-1);\n\t\t\tconsole.log('cant go back anymore', -history.length - 1);\n\t\t}\n\t});\n\n\tlet page = window.location.href;\n\tpage = page.split('/?')[1];\n\tif (!page) history.pushState({ loc: 'home' }, '', '?home');\n\telse if (page == 'settings') openAdvancedSettings();\n\telse if (page == 'backgrounds') wallpapersPanel('open');\n};\n\nconst postOnboarding = () => {\n\tconst btnInstall = document.getElementById('btn-install');\n\tlet deferredPrompt;\n\tapplyPreferences();\n\tloadBookmarks();\n\tloadDropdownPositions();\n\twrap.style.opacity = 1;\n\n\tfetchWallpapersList();\n\thighlightSetWallpaper();\n\n\tpressAndHold();\n\taddEventListenerOnClass('clickable', 'keypress', clickToEnter);\n\taddEventListenerOnClass('custom_bookmark', 'click', displayLoading);\n\taddEventListenerOnTag('select', 'change', saveDropdownPositions);\n\n\taddEventListenerOnID('btn-install', 'click', (e) => {\n\t\tdeferredPrompt.prompt();\n\t\tdeferredPrompt.userChoice.then((choiceResult) => {\n\t\t\tif (choiceResult.outcome === 'accepted') {\n\t\t\t\tconsole.log('user accepted prompt');\n\t\t\t}\n\t\t\tdeferredPrompt = null;\n\t\t});\n\t});\n\n\twindow.addEventListener('beforeinstallprompt', (event) => {\n\t\tevent.preventDefault();\n\t\tdeferredPrompt = event;\n\t\tbtnInstall.style.display = 'block';\n\t});\n\tscrollToBottom();\n\tif (sessionStorage.getItem('focus') == 'on') {\n\t\tdocument.getElementById('searchTerm').focus();\n\t\tdocument.getElementById('searchTerm').click();\n\t}\n\tgetLastUpdated('version-preview');\n\tisItChristmas();\n\tloadSelectedWidgetStyle();\n\tswitchPage();\n};\n\n// Start ----------------------------------------------------------\n\ndocument.addEventListener('DOMContentLoaded', () => {\n\t// preOnboarding();\n\n\tif (localStorage.getItem('onBoarding') == '1') {\n\t\tpostOnboarding();\n\t\tconsole.log('Already onboard.');\n\t} else {\n\t\tconsole.log('Onboarding...');\n\t\tpreOnboarding().then(() => {\n\t\t\tif (isTouchDevice()) {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tgenericAlert('Information',\n\t\t\t\t\t\t'Press and hold on empty area to open settings.');\n\t\t\t\t}, 5000);\n\t\t\t}\n\t\t\tpostOnboarding();\n\t\t\tconsole.log('Onboarding complete.');\n\t\t});\n\t}\n}, { once: true });\n\n// ---------------------------------------------------------- End\n\n","import {\n clickToEnter,\n getSearchTerm,\n} from './utils.js';\nimport {\n EXT_SEARCH_DOMAIN,\n GOOGLE_SEARCH_DOMAIN,\n SAMPLE_AUTOFILL,\n} from './constants.js';\nimport {\n cliCheck,\n cliParse,\n} from './cli.js';\nimport { isUrlValid } from './validators.js';\nimport { Notify } from './utils/notifyDialog.js';\n\nconst MSG = 'You must enter a search query to continue.';\nconst container = document.querySelector('.autofillContainer');\nconst searchBG = document.querySelector('#searchBarFocusMode');\nlet myScript = '';\n\nfunction loadSearchDomain() {\n let domain = localStorage.getItem('default-search-url');\n if (domain == null) {\n localStorage.setItem('default-search-url', GOOGLE_SEARCH_DOMAIN);\n domain = localStorage.getItem('default-search-url');\n }\n return domain;\n}\n\nexport function webSearch() {\n let input = getSearchTerm().value;\n if (input != '') {\n updateAutocompleteDatabase(input);\n if (isUrlValid(input) && !input.includes(' ')) {\n // if (!input.startsWith('http')) input = `http://${input}`;\n window.open(input, '_self');\n return;\n }\n if (!cliCheck(input)) {\n input = encodeURIComponent(input);\n // input = input.split(\" \").join(\"+\");\n const url = loadSearchDomain() + input;\n window.open(url, '_self');\n } else cliParse(input);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function movies() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n // input = input.split(\" \").join(\"%20\");\n const url = EXT_SEARCH_DOMAIN + input + '/Movies/time/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function tv() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n const url = EXT_SEARCH_DOMAIN + input + '/TV/size/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function games() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n const url = EXT_SEARCH_DOMAIN + input + '/Games/time/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n}\n\nexport function ebooks() {\n let input = getSearchTerm().value;\n if (input != '') {\n input = encodeURIComponent(input);\n const url = EXT_SEARCH_DOMAIN + input + '/Other/seeders/desc/1/';\n window.open(url);\n } else {\n Notify.show(MSG);\n }\n};\n\nlet returnedSuggestions = [];\nwindow.googleSuggestions = (data) => {\n returnedSuggestions = [];\n const inputQuery = getSearchTerm().value;\n returnedSuggestions = data[1];\n if (inputQuery) {\n showAutofillBox(inputQuery, returnedSuggestions);\n expandAutofill(inputQuery);\n // console.log(returnedSuggestions);\n }\n};\n\nexport function processSearchboxInput(event) {\n const oldInput = sessionStorage.getItem('input');\n const input = event.target.value;\n sessionStorage.setItem('input', input);\n switchToCLI(input);\n switchToURL(input);\n if (!input) {\n clearSuggestions();\n setTimeout(() => {\n collapseAutofill();\n }, 1);\n return;\n }\n expandAutofill(input);\n if (input != oldInput) googleAutocomplete(input);\n};\n\nconst googleAutocomplete = (input) => {\n if (myScript !== '') {\n document.body.removeChild(myScript);\n }\n const provider = 'https://suggestqueries.google.com/complete/search?client=firefox&callback=googleSuggestions&q=';\n myScript = document.createElement('script');\n myScript.src = `${provider}${input}`;\n document.body.appendChild(myScript);\n};\n\nconst switchToCLI = (input) => {\n const btnIcon = document.getElementById('search-btn-icon');\n const currentIcon = localStorage.getItem('default-search-icon');\n if (cliCheck(input)) {\n btnIcon.className = 'fa fa-terminal';\n } else {\n btnIcon.className = currentIcon;\n };\n};\n\nconst switchToURL = (input) => {\n const btnIcon = document.getElementById('search-btn-icon');\n const currentIcon = localStorage.getItem('default-search-icon');\n if (isUrlValid(input)) {\n btnIcon.className = 'fa fa-globe';\n } else {\n btnIcon.className = currentIcon;\n };\n};\n\nexport const collapseAutofill = () => {\n searchBG.style.opacity = '0';\n container.style.paddingBlock = '0em';\n container.style.height = '0px';\n setTimeout(() => {\n searchBG.style.display = 'none';\n }, 200);\n};\n\nconst expandAutofill = (input) => {\n const items = document.querySelectorAll('.autofillItem');\n if (input.length) {\n searchBG.style.display = 'block';\n setTimeout(() => {\n if (items.length) {\n const d = items[0].getBoundingClientRect();\n const calc = (d.height * items.length) + (d.height * 1.5);\n container.style.height = `${calc}px`;\n container.style.paddingBlockStart = '0em';\n }\n searchBG.style.opacity = '1';\n }, 1);\n }\n};\n\nconst clearSuggestions = () => {\n const items = document.querySelectorAll('.autofillItem');\n items.forEach((e) => {\n e.remove();\n });\n};\n\nconst showAutofillBox = (input, cloudInput) => {\n input = input.toLowerCase();\n const db = JSON.parse(localStorage.getItem('autocompleteDatabase'));\n if (!db) localStorage.setItem('autocompleteDatabase', SAMPLE_AUTOFILL);\n\n const filteredArray = db.filter((e) => {\n if (e == input) return;\n else return e.toLowerCase().startsWith(input);\n });\n\n function autofill(event) {\n getSearchTerm().value = event.target.innerHTML;\n const e = new InputEvent('input');\n getSearchTerm().dispatchEvent(e);\n getSearchTerm().focus();\n };\n\n const generateSuggestions = (filteredArray) => {\n clearSuggestions();\n if (!input) return;\n const theme = sessionStorage.getItem('searchbar-color-theme-drop');\n const order = sessionStorage.getItem('searchbar-position-drop');\n if (order == 'bottom') container.style.flexDirection = 'column-reverse';\n else container.style.flexDirection = 'column';\n let i = 0;\n for (const e of filteredArray) {\n if (i == 6) break;\n container.insertAdjacentHTML('beforeend', `\n\t\t\t\t${e}\n `);\n i++;\n }\n for (const e of cloudInput) {\n if (i == 10) break;\n container.insertAdjacentHTML('beforeend', `\n \t\t${e}\n `);\n i++;\n }\n };\n\n generateSuggestions(filteredArray);\n const items = document.querySelectorAll('.autofillItem');\n items.forEach((e) => {\n e.addEventListener('click', autofill);\n // e.addEventListener('focus', autofill);\n e.addEventListener('keydown', clickToEnter);\n });\n};\n\nexport function enterToSearch(event) {\n if (event.key == 'Enter') {\n document.querySelector('#search-btn').click();\n }\n};\n\nconst updateAutocompleteDatabase = (entry) => {\n const db = JSON.parse(localStorage.getItem('autocompleteDatabase'));\n const set = new Set(db);\n set.add(entry.toLowerCase());\n const update = Array.from(set);\n localStorage.setItem('autocompleteDatabase', JSON.stringify(update));\n};\n","import { BOOKMARKS_SAMPLE_URL } from './constants.js';\nimport { importBookmarks } from './preferences.js';\nimport { headingStyles } from './styles.js';\n\n\nexport function getSearchTerm() {\n\treturn document.getElementsByClassName('searchTerm')[0];\n}\n\nexport function addEventListenerOnID(id, event, func) {\n\tif (event == null) return;\n\treturn document.getElementById(id).\n\t\taddEventListener(event, func, { passive: true });\n}\n\nexport function addEventListenerOnClass(className, event, func) {\n\tconst classList = document.getElementsByClassName(className);\n\tfor (let i = 0; i < classList.length; i++) {\n\t\tclassList[i].addEventListener(event, func);\n\t};\n}\n\nexport function addEventListenerOnTag(tagName, event, func) {\n\tconst tagList = document.getElementsByTagName(tagName);\n\tfor (let i = 0; i < tagList.length; i++) {\n\t\ttagList[i].addEventListener(event, func);\n\t};\n}\n\nexport function clickToEnter(event) {\n\tif (event.key === 'Enter' || event.key === ' ') event.target.click();\n};\n\nexport function fetchBookmarks() {\n\tfetch(BOOKMARKS_SAMPLE_URL)\n\t\t.then((res) => importBookmarks(null, res.text()));\n}\n\nexport function fixBackgroundBlurOnResize(id) {\n\tdocument.getElementById(id).style.backdropFilter = `blur(0.9em)`;\n\tsetTimeout(() => {\n\t\tdocument.getElementById(id).style.backdropFilter = `blur(1em)`;\n\t}, 1);\n};\n\nexport function scrollHighlightedWallpaperIntoView() {\n\tconst wallpaper = document.getElementsByClassName('highlighted')[0];\n\tsetTimeout(() => {\n\t\tif (wallpaper) wallpaper.scrollIntoView({ inline: 'center' });\n\t}, 10);\n};\n\nexport async function stylizeText(id, int = 0) {\n\tdocument.getElementById(id).className = headingStyles[int];\n};\n\nlet i = 0;\nexport function changeHeadingStyles(event = null, int) {\n\tif (event) event.stopPropagation();\n\n\ti += int;\n\tif (i < 0) {\n\t\ti = headingStyles.length - 1;\n\t};\n\tif (i >= headingStyles.length) i = 0;\n\tstylizeText('main-heading', i);\n};\n\nexport function toggleArrows(str) {\n\tconst arrows = document.getElementsByClassName('arrows');\n\tswitch (str) {\n\t\tcase 'show': {\n\t\t\tfor (let i = 0; i < arrows.length; i++) {\n\t\t\t\tarrows[i].style.height = '2em';\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tcase 'hide': {\n\t\t\tfor (let i = 0; i < arrows.length; i++) {\n\t\t\t\tarrows[i].style.height = '0em';\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t}\n};\n\nexport function changeSlide(element, int) {\n\tconst w = document.getElementById('main-heading-slider');\n\tconst width = w.scrollWidth;\n\tconst el = document.getElementsByClassName(element);\n\tconst currentPos = w.scrollLeft;\n\tlet newPos;\n\tconst step = w.scrollWidth / el.length;\n\t// console.log(width, w.clientWidth)\n\tif (int == 1) {\n\t\tnewPos = currentPos + step;\n\t\tif (newPos > width) {\n\t\t\tnewPos = width;\n\t\t};\n\t\tconsole.log(newPos);\n\t\tw.scrollLeft = newPos;\n\t} else if (int == -1) {\n\t\tnewPos = currentPos - step;\n\t\tif (newPos < 0) {\n\t\t\tnewPos = 0;\n\t\t};\n\t\tconsole.log(newPos);\n\t\tw.scrollLeft = newPos;\n\t}\n};\n","export const EXT_SEARCH_DOMAIN = 'https://x1337x.ws/sort-category-search/';\nexport const GOOGLE_SEARCH_DOMAIN = 'https://www.google.com/search?q=';\nexport const BING_SEARCH_DOMAIN = 'https://www.bing.com/search?q=';\nexport const DUCKDUCKGO_SEARCH_DOMAIN = 'https://duckduckgo.com/?q=';\n// export const SEARCH_BUTTON_DOM =\n// document.getElementsByClassName('searchButton').item(0).childNodes[1];\nexport const BOOKMARKS_SAMPLE_URL = './samples/bookmarks.json';\n// 'https://raw.githubusercontent.com/lscambo13/casamia/main/custom_bookmarks_sample/home-page-bookmarks-2023-1-23.json';\n// eslint-disable-next-line max-len\nexport const SAMPLE_AUTOFILL = '[\"--help\",\"--dl\",\"--clock\",\"--countdown\"]';\nexport const WALLPAPERS_URL = './wallpapers/';\nexport const DOWNLOAD_WALLPAPERS_URL = './wallpapers/backups/';\nexport const DEF_WALLPAPER = '085.webp';\nexport const DEF_CUSTOM_TEXT = 'Custom Text';\nexport const DEF_PREF =\n{\n\t'bg-img-drop': 'shown',\n\t'bg-blur-drop': 'off',\n\t// 'bg-glow-drop': 'auto',\n\t// 'weather-display-drop': 'off',\n\t'footer-display-drop': 'on',\n\t'def-widget-drop': 'casamia',\n\t// 'widget-style-drop': 'minimal',\n\t'greeting-display-drop': 'on',\n\t'def-widget-display-drop': 'on',\n\t// 'show-seconds-drop': 'off',\n\t// 'clock-style-drop': '12hrs',\n\t// 'am-pm-style-drop': 'uppercase',\n\t'def-search-engine-drop': 'google',\n\t'searchbar-position-drop': 'middle',\n\t'searchbar-color-theme-drop': 'glass',\n\t'focus-search-drop': 'off',\n\t'search-display-drop': 'on',\n\t// 'show-titles-drop': 'off',\n\t'movies-search-display-drop': 'shown',\n\t'tv-search-display-drop': 'shown',\n\t'games-search-display-drop': 'shown',\n\t'ebooks-search-display-drop': 'shown',\n\t'add-bookmark-display-drop': 'shown',\n};\n\n// 'https://github.com/lscambo13/casamia/raw/main/wallpapers/'\n// 'https://raw.githubusercontent.com/lscambo13/casamia/main/wallpapers/'\n// const X1337X_DOMAIN = 'https://x1337x.ws/home/';\n","import { DOWNLOAD_WALLPAPERS_URL } from './constants.js';\nimport {\n\tcustomBookmarks,\n\tdownloadBookmarks,\n\tsaveBookmarks,\n} from './custom_bookmarks.js';\nimport { updateAmPmStyle } from './load_preferences.js';\nimport {\n\tresetAllWarningText,\n\tresetBookmarksWarningText,\n} from './strings.js';\nimport { addZero } from './utils/addZero.js';\nimport { genericAlert } from './utils/alertDialog.js';\nimport { changeExtension } from './utils/changeExtension.js';\nimport { wait } from './utils/wait.js';\nimport { selectedWallpaper } from './wallpapers.js';\n\nexport function exportBookmarks(event) {\n\tevent.stopPropagation();\n\tconst bookmarksString = localStorage.saved_bookmarks;\n\tconst d = new Date();\n\tdownloadBookmarks(\n\t\t`casamia-bookmarks-only-${d.getFullYear()}-${d.getMonth() + 1\n\t\t}-${d.getDate()}.json`,\n\t\tbookmarksString,\n\t);\n};\n\nexport function exportBackup(event) {\n\tevent.stopPropagation();\n\tconst data = { ...localStorage };\n\tconst backupString = JSON.stringify(data);\n\tconst d = new Date();\n\tdownloadBookmarks(\n\t\t`casamia-full-backup-${d.getFullYear()}-${d.getMonth() + 1\n\t\t}-${d.getDate()}.json`,\n\t\tbackupString,\n\t);\n};\n\nexport function downloadWallpaper() {\n\t// console.log(DOWNLOAD_WALLPAPERS_URL + selectedWallpaper);\n\tconst element = document.createElement('a');\n\tconst hiResWall = changeExtension(selectedWallpaper, 'png');\n\telement\n\t\t.setAttribute('href', DOWNLOAD_WALLPAPERS_URL + hiResWall);\n\telement.setAttribute('download', hiResWall);\n\telement.style.display = 'none';\n\tdocument.body.appendChild(element);\n\telement.click();\n\tdocument.body.removeChild(element);\n\t/* alert(\n\t\"If the download doesn't start, disable the pop-up blocker extensions.\"\n ); */\n};\n\nexport function toggleFavicons(event) {\n\t// http://www.google.com/s2/favicons?domain=google.com\n\tconst customBookmarks = document.getElementsByClassName('custom_bookmark');\n\tconst spans = document.getElementsByClassName('custom_link_name');\n\n\tfor (let i = 0; i < customBookmarks.length; i++) {\n\t\tspans[i].style.display = 'none';\n\n\t\tconst newFavicon = document.createElement('img');\n\t\tnewFavicon.className = 'ext_favicon';\n\t\tconst domain = customBookmarks[i].href;\n\t\tnewFavicon.src =\n\t\t\t'http://www.google.com/s2/favicons?sz=32&domain=' + domain;\n\t\tcustomBookmarks[i].appendChild(newFavicon);\n\t}\n};\n\nlet clockLoop = null;\nexport function displayClock(value) {\n\tconst target = 'widget-slide';\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tclearInterval(clockLoop);\n\t\t\tclockLoop = null;\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tif (clockLoop) clearInterval(clockLoop);\n\t\t\tclockLoop = setInterval(() => refreshClock(target), 1000);\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction refreshClock(targetClass) {\n\tconst target = document.getElementsByClassName(targetClass);\n\tconst date = new Date();\n\tlet hours = date.getHours();\n\tlet amPm = (int) => {\n\t\tif (int == 0) {\n\t\t\thours.toString();\n\t\t\thours = '12';\n\t\t\treturn 'AM';\n\t\t} else if (int > 0 && int < 12) {\n\t\t\thours = addZero(hours.toString());\n\t\t\treturn 'AM';\n\t\t} else if (int == 12) {\n\t\t\thours = '12';\n\t\t\treturn 'PM';\n\t\t} else if (int > 12) {\n\t\t\thours = hours - 12;\n\t\t\thours.toString();\n\t\t\thours = addZero(hours);\n\t\t\treturn 'PM';\n\t\t}\n\t};\n\n\tconst minutes = addZero(date.getMinutes().toString());\n\tconst seconds = addZero(date.getSeconds().toString());\n\tamPm = amPm(hours);\n\tlet separator = ':';\n\n\tfor (let i = 0; i < target.length; i++) {\n\t\tif (seconds % 2 === 0) {\n\t\t\tseparator = `:`;\n\t\t} else {\n\t\t\tseparator = `:`;\n\t\t}\n\t\ttarget[i].innerHTML =\n\t\t\t`${hours}${separator}${minutes} ${updateAmPmStyle(amPm.toString())}`;\n\t}\n\n\t// subtitle.style.display = 'block';\n\t// console.log(`${hours}:${minutes}:${seconds} ${amPm}`);\n}\n\nexport function refreshGreeting() {\n\tconst subtitle = document.getElementById('subtitle');\n\tconst user = localStorage.getItem('userName');\n\tconst date = new Date();\n\tconst hours = date.getHours();\n\tlet greeting = (int) => {\n\t\tif (int < 12) {\n\t\t\treturn `Good Morning, ${user}`;\n\t\t} else if (int >= 12 && int <= 18) {\n\t\t\treturn `Good Afternoon, ${user}`;\n\t\t} else if (int >= 18) {\n\t\t\treturn `Good Evening, ${user}`;\n\t\t}\n\t};\n\tgreeting = greeting(hours);\n\tsubtitle.innerText = greeting;\n}\n// let greetingLoop = null;\n// export function toggleGreeting() {\n// switch (value) {\n// case 'off': {\n// subtitle.classList.toggle('collapsed');\n// clearInterval(greetingLoop);\n// break;\n// };\n// case 'on': {\n// subtitle.classList.toggle('collapsed');\n// greetingLoop = setInterval(refreshGreeting, 1000);\n// break;\n// };\n// }\n// }\n\nexport function toggleGlow() {\n\tconst gradientOverlay = document.getElementById('gradient_overlay');\n\tlet glow = localStorage.getItem('glow');\n\tif (glow == null || glow == '0') {\n\t\tglow = '1';\n\t\tgradientOverlay.style.opacity = 1;\n\t\tlocalStorage.setItem('glow', '1');\n\t} else if (glow == '1') {\n\t\tglow = '0';\n\t\tgradientOverlay.style.opacity = 0;\n\t\tlocalStorage.setItem('glow', '0');\n\t}\n};\n\nexport function importBookmarks(event, text = '') {\n\tlet file;\n\tif (event) {\n\t\tevent.stopPropagation();\n\t\tfile = event.target.files[0].text();\n\t} else file = text;\n\n\tfunction result(file) {\n\t\tconst importedBookmarks = JSON.parse(file);\n\t\tif (!importedBookmarks[0]?.id) {\n\t\t\tconsole.log(importedBookmarks);\n\t\t\tgenericAlert('Failed', 'The backup does not seem to be valid.');\n\t\t\tevent.target.value = null;\n\t\t\treturn;\n\t\t}\n\t\tconst ids = [];\n\t\tfor (const bookmark of customBookmarks) {\n\t\t\tids.push(bookmark.id);\n\t\t}\n\t\tfor (const i of importedBookmarks) {\n\t\t\tif (ids.includes(i.id)) {\n\t\t\t\twait(1);\n\t\t\t\ti.id = Date.now();\n\t\t\t}\n\t\t\tids.push(i.id);\n\t\t\tsaveBookmarks(i.link, i.name, i.id);\n\t\t}\n\t\twindow.location.reload();\n\t}\n\n\tfile.then(result);\n};\n\nexport function importBackup(event, text = '') {\n\tlet file;\n\tif (event) {\n\t\tevent.stopPropagation();\n\t\tfile = event.target.files[0].text();\n\t} else file = text;\n\n\tfunction result(file) {\n\t\tconst importedBackup = JSON.parse(file);\n\t\tif (importedBackup.onBoarding) {\n\t\t\tconst keys = Object.keys(importedBackup);\n\t\t\tkeys.forEach((e, i) => {\n\t\t\t\tlocalStorage.setItem(e, importedBackup[keys[i]]);\n\t\t\t});\n\t\t\twindow.location.reload();\n\t\t} else {\n\t\t\tconsole.log(importedBackup);\n\t\t\tgenericAlert('Failed', 'The backup does not seem to be valid.');\n\t\t\tevent.target.value = null;\n\t\t};\n\t}\n\n\tfile.then(result);\n};\n\nexport function resetBookmarks(event) {\n\tif (\n\t\tconfirm(resetBookmarksWarningText)\n\t) {\n\t\tlocalStorage.removeItem('saved_bookmarks');\n\t\twindow.location.reload();\n\t}\n};\n\nexport function resetAll(event) {\n\tif (\n\t\tconfirm(resetAllWarningText)\n\t) {\n\t\tlocalStorage.clear();\n\t\twindow.location.reload();\n\t}\n};\n\nexport function showNestedOptions(id) {\n\tconst element = document.getElementById(id);\n\telement.classList.toggle('nested-close');\n}\n\n// export function toggleDim(event) {\n// event.stopPropagation();\n// const checkboxWall = document.getElementById('dim-setting');\n// const overlay = document.getElementById('overlay');\n// if (checkboxWall.checked == false) {\n// overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n// localStorage.setItem('dim_wallpaper', 'rgba(0, 0, 0, 0.375)');\n// } else {\n// overlay.style.backgroundColor = 'rgb(0, 0, 0, 0.25)';\n// localStorage.setItem('dim_wallpaper', 'rgb(0, 0, 0, 0.25)');\n// }\n// };\n\n// export function toggleBlur() {\n// // event.stopPropagation();\n// const checkboxBlur = document.getElementById('toggle-blur-cb');\n// // const overlay = document.getElementById('overlay');\n// if (checkboxBlur.checked == true) {\n// toggleBackdropBlur('overlay', 1);\n// localStorage.setItem('blur_wallpaper', 'blur(1em)');\n// } else {\n// toggleBackdropBlur('overlay', 0);\n// localStorage.setItem('blur_wallpaper', 'blur(0em)');\n// }\n// };\n\n// export function toggleWallpaper(event) {\n// event.stopPropagation();\n// const checkboxWall = document.getElementById('toggle-wallpaper-cb');\n// const overlay = document.getElementById('overlay');\n// if (checkboxWall.checked == false) {\n// overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n// localStorage.setItem('disable_wallpaper', 'rgba(0, 0, 0, 0.375)');\n// } else {\n// overlay.style.backgroundColor = 'rgb(0, 0, 0)';\n// localStorage.setItem('disable_wallpaper', 'rgb(0, 0, 0)');\n// }\n// };\n\n// export function toggleLabs(event) {\n// // event.stopPropagation();\n// console.log('called labs');\n// const checkboxLabs = document.getElementById('toggle-labs-cb');\n// const labsDiv = document.getElementById('labs');\n\n// if (checkboxLabs.checked == true) {\n// labsDiv.style.display = 'block';\n// localStorage.setItem('labs', 'block');\n// } else {\n// labsDiv.style.display = 'none';\n// localStorage.setItem('labs', 'none');\n// }\n// };\n\n","import { InputDialog } from './utils/inputDialog.js';\nimport { enableSubmitButton } from './utils/enableSubmitButton.js';\nimport { crossDisplay } from './utils/toggleDisplay.js';\n\nexport let customBookmarks =\n JSON.parse(localStorage.getItem('saved_bookmarks'));\n\nexport function loadBookmarks() {\n if (customBookmarks == null) {\n customBookmarks = [];\n return;\n }\n for (const n of customBookmarks) {\n addBookmarkToHTML(n.link, n.name, n.id);\n }\n}\n\nexport function addBookmarkToHTML(link, name, id) {\n const bookmarkContainer = document.getElementsByClassName(\n 'flex-sub-container-horizontal',\n )[0];\n bookmarkContainer.appendChild(createBookmark(link, name, id));\n const justAdded = document.getElementsByClassName('cross');\n justAdded[justAdded.length - 1].addEventListener('click', editBookmark);\n}\n\nfunction createBookmark(link, name, id) {\n const i = document.createElement('span');\n i.textContent = name;\n i.className = 'custom_link_name';\n\n const d = document.createElement('div');\n d.className = 'cross';\n d.title = 'Modify bookmark details';\n d.setAttribute('tabindex', '5');\n\n const newBookmark = document.createElement('a');\n newBookmark.className = 'custom_bookmark clickable';\n newBookmark.setAttribute('href', link);\n newBookmark.setAttribute('id', id);\n newBookmark.setAttribute('tabindex', '1');\n newBookmark.appendChild(i);\n newBookmark.appendChild(d);\n return newBookmark;\n}\n\nexport function saveBookmarks(link, name, id) {\n customBookmarks.push({\n link: link,\n name: name,\n id: id,\n });\n localStorage.setItem('saved_bookmarks', JSON.stringify(customBookmarks));\n}\n\nexport function removeBookmarkFromLocalStorage(id) {\n customBookmarks = customBookmarks.filter((elem) => {\n return id != elem.id;\n });\n localStorage.setItem('saved_bookmarks', JSON.stringify(customBookmarks));\n}\n\nexport function editBookmarkInLocalStorage(id, newName, newLink) {\n const edit = customBookmarks.filter((elem) => {\n return id == elem.id;\n });\n edit[0].name = newName;\n edit[0].link = newLink;\n localStorage.setItem('saved_bookmarks', JSON.stringify(customBookmarks));\n}\n\nexport function getBookmarkDetailsFromLocalStorage(id) {\n const edit = customBookmarks.filter((elem) => {\n return id == elem.id;\n });\n return [edit[0].id, edit[0].name, edit[0].link];\n}\n\nexport function toggleRemoveButtons(visible) {\n switch (visible) {\n case 'show': {\n crossDisplay(`block`);\n break;\n }\n case 'hide': {\n crossDisplay(`none`);\n break;\n }\n }\n}\n\nexport function downloadBookmarks(filename, text) {\n const element = document.createElement('a');\n element.setAttribute(\n 'href',\n 'data:text/plain;charset=utf-8,' + encodeURIComponent(text),\n );\n element.setAttribute('download', filename);\n element.style.display = 'none';\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n}\n\nexport function editBookmark(event) {\n event.preventDefault();\n event.stopPropagation();\n const targetElement = event.target.parentNode;\n\n const onChange = () => {\n const checkbox = InputDialog.getCheckboxField();\n const modalSubmitButton = InputDialog.getSubmitButton();\n const inputFields = InputDialog.getInputFields();\n\n if (checkbox.checked) {\n modalSubmitButton.textContent = 'Delete';\n modalSubmitButton.classList.add('deleteButton');\n for (const i of inputFields) {\n i.disabled = true;\n }\n modalSubmitButton.disabled = false;\n } else if (!checkbox.checked) {\n modalSubmitButton.textContent = 'Save';\n modalSubmitButton.classList.remove('deleteButton');\n for (const i of inputFields) {\n i.disabled = false;\n }\n };\n };\n\n const details = getBookmarkDetailsFromLocalStorage(targetElement.id);\n\n InputDialog.show('Edit bookmark',\n null,\n ['Name', 'Address'],\n 'Save',\n 'Cancel',\n 'Delete this bookmark',\n [() => enableSubmitButton(event, true), onChange],\n () => {\n InputDialog.getInputFields()[0].setAttribute('maxlength', '4');\n InputDialog.getInputFields()[0].value = details[1];\n InputDialog.getInputFields()[1].value = details[2];\n },\n ).then((res) => {\n if (res.checkboxChecked) {\n removeBookmarkFromLocalStorage(targetElement.id);\n targetElement.style.display = 'none';\n return;\n }\n\n targetElement.href = res.inputValues[1].replaceAll(' ', '');\n targetElement.firstChild.innerHTML = res.inputValues[0];\n\n editBookmarkInLocalStorage(\n targetElement.id,\n res.inputValues[0],\n res.inputValues[1].replaceAll(' ', ''),\n );\n }).catch((e) => console.log(e));\n\n return;\n}\n\n","let modalContainer;\r\nlet modalSubmitButton;\r\nlet modalCancelButton;\r\nlet tickBoxField;\r\nlet inputFields;\r\n\r\nconst showInputDialog = (\r\n\ttitle = null,\r\n\tdescription = null,\r\n\tinputBoxes = ['Input A', 'Input B'],\r\n\tsubmitButtonName = 'Submit',\r\n\tcancelButtonName = 'Cancel',\r\n\ttickBox = null,\r\n\tlisteners = [onInput = null, onChange = null],\r\n\tonInit = null,\r\n) => {\r\n\tmodalContainer = document.getElementById('inputDialogContainer');\r\n\tif (modalContainer) modalContainer.remove();\r\n\r\n\tdocument.activeElement.blur();\r\n\r\n\tif (title) {\r\n\t\ttitle = `

${title}

`;\r\n\t} else (title = '');\r\n\tif (description) {\r\n\t\tdescription = `\r\n\t\t

${description}

\r\n\t`;\r\n\t} else (description = '');\r\n\r\n\tdocument.body\r\n\t\t.insertAdjacentHTML('afterbegin', `\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\t${title}\r\n\t\t\t\t${description}\r\n\t\t\t\t
\r\n\t\t\t\t\t${submitButtonName}\r\n\t\t\t\t\t${cancelButtonName}\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t
\r\n\t`);\r\n\tinputBoxes.forEach((e) => {\r\n\t\tlet id = e.replaceAll(' ', '-').toLowerCase();\r\n\t\tid = `MODAL-INPUT-${id}`;\r\n\t\tdocument.getElementById('inputDialogButtonsBar')\r\n\t\t\t.insertAdjacentHTML('beforebegin', `\r\n\t\t\t\t\t${e}\r\n\t\t\t\t\t\r\n\t\t`);\r\n\t});\r\n\tif (tickBox) {\r\n\t\tdocument.getElementById('inputDialogButtonsBar')\r\n\t\t\t.insertAdjacentHTML('beforebegin', `\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t${tickBox}\r\n\t\t\t\t\t \r\n\t\t`);\r\n\t\ttickBoxField = document.getElementById('tickBoxField');\r\n\t};\r\n\r\n\tmodalContainer = document.getElementById('inputDialogContainer');\r\n\tmodalSubmitButton = document.getElementById('inputDialogSubmitButton');\r\n\tmodalCancelButton = document.getElementById('inputDialogCancelButton');\r\n\tinputFields = document.getElementsByClassName('modalInputField');\r\n\tdocument.body.style.overflow = 'hidden';\r\n\r\n\tinputFields[0].focus();\r\n\tif (!cancelButtonName) modalCancelButton.style.display = 'none';\r\n\r\n\tconst promise = new Promise((resolve, reject) => {\r\n\t\t// modalContainer.style.paddingBlockStart = '4em';\r\n\t\tmodalContainer.style.opacity = '1';\r\n\r\n\t\tconst rejectModal = () => {\r\n\t\t\tmodalCancelButton.removeEventListener('click', rejectModal);\r\n\t\t\tmodalContainer.remove();\r\n\t\t\tdocument.body.style.overflow = 'auto';\r\n\t\t\treject(Error(null));\r\n\t\t};\r\n\r\n\t\tconst resolveModal = () => {\r\n\t\t\tmodalSubmitButton.removeEventListener('click', resolveModal);\r\n\t\t\tif (tickBox) {\r\n\t\t\t\ttickBoxField.removeEventListener('change', listeners[1]);\r\n\t\t\t\ttickBoxField = tickBoxField.checked;\r\n\t\t\t}\r\n\t\t\tconst inputValues = [];\r\n\t\t\tfor (const e of inputFields) {\r\n\t\t\t\tinputValues.push(e.value);\r\n\t\t\t\tif (listeners) e.removeEventListener('input', listeners);\r\n\t\t\t}\r\n\t\t\tconst result = {\r\n\t\t\t\t'inputValues': inputValues, 'checkboxChecked': tickBoxField,\r\n\t\t\t};\r\n\t\t\tmodalContainer.remove();\r\n\t\t\tdocument.body.style.overflow = 'auto';\r\n\r\n\t\t\tconsole.log(result);\r\n\t\t\tresolve(result);\r\n\t\t};\r\n\r\n\t\tmodalCancelButton.addEventListener('click', rejectModal);\r\n\t\tmodalSubmitButton.addEventListener('click', resolveModal);\r\n\t\tif (listeners[0]) {\r\n\t\t\tfor (const e of inputFields) e.addEventListener('input', listeners[0]);\r\n\t\t}\r\n\t\tif (listeners[1] && tickBox) {\r\n\t\t\ttickBoxField.addEventListener('change', listeners[1]);\r\n\t\t}\r\n\t});\r\n\r\n\tif (onInit) onInit();\r\n\treturn promise;\r\n};\r\n\r\nexport const InputDialog = {\r\n\tshow: showInputDialog,\r\n\tgetSubmitButton: () => {\r\n\t\treturn modalSubmitButton;\r\n\t},\r\n\tgetCancelButton: () => {\r\n\t\treturn modalCancelButton;\r\n\t},\r\n\tgetInputFields: () => {\r\n\t\treturn inputFields;\r\n\t},\r\n\tgetCheckboxField: (n) => {\r\n\t\treturn tickBoxField;\r\n\t},\r\n};\r\n","import { isUrlValid } from '../validators.js';\nimport { InputDialog } from './inputDialog.js';\n\nexport const enableSubmitButton = (event, alt = false) => {\n\tconst modalSubmitButton = InputDialog.getSubmitButton();\n\tconst inputFields = InputDialog.getInputFields();\n\tfor (const e of inputFields) {\n\t\tif (e.value.length) modalSubmitButton.disabled = false;\n\t\telse {\n\t\t\tmodalSubmitButton.disabled = true;\n\t\t\treturn;\n\t\t}\n\t}\n\tif (!alt) return;\n\telse {\n\t\tif (isUrlValid(inputFields[1].value)) {\n\t\t\tmodalSubmitButton.disabled = false;\n\t\t} else modalSubmitButton.disabled = true;\n\t}\n};\n","export function isUrlValid(userInput) {\n try {\n new URL(userInput);\n return true;\n } catch (err) {\n return false;\n }\n}\n\nexport function isClockStyleCapital() {\n const clockClass = document.getElementById('main-heading-slider');\n if (clockClass.classList.contains('default-text-style')) return true;\n else return false;\n}\n","export function crossDisplay(str) {\n\tdocument.documentElement.style\n\t\t.setProperty('--cross-display', str);\n};\n","import {\n\tBING_SEARCH_DOMAIN,\n\tDEF_CUSTOM_TEXT,\n\tDUCKDUCKGO_SEARCH_DOMAIN,\n\tGOOGLE_SEARCH_DOMAIN,\n} from './constants.js';\nimport { displayClock, refreshGreeting } from './preferences.js';\nimport { fixBackgroundBlurOnResize } from './utils.js';\nimport { InputDialog } from './utils/inputDialog.js';\nimport { enableSubmitButton } from './utils/enableSubmitButton.js';\nimport { intersectionObserver } from './utils/intersectionObserver.js';\n\nconst PREF_MAP = {\n\t'bg-img-drop': backgroundImage,\n\t'bg-blur-drop': backgroundBlur,\n\t// 'bg-glow-drop': backgroundGlow,\n\t// 'weather-display-drop': displayWeather,\n\t'footer-display-drop': displayFooter,\n\t'def-widget-drop': defaultWidget,\n\t// 'widget-style-drop': widgetStyle,\n\t'greeting-display-drop': displayGreeting,\n\t'def-widget-display-drop': displayWidget,\n\t// 'show-seconds-drop': showSeconds,\n\t// 'clock-style-drop': clockStyle,\n\t// 'am-pm-style-drop': amPmStyle,\n\t'def-search-engine-drop': defaultSearchEngine,\n\t'searchbar-position-drop': defaultSearchbarPosition,\n\t'searchbar-color-theme-drop': searchbarTheme,\n\t'focus-search-drop': focusSearchBar,\n\t'search-display-drop': displaySearch,\n\t// 'show-titles-drop': showTitles,\n\t'movies-search-display-drop': moviesSearch,\n\t'tv-search-display-drop': tvSearch,\n\t'games-search-display-drop': gamesSearch,\n\t'ebooks-search-display-drop': ebooksSearch,\n\t'add-bookmark-display-drop': displayAddBookmark,\n};\n\nfunction backgroundImage(value) {\n\tconst overlay = document.getElementById('overlay');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\toverlay.style.backgroundColor = 'rgba(0, 0, 0, 1)';\n\t\t\t// console.log(value);\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\toverlay.style.backgroundColor = 'rgba(0, 0, 0, 0.375)';\n\t\t\t// console.log(value);\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction backgroundBlur(value) {\n\tconst overlay = document.getElementById('overlay');\n\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\toverlay.style.backdropFilter = 'blur(0em)';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\toverlay.style.backdropFilter = 'blur(1em)';\n\t\t\tfixBackgroundBlurOnResize('overlay');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n// function backgroundGlow() { };\n\n// function displayWeather() { };\n\nfunction displayFooter(value) {\n\tconst footer = document.getElementById('footer');\n\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tfooter.classList.add('hidden');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tfooter.classList.remove('hidden');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nexport function focusSearchBar(value) {\n\tsessionStorage.setItem('focus', value);\n\n\t// const searchbar = document.getElementById('searchTerm');\n\t// switch (value) {\n\t// \tcase 'off': {\n\t// \t\t// searchbar.focus();\n\t// \t\t// sessionStorage.setItem('focus', 'off');\n\t// \t\tbreak;\n\t// \t};\n\t// \tcase 'on': {\n\t// \t\t// searchbar.focus();\n\t// \t\t// searchbar.click();\n\t// \t\tbreak;\n\t// \t};\n};\n\nfunction displayWidget(value) {\n\tconst widget = document.getElementById('main-heading-slider');\n\tconst lArrow = document.getElementById('left-arrow');\n\tconst rArrow = document.getElementById('right-arrow');\n\n\tfunction toggleDefaultWidgetButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tdocument.getElementById('main-widget-children-container')\n\t\t\t\t\t.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tdocument.getElementById('main-widget-children-container')\n\t\t\t\t\t.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\twidget.classList.add('hidden');\n\t\t\tlArrow.classList.add('hidden');\n\t\t\trArrow.classList.add('hidden');\n\t\t\ttoggleDefaultWidgetButton('hide');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\twidget.classList.remove('hidden');\n\t\t\tlArrow.classList.remove('hidden');\n\t\t\trArrow.classList.remove('hidden');\n\t\t\ttoggleDefaultWidgetButton('show');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction displaySearch(value) {\n\tconst search = document.getElementById('searchbar');\n\tconst searchChildren = document\n\t\t.getElementById('search-display-children-container');\n\tconst searchEngineDrop = document\n\t\t.getElementById('def-search-engine-drop-container');\n\n\tfunction toggleSearchEngineButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tsearchChildren.classList.remove('nested-close');\n\t\t\t\tsearchEngineDrop.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tsearchChildren.classList.add('nested-close');\n\t\t\t\tsearchEngineDrop.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tsearch.classList.add('hidden');\n\t\t\ttoggleSearchEngineButton('hide');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tsearch.classList.remove('hidden');\n\t\t\ttoggleSearchEngineButton('show');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nconst widgetSlides = document.getElementsByClassName('widget-slide');\n\nfunction applyText(input) {\n\tfor (const i of widgetSlides) {\n\t\ti.textContent = input;\n\t}\n};\n\nfunction defaultWidget(value) {\n\tfunction loadCustomText() {\n\t\tlet customText = localStorage.getItem('customWidgetText');\n\t\tif (customText == null) {\n\t\t\tlocalStorage.setItem('customWidgetText', DEF_CUSTOM_TEXT);\n\t\t\tcustomText = localStorage.getItem('customWidgetText');\n\t\t\taskCustomText();\n\t\t}\n\t\tapplyText(customText);\n\t\t// return customText;\n\t}\n\n\tfunction toggleCustomTextButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tdocument.getElementById('update-customtext-btn')\n\t\t\t\t\t.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tdocument.getElementById('update-customtext-btn')\n\t\t\t\t\t.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\n\tswitch (value) {\n\t\tcase 'casamia': {\n\t\t\ttoggleCustomTextButton('hide');\n\t\t\tdisplayClock('off');\n\t\t\tapplyText('Casa Mia');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'search': {\n\t\t\ttoggleCustomTextButton('hide');\n\t\t\tdisplayClock('off');\n\t\t\tapplyText('Search');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'clock': {\n\t\t\ttoggleCustomTextButton('hide');\n\t\t\tdisplayClock('on');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'custom': {\n\t\t\tdisplayClock('off');\n\t\t\ttoggleCustomTextButton('show');\n\t\t\tloadCustomText();\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nexport function askCustomText() {\n\tconst savedText = localStorage.getItem('customWidgetText');\n\tInputDialog.show(\n\t\t'Custom widget text',\n\t\t'Enter text you want to set as the main widget.',\n\t\t['Custom text'],\n\t\t'Save',\n\t\t'Cancel',\n\t\tnull,\n\t\t[enableSubmitButton, null],\n\t\t() => {\n\t\t\tInputDialog.getInputFields()[0].value = savedText;\n\t\t},\n\t).then((res) => {\n\t\tlocalStorage.setItem('customWidgetText', res.inputValues[0]);\n\t\tapplyText(res.inputValues[0]);\n\t\tupdateCustomTextPreview();\n\t}).catch((e) => {\n\t\tconsole.error(e);\n\t});\n}\n\nexport function askCustomDomain() {\n\tconst savedDomain = localStorage.getItem('customDomain');\n\tInputDialog.show(\n\t\t'Custom widget text',\n\t\t'Enter text you want to set as the main widget.',\n\t\t['Custom text'],\n\t\t'Save',\n\t\t'Cancel',\n\t\tnull,\n\t\t[enableSubmitButton, null],\n\t\t() => {\n\t\t\tInputDialog.getInputFields()[0].value = savedDomain;\n\t\t},\n\t).then((res) => {\n\t\tlocalStorage.setItem('customDomain', res.inputValues[0]);\n\t\tapplyDomain(res.inputValues[0]);\n\t\tupdateCustomDomainPreview();\n\t}).catch((e) => {\n\t\tconsole.error(e);\n\t});\n}\n\n// function widgetStyle() { };\n\nlet greetingLoop = null;\nfunction displayGreeting(value) {\n\tconst subtitle = document.getElementById('subtitle');\n\tclearInterval(greetingLoop);\n\tswitch (value) {\n\t\tcase 'off': {\n\t\t\tsubtitle.classList.add('collapsed');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'on': {\n\t\t\tsubtitle.classList.remove('collapsed');\n\t\t\trefreshGreeting();\n\t\t\tgreetingLoop = setInterval(refreshGreeting, 20000);\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\n// function showSeconds() { };\n\n// function clockStyle() { };\n\n// function amPmStyle() { };\n\nfunction applyDomain(domain) {\n\tlocalStorage.setItem('default-search-url', domain);\n}\n\nexport function defaultSearchEngine(value) {\n\tfunction loadCustomDomain() {\n\t\tlet customDomain = localStorage.getItem('customDomain');\n\t\tif (customDomain == null) {\n\t\t\tlocalStorage.setItem('customDomain', GOOGLE_SEARCH_DOMAIN);\n\t\t\tcustomDomain = localStorage.getItem('customDomain');\n\t\t\taskCustomDomain();\n\t\t}\n\t\tapplyDomain(customDomain);\n\t\t// return customText;\n\t}\n\n\tfunction applyIcon(value) {\n\t\tdocument.getElementById('search-btn-icon').className = value;\n\t\tlocalStorage.setItem('default-search-icon', value);\n\t}\n\n\tfunction toggleCustomDomainButton(value) {\n\t\tswitch (value) {\n\t\t\tcase 'show': {\n\t\t\t\tdocument.getElementById('update-customdomain-btn')\n\t\t\t\t\t.classList.remove('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t\tcase 'hide': {\n\t\t\t\tdocument.getElementById('update-customdomain-btn')\n\t\t\t\t\t.classList.add('nested-close');\n\t\t\t\tbreak;\n\t\t\t};\n\t\t}\n\t}\n\n\tswitch (value) {\n\t\tcase 'google': {\n\t\t\ttoggleCustomDomainButton('hide');\n\t\t\tapplyDomain(GOOGLE_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-google');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'bing': {\n\t\t\ttoggleCustomDomainButton('hide');\n\t\t\tapplyDomain(BING_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-search');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'duckduckgo': {\n\t\t\ttoggleCustomDomainButton('hide');\n\t\t\tapplyDomain(DUCKDUCKGO_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-search');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'custom': {\n\t\t\ttoggleCustomDomainButton('show');\n\t\t\tloadCustomDomain();\n\t\t\t// applyDomain(GOOGLE_SEARCH_DOMAIN);\n\t\t\tapplyIcon('fa fa-search');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction searchbarTheme(value) {\n\tconst searchContainer = document.getElementById('searchContainer');\n\tsessionStorage.setItem('searchbar-color-theme-drop', value);\n\tswitch (value) {\n\t\tcase 'glass': {\n\t\t\tsearchContainer.classList.add('searchbox-style-glass');\n\t\t\tsearchContainer.classList.remove('searchbox-style-light');\n\t\t\tsearchContainer.classList.remove('searchbox-style-dark');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'light': {\n\t\t\tsearchContainer.classList.remove('searchbox-style-glass');\n\t\t\tsearchContainer.classList.add('searchbox-style-light');\n\t\t\tsearchContainer.classList.remove('searchbox-style-dark');\n\t\t\tbreak;\n\t\t};\n\t\tcase 'dark': {\n\t\t\tsearchContainer.classList.remove('searchbox-style-glass');\n\t\t\tsearchContainer.classList.remove('searchbox-style-light');\n\t\t\tsearchContainer.classList.add('searchbox-style-dark');\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nfunction defaultSearchbarPosition(value) {\n\tconst searchbar = document.getElementById('searchbar');\n\tconst autofillContainer = document.getElementById('autofillContainer');\n\tconst wrap = document.getElementById('wrap');\n\tsessionStorage.setItem('searchbar-position-drop', value);\n\n\tswitch (value) {\n\t\tcase 'top': {\n\t\t\tsearchbar.style.order = '0';\n\t\t\tautofillContainer.style.order = '1';\n\t\t\tautofillContainer.style.bottom = '0em';\n\t\t\tautofillContainer.style.top = '3.25em';\n\t\t\twrap.style.margin = '0 auto auto auto';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'bottom': {\n\t\t\tsearchbar.style.order = '1';\n\t\t\tautofillContainer.style.order = '0';\n\t\t\tautofillContainer.style.bottom = '3.75em';\n\t\t\tautofillContainer.style.top = '';\n\t\t\twrap.style.margin = 'auto auto 0 auto';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'middle': {\n\t\t\tsearchbar.style.order = '0';\n\t\t\tautofillContainer.style.order = '1';\n\t\t\tautofillContainer.style.bottom = '0em';\n\t\t\tautofillContainer.style.top = '3.25em';\n\t\t\twrap.style.margin = 'auto auto auto auto';\n\t\t\tbreak;\n\t\t};\n\t}\n};\n\nexport function scrollToBottom() {\n\tif (document.getElementById('searchbar').style.order == '1') {\n\t\twindow.scrollTo(0, document.body.scrollHeight);\n\t}\n}\n\n// function showTitles() { };\n\nexport function applyPreferences() {\n\tconst preferencesObj =\n\t\tJSON.parse(localStorage.getItem('advDropdownValues'));\n\n\tconst preferencesArray = Object.entries(preferencesObj);\n\tfor (const i of preferencesArray) {\n\t\tconst func = PREF_MAP[i[0]];\n\t\tif (func) func(i[1]);\n\t}\n\n\t// apply previews\n\tupdateUserNamePreview();\n\tupdateCustomTextPreview();\n\tupdateCustomDomainPreview();\n\n\tconst lastSession = sessionStorage.getItem('input');\n\tif (lastSession) document.getElementById('searchTerm').value = lastSession;\n}\n\nexport function loadDropdownPositions() {\n\tconst loadedFromStorage =\n\t\tObject.entries(JSON.parse(localStorage.getItem('advDropdownValues')));\n\t// if (!loadButtonPreviews) return;\n\tfor (const i of loadedFromStorage) {\n\t\tconst elem = document.getElementById(i[0]);\n\t\tif (elem) {\n\t\t\telem.value = i[1];\n\t\t}\n\t}\n};\n\nexport function updateUserNamePreview() {\n\tdocument.getElementById('update-username-btn-preview').\n\t\ttextContent = localStorage.getItem('userName');\n}\n\nexport function updateCustomTextPreview() {\n\tdocument.getElementById('update-customtext-btn-preview').\n\t\ttextContent = localStorage.getItem('customWidgetText');\n}\n\nexport function updateCustomDomainPreview() {\n\tdocument.getElementById('update-customdomain-btn-preview').\n\t\ttextContent = localStorage.getItem('customDomain');\n}\n\nexport function loadSelectedWidgetStyle() {\n\tdocument.getElementById(localStorage.getItem('selected-widget-style'))\n\t\t.scrollIntoView();\n\n\tsetTimeout(() => {\n\t\tintersectionObserver('main-heading-slider', 'widget-slide');\n\t}, 500);\n}\n\nexport function updateAmPmStyle(amPm) {\n\tconst style = localStorage.getItem('selected-widget-style');\n\tif (style == 'widget-2' || style == 'widget-7' || style == 'widget-5') {\n\t\treturn amPm.toLowerCase();\n\t}\n\treturn amPm;\n}\n\nfunction moviesSearch(value) {\n\tconst button = document.getElementById('movies-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction tvSearch(value) {\n\tconst button = document.getElementById('tv-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction gamesSearch(value) {\n\tconst button = document.getElementById('games-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction ebooksSearch(value) {\n\tconst button = document.getElementById('ebooks-search');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\nfunction displayAddBookmark(value) {\n\tconst button = document.getElementById('add_bookmark_button');\n\tswitch (value) {\n\t\tcase 'hidden': {\n\t\t\tbutton.style.display = 'none';\n\t\t\tbreak;\n\t\t};\n\t\tcase 'shown': {\n\t\t\tbutton.style.display = 'flex';\n\t\t\tbreak;\n\t\t};\n\t}\n}\n","export function intersectionObserver(rootID, targetClass) {\n\tconst targetClasses = document.getElementsByClassName(targetClass);\n\tconst options = {\n\t\troot: document.getElementById(rootID),\n\t\trootMargin: '0px',\n\t\tthreshold: 0.5,\n\t};\n\n\tconst callback = (entries) => {\n\t\tentries.forEach((entry) => {\n\t\t\tentry.isIntersecting ? localStorage\n\t\t\t\t.setItem('selected-widget-style', entry.target.id) : null;\n\t\t\t// console.log(entry.target.id)\n\t\t\t// console.log(entry.intersectionRatio)\n\t\t});\n\t};\n\n\tconst observer = new IntersectionObserver(callback, options);\n\n\tfor (const target of targetClasses) {\n\t\tobserver.observe(target);\n\t}\n};\n","// eslint-disable-next-line block-spacing\n{/* eslint-disable max-len */ }\n\n// export const cliHelpText =\n// `Documentation:\\n\n// To Batch search a list of search terms separated by comma:\n// --g : Google search\n// --b : Bing search\n// --d : DuckDuckGo search\\n\n// --fetch : Import a predefined set of custom bookmarks.\n// --reset : Deletes only the saved bookmarks.\n// --reset : Reset everything, including the bookmarks and wallpaper preferences.\\n\n// --help: This page`;\n\nexport const cliUnexpectedCmdText =\n `The command you have passed is invalid.\\n\nType --help to read the documentation.\\n`;\n\nexport const resetBookmarksWarningText =\n `This will reset bookmarks.\nMake sure you have a backup to import later on.\\n\\n\nAre you sure ?`;\n\nexport const resetAllWarningText =\n `This will reset everything.\nThere is no going back.\\n\nAre you sure?`;\n\n// export const askUserNameText =\n// `Welcome to Casa Mia\n// What is your name?`;\n\n// export const retryUserNameText =\n// `Please enter a valid name to proceed.\n// Maximum length allowed is 14 characters.`;\n\nexport const updateUserNameText =\n `Maximum length allowed is 17 characters.`;\n","export function addZero(char) {\n if (char.length == 1) char = '0' + char;\n return char;\n}\n","let alertModalContainer;\nlet modalCancelButton;\nlet tickBoxField;\nlet submitButtons;\n\nconst showAlertDialog = (\n\ttitle = null,\n\tdescription = null,\n\tsubmitButtonNames = ['Submit A', 'Submit B'],\n\tcancelButtonName = 'Ok',\n\ttickBox = [null, null],\n\tlisteners = [],\n\tonInit = null,\n) => {\n\talertModalContainer = document.getElementById('alertDialogContainer');\n\tif (alertModalContainer) alertModalContainer.remove();\n\n\tif (title) {\n\t\ttitle = `

${title}

`;\n\t} else (title = '');\n\tif (description) {\n\t\tdescription = `\n\t\t

${description}

\n\t`;\n\t} else (description = '');\n\n\tdocument.body\n\t\t.insertAdjacentHTML('afterbegin', `\n\t\t
\n\t\t\t
\n\t\t\t\t${title}\n\t\t\t\t${description}\n\t\t\t\t
\n\t\t\t\t\t${cancelButtonName}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t`);\n\tif (submitButtonNames) {\n\t\tsubmitButtonNames.forEach((e) => {\n\t\t\tlet id = e.replaceAll(' ', '-').toLowerCase();\n\t\t\tid = `ALERT-BUTTON-${id}`;\n\t\t\tdocument.getElementById('alertDialogButtonsBar')\n\t\t\t\t.insertAdjacentHTML('afterbegin', `\n\t\t\t\n\t\t\t${e}\n\t\t\t`);\n\t\t});\n\t}\n\tif (tickBox[0]) {\n\t\tdocument.getElementById('alertDialogButtonsBar')\n\t\t\t.insertAdjacentHTML('beforebegin', `\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t${tickBox[0]}\n\t\t\t\t\t \n\t\t`);\n\t\ttickBoxField = document.getElementById('tickBoxField');\n\t};\n\n\talertModalContainer = document.getElementById('alertDialogContainer');\n\tmodalCancelButton = document.getElementById('alertDialogCancelButton');\n\tsubmitButtons = document.getElementsByClassName('alertDialogSubmitButton');\n\tdocument.body.style.overflow = 'hidden';\n\tmodalCancelButton.focus();\n\n\tconst promise = new Promise((resolve, reject) => {\n\t\talertModalContainer.style.alignItems = 'center';\n\t\talertModalContainer.style.opacity = '1';\n\n\t\tconst resolveModal = () => {\n\t\t\tmodalCancelButton.removeEventListener('click', resolveModal);\n\t\t\tif (tickBox[0]) {\n\t\t\t\ttickBoxField.removeEventListener('change', tickBox[1]);\n\t\t\t\ttickBoxField = tickBoxField.checked;\n\t\t\t}\n\t\t\tif (listeners) {\n\t\t\t\tlisteners.forEach((element, index) => {\n\t\t\t\t\tsubmitButtons[index].removeEventListener('click', element);\n\t\t\t\t});\n\t\t\t}\n\t\t\talertModalContainer.remove();\n\t\t\tdocument.body.style.overflow = 'auto';\n\t\t\t// console.log(result);\n\t\t\tresolve(tickBoxField);\n\t\t};\n\n\t\tmodalCancelButton.addEventListener('click', resolveModal);\n\t\tif (listeners) {\n\t\t\tlisteners.forEach((element, index) => {\n\t\t\t\tsubmitButtons[index].addEventListener('click', element);\n\t\t\t});\n\t\t}\n\t\tif (tickBox[0]) {\n\t\t\ttickBoxField.addEventListener('change', tickBox[1]);\n\t\t}\n\t});\n\n\tif (onInit) onInit();\n\treturn promise;\n};\n\nexport const AlertDialog = {\n\tshow: showAlertDialog,\n\tgetCancelButton: () => {\n\t\treturn modalCancelButton;\n\t},\n\tgetSubmitButtons: () => {\n\t\treturn submitButtons;\n\t},\n\tgetCheckboxField: () => {\n\t\treturn tickBoxField;\n\t},\n};\n\nexport const genericAlert = (title, msg) => {\n\tAlertDialog.show(\n\t\ttitle,\n\t\tmsg,\n\t\tnull,\n\t\t'Ok',\n\t\t[null, null],\n\t\tnull,\n\t\tnull,\n\t).then((res) => console.log(res))\n\t\t.catch((e) => console.error(e));\n};\n","export function changeExtension(filename, ext) {\n\tconst array = filename.split('.');\n\tarray[array.length - 1] = ext;\n\treturn array.join('.');\n};\n","export function wait(ms) {\n let now = Date.now();\n const end = now + ms;\n while (now < end) {\n now = Date.now();\n }\n}\n","import { changeGlow, changeSelectionColor } from './colors.js';\nimport { WALLPAPERS_URL } from './constants.js';\nimport { applyPreferences } from './load_preferences.js';\nimport { changeTextAccentColor } from './colors.js';\n\nexport let selectedWallpaper;\nexport let color;\nexport let wallpapersList = [];\n\nexport function fetchWallpapersList() {\n\t// Add wallpapers to HTML\n\tfetch(WALLPAPERS_URL + 'wallpapers_list.json').then((response) => {\n\t\tresponse.text().then((text) => {\n\t\t\twallpapersList = JSON.parse(text);\n\t\t\tresolveWallpapers();\n\t\t\tpopulateWallpapersInDOM();\n\t\t\thighlightSetWallpaper();\n\t\t});\n\t}).catch((e) => {\n\t\tconsole.log(e);\n\t\twindow.open('./pages/error', '_self');\n\t});\n}\n\nexport function setWallpaper(fileName, color) {\n\tselectedWallpaper = fileName;\n\tconst overlay = document.getElementById('overlay');\n\t// console.log('test ' + overlay.style.backdropFilter);\n\toverlay.style.backdropFilter = 'blur(1em)';\n\tconst temp = new Image();\n\ttemp.src = WALLPAPERS_URL + fileName;\n\ttemp.onload = (e) => {\n\t\tapplyWallpaper(selectedWallpaper);\n\t\tlocalStorage.setItem('wallpaper', selectedWallpaper);\n\t\tapplyPreferences();\n\t};\n\n\tchangeGlow(color);\n\tchangeTextAccentColor(color);\n\tchangeSelectionColor(color);\n\tconst inputThumb = fileName.split('.').join('-thumb.');\n\tapplyWallpaper(inputThumb);\n}\n\nfunction applyWallpaper(input) {\n\tdocument.body.style.backgroundImage = 'url(' + WALLPAPERS_URL + input + ')';\n\tdocument.body.style.backgroundRepeat = 'no-repeat';\n\tdocument.body.style.backgroundSize = 'cover';\n\tdocument.body.style.backgroundAttachment = 'fixed';\n\tdocument.body.style.backgroundPosition = 'center';\n}\n\nexport function highlightSetWallpaper() {\n\tconst availableWallpapers = document.getElementsByClassName('thumb-group');\n\tfor (const n of availableWallpapers) {\n\t\tconst thumbnail = n.getElementsByClassName('thumbnail')[0];\n\t\tconst title = n.getElementsByClassName('thumb-title')[0];\n\t\tn.classList.add('animate');\n\n\t\tif (thumbnail.src.replace('-thumb', '').includes(selectedWallpaper)) {\n\t\t\ttitle.style.opacity = '1';\n\t\t\tn.classList.remove('animate');\n\t\t\tn.classList.add('highlighted');\n\t\t} else {\n\t\t\ttitle.style.opacity = '0';\n\t\t\tn.classList.add('animate');\n\t\t\tn.classList.remove('highlighted');\n\t\t}\n\t}\n}\n\n\nexport function changeWallpaper(event) {\n\tevent.stopPropagation();\n\tlet selection = event.target.title;\n\tif (!selection) selection = event.target.childNodes[1].title;\n\t// console.log(\"clicks \" + selection + event.target.childNodes[1].title);\n\tconst wall = getWallpaperDetails(selection);\n\tsetWallpaper(wall[0], wall[1]);\n\thighlightSetWallpaper();\n}\n\nexport function getWallpaperDetails(title) {\n\tconst wallpaper = wallpapersList.filter((item) => {\n\t\treturn item.title == title;\n\t})[0].file;\n\tconst color = wallpapersList.filter((item) => {\n\t\treturn item.title == title;\n\t})[0].color[1];\n\treturn [wallpaper, color];\n}\n\nfunction resolveWallpapers() {\n\tselectedWallpaper = localStorage.getItem('wallpaper');\n\tcolor = wallpapersList.filter((item) => {\n\t\treturn item.file == selectedWallpaper;\n\t})[0].color[1];\n\tsetWallpaper(selectedWallpaper, color);\n}\n\nfunction populateWallpapersInDOM() {\n\tconst bar = document.getElementById('wallpapers');\n\n\tfor (const n of wallpapersList) {\n\t\tlet input = n.file;\n\t\tinput = input.split('.').join('-thumb.');\n\n\t\tconst thumb = document.createElement('div');\n\t\tthumb.className = 'thumb-group';\n\t\tthumb.setAttribute('onclick', 'changeWallpaper(event)');\n\t\tthumb.setAttribute('onkeypress', 'click_to_enter(event)');\n\t\tthumb.setAttribute('tabindex', '3');\n\n\t\tconst div = document.createElement('div');\n\t\tdiv.innerHTML = n.title;\n\t\tdiv.className = 'thumb-title';\n\t\tthumb.appendChild(div);\n\n\t\tconst img = document.createElement('img');\n\t\timg.src = WALLPAPERS_URL + input;\n\t\timg.className = 'thumbnail';\n\t\timg.title = n.title;\n\t\timg.setAttribute('draggable', 'false');\n\t\tthumb.appendChild(img);\n\n\t\tbar.appendChild(thumb);\n\t}\n}\n","export function changeGlow(color, opacity) {\n\tconst glowOverlay = document.getElementById('gradient_overlay');\n\tconst wallpapersRollOverlay = document.getElementById('wallpapers');\n\tconst glowSetting = localStorage.getItem('glow');\n\tif (opacity != null) {\n\t\tif (glowSetting != '1') glowOverlay.style.opacity = opacity;\n\t}\n\tif (color != null) {\n\t\twallpapersRollOverlay.style.background =\n\t\t\t`linear-gradient(to top, rgb(${color}), 50%, #fbd3e900)`;\n\t\tglowOverlay.style.background =\n\t\t\t`linear-gradient(to top, rgb(${color}), 50%, #fbd3e900)`;\n\t}\n}\n\nexport function changeTextAccentColor(color) {\n\tconst i = document.getElementsByClassName('has-shadow');\n\tfor (let n = 0; n < i.length; n++) {\n\t\ti[n].style.textShadow =\n\t\t\t`4px 4px 0 rgba(${color},.85), 6px 6px 0px black`;\n\t}\n}\n\nexport function changeSelectionColor(color) {\n\tdocument.documentElement.style\n\t\t.setProperty('--selection-color', `rgba(${color}, .5)`);\n}\n","export const headingStyles = [\n 'default-text-style',\n 'brush-text-style-1',\n 'brush-text-style-2',\n 'brush-text-style-3',\n];\n","import {\n BING_SEARCH_DOMAIN, DUCKDUCKGO_SEARCH_DOMAIN, GOOGLE_SEARCH_DOMAIN,\n} from './constants.js';\nimport { resetAll, resetBookmarks } from './preferences.js';\nimport { cliUnexpectedCmdText } from './strings.js';\nimport { fetchBookmarks } from './utils.js';\nimport { genericAlert } from './utils/alertDialog.js';\nimport { downloadFile } from './utils/downloadFile.js';\n\n\nexport function cliCheck(input) {\n // var input = getSearchTerm().value;\n if (input.startsWith('--')) {\n return true;\n }\n return false;\n}\n\nfunction parseDL(url) {\n fetch(`https://casamia.cambo.in/api/?url=${url}`).then((results) => {\n return results.json();\n }).then((res) => {\n const download = confirm('Download video?');\n if (download) downloadFile(res.url, 'CasaMia_Downloader.mp4');\n console.log(res.url);\n });\n}\n\nfunction searchViaCli(url, searchTerm) {\n let searchQuery = searchTerm.substr(4);\n searchQuery = searchQuery.split(',');\n searchQuery.forEach((value) => {\n // value = encodeURIComponent(value);\n const o = window.open(`${url}${value}`, '_blank');\n if (o == null) {\n genericAlert('Information',\n 'Allow pop-ups for this feature to work properly.');\n return;\n };\n });\n}\n\nexport function cliParse(input) {\n const forBatchSearch = input.toLowerCase();\n input = input.split('--').join('');\n input = input.split(' ');\n switch (input[0].toLowerCase()) {\n case 'help':\n window.open(`/pages/help/index.html`, '_self');\n // alert(cliHelpText);\n break;\n case 'reset':\n if (input[1] == 'bookmarks') resetBookmarks();\n else if (input[1] == 'all') resetAll();\n else genericAlert('Error', cliUnexpectedCmdText);\n break;\n case 'fetch':\n if (input[1] == 'default') fetchBookmarks();\n // else if (input[1] == 'all') resetAll();\n else genericAlert('Error', cliUnexpectedCmdText);\n break;\n case 'dl':\n if (input[1]) parseDL(input[1]);\n else genericAlert('Failed', `Enter a valid YT address`);\n break;\n case 'clock':\n window.open(`./pages/clock`, '_self');\n break;\n case 'count':\n window.open(`./pages/countdown`, '_self');\n break;\n case 'g':\n searchViaCli(GOOGLE_SEARCH_DOMAIN, forBatchSearch);\n break;\n case 'b':\n searchViaCli(BING_SEARCH_DOMAIN, forBatchSearch);\n break;\n case 'd':\n searchViaCli(DUCKDUCKGO_SEARCH_DOMAIN, forBatchSearch);\n break;\n default:\n genericAlert('Error', cliUnexpectedCmdText);\n };\n}\n\n","// export const downloadFile = (path, filename) => {\n// // Create a new link\n// const anchor = document.createElement('a');\n// anchor.href = path;\n// anchor.download = filename;\n\n// // Append to the DOM\n// document.body.appendChild(anchor);\n\n// // Trigger `click` event\n// anchor.click();\n\n// // Remove element from DOM\n// document.body.removeChild(anchor);\n// };\n\nexport function downloadFile(url) {\n // console.log(WALLPAPERS_URL + selectedWallpaper);\n const element = document.createElement('a');\n element.setAttribute('href', url);\n element.setAttribute('download', 'CasaMia-Downloaer');\n element.target = '_blank';\n element.style.display = 'none';\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n /* alert(\n \"If the download doesn't start, disable the pop-up blocker extensions.\"\n); */\n};\n","const notifyModalContainer = document.getElementById('notifyContainer');\r\nlet modalCancelButton;\r\nlet notify;\r\n\r\nconst showNotifyDialog = (\r\n\tdescription,\r\n\tms = '5000',\r\n\tonClick = null,\r\n) => {\r\n\tconst id = Date.now();\r\n\tnotify = document.getElementById(`notifyModal-${id}`);\r\n\tif (notify) notify.parentNode.remove();\r\n\r\n\tnotifyModalContainer.insertAdjacentHTML('afterbegin', `\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t

\r\n\t\t\t\t\t${description}\r\n\t\t\t\t

\r\n\t\t\t\t
\r\n\t\t\t
\t\r\n\t\t\t\r\n\t\t
\r\n\t`);\r\n\r\n\tconst notifyLoader = document.getElementById(`notifyLoader-${id}`);\r\n\r\n\tnotify = document.getElementById(`notifyModal-${id}`);\r\n\tif (onClick) notify.addEventListner('click', onClick);\r\n\r\n\tconst closeNotification = (event) => {\r\n\t\tif (onClick) notify.removeEventListner('click', onClick);\r\n\t\tmodalCancelButton.removeEventListener('click', closeNotification);\r\n\t\tevent.target.parentNode.remove();\r\n\t};\r\n\r\n\tmodalCancelButton = document.getElementById(`notifyDialogCancelButton-${id}`);\r\n\tmodalCancelButton.addEventListener('click', closeNotification);\r\n\r\n\tsetTimeout(() => {\r\n\t\tconst close = modalCancelButton;\r\n\t\tsetTimeout(() => {\r\n\t\t\tclose.click();\r\n\t\t}, ms);\r\n\t\tnotifyLoader.style.transition = ms + 'ms';\r\n\t\tnotify.style.opacity = '1';\r\n\t\tnotify.style.marginTop = '2em';\r\n\t\tnotifyLoader.style.width = '0%';\r\n\t}, 50);\r\n};\r\n\r\nexport const Notify = {\r\n\tshow: showNotifyDialog,\r\n};\r\n","let previousClick = null;\n\nexport function hideLoading() {\n if (previousClick) {\n previousClick.classList.toggle('loader');\n }\n previousClick = null;\n}\nexport function displayLoading(event) {\n // console.log(event);\n event.stopPropagation();\n // event.preventDefault();\n hideLoading();\n const click = event.target;\n previousClick = click;\n click.classList.toggle('loader');\n}\n","import { DEF_PREF, DEF_WALLPAPER, SAMPLE_AUTOFILL } from './constants.js';\nimport { updateUserNamePreview } from './load_preferences.js';\nimport { refreshGreeting } from './preferences.js';\nimport { updateUserNameText } from './strings.js';\nimport { InputDialog } from './utils/inputDialog.js';\nimport { enableSubmitButton } from './utils/enableSubmitButton.js';\n\nexport function askUserName() {\n let userName = localStorage.getItem('userName');\n\n if (userName) {\n InputDialog.show(\n 'Update your name',\n updateUserNameText,\n ['Change name to'],\n 'Update',\n 'Cancel',\n null,\n [enableSubmitButton, null],\n () => {\n InputDialog.getInputFields()[0].setAttribute('maxlength', 17);\n InputDialog.getInputFields()[0].value = userName;\n },\n ).then((res) => {\n userName = res.inputValues[0];\n localStorage.setItem('userName', userName);\n updateUserNamePreview();\n refreshGreeting();\n return;\n }).catch((e) => {\n console.error(e);\n return;\n });\n return;\n };\n\n if (!userName) {\n const onBoardingInProgress = InputDialog.show(\n 'Welcome to Casa Mia',\n `Hi! We are so excited to see you here.\n Please fill out the following details before moving forward. `,\n [`Your name`],\n 'Proceed',\n null,\n null,\n [enableSubmitButton, null],\n () => {\n InputDialog.getInputFields()[0].setAttribute('maxlength', 17);\n },\n );\n onBoardingInProgress.then((res) => {\n userName = res.inputValues[0];\n localStorage.setItem('userName', userName);\n localStorage.setItem('onBoarding', '1');\n return;\n }).catch((e) => {\n console.error(e);\n return;\n });\n return onBoardingInProgress;\n };\n};\n\nexport function preOnboarding() {\n const onBoardingInProgress = askUserName();\n localStorage.setItem('onBoarding', '0');\n localStorage.setItem('advDropdownValues', JSON.stringify(DEF_PREF));\n localStorage.setItem('wallpaper', DEF_WALLPAPER);\n localStorage.setItem('autocompleteDatabase', SAMPLE_AUTOFILL);\n localStorage.setItem('selected-widget-style', 'widget-1');\n return onBoardingInProgress;\n}\n\n","import { applyPreferences } from './load_preferences.js';\n\nexport function saveDropdownPositions() {\n const select = document.getElementsByTagName('select');\n const dropdownPositions = {};\n for (const i of select) {\n dropdownPositions[i.id] = i.value;\n };\n localStorage\n .setItem('advDropdownValues', JSON.stringify(dropdownPositions));\n applyPreferences();\n};\n\n// export function saveButtonValues() {\n// const previews = document.getElementsByClassName('custom-button');\n// const buttonPreviews = {};\n// for (const i of previews) {\n// buttonPreviews[i.id] = i.value;\n// };\n// localStorage\n// .setItem('advButtonPreviews', JSON.stringify(buttonPreviews));\n// loadButtonPreviews();\n// };\n\n// export function loadButtonPreviews() {\n// let loadedFromStorage = localStorage.getItem('advButtonPreviews');\n// if (!loadedFromStorage) return;\n// loadedFromStorage =\n// Object.entries(JSON.parse(loadedFromStorage));\n// for (const i of loadedFromStorage) {\n// document.getElementById(i[0] + '-preview').textContent = i[1];\n// }\n// };\n","export function getLastUpdated(id) {\n\tfetch('https://api.github.com/repos/lscambo13/casamia/commits/HEAD')\n\t\t.then((response) => {\n\t\t\tresponse.json().then((response) => {\n\t\t\t\tconst date = new Date(response.commit.committer.date);\n\t\t\t\tlet time = date.toISOString();\n\t\t\t\ttime = time.slice(0, time.length - 5);\n\t\t\t\ttime = time\n\t\t\t\t\t.replaceAll('T', '-')\n\t\t\t\t\t.replaceAll(':', '')\n\t\t\t\t\t.replaceAll('-', '.');\n\t\t\t\tconst element = document.getElementById(id);\n\t\t\t\telement.innerHTML = `Version ${time}`;\n\t\t\t}).catch((e) => {\n\t\t\t\tconsole.error('getLastUpdated', e);\n\t\t\t});\n\t\t}).catch((e) => {\n\t\t\tconsole.error('getLastUpdated', e);\n\t\t});\n};\n","export function blurLevel(int) {\r\n\tdocument.documentElement.style\r\n\t\t.setProperty('--blur-one-em', `blur(${int}em)`);\r\n\tdocument.documentElement.style\r\n\t\t.setProperty('--blur-one-px', `blur(${int}px)`);\r\n}\r\n","let pause = false\r\nexport function pauseSnaowfall(boolean) {\r\n\tpause = boolean\r\n\tisItChristmas()\r\n}\r\nexport function isItChristmas() {\r\n\tlet date = new Date()\r\n\tif (date.getMonth() == 11 && date.getDate() > 17 && date.getDate() < 32) {\r\n\t\t// console.log(date.getMonth() == 11, date.getDate() > 17, date.getDate() < 32)\r\n\t\tletItSnow()\r\n\t}\r\n}\r\nfunction letItSnow() {\r\n\tpause = true\r\n\t//canvas init\r\n\tvar canvas = document.getElementById(\"canvasFar\");\r\n\tvar ctx = canvas.getContext(\"2d\");\r\n\r\n\t//canvas dimensions\r\n\tvar W = window.innerWidth;\r\n\tvar H = window.innerHeight;\r\n\tcanvas.width = W;\r\n\tcanvas.height = H;\r\n\r\n\t//snowflake particles\r\n\tvar mp = 50; //max particles\r\n\tvar particles = [];\r\n\tfor (var i = 0; i < mp; i++) {\r\n\t\tparticles.push({\r\n\t\t\tx: Math.random() * W, //x-coordinate\r\n\t\t\ty: Math.random() * H, //y-coordinate\r\n\t\t\tr: Math.random() * 4 + 1, //radius\r\n\t\t\td: Math.random() * mp //density\r\n\t\t})\r\n\t}\r\n\r\n\t//Lets draw the flakes\r\n\tctx.fillStyle = \"rgba(255, 255, 255, 0.5)\";\r\n\tfunction draw() {\r\n\t\t// let tStart = Date.now()\r\n\t\tctx.clearRect(0, 0, W, H);\r\n\t\tctx.beginPath();\r\n\t\tfor (var i = 0; i < mp; i++) {\r\n\t\t\tvar p = particles[i];\r\n\t\t\tctx.moveTo(p.x, p.y);\r\n\t\t\tctx.arc(p.x, p.y, p.r, 0, Math.PI * 2, true);\r\n\t\t}\r\n\t\tctx.fill();\r\n\t\tupdate();\r\n\t\tif (!pause) window.requestAnimationFrame(draw);\r\n\t\t// console.log(Date.now() - tStart)\r\n\t\t// console.log('draw')\r\n\t}\r\n\r\n\t//Function to move the snowflakes\r\n\t//angle will be an ongoing incremental flag. Sin and Cos functions will be applied to it to create vertical and horizontal movements of the flakes\r\n\t// var angle = 0;\r\n\tfunction update() {\r\n\t\t// console.log('update main')\r\n\t\t// angle += 0.01;\r\n\t\tfor (var i = 0; i < mp; i++) {\r\n\t\t\t// console.log('update loop')\r\n\t\t\tvar p = particles[i];\r\n\t\t\t//Updating X and Y coordinates\r\n\t\t\t//We will add 1 to the cos function to prevent negative values which will lead flakes to move upwards\r\n\t\t\t//Every particle has its own density which can be used to make the downward movement different for each flake\r\n\t\t\t//Lets make it more random by adding in the radius\r\n\t\t\tp.y += Math.cos(p.d) + 1 + p.r / 10;\r\n\t\t\t// p.y += Math.cos(angle + p.d) + 1 + p.r / 2;\r\n\t\t\t// p.x += Math.sin(angle) * 2;\r\n\r\n\t\t\t//Sending flakes back from the top when it exits\r\n\t\t\t//Lets make it a bit more organic and let flakes enter from the left and right also.\r\n\t\t\tif (p.x > W + 5 || p.x < -5 || p.y > H) {\r\n\t\t\t\tif (i % 3 > 0) //66.67% of the flakes\r\n\t\t\t\t{\r\n\t\t\t\t\tparticles[i] = { x: Math.random() * W, y: -10, r: p.r, d: p.d };\r\n\t\t\t\t}\r\n\t\t\t\t// else {\r\n\t\t\t\t// \t//If the flake is exitting from the right\r\n\t\t\t\t// \tif (Math.sin(angle) > 0) {\r\n\t\t\t\t// \t\t//Enter from the left\r\n\t\t\t\t// \t\tparticles[i] = { x: -5, y: Math.random() * H, r: p.r, d: p.d };\r\n\t\t\t\t// \t}\r\n\t\t\t\t// \telse {\r\n\t\t\t\t// \t\t//Enter from the right\r\n\t\t\t\t// \t\tparticles[i] = { x: W + 5, y: Math.random() * H, r: p.r, d: p.d };\r\n\t\t\t\t// \t}\r\n\t\t\t\t// }\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tcanvas.style.display = 'block'\r\n\tpause = false\r\n\twindow.requestAnimationFrame(draw);\r\n\t//animation loop\r\n\t// setInterval(draw, 60);\r\n}\r\n","export function isTouchDevice() {\n\t// return (('ontouchstart' in window) ||\n\t// \t(navigator.maxTouchPoints > 0) ||\n\t// \t(navigator.msMaxTouchPoints > 0));\n\tif (window.matchMedia('(hover: none)').matches) {\n\t\treturn true;\n\t} else return false;\n};\n"],"names":["$73ae58c03c087314$var$modalContainer","$73ae58c03c087314$var$modalSubmitButton","$73ae58c03c087314$var$modalCancelButton","$73ae58c03c087314$var$tickBoxField","$73ae58c03c087314$var$inputFields","$137ee9d386afeb28$var$alertModalContainer","$137ee9d386afeb28$var$modalCancelButton","$137ee9d386afeb28$var$tickBoxField","$137ee9d386afeb28$var$submitButtons","$7566187318f3fcf8$export$399f7ebe17396880","$7566187318f3fcf8$export$35e9368ef982300f","$851bdc38234428b7$var$modalCancelButton","$851bdc38234428b7$var$notify","$dad545c909cfec2d$var$timeout","$5cb36cae53cff17f$export$13bef53858783c8","$5cb36cae53cff17f$export$f288c99438ae5042","$5cb36cae53cff17f$export$eaf87ba60b13cb7b","$5cb36cae53cff17f$export$7f0ed2ad69a4477b","$5cb36cae53cff17f$export$c73e34d3fbf60d07","$5cb36cae53cff17f$export$9e325b1a7d5ca2be","$5cb36cae53cff17f$export$26368a7293f8b58d","$73ae58c03c087314$export$582bc754b5da294a","show","title","description","inputBoxes","submitButtonName","cancelButtonName","tickBox","listeners","onInput","onChange","onInit","document","getElementById","remove","activeElement","blur","body","insertAdjacentHTML","forEach","e","id","replaceAll","toLowerCase","getElementsByClassName","style","overflow","focus","display","promise","Promise","resolve","reject","opacity","rejectModal","removeEventListener","Error","resolveModal","checked","inputValues","push","value","result","console","log","addEventListener","getSubmitButton","getCancelButton","getInputFields","getCheckboxField","n","$3f3f917efd553266$export$c4ea027afed2fe4a","userInput","URL","err","$9b503205b15d65b6$export$302ed7cda67b07d7","event","alt","modalSubmitButton","inputFields","length","disabled","$2418e51d71255ec8$export$4bec518d10afac3b","str","documentElement","setProperty","$dbebd6b4cf5c8fbe$export$8d4841631317485f","JSON","parse","localStorage","getItem","$dbebd6b4cf5c8fbe$export$6789c089e1fc97ab","link","name","bookmarkContainer","appendChild","$dbebd6b4cf5c8fbe$var$createBookmark","i","createElement","textContent","className","d","setAttribute","newBookmark","justAdded","$dbebd6b4cf5c8fbe$export$bf080fbaa0a75b3f","$dbebd6b4cf5c8fbe$export$7c6b17cf45d2b7e3","setItem","stringify","$dbebd6b4cf5c8fbe$export$70926afe0a056723","visible","$dbebd6b4cf5c8fbe$export$30567b880d6812e6","filename","text","element","encodeURIComponent","click","removeChild","preventDefault","stopPropagation","targetElement","target","parentNode","details","$dbebd6b4cf5c8fbe$export$adffc1b042979c2c","edit","filter","elem","checkbox","classList","add","then","res","checkboxChecked","href","firstChild","innerHTML","$dbebd6b4cf5c8fbe$export$875bb17e303697e9","newName","newLink","catch","$5389e778e2dc8e49$var$PREF_MAP","overlay","backgroundColor","backdropFilter","setTimeout","footer","toggleCustomTextButton","$35a5d35243d57eec$export$a1096b222c632831","$5389e778e2dc8e49$var$applyText","customText","$5389e778e2dc8e49$export$fcc3c2f16e2af6d4","subtitle","clearInterval","$5389e778e2dc8e49$var$greetingLoop","$35a5d35243d57eec$export$4bb88037aaddd25e","setInterval","widget","lArrow","rArrow","toggleDefaultWidgetButton","applyIcon","toggleCustomDomainButton","$5389e778e2dc8e49$var$applyDomain","customDomain","$5389e778e2dc8e49$export$a352a5ecc9232970","searchbar","autofillContainer","wrap","sessionStorage","order","bottom","top","margin","searchContainer","search","searchChildren","searchEngineDrop","toggleSearchEngineButton","button","$5389e778e2dc8e49$var$widgetSlides","input","savedText","$5389e778e2dc8e49$export$cdeaa803477aba78","error","savedDomain","$5389e778e2dc8e49$export$d8b215a47c29972","domain","$5389e778e2dc8e49$export$38c14696b098549d","Object","entries","func","$5389e778e2dc8e49$export$bf7f0e9e24ecf9d1","lastSession","$fd9e139cff288f6e$export$d96f8f3d69dea3e1","$fd9e139cff288f6e$export$f41e93e41e0535b3","$fd9e139cff288f6e$export$f650c1089f65d166","$5c8a802a57df9165$export$9483fc21a5fb7b9e","char","$137ee9d386afeb28$export$de466dd8317b0b75","submitButtonNames","alignItems","index","getSubmitButtons","$137ee9d386afeb28$export$53cf4afa15b2ee29","msg","$b153d78f6d86cf85$export$55dcfff404500f65","color","glowOverlay","wallpapersRollOverlay","glowSetting","background","$7566187318f3fcf8$export$a6c333b3ac275b1c","$7566187318f3fcf8$export$5afc1366ebd24132","fileName","temp","Image","src","onload","$7566187318f3fcf8$var$applyWallpaper","textShadow","split","join","backgroundImage","backgroundRepeat","backgroundSize","backgroundAttachment","backgroundPosition","$7566187318f3fcf8$export$69ac15e1f107dc66","thumbnail","replace","includes","$35a5d35243d57eec$var$clockLoop","$35a5d35243d57eec$var$refreshClock","targetClass","date","Date","hours","getHours","amPm","int","toString","minutes","getMinutes","seconds","getSeconds","separator","user","greeting","innerText","$35a5d35243d57eec$export$a7190c76717f8270","file","files","importedBookmarks","ids","bookmark","ms","now","end","window","location","reload","$35a5d35243d57eec$export$a545fc2d14cf132f","confirm","removeItem","$35a5d35243d57eec$export$ffe8c06b7e356699","clear","$a68193f3fd1cac67$export$91e00acd6f5df1a","$a68193f3fd1cac67$export$fd0da135e577952c","passive","$a68193f3fd1cac67$export$14f70b5a16997eba","$a68193f3fd1cac67$export$5c6a0752a4296de5","key","$a68193f3fd1cac67$export$72b5cc31a1a78e6a","fetch","$a68193f3fd1cac67$export$281e8fc8ea1e9fba","arrows","height","$a68193f3fd1cac67$export$2b178751aa586095","newPos","w","width","scrollWidth","el","currentPos","scrollLeft","step","$d7c60f3aead25bb6$export$457f6685672fd05e","startsWith","$d7c60f3aead25bb6$var$searchViaCli","url","searchTerm","searchQuery","substr","o","open","$851bdc38234428b7$var$notifyModalContainer","$851bdc38234428b7$export$dd80a68918412a62","onClick","notifyLoader","addEventListner","closeNotification","removeEventListner","close","transition","marginTop","$70ed80e2236f14cc$var$MSG","$70ed80e2236f14cc$var$container","querySelector","$70ed80e2236f14cc$var$searchBG","$70ed80e2236f14cc$var$myScript","$70ed80e2236f14cc$var$returnedSuggestions","googleSuggestions","data","inputQuery","$70ed80e2236f14cc$var$showAutofillBox","$70ed80e2236f14cc$var$expandAutofill","$70ed80e2236f14cc$var$googleAutocomplete","$70ed80e2236f14cc$var$switchToCLI","btnIcon","currentIcon","$70ed80e2236f14cc$var$switchToURL","$70ed80e2236f14cc$export$c6c617d92c407e82","paddingBlock","items","querySelectorAll","getBoundingClientRect","calc","paddingBlockStart","$70ed80e2236f14cc$var$clearSuggestions","cloudInput","db","autofill","InputEvent","dispatchEvent","generateSuggestions","filteredArray","theme","flexDirection","$70ed80e2236f14cc$var$updateAutocompleteDatabase","entry","set","Set","update","Array","from","$75590c282c4b6d2f$var$previousClick","$75590c282c4b6d2f$export$7d026bf51c574e0d","toggle","$75590c282c4b6d2f$export$9c50633bb373449b","$af46b3898e95fec2$export$6719b8810e09631c","userName","onBoardingInProgress","$7f5a022d19b7598c$export$f991f204b517fa6f","select","getElementsByTagName","dropdownPositions","$3422f2542f1843ad$export$120f25d091dbb0c6","$808733721e15f082$var$pause","$808733721e15f082$export$940e1bb9f0126de","getMonth","getDate","$808733721e15f082$var$letItSnow","canvas","ctx","getContext","W","innerWidth","H","innerHeight","particles","x","Math","random","y","r","fillStyle","requestAnimationFrame","draw","clearRect","beginPath","p","moveTo","arc","PI","fill","cos","$dad545c909cfec2d$var$bottomFilmRollContainer","$dad545c909cfec2d$var$wrap","$dad545c909cfec2d$var$advancedSettingsButton","$dad545c909cfec2d$var$modal","$dad545c909cfec2d$var$modalBackground","$dad545c909cfec2d$var$areAdvancedSettingsOpen","$dad545c909cfec2d$var$areWallpapersOpen","$dad545c909cfec2d$var$wallpapersPanel","history","pushState","loc","clearTimeout","wallpaper","scrollIntoView","inline","$dad545c909cfec2d$var$openAdvancedSettings","$dad545c909cfec2d$var$closeAdvancedSettings","createNewBookmark","inputDialogDescription","undefined","label","address","navigator","clipboard","readText","changeWallpaper","selection","childNodes","wall","item","bookmarksString","saved_bookmarks","getFullYear","backupString","importedBackup","onBoarding","keys","hiResWall","ext","array","customBookmarks","spans","newFavicon","arrow","forBatchSearch","$d7c60f3aead25bb6$var$parseDL","results","json","$70ed80e2236f14cc$var$loadSearchDomain","oldInput","slider","$dad545c909cfec2d$var$pressAndHold","timerId","clearTimer","clickEvent","validElements","$dad545c909cfec2d$var$switchPage","go","page","$dad545c909cfec2d$var$postOnboarding","deferredPrompt","btnInstall","response","$7566187318f3fcf8$var$populateWallpapersInDOM","bar","thumb","div","img","tagName","tagList","prompt","userChoice","choiceResult","outcome","scrollTo","scrollHeight","time","commit","committer","toISOString","slice","rootID","targetClasses","options","root","rootMargin","threshold","observer","IntersectionObserver","isIntersecting","observe","matchMedia","matches","once"],"version":3,"file":"index.52a762c6.js.map"} \ No newline at end of file diff --git a/dist/index.61010a1f.css b/dist/index.61010a1f.css deleted file mode 100644 index d3dd9b4..0000000 --- a/dist/index.61010a1f.css +++ /dev/null @@ -1,1245 +0,0 @@ -:root { - --selection-color: null; - --white: #fbfaf8; - --white-half-alpha: #fbfaf892; - --white-quarter-alpha: #fbfaf843; - --white-low-alpha: #fbfaf815; - --dark: #060604; - --dark-low-alpha: #0606042c; - --accent-color: #bb377d; - --highlight-color: #dfb669; - --predefined-bookmark: #6856347e; - --custom-bookmark: #3535357e; - --add-bookmark: #4d685a7e; - --settings: #4d685a7e; - --primary-color: #faf7f0; - --secondary-color: #e7decd; - --blur-one-em: blur(1em); - --blur-one-px: blur(1px); - --blur-half-em: blur(.5em); - --cross-display: none; -} - -::selection { - background: var(--selection-color); -} - -#canvasFar { - z-index: 0; - background-image: linear-gradient(#ffffff40 0%, #ebebff00 60%); - display: none; - position: fixed; - top: 0; -} - -.disable-select { - -webkit-user-select: none; - user-select: none; -} - -* { - caret-color: #0000; - scroll-behavior: smooth; - outline-color: var(--selection-color); - outline-offset: -1px; - outline-width: 1px; - margin: 0; - padding: 0; - box-sizing: border-box !important; -} - -body { - background-color: #282828; - flex-direction: column; - justify-content: space-between; - align-items: center; - min-height: 100svh; - font-family: Ubuntu Mono, monospace; - font-size: 12px; - display: flex; -} - -.justifySpaceBetween { - justify-content: space-between !important; -} - -#overlay { - z-index: 0; - cursor: auto; - background-color: #00000060; - width: 100%; - height: 100%; - transition: all .3s; - display: block; - position: fixed; - inset: 0; -} - -#gradient_overlay { - opacity: 0; - z-index: 0; - cursor: auto; - width: 100%; - height: 100%; - transition: all .3s; - display: block; - position: fixed; - bottom: 0; - left: 0; - right: 0; -} - -.header { - color: var(--primary-color); - z-index: 13; - background-color: #2684e15c; - justify-content: space-between; - gap: .25em; - width: 100%; - height: 3em; - padding: .5em; - font-size: .75em; - display: none; - position: fixed; - top: 0; - left: 0; -} - -.header-left-block { - align-items: center; - gap: 1em; - display: flex; -} - -.user-avatar { - border-radius: 50%; - width: 2em; - height: 2em; -} - -.user-name { - text-align: center; -} - -.header-right-block { - align-items: center; - gap: 1em; - display: flex; -} - -#wrap { - opacity: 0; - z-index: 2; - width: 100%; - max-width: 1280px; - transition: all .125s; - display: block; -} - -body::-webkit-scrollbar { - -ms-overflow-style: none; - display: none; -} - -.flex-main-container-vertical { - flex-direction: column; - margin: auto; - display: flex; -} - -#home-widget-container { - color: var(--primary-color); - cursor: default; - text-align: center; - justify-content: center; - align-items: flex-end; - width: 100%; - margin-bottom: 1em; - padding-inline: 0; - font-size: 2em; - display: flex; - top: 0; - left: 0; -} - -.home-widget { - flex-direction: column; - max-width: 90%; - display: flex; -} - -#main-heading-slider { - scroll-snap-type: x mandatory; - max-width: 100%; - padding-block-end: .125em; - transition: all .5s; - display: flex; - overflow: scroll hidden; -} - -#main-heading-slider * { - scroll-snap-align: center; - scroll-snap-stop: always; - flex: 1; - min-width: 100%; - margin-bottom: -.25em; -} - -#main-heading-slider::-webkit-scrollbar { - height: 8px; - display: none; -} - -#main-heading-slider::-webkit-scrollbar-track { - border-radius: 10px; - box-shadow: inset 0 0 5px gray; -} - -#main-heading-slider::-webkit-scrollbar-thumb { - background: var(--accent-color); - border-radius: 10px; -} - -.default-text-style { - color: var(--primary-color); - font-family: Ubuntu; - font-size: 2em; - line-height: 2em; - rotate: none; - text-shadow: 0 0 0 var(--accent-color), 0 0 0 #000 !important; -} - -.brush-text-style-1 { - color: #f5f5f5; - text-shadow: 4px 4px 0 var(--accent-color), 6px 6px 0 #000; - font-family: Vujahday Script, handwriting; - font-size: 2.25em; - line-height: 1.5em; - rotate: -6deg; -} - -.brush-text-style-2 { - color: #f5f5f5; - font-family: Advent Pro, sans-serif; - font-size: 2.25em; - line-height: 1.9em; -} - -.brush-text-style-3 { - color: #f5f5f5; - text-shadow: 4px 4px 0 var(--accent-color), 6px 6px 0 #000; - font-family: Nanum Brush Script, handwriting; - font-size: 2.8em; - line-height: 1.375em; - rotate: none; -} - -.brush-text-style-4 { - color: #f5f5f5; - text-shadow: 1px 1px #000; - font-family: Are You Serious, handwriting; - font-size: 2.5em; - line-height: 1.5em; - rotate: none; -} - -.brush-text-style-5 { - color: #f5f5f5; - text-shadow: 1px 1px #000; - font-family: Alkatra, display; - font-size: 2.25em; - line-height: 1.75em; - rotate: none; -} - -.brush-text-style-6 { - color: #f5f5f5; - text-shadow: 1px 1px #000; - font-family: Montez, handwriting; - font-size: 2.5em; - line-height: 1.5em; - rotate: none; -} - -.separator { - opacity: 0; -} - -.separator-visible { - opacity: 1; -} - -.nowrap { - text-wrap: nowrap; -} - -.arrows { - opacity: .85; - z-index: 5; - text-shadow: 0 2px #000; - height: 0; - font-size: 1em; - transition: all .25s; - overflow: hidden; -} - -.arrows:hover { - opacity: 1; -} - -.arrows:active { - opacity: .5; - text-shadow: 0 0 #000; -} - -#subtitle { - font-family: Ubuntu; - font-size: .65em; -} - -.search { - text-align: center; - cursor: default; - z-index: 2; - flex-wrap: wrap; - justify-content: center; - align-items: stretch; - width: 100%; - height: 3em; - margin-bottom: 2em; - display: flex; - position: relative; -} - -.searchBarFocusMode { - opacity: 0; - -webkit-backdrop-filter: blur(1em); - background-color: #ffffff1f; - width: 100%; - height: 100%; - transition: all .2s; - display: none; - position: fixed; - top: 0; -} - -.searchContainer { - z-index: 2; - border-radius: 1.5em; - order: 1; - justify-content: center; - align-items: center; - width: 100%; - min-width: 4em; - max-width: 44em; - height: 3em; - margin-inline: 1.85em; - display: flex; - overflow: hidden; -} - -.searchContainer:has(.searchTerm:focus) { - border-radius: 1em; -} - -.searchTerm { - background: none; - border: 0; - outline: 0; - width: 100%; - height: 100%; - padding: 0 2em 0 1em; - font-size: 1em; -} - -.autofillContainer { - background-color: #0000; - justify-content: flex-start; - align-items: center; - width: calc(100% - 3.5em); - min-width: 4em; - max-width: 44em; - height: 0; - padding-inline: .1em; - transition: all .125s; - display: flex; - position: absolute; - overflow: hidden; -} - -.autofillItem { - text-wrap: nowrap; - text-overflow: ellipsis; - white-space: nowrap; - text-align: start; - z-index: 2; - border-radius: .5em; - width: 100%; - min-width: 4em; - max-width: 44em; - min-height: 2.25em; - max-height: 2.25em; - margin-block-start: .25em; - padding-block-start: .5em; - padding-inline: 1em; - font-family: Ubuntu; - font-weight: 100; - overflow: hidden; - box-shadow: 0 2px 2px #0000002e; - border: 1px solid #0000 !important; -} - -input::-webkit-search-cancel-button { - opacity: .5; - margin-inline: .7em -1.25em; - transition: all .2s; -} - -input::-webkit-search-cancel-button:hover { - opacity: .75; -} - -input::-webkit-search-cancel-button:hover { - scale: 1.1; -} - -.searchButton { - text-align: center; - cursor: pointer; - background: none; - border: 0; - outline: 0; - width: 4em; - height: 100%; - font-size: 1em; -} - -.searchButton > i { - opacity: .5; - background-color: #0000; - background-size: 2px; - border-radius: 2em; - padding: .1em; - transition: all .125s; -} - -.searchButton:active > i { - background-color: var(--selection-color); - padding: .7em; - color: var(--dark); - padding: .8em; - transition: all .2s; -} - -.searchbox-style-glass { - -webkit-backdrop-filter: var(--blur-one-em); - background: var(--white-quarter-alpha); - color: #fffd; - border: 1px solid #ffffff38; - transition: all .125s; -} - -.searchbox-style-glass > :first-child::placeholder { - color: #ffffff86; -} - -.searchbox-style-glass > :first-child { - color: #ffffff92; - caret-color: #fff; - transition: all .125s; -} - -.searchbox-style-glass > :nth-child(2) > i, .searchbox-style-glass > :first-child:focus { - color: #fff; -} - -.searchbox-style-glass:hover { - color: #fff; - border: 1px solid #ffffffce; -} - -.searchbox-style-glass:hover > :first-child { - color: #fff; -} - -.searchbox-style-glass:hover > .searchButton > i { - opacity: 1; -} - -.searchbox-style-glass:has(.searchTerm:focus) { - box-shadow: 0 0 4px 0px var(--selection-color); - border: 1px solid #fff0; -} - -.searchbox-style-glass > :first-child::-webkit-search-cancel-button { - filter: grayscale() invert() brightness(200%); -} - -.searchbox-style-light { - color: #000d; - background: #fff; - border: 1px solid #fff; - transition: all .125s; -} - -.searchbox-style-light > :first-child::placeholder { - color: #75757586; -} - -.searchbox-style-light > :first-child { - color: #00000092; - caret-color: #000; - transition: all .125s; -} - -.searchbox-style-light > :nth-child(2) > i, .searchbox-style-light > :first-child:focus { - color: #000; -} - -.searchbox-style-light:hover { - border: 1px solid var(--selection-color); - color: #000; -} - -.searchbox-style-light:hover > :first-child { - color: #000; -} - -.searchbox-style-light:hover > .searchButton > i { - opacity: 1; -} - -.searchbox-style-light:has(.searchTerm:focus) { - box-shadow: 0 0 4px 0px var(--selection-color); - border: 1px solid #0000; -} - -.searchbox-style-light > :first-child::-webkit-search-cancel-button { - filter: grayscale() invert() brightness(50%); -} - -.searchbox-style-dark { - color: #fffd; - background: #000; - border: 1px solid #ffffff1e; - transition: all .125s; -} - -.searchbox-style-dark > :first-child::placeholder { - color: #75757586; -} - -.searchbox-style-dark > :first-child { - caret-color: #fff; - color: #ffffff92; - transition: all .125s; -} - -.searchbox-style-dark > :nth-child(2) > i, .searchbox-style-dark > :first-child:focus { - color: #fff; -} - -.searchbox-style-dark:hover { - border: 1px solid var(--selection-color); - color: #fff; -} - -.searchbox-style-dark:hover > :first-child { - color: #fff; -} - -.searchbox-style-dark:hover > .searchButton > i { - opacity: 1; -} - -.searchbox-style-dark:has(.searchTerm:focus) { - box-shadow: 0 0 4px 0px var(--selection-color); - border: 1px solid #fff0; -} - -.searchbox-style-dark > :first-child::-webkit-search-cancel-button { - filter: grayscale() invert() brightness(200%); -} - -.searchTerm:focus + .searchButton > i { - opacity: 1; -} - -.flex-sub-container-horizontal { - flex-wrap: wrap; - justify-content: center; - align-items: center; - margin-bottom: 2em; - padding: 0 .5em; - display: flex; -} - -.flex-sub-container-horizontal > div { - color: var(--primary-color); - cursor: pointer; - caret-color: #0000; - border: 1px solid #ffffff38; - border-radius: 50%; - flex-direction: row; - justify-content: center; - align-items: center; - width: 4em; - height: 4em; - margin: 2%; - text-decoration: none; - display: flex; -} - -.predefined-bookmark { - background-color: var(--predefined-bookmark); - -webkit-backdrop-filter: var(--blur-one-em); - backdrop-filter: var(--blur-one-em); -} - -.flex-sub-container-horizontal > div > i { - font-size: 2em; -} - -#add_bookmark_button:focus, #add_bookmark_button:hover, #settings_button:focus, #settings_button:hover, .flex-sub-container-horizontal > :focus, .flex-sub-container-horizontal > :hover { - background-color: var(--highlight-color); - transition: all .5s; -} - -.flex-wallpaper-horizontal { - z-index: 2; - flex-flow: row; - justify-content: start; - width: 100%; - max-height: 10em; - padding: 0 0 .75em; - display: none; - position: fixed; - bottom: 0; - overflow-x: auto; -} - -.thumb-group { - cursor: pointer; - border-radius: 1em; - width: 8em; - height: 4.8em; - margin: .5em; -} - -.advanced-settings-button { - cursor: pointer; - z-index: 3; - background-color: #fff; - border-radius: 0 1.5em 1.5em 0; - justify-content: center; - align-items: center; - min-width: 9em; - margin: 1em 0; - padding: 0; - padding-block: .5em; - padding-inline: 1em; - font-size: .5em; - display: flex; - position: sticky; - left: 0; - transform: translateX(-10em); -} - -.advanced-settings-button:hover > i { - transform: scale(1.125); -} - -.advanced-settings-button:active > i { - opacity: .5; - transform: scale(1); -} - -.advanced-settings-button > i { - color: #060604; - opacity: .8; - font-size: 4em; - transition: all .125s; -} - -.thumb-group:focus, .thumb-group:hover { - transition: all 1s; - animation: .25s both animation_zoom; - box-shadow: 0 0 .5em #fff; -} - -.thumb-title { - border: 0 solid var(--primary-color); - z-index: 2; - opacity: 0; - padding-top: .075em; - white-space: nowrap; - text-overflow: ellipsis; - color: var(--dark-text-color); - pointer-events: none; - background-color: #faebd7cc; - border-top: none; - border-radius: 0 0 1em 1em; - width: 8em; - height: 1.5em; - margin-top: 4em; - padding-inline-start: .75em; - font-family: Ubuntu; - font-size: .875em; - position: absolute; - overflow: hidden; -} - -.animate:focus > .thumb-title, .animate:hover > .thumb-title { - animation: .25s both animation_appear; -} - -.thumbnail { - border: .1em solid var(--primary-color); - border-radius: .9em; - width: 7.05em; - height: 4.8em; - margin-left: -.04em; - position: relative; -} - -#add_bookmark_button { - background-color: var(--add-bookmark); - -webkit-backdrop-filter: var(--blur-one-em); - backdrop-filter: var(--blur-one-em); - order: 1336; -} - -#add_bookmark_button:not(:active) > i { - transition: all .75s; - rotate: 360deg; -} - -#settings_button { - color: var(--primary-color); - -webkit-backdrop-filter: var(--blur-one-em); - backdrop-filter: var(--blur-one-em); - background-color: var(--settings); - cursor: pointer; - caret-color: #0000; - border: 1px solid #ffffff38; - border-radius: 50%; - flex-direction: row; - order: 1337; - justify-content: center; - align-items: center; - width: 4em; - height: 4em; - margin: 2%; - text-decoration: none; - display: flex; -} - -#settings_button * { - margin: 0; - padding: 0; - font-size: 2em; -} - -#settings_button:not(:active) > i { - transition: all .75s; - rotate: 360deg; -} - -.custom_bookmark { - color: var(--primary-color); - -webkit-backdrop-filter: var(--blur-one-em); - backdrop-filter: var(--blur-one-em); - cursor: pointer; - caret-color: #0000; - background-color: var(--custom-bookmark); - border: 1px solid #ffffff38; - border-radius: 50%; - flex-direction: row; - justify-content: center; - align-items: center; - width: 4em; - height: 4em; - margin: 2%; - text-decoration: none; - display: flex; -} - -.custom_link_name { - pointer-events: none; - font-size: 1.5em; - font-weight: 600; -} - -.cross { - display: var(--cross-display); - background-color: var(--selection-color); - border: 3px dashed tomato; - border-radius: 50%; - justify-content: center; - align-items: center; - width: 4em; - height: 4em; - padding-top: 1em; - padding-left: 2.5em; - animation: 10s linear infinite spin; - position: fixed; -} - -#mydivheader { - cursor: move; - z-index: 4; - color: #fff; - background-color: #0000; - padding: 0; -} - -#import-bookmarks-btn, #import-backup-btn { - display: none; -} - -#advanced-settings-modal-background-overlay { - -webkit-backdrop-filter: blur(3em); - z-index: 2; - background-color: #45454576; - width: 100vw; - height: 100vh; - display: none; - position: fixed; - top: 0; -} - -#advanced-settings-modal { - color: var(--white); - z-index: 3; - cursor: default; - background-color: #38383800; - width: 100dvw; - height: auto; - font-family: Ubuntu; - display: none; - position: absolute; -} - -#btn-install { - display: none; -} - -.modal-page-title { - background-color: var(--dark-low-alpha); - border-radius: .5em; - justify-content: flex-start; - align-items: center; - gap: .5em; - margin: .5em; - padding-block: .75em; - padding-inline: .5em; - font-size: 1.5em; - font-weight: 700; - display: flex; -} - -.modal-close-btn { - border-radius: 8px; - padding-inline: .25em .3em; - font-size: 1.4em; - transition: all .125s; -} - -.modal-close-btn:hover { - background-color: #ffffff45; - transform: scale(1.25); -} - -.modal-close-btn:active { - opacity: .5; - transform: scale(1); -} - -.modal-group { - background-color: var(--dark-low-alpha); - border-radius: .75em; - flex-direction: column; - margin: .75em; - padding: .5em; - display: flex; - position: relative; -} - -.modal-title { - flex-direction: column; - padding: .375em; - font-size: 1.3em; - font-weight: 700; - display: flex; -} - -.modal-option { - border-radius: .375em; - justify-content: space-between; - padding-block: .5em; - padding-inline: .5em; - font-size: 1.1em; - font-weight: 400; - transition: all .125s; - display: flex; -} - -.modal-option:hover { - background-color: var(--white-quarter-alpha); -} - -.setting-preview { - text-overflow: ellipsis; - white-space: nowrap; - text-align: end; - color: var(--white-half-alpha); - background-color: #06060400; - border: 0 solid #000; - border-radius: 6px; - outline: 0; - width: 10em; - height: 1.25em; - padding-inline-end: .5em; - font-family: Ubuntu; - font-size: .9em; - animation-name: animatetop; - animation-duration: 1s; - overflow: hidden; -} - -.version-preview { - text-overflow: ellipsis; - white-space: nowrap; - text-align: center; - color: var(--white-half-alpha); - border-radius: 6px; - width: auto; - max-height: 1px; - font-family: Ubuntu; - font-size: .7em; - animation-name: animatetop; - animation-duration: 1s; - overflow: hidden; -} - -.setting-preview option { - color: #060604; - text-align: end; - background-color: var(--dark-low-alpha); -} - -.footer { - z-index: 1; - flex-direction: column; - align-items: center; - gap: .25em; - width: 100%; - padding: .5em; - font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif; - display: flex; -} - -.footer * { - color: #ffffff80; - gap: 1em; - font-size: .875em; - line-height: 1.5em; - text-decoration: none; - list-style: none; - transition: all .15s; - display: flex; -} - -.footer :focus, .footer :hover { - color: #fff; -} - -.ext_favicon { - border-radius: 50%; - width: 32px; - height: 32px; -} - -.nested-close { - opacity: 0; - padding-block: 0; - height: 0 !important; -} - -.nested-one-element { - height: 100%; - transition: all .2s; - overflow: hidden; -} - -#deep-search-nested { - height: 9.5em; - transition: all .2s; - overflow: hidden; -} - -.loader { - border-radius: 50%; - animation: 1s infinite spin; - border: 4px solid var(--primary-color) !important; - border-top: 4px solid #1e90ff !important; -} - -@keyframes spin { - 0% { - transform: rotate(0); - } - - 100% { - transform: rotate(360deg); - } -} - -.loader * { - animation: 1s infinite spin-rev; -} - -@keyframes spin-rev { - 0% { - transform: rotate(360deg); - } - - 100% { - transform: rotate(0); - } -} - -.collapsed { - height: 0; - margin: 0; - padding: 0; - overflow: hidden; -} - -.hidden { - display: none !important; -} - -.modalContainer { - color: #fff; - -webkit-backdrop-filter: blur(2px); - z-index: 5; - opacity: 0; - background-color: #b3b3b34c; - justify-content: center; - align-items: flex-start; - width: 100%; - height: 100%; - padding-block-start: 2em; - font-family: Ubuntu; - transition: all .2s; - display: flex; - position: fixed; - top: 0; -} - -.notifyContainer { - color: #fff; - z-index: 5; - opacity: 1; - background-color: #0000; - flex-direction: column-reverse; - justify-content: center; - align-items: center; - width: 100%; - height: auto; - font-family: Ubuntu; - transition: all .2s; - display: flex; - position: fixed; - top: 0; -} - -.modal { - background: #2b2b2b; - border: 1px solid #ffffff24; - border-radius: 1em; - flex-direction: column; - width: 90%; - min-width: 10em; - max-width: 30em; - padding: 1.5em; - display: flex; - box-shadow: 0 0 2em #0003; -} - -.notifyModal { - z-index: 5; - opacity: 0; - background: #2b2b2b; - border: 1px solid #ffffff24; - border-radius: 1em; - flex-direction: row; - justify-content: space-between; - align-items: center; - gap: 1em; - width: 90%; - min-width: 10em; - max-width: 30em; - margin-top: 0; - margin-bottom: -1em; - padding: 1.5em; - transition: all .2s; - display: flex; - box-shadow: 0 0 2em #0003; -} - -.modalTitle { - padding-bottom: .5em; -} - -.modalDescription { - padding-bottom: 2em; - font-size: .9em; - font-weight: 100; -} - -.notifyDescriptionContainer { - width: 90%; -} - -.notifyDescription { - word-wrap: break-word; - font-size: 1em; - font-weight: 200; - overflow: hidden; -} - -.modalButtonsBar { - vertical-align: middle; - justify-content: flex-end; - align-items: center; - gap: 1em; - margin-block-start: 1em; - display: inline-flex; -} - -.label { - justify-content: flex-start; - align-items: center; - gap: .25em; - padding-bottom: .25em; - font-size: .9em; - display: flex; -} - -.modalInputField { - padding: .5em; - caret-color: #000; - background-color: #f1f1f1; - border: 2px solid #fff; - border-radius: 6px; - outline: 0; - width: 100%; - height: 2.5em; - margin-bottom: 1em; - padding-inline: 1em; -} - -.inputTickBoxField { - background-color: #ffffffe8; - border: 1px solid #0000; - border-radius: 1em; - width: 100%; - margin-bottom: 1em; - padding: .5em; -} - -.modalInputField:focus { - border: 2px solid var(--selection-color); - background-color: #fff; -} - -.button { - opacity: 1; - background-color: #ececec; - border: 1px solid #cecece80; - border-radius: 6px; - width: 7em; - height: 2.5em; - font-family: Ubuntu; - font-size: .85em; - font-weight: 400; - transition: all .1s; -} - -.tinyButton { - min-width: 1.75em; - max-width: 1.75em; - min-height: 1.75em; - max-height: 1.75em; - padding-bottom: 2px; -} - -.notifyLoader { - opacity: .1; - width: 100%; - margin-top: 1em; - margin-bottom: -1em; -} - -.button:disabled { - opacity: .75; - background-color: #fff; -} - -.button:hover { - background-color: #fff; -} - -.button:active { - opacity: .75; -} - -.deleteButton { - color: tomato; -} - -@media only screen and (width >= 370px) { - body { - font-size: 14px; - } -} - -@media only screen and (width >= 600px) { - body { - font-size: 16px; - } - - #home-widget-container { - padding-inline: 2em; - } - - .footer { - flex-direction: row; - justify-content: space-between; - padding-inline: 2em; - } -} - -@media only screen and (width >= 1024px) { - body { - font-size: 18px; - } - - #advanced-settings-modal { - background-color: #38383800; - width: 50dvw; - height: auto; - position: absolute; - top: 0; - } -} - -@media (pointer: coarse) { - #settings_button { - display: none; - } -} - -/*# sourceMappingURL=index.61010a1f.css.map */ diff --git a/dist/index.61010a1f.css.map b/dist/index.61010a1f.css.map deleted file mode 100644 index dba1ebc..0000000 --- a/dist/index.61010a1f.css.map +++ /dev/null @@ -1 +0,0 @@ -{"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;AA+CA;;;;AAIA;;;;;;;;AAQA;;;;;AAOA;;;;;;;;;;;AAWA;;;;;;;;;;;AAYA;;;;AAIA;;;;;;;;;;;;AAeA;;;;;;;;;;;;;;AAcA;;;;;;;;;;;;;;;;AAgBA;;;;;;AAMA;;;;;;AAMA;;;;AAIA;;;;;;AAMA;;;;;;;;;AASA;;;;;AAKA;;;;;;AAMA;;;;;;;;;;;;;;;AAeA;;;;;;AAMA;;;;;;;;;AAUA;;;;;;;;AAQA;;;;;AAKA;;;;;AAKA;;;;;AAKA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;AAOA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AASA;;;;;;;;;AASA;;;;AAIA;;;;AAIA;;;;AAIA;;;;;;;;;;AAUA;;;;AAIA;;;;;AAKA;;;;;AAKA;;;;;;;;;;;;;;AAcA;;;;;;;;;;;;AAaA;;;;;;;;;;;;;;;AAeA;;;;AAIA;;;;;;;;;;AAUA;;;;;;;;;;;;;;;AAgBA;;;;;;;;;;;;;;;;;;;;;;AAoCA;;;;;;AAOA;;;;AAIA;;;;AAIA;;;;;;;;;;;AAWA;;;;;;;;;AASA;;;;;;;;AAQA;;;;;;;;AASA;;;;AAIA;;;;;;AAMA;;;;AAQA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;AAKA;;;;;;;AAOA;;;;AAIA;;;;;;AAMA;;;;AAQA;;;;;AAKA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;AAIA;;;;;;;AAOA;;;;AAIA;;;;;;AAMA;;;;AAQA;;;;;AAMA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;AAKA;;;;AAIA;;;;;;;;;AASA;;;;;;;;;;;;;;;;AA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\n\t--white-half-alpha: #fbfaf892;\r\n\t--white-quarter-alpha: #fbfaf843;\r\n\t--white-low-alpha: #fbfaf815;\r\n\t--dark: #060604;\r\n\t--dark-low-alpha: #0606042c;\r\n\t--accent-color: #BB377D;\r\n\t--highlight-color: #dfb669;\r\n\t--predefined-bookmark: #6856347e;\r\n\t--custom-bookmark: #3535357e;\r\n\t--add-bookmark: #4d685a7e;\r\n\t--settings: #4d685a7e;\r\n\t--primary-color: #faf7f0ff;\r\n\t--secondary-color: #e7decdff;\r\n\t--blur-one-em: blur(1em);\r\n\t--blur-one-px: blur(1px);\r\n\t--blur-half-em: blur(0.5em);\r\n\t--cross-display: none;\r\n\t/*\r\n\t--predefined-bookmark: #6856347e;\r\n\t--custom-bookmark: #0034597e;\r\n\t--add-bookmark: #4d685a7e;\r\n\t--settings: #4d685a7e;\r\n\t\r\n\t--removable-border: 1px solid #ffffff38;\r\n\t--pink-gradient-webkit: -webkit-linear-gradient(to top, #BB377D, 50%, #fbd3e900);\r\n\t--pink-gradient: linear-gradient(to top, #BB377D, 50%, #fbd3e900);\r\n\t--pink-color: #BB377D;\r\n\t--light-pink-gradient-webkit: -webkit-linear-gradient(to top, #ec96c4, 50%, #fbd3e900);\r\n\t--light-pink-gradient: linear-gradient(to top, #ec96c4, 50%, #fbd3e900);\r\n\t--light-pink-color: #ec96c4;\r\n\t--earth-gradient-webkit: -webkit-linear-gradient(to top, #bb6a37, 50%, #fbd3e900);\r\n\t--earth-gradient: linear-gradient(to top, #bb6a37, 50%, #fbd3e900);\r\n\t--earth-color: #bb6a37;\r\n\t--green-gradient-webkit: -webkit-linear-gradient(to top, #79bb37, 50%, #fbd3e900);\r\n\t--green-gradient: linear-gradient(to top, #79bb37, 50%, #fbd3e900);\r\n\t--green-color: #79bb37;\r\n\t--yellow-gradient-webkit: -webkit-linear-gradient(to top, #bb9c37, 50%, #fbd3e900);\r\n\t--yellow-gradient: linear-gradient(to top, #bb9c37, 50%, #fbd3e900);\r\n\t--yellow-color: #bb9c37;\r\n\t--red-gradient-webkit: -webkit-linear-gradient(to top, #e04040, 50%, #fbd3e900);\r\n\t--red-gradient: linear-gradient(to top, #e04040, 50%, #fbd3e900);\r\n\t--red-color: #e04040; */\r\n}\r\n\r\n::selection {\r\n\tbackground: var(--selection-color);\r\n}\r\n\r\n#canvasFar {\r\n\tposition: fixed;\r\n\tdisplay: none;\r\n\ttop: 0;\r\n\tz-index: 0;\r\n\tbackground-image: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(235, 235, 255, 0) 60%);\r\n}\r\n\r\n.disable-select {\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n}\r\n\r\n* {\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tbox-sizing: border-box !important;\r\n\tcaret-color: transparent;\r\n\tscroll-behavior: smooth;\r\n\toutline-color: var(--selection-color);\r\n\toutline-offset: -1px;\r\n\toutline-width: 1px;\r\n}\r\n\r\nbody {\r\n\tbackground-color: #282828;\r\n\tfont-family: \"Ubuntu Mono\", monospace;\r\n\tfont-size: 12px;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmin-height: 100vh;\r\n\tmin-height: 100svh;\r\n\talign-items: center;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n.justifySpaceBetween {\r\n\tjustify-content: space-between !important;\r\n}\r\n\r\n#overlay {\r\n\tposition: fixed;\r\n\tdisplay: block;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\tbackground-color: rgba(0, 0, 0, .375);\r\n\tz-index: 0;\r\n\tcursor: auto;\r\n\ttransition: .3s\r\n}\r\n\r\n#gradient_overlay {\r\n\tposition: fixed;\r\n\tdisplay: block;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tleft: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\topacity: 0;\r\n\tz-index: 0;\r\n\tcursor: auto;\r\n\ttransition: .3s\r\n}\r\n\r\n.header {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tdisplay: none;\r\n\tpadding: 0.5em;\r\n\tgap: 0.25em;\r\n\tfont-size: 0.75em;\r\n\tjustify-content: space-between;\r\n\twidth: 100%;\r\n\theight: 3em;\r\n\tcolor: var(--primary-color);\r\n\tbackground-color: #2684e15c;\r\n\tz-index: 13;\r\n}\r\n\r\n.header-left-block {\r\n\tdisplay: flex;\r\n\tgap: 1em;\r\n\talign-items: center;\r\n}\r\n\r\n.user-avatar {\r\n\theight: 2em;\r\n\twidth: 2em;\r\n\tborder-radius: 50%;\r\n}\r\n\r\n.user-name {\r\n\ttext-align: center;\r\n}\r\n\r\n.header-right-block {\r\n\tdisplay: flex;\r\n\tgap: 1em;\r\n\talign-items: center;\r\n}\r\n\r\n#wrap {\r\n\tmax-width: 1280px;\r\n\twidth: 100%;\r\n\topacity: 0;\r\n\tz-index: 2;\r\n\tdisplay: block;\r\n\ttransition: 125ms;\r\n}\r\n\r\nbody::-webkit-scrollbar {\r\n\t-ms-overflow-style: none;\r\n\tdisplay: none;\r\n}\r\n\r\n.flex-main-container-vertical {\r\n\tmargin: auto;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n}\r\n\r\n#home-widget-container {\r\n\tcolor: var(--primary-color);\r\n\twidth: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tdisplay: flex;\r\n\talign-items: flex-end;\r\n\tjustify-content: center;\r\n\tfont-size: clamp(1em, 2em, 10em);\r\n\tcursor: default;\r\n\ttext-align: center;\r\n\tmargin-bottom: 1em;\r\n\tpadding-inline: 0em\r\n}\r\n\r\n.home-widget {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmax-width: 90%\r\n}\r\n\r\n#main-heading-slider {\r\n\ttransition: .5s;\r\n\tmax-width: 100%;\r\n\tpadding-block-end: 0.125em;\r\n\tdisplay: flex;\r\n\toverflow-x: scroll;\r\n\toverflow-y: hidden;\r\n\tscroll-snap-type: x mandatory\r\n}\r\n\r\n#main-heading-slider * {\r\n\tmin-width: 100%;\r\n\tflex: 1;\r\n\tscroll-snap-align: center;\r\n\tscroll-snap-stop: always;\r\n\tmargin-bottom: -0.25em;\r\n}\r\n\r\n#main-heading-slider::-webkit-scrollbar {\r\n\theight: 8px;\r\n\tdisplay: none\r\n}\r\n\r\n#main-heading-slider::-webkit-scrollbar-track {\r\n\tbox-shadow: inset 0 0 5px grey;\r\n\tborder-radius: 10px\r\n}\r\n\r\n#main-heading-slider::-webkit-scrollbar-thumb {\r\n\tbackground: var(--accent-color);\r\n\tborder-radius: 10px\r\n}\r\n\r\n.default-text-style {\r\n\tfont-family: Ubuntu;\r\n\tcolor: var(--primary-color);\r\n\tfont-size: clamp(1em, 2em, 10em);\r\n\tline-height: 2em;\r\n\ttext-shadow: 0 0 0 var(--accent-color), 0 0 0 #000 !important;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-1 {\r\n\tfont-family: 'Vujahday Script', handwriting;\r\n\tfont-size: clamp(1em, 2.25em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.5em;\r\n\ttext-shadow: 4px 4px 0 var(--accent-color), 6px 6px 0 #000;\r\n\trotate: -6deg\r\n}\r\n\r\n.brush-text-style-2 {\r\n\tfont-family: 'Advent Pro', sans-serif;\r\n\tfont-size: clamp(1em, 2.25em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.9em;\r\n}\r\n\r\n.brush-text-style-3 {\r\n\tfont-family: 'Nanum Brush Script', handwriting;\r\n\tfont-size: clamp(1em, 2.8em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.375em;\r\n\ttext-shadow: 4px 4px 0 var(--accent-color), 6px 6px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-4 {\r\n\tfont-family: 'Are You Serious', handwriting;\r\n\tfont-size: clamp(1em, 2.5em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.5em;\r\n\ttext-shadow: 1px 1px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-5 {\r\n\tfont-family: 'Alkatra', display;\r\n\tfont-size: clamp(1em, 2.25em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.75em;\r\n\ttext-shadow: 1px 1px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.brush-text-style-6 {\r\n\tfont-family: 'Montez', handwriting;\r\n\tfont-size: clamp(1em, 2.5em, 10em);\r\n\tcolor: #f5f5f5;\r\n\tline-height: 1.5em;\r\n\ttext-shadow: 1px 1px 0 #000;\r\n\trotate: 0deg\r\n}\r\n\r\n.separator {\r\n\topacity: 0;\r\n}\r\n\r\n.separator-visible {\r\n\topacity: 1;\r\n}\r\n\r\n.nowrap {\r\n\ttext-wrap: nowrap;\r\n}\r\n\r\n.arrows {\r\n\theight: 0em;\r\n\topacity: 0.85;\r\n\toverflow: hidden;\r\n\tfont-size: 1em;\r\n\tz-index: 5;\r\n\ttext-shadow: 0 2px 0 #000;\r\n\ttransition: 250ms\r\n}\r\n\r\n.arrows:hover {\r\n\topacity: 1;\r\n}\r\n\r\n.arrows:active {\r\n\topacity: 0.5;\r\n\ttext-shadow: 0 0px 0 #000;\r\n}\r\n\r\n#subtitle {\r\n\tfont-family: Ubuntu;\r\n\tfont-size: .65em;\r\n}\r\n\r\n.search {\r\n\tdisplay: flex;\r\n\tposition: relative;\r\n\tflex-wrap: wrap;\r\n\twidth: 100%;\r\n\theight: 3em;\r\n\tjustify-content: center;\r\n\talign-items: stretch;\r\n\tmargin-bottom: 2em;\r\n\ttext-align: center;\r\n\tcursor: default;\r\n\tz-index: 2;\r\n}\r\n\r\n.searchBarFocusMode {\r\n\tposition: fixed;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tdisplay: none;\r\n\topacity: 0;\r\n\tbackground-color: #ffffff1f;\r\n\ttransition: 200ms;\r\n\tbackdrop-filter: blur(0.5em);\r\n\t-webkit-backdrop-filter: blur(1em);\r\n}\r\n\r\n.searchContainer {\r\n\tdisplay: flex;\r\n\twidth: 100%;\r\n\theight: 3em;\r\n\tborder-radius: 1.5em;\r\n\toverflow: hidden;\r\n\tmargin-inline: 1.85em;\r\n\tmin-width: 4em;\r\n\tmax-width: 44em;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\torder: 1;\r\n\tz-index: 2;\r\n}\r\n\r\n.searchContainer:has(.searchTerm:focus) {\r\n\tborder-radius: 1em;\r\n}\r\n\r\n.searchTerm {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tpadding: 0 2em 0 1em;\r\n\tborder: 0px;\r\n\tbackground: transparent;\r\n\tfont-size: 1em;\r\n\toutline: 0;\r\n}\r\n\r\n.autofillContainer {\r\n\tdisplay: flex;\r\n\tposition: absolute;\r\n\twidth: calc(100% - 3.5em);\r\n\theight: 0em;\r\n\tbackground-color: transparent;\r\n\toverflow: hidden;\r\n\toverflow: hidden;\r\n\tmin-width: 4em;\r\n\tmax-width: 44em;\r\n\tpadding-inline: 0.1em;\r\n\tjustify-content: flex-start;\r\n\talign-items: center;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.autofillItem {\r\n\tmin-height: 2.25em;\r\n\tmax-height: 2.25em;\r\n\tmin-width: 4em;\r\n\twidth: 100%;\r\n\ttext-wrap: nowrap;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n\tmax-width: 44em;\r\n\tmargin-block-start: 0.25em;\r\n\tborder-radius: 0.5em;\r\n\tbox-shadow: #0000002e 0 2px 2px 0px;\r\n\tborder: 1px solid transparent !important;\r\n\tfont-family: 'Ubuntu';\r\n\tfont-weight: 100;\r\n\ttext-align: start;\r\n\toverflow: hidden;\r\n\tpadding-block-start: 0.5em;\r\n\tpadding-inline: 1em;\r\n\tz-index: 2;\r\n}\r\n\r\n/* .marquee p:hover {\r\n\tanimation: marquee 3s linear infinite;\r\n}\r\n\r\n@keyframes marquee {\r\n\t0% {\r\n\t\ttransform: translate(0, 0);\r\n\t}\r\n\r\n\t100% {\r\n\t\ttransform: translate(-10%, 0);\r\n\t}\r\n} */\r\n\r\ninput::-webkit-search-cancel-button {\r\n\tmargin-inline-start: .7em;\r\n\tmargin-inline-end: -1.25em;\r\n\ttransition: .2s;\r\n\topacity: 0.5;\r\n}\r\n\r\ninput::-webkit-search-cancel-button:hover {\r\n\topacity: 0.75;\r\n}\r\n\r\ninput::-webkit-search-cancel-button:hover {\r\n\tscale: 1.1\r\n}\r\n\r\n.searchButton {\r\n\twidth: 4em;\r\n\theight: 100%;\r\n\tborder: 0px;\r\n\tbackground: transparent;\r\n\ttext-align: center;\r\n\tcursor: pointer;\r\n\toutline: 0;\r\n\tfont-size: clamp(1em, 1em, 2em);\r\n}\r\n\r\n.searchButton>i {\r\n\tbackground-size: 2;\r\n\tpadding: .1em;\r\n\tbackground-color: transparent;\r\n\tborder-radius: 2em;\r\n\topacity: 0.5;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.searchButton:active>i {\r\n\tpadding: .7em;\r\n\tbackground-color: var(--selection-color);\r\n\tpadding: .8em;\r\n\tcolor: var(--dark);\r\n\ttransition: all .2s\r\n}\r\n\r\n.searchbox-style-glass {\r\n\tborder: 1px solid #ffffff38;\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackground: var(--white-quarter-alpha);\r\n\ttransition: 125ms;\r\n\tcolor: #ffffffdd;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1)::placeholder {\r\n\tcolor: #ffffff86;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1) {\r\n\tcolor: #ffffff92;\r\n\ttransition: 125ms;\r\n\tcaret-color: white;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(2)>i {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1):focus {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass:hover {\r\n\tborder: 1px solid #ffffffce;\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass:hover>:nth-child(1) {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-glass:hover>.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.searchbox-style-glass:has(.searchTerm:focus) {\r\n\tbox-shadow: 0 0 4px 0px var(--selection-color);\r\n\tborder: 1px solid #ffffff00;\r\n}\r\n\r\n.searchbox-style-glass>:nth-child(1)::-webkit-search-cancel-button {\r\n\tfilter: grayscale() invert() brightness(200%);\r\n}\r\n\r\n\r\n.searchbox-style-light {\r\n\tborder: 1px solid #ffffff;\r\n\tbackground: white;\r\n\ttransition: 125ms;\r\n\tcolor: #000000dd;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1)::placeholder {\r\n\tcolor: #75757586;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1) {\r\n\tcolor: #00000092;\r\n\tcaret-color: black;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(2)>i {\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1):focus {\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light:hover {\r\n\tborder: 1px solid var(--selection-color);\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light:hover>:nth-child(1) {\r\n\tcolor: #000000;\r\n}\r\n\r\n.searchbox-style-light:hover>.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.searchbox-style-light:has(.searchTerm:focus) {\r\n\tbox-shadow: 0 0 4px 0px var(--selection-color);\r\n\tborder: 1px solid #00000000;\r\n}\r\n\r\n.searchbox-style-light>:nth-child(1)::-webkit-search-cancel-button {\r\n\tfilter: grayscale() invert() brightness(50%);\r\n}\r\n\r\n.searchbox-style-dark {\r\n\tborder: 1px solid #ffffff1e;\r\n\tbackground: rgb(0, 0, 0);\r\n\ttransition: 125ms;\r\n\tcolor: #ffffffdd;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1)::placeholder {\r\n\tcolor: #75757586;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1) {\r\n\tcaret-color: white;\r\n\tcolor: #ffffff92;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(2)>i {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1):focus {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-dark:hover {\r\n\tborder: 1px solid var(--selection-color);\r\n\tcolor: #ffffff;\r\n\r\n}\r\n\r\n.searchbox-style-dark:hover>:nth-child(1) {\r\n\tcolor: #ffffff;\r\n}\r\n\r\n.searchbox-style-dark:hover>.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.searchbox-style-dark:has(.searchTerm:focus) {\r\n\tbox-shadow: 0 0 4px 0px var(--selection-color);\r\n\tborder: 1px solid #ffffff00;\r\n}\r\n\r\n.searchbox-style-dark>:nth-child(1)::-webkit-search-cancel-button {\r\n\tfilter: grayscale() invert() brightness(200%);\r\n}\r\n\r\n\r\n.searchTerm:focus+.searchButton>i {\r\n\topacity: 1;\r\n}\r\n\r\n.flex-sub-container-horizontal {\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\tpadding: 0 .5em;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tmargin-bottom: 2em;\r\n}\r\n\r\n.flex-sub-container-horizontal>div {\r\n\tcolor: var(--primary-color);\r\n\twidth: clamp(1em, 4em, 8em);\r\n\theight: clamp(1em, 4em, 8em);\r\n\tmargin: 2%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-radius: 50%;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\ttext-decoration: none;\r\n\tcursor: pointer;\r\n\tcaret-color: transparent;\r\n\tborder: 1px solid #ffffff38;\r\n}\r\n\r\n.predefined-bookmark {\r\n\tbackground-color: var(--predefined-bookmark);\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em)\r\n}\r\n\r\n.flex-sub-container-horizontal>div>i {\r\n\tfont-size: clamp(.5em, 2em, 4em)\r\n}\r\n\r\n#add_bookmark_button:focus,\r\n#add_bookmark_button:hover,\r\n#settings_button:focus,\r\n#settings_button:hover,\r\n.flex-sub-container-horizontal>:focus,\r\n.flex-sub-container-horizontal>:hover {\r\n\tbackground-color: var(--highlight-color);\r\n\ttransition: .5s\r\n}\r\n\r\n.flex-wallpaper-horizontal {\r\n\tmax-height: 10em;\r\n\tflex-wrap: nowrap;\r\n\toverflow-x: auto;\r\n\twidth: 100%;\r\n\tdisplay: none;\r\n\tflex-direction: row;\r\n\tjustify-content: start;\r\n\tposition: fixed;\r\n\tbottom: 0;\r\n\tpadding: 0 0 .75em 0;\r\n\tz-index: 2\r\n}\r\n\r\n.thumb-group {\r\n\twidth: 8em;\r\n\theight: 4.8em;\r\n\tmargin: .5em;\r\n\tborder-radius: 1em;\r\n\tcursor: pointer\r\n}\r\n\r\n.advanced-settings-button {\r\n\tposition: sticky;\r\n\tmin-width: 9em;\r\n\tleft: 0;\r\n\tmargin: 0 0 1em 0;\r\n\tpadding: 0;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tborder-radius: 0 1.5em 1.5em 0;\r\n\tpadding-inline: 1em;\r\n\tpadding-block: .5em;\r\n\tfont-size: .5em;\r\n\tmargin-top: 1em;\r\n\tbackground-color: rgba(255, 255, 255, 1);\r\n\tcursor: pointer;\r\n\tz-index: 3;\r\n\tscale: 1.125;\r\n\ttransform: translateX(-10em);\r\n}\r\n\r\n.advanced-settings-button:hover>i {\r\n\ttransform: scale(1.125);\r\n}\r\n\r\n.advanced-settings-button:active>i {\r\n\ttransform: scale(1);\r\n\topacity: 0.5;\r\n}\r\n\r\n.advanced-settings-button>i {\r\n\tfont-size: 4em;\r\n\tcolor: #060604;\r\n\topacity: 0.8;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.thumb-group:focus,\r\n.thumb-group:hover {\r\n\tbox-shadow: 0 0 .5em #fff;\r\n\tanimation: animation_zoom .25s;\r\n\tanimation-fill-mode: both;\r\n\tanimation-iteration-count: 1;\r\n\ttransition: 1s;\r\n}\r\n\r\n.thumb-title {\r\n\tposition: absolute;\r\n\tborder-radius: 0 0 1em 1em;\r\n\tborder: 0 solid var(--primary-color);\r\n\tborder-top: none;\r\n\twidth: 8em;\r\n\theight: 1.5em;\r\n\tmargin-top: 4em;\r\n\tz-index: 2;\r\n\topacity: 0;\r\n\tfont-family: \"Ubuntu\";\r\n\tpadding-top: 0.075em;\r\n\tfont-size: 0.875em;\r\n\tpadding-inline-start: 0.75em;\r\n\twhite-space: nowrap;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\tcolor: var(--dark-text-color);\r\n\tbackground-color: rgba(250, 235, 215, .8);\r\n\tpointer-events: none\r\n}\r\n\r\n.animate:focus>.thumb-title,\r\n.animate:hover>.thumb-title {\r\n\tanimation: animation_appear .25s;\r\n\tanimation-fill-mode: both;\r\n\tanimation-iteration-count: 1\r\n}\r\n\r\n.thumbnail {\r\n\tposition: relative;\r\n\twidth: 7.05em;\r\n\theight: 4.8em;\r\n\tborder: .1em solid var(--primary-color);\r\n\tmargin-left: -.04em;\r\n\tborder-radius: .9em\r\n}\r\n\r\n#add_bookmark_button {\r\n\tbackground-color: var(--add-bookmark);\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\torder: 1336\r\n}\r\n\r\n#add_bookmark_button:not(:active)>i {\r\n\ttransition: 750ms;\r\n\trotate: 360deg\r\n}\r\n\r\n#settings_button {\r\n\tcolor: var(--primary-color);\r\n\twidth: clamp(1em, 4em, 8em);\r\n\theight: clamp(1em, 4em, 8em);\r\n\tmargin: 2%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-radius: 50%;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\ttext-decoration: none;\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\tbackground-color: var(--settings);\r\n\tcursor: pointer;\r\n\tcaret-color: transparent;\r\n\torder: 1337;\r\n\tborder: 1px solid #ffffff38;\r\n}\r\n\r\n#settings_button * {\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tfont-size: 2em\r\n}\r\n\r\n#settings_button:not(:active)>i {\r\n\ttransition: 750ms;\r\n\trotate: 360deg\r\n}\r\n\r\n.custom_bookmark {\r\n\tcolor: var(--primary-color);\r\n\twidth: clamp(1em, 4em, 8em);\r\n\theight: clamp(1em, 4em, 8em);\r\n\tmargin: 2%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-radius: 50%;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\t-webkit-backdrop-filter: var(--blur-one-em);\r\n\tbackdrop-filter: var(--blur-one-em);\r\n\tcursor: pointer;\r\n\tcaret-color: transparent;\r\n\tbackground-color: var(--custom-bookmark);\r\n\tborder: 1px solid #ffffff38;\r\n\ttext-decoration: none;\r\n\r\n}\r\n\r\n.custom_link_name {\r\n\tfont-weight: 600;\r\n\tfont-size: 1.5em;\r\n\tpointer-events: none;\r\n}\r\n\r\n.cross {\r\n\tdisplay: var(--cross-display);\r\n\tposition: fixed;\r\n\tpadding-top: 1em;\r\n\tpadding-left: 2.5em;\r\n\twidth: 4em;\r\n\tborder: 3px dashed tomato;\r\n\theight: 4em;\r\n\tbackground-color: var(--selection-color);\r\n\tborder-radius: 50%;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tanimation: spin 10s linear infinite;\r\n}\r\n\r\n#mydivheader {\r\n\tpadding: 0;\r\n\tcursor: move;\r\n\tz-index: 4;\r\n\tbackground-color: transparent;\r\n\tcolor: #fff\r\n}\r\n\r\n\r\n#import-bookmarks-btn,\r\n#import-backup-btn {\r\n\tdisplay: none\r\n}\r\n\r\n#advanced-settings-modal-background-overlay {\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\twidth: 100vw;\r\n\theight: 100vh;\r\n\tbackground-color: #45454576;\r\n\tbackdrop-filter: blur(3em);\r\n\t-webkit-backdrop-filter: blur(3em);\r\n\tz-index: 2;\r\n\tdisplay: none;\r\n}\r\n\r\n#advanced-settings-modal {\r\n\tbackground-color: rgba(56, 56, 56, 0);\r\n\tposition: absolute;\r\n\theight: auto;\r\n\twidth: 100vw;\r\n\twidth: 100dvw;\r\n\t/* z-index: 2; */\r\n\tcolor: var(--white);\r\n\tfont-family: Ubuntu;\r\n\tz-index: 3;\r\n\tcursor: default;\r\n\tdisplay: none;\r\n}\r\n\r\n#btn-install {\r\n\tdisplay: none;\r\n}\r\n\r\n.modal-page-title {\r\n\tdisplay: flex;\r\n\tgap: 0.5em;\r\n\tmargin: .5em;\r\n\tpadding-inline: .5em;\r\n\tpadding-block: .75em;\r\n\tfont-size: 1.5em;\r\n\talign-items: center;\r\n\tjustify-content: flex-start;\r\n\tfont-weight: 700;\r\n\tbackground-color: var(--dark-low-alpha);\r\n\tborder-radius: .5em\r\n}\r\n\r\n.modal-close-btn {\r\n\tfont-size: 1.4em;\r\n\tborder-radius: 8px;\r\n\tpadding-inline-start: 0.25em;\r\n\tpadding-inline-end: 0.3em;\r\n\ttransition: 125ms;\r\n}\r\n\r\n.modal-close-btn:hover {\r\n\tbackground-color: #ffffff45;\r\n\ttransform: scale(1.25);\r\n}\r\n\r\n.modal-close-btn:active {\r\n\topacity: 0.5;\r\n\ttransform: scale(1);\r\n}\r\n\r\n.modal-group {\r\n\tposition: relative;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tmargin: .75em;\r\n\tpadding: .5em;\r\n\tbackground-color: var(--dark-low-alpha);\r\n\tborder-radius: .75em;\r\n}\r\n\r\n.modal-title {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tfont-size: 1.3em;\r\n\tfont-weight: 700;\r\n\tpadding: .375em\r\n}\r\n\r\n.modal-option {\r\n\tdisplay: flex;\r\n\tfont-size: 1.1em;\r\n\tpadding-block: .5em;\r\n\tfont-weight: 400;\r\n\tjustify-content: space-between;\r\n\ttransition: 125ms;\r\n\tborder-radius: .375em;\r\n\tpadding-inline: .5em\r\n}\r\n\r\n\r\n.modal-option:hover {\r\n\tbackground-color: var(--white-quarter-alpha)\r\n}\r\n\r\n.setting-preview {\r\n\tbackground-color: #06060400;\r\n\tborder: 0 solid #000;\r\n\twidth: 10em;\r\n\theight: 1.25em;\r\n\tborder-radius: 6px;\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n\twhite-space: nowrap;\r\n\ttext-align: end;\r\n\tfont-size: 0.9em;\r\n\tpadding-inline-end: 0.5em;\r\n\tfont-family: 'Ubuntu';\r\n\tcolor: var(--white-half-alpha);\r\n\tanimation-name: animatetop;\r\n\tanimation-duration: 1s;\r\n\toutline: 0;\r\n}\r\n\r\n.version-preview {\r\n\twidth: auto;\r\n\tmax-height: 1;\r\n\tborder-radius: 6px;\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n\twhite-space: nowrap;\r\n\ttext-align: center;\r\n\tfont-size: .7em;\r\n\tfont-family: Ubuntu;\r\n\tcolor: var(--white-half-alpha);\r\n\tanimation-name: animatetop;\r\n\tanimation-duration: 1s\r\n}\r\n\r\n.setting-preview option {\r\n\tcolor: #060604;\r\n\ttext-align: end;\r\n\tbackground-color: var(--dark-low-alpha)\r\n}\r\n\r\n.footer {\r\n\tfont-family: \"Segoe UI\", Tahoma, Geneva, Verdana, sans-serif;\r\n\tdisplay: flex;\r\n\twidth: 100%;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tz-index: 1;\r\n\tgap: .25em;\r\n\tpadding: .5em\r\n}\r\n\r\n.footer * {\r\n\tdisplay: flex;\r\n\tcolor: rgba(255, 255, 255, .5);\r\n\tgap: 1em;\r\n\tfont-size: .875em;\r\n\tline-height: 1.5em;\r\n\tlist-style: none;\r\n\ttransition: 150ms;\r\n\ttext-decoration: none\r\n}\r\n\r\n.footer :focus,\r\n.footer :hover {\r\n\tcolor: rgba(255, 255, 255, 1)\r\n}\r\n\r\n.ext_favicon {\r\n\twidth: 32px;\r\n\theight: 32px;\r\n\tborder-radius: 50%\r\n}\r\n\r\n.nested-close {\r\n\topacity: 0;\r\n\tpadding-block: 0;\r\n\theight: 0em !important;\r\n}\r\n\r\n.nested-one-element {\r\n\toverflow: hidden;\r\n\theight: 100%;\r\n\ttransition: 200ms;\r\n}\r\n\r\n#deep-search-nested {\r\n\toverflow: hidden;\r\n\theight: auto;\r\n\theight: 9.5em;\r\n\ttransition: 200ms;\r\n}\r\n\r\n.loader {\r\n\tborder: 4px solid var(--primary-color) !important;\r\n\tborder-top: 4px solid #1e90ff !important;\r\n\tborder-radius: 50%;\r\n\tanimation: spin 1s normal infinite\r\n}\r\n\r\n@keyframes spin {\r\n\t0% {\r\n\t\ttransform: rotate(0)\r\n\t}\r\n\r\n\t100% {\r\n\t\ttransform: rotate(360deg)\r\n\t}\r\n}\r\n\r\n.loader * {\r\n\tanimation: spin-rev 1s normal infinite\r\n}\r\n\r\n@keyframes spin-rev {\r\n\t0% {\r\n\t\ttransform: rotate(360deg)\r\n\t}\r\n\r\n\t100% {\r\n\t\ttransform: rotate(0)\r\n\t}\r\n}\r\n\r\n.collapsed {\r\n\theight: 0;\r\n\tpadding: 0;\r\n\tmargin: 0;\r\n\toverflow: hidden\r\n}\r\n\r\n.hidden {\r\n\tdisplay: none !important\r\n}\r\n\r\n.modalContainer {\r\n\tcolor: white;\r\n\tfont-family: 'Ubuntu';\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tbackground-color: #b3b3b34c;\r\n\tbackdrop-filter: blur(2px);\r\n\t-webkit-backdrop-filter: blur(2px);\r\n\tz-index: 5;\r\n\tdisplay: flex;\r\n\talign-items: flex-start;\r\n\tjustify-content: center;\r\n\tpadding-block-start: 2em;\r\n\topacity: 0;\r\n\ttransition: 200ms;\r\n}\r\n\r\n.notifyContainer {\r\n\tcolor: white;\r\n\tfont-family: 'Ubuntu';\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: auto;\r\n\tbackground-color: transparent;\r\n\tz-index: 5;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\topacity: 1;\r\n\ttransition: 200ms;\r\n\tflex-direction: column-reverse;\r\n}\r\n\r\n.modal {\r\n\tmin-width: 10em;\r\n\twidth: 90%;\r\n\tmax-width: 30em;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tbackground: #2b2b2b;\r\n\tpadding: 1.5em;\r\n\tborder-radius: 1em;\r\n\tborder: 1px solid #ffffff24;\r\n\tbox-shadow: rgba(0, 0, 0, 0.2) 0 0 2em 0;\r\n}\r\n\r\n.notifyModal {\r\n\tmin-width: 10em;\r\n\twidth: 90%;\r\n\tmax-width: 30em;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tbackground: #2b2b2b;\r\n\tpadding: 1.5em;\r\n\tmargin-top: 0em;\r\n\tmargin-bottom: -1em;\r\n\tz-index: 5;\r\n\tborder-radius: 1em;\r\n\tborder: 1px solid #ffffff24;\r\n\tbox-shadow: rgba(0, 0, 0, 0.2) 0 0 2em 0;\r\n\talign-items: center;\r\n\topacity: 0;\r\n\ttransition: 200ms;\r\n\tgap: 1em;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n.modalTitle {\r\n\tpadding-bottom: 0.5em;\r\n}\r\n\r\n.modalDescription {\r\n\tpadding-bottom: 2em;\r\n\tfont-size: 0.9em;\r\n\tfont-weight: 100;\r\n}\r\n\r\n.notifyDescriptionContainer {\r\n\twidth: 90%;\r\n}\r\n\r\n.notifyDescription {\r\n\toverflow: hidden;\r\n\tword-wrap: break-word;\r\n\tfont-size: 1em;\r\n\tfont-weight: 200;\r\n}\r\n\r\n.modalButtonsBar {\r\n\tvertical-align: middle;\r\n\tdisplay: inline-flex;\r\n\talign-items: center;\r\n\tgap: 1em;\r\n\tmargin-block-start: 1em;\r\n\tjustify-content: flex-end;\r\n}\r\n\r\n.label {\r\n\tfont-size: 0.9em;\r\n\tdisplay: flex;\r\n\tgap: 0.25em;\r\n\tpadding-bottom: 0.25em;\r\n\tjustify-content: flex-start;\r\n\talign-items: center;\r\n}\r\n\r\n.modalInputField {\r\n\twidth: 100%;\r\n\theight: 2.5em;\r\n\tborder-radius: 6px;\r\n\tborder: 2px solid #ffffff;\r\n\tbackground-color: #f1f1f1;\r\n\tpadding: 0.5em;\r\n\tmargin-bottom: 1em;\r\n\tpadding-inline: 1em;\r\n\tcaret-color: black;\r\n\toutline: 0;\r\n}\r\n\r\n.inputTickBoxField {\r\n\twidth: 100%;\r\n\tborder-radius: 1em;\r\n\tborder: 1px solid transparent;\r\n\tbackground-color: #ffffffe8;\r\n\tpadding: 0.5em;\r\n\tmargin-bottom: 1em;\r\n}\r\n\r\n.modalInputField:focus {\r\n\tbackground-color: #ffffff;\r\n\tborder: 2px solid var(--selection-color);\r\n}\r\n\r\n.button {\r\n\twidth: 7em;\r\n\theight: 2.5em;\r\n\tfont-size: 0.85em;\r\n\tfont-weight: 400;\r\n\tfont-family: 'Ubuntu';\r\n\tborder-radius: 6px;\r\n\tbackground-color: #ececec;\r\n\tborder: 1px solid rgba(206, 206, 206, 0.5);\r\n\topacity: 1;\r\n\ttransition: 100ms;\r\n}\r\n\r\n.tinyButton {\r\n\tmin-width: 1.75em;\r\n\tmin-height: 1.75em;\r\n\tmax-width: 1.75em;\r\n\tmax-height: 1.75em;\r\n\tpadding-bottom: 2px;\r\n}\r\n\r\n.notifyLoader {\r\n\twidth: 100%;\r\n\tmargin-top: 1em;\r\n\tmargin-bottom: -1em;\r\n\topacity: 0.1;\r\n}\r\n\r\n.button:disabled {\r\n\tbackground-color: #fff;\r\n\topacity: 0.75;\r\n}\r\n\r\n.button:hover {\r\n\tbackground-color: #fff;\r\n}\r\n\r\n.button:active {\r\n\topacity: 0.75;\r\n}\r\n\r\n.mainButton {\r\n\t/* background-color: #8cffc9; */\r\n\t/* border: 1px solid rgba(206, 206, 206, 0.5); */\r\n}\r\n\r\n.deleteButton {\r\n\tcolor: tomato;\r\n}\r\n\r\n@media only screen and (min-width:370px) {\r\n\tbody {\r\n\t\tfont-size: 14px\r\n\t}\r\n}\r\n\r\n@media only screen and (min-width:600px) {\r\n\tbody {\r\n\t\tfont-size: 16px\r\n\t}\r\n\r\n\t#home-widget-container {\r\n\t\tpadding-inline: 2em\r\n\t}\r\n\r\n\t.footer {\r\n\t\tflex-direction: row;\r\n\t\tjustify-content: space-between;\r\n\t\tpadding-inline: 2em\r\n\t}\r\n}\r\n\r\n@media only screen and (min-width:1024px) {\r\n\tbody {\r\n\t\tfont-size: 18px\r\n\t}\r\n\r\n\t#advanced-settings-modal {\r\n\t\tbackground-color: rgba(56, 56, 56, 0);\r\n\t\tposition: absolute;\r\n\t\theight: auto;\r\n\t\twidth: 50vw;\r\n\t\twidth: 50dvw;\r\n\t\ttop: 0\r\n\t}\r\n}\r\n\r\n@media (pointer: coarse) {\r\n\t#settings_button {\r\n\t\tdisplay: none;\r\n\t}\r\n}"],"names":[],"version":3,"file":"index.61010a1f.css.map","sourceRoot":"/__parcel_source_root/"} \ No newline at end of file diff --git a/dist/index.e8f533a0.css b/dist/index.e8f533a0.css new file mode 100644 index 0000000..1ebdf0c --- /dev/null +++ b/dist/index.e8f533a0.css @@ -0,0 +1,2 @@ +.animation_slide_up{animation:.5s both animation_slide_up}.animation_slide_down{animation:.5s both animation_slide_down}@keyframes animation_slide_up{0%{transform:translateY(10em)}to{transform:translateY(0)}}@keyframes animation_slide_down{0%{transform:translateY(0)}to{transform:translateY(10em)}}.animation_slide_right{animation:.5s both animation_slide_right}@keyframes animation_slide_right{0%{transform:translate(-10em)scale(1.125)}to{transform:matrix(1,0,0,1,0,0)}}.animation_appear{animation:.5s both animation_appear}@keyframes animation_appear{0%{opacity:0}to{opacity:1}}.animation_zoom{animation:.25s both animation_zoom}@keyframes animation_zoom{0%{transform:scale(1)}to{transform:scale(1.1)}}.animation2_slide_up{animation:.5s both animation2_slide_up}.animation2_slide_down{animation:.5s both animation2_slide_down}@keyframes animation2_slide_up{0%{padding-top:10vh;padding-bottom:0}to{padding-top:0;padding-bottom:8em}}@keyframes animation2_slide_down{0%{padding-top:0;padding-bottom:8em}to{padding-top:10vh;padding-bottom:0}}.startup_slide_down{padding-top:10vh}.animation_carousel_left_hide{animation:.175s both animation_carousel_left_hide}.animation_carousel_right_hide{animation:.175s both animation_carousel_right_hide}@keyframes animation_carousel_left_hide{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-.5em)}}@keyframes animation_carousel_right_hide{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(.5em)}}.animation_carousel_left_appear{animation:.175s both animation_carousel_left_appear}.animation_carousel_right_appear{animation:.175s both animation_carousel_right_appear}@keyframes animation_carousel_left_appear{0%{opacity:0;transform:translate(.5em)}to{opacity:1;transform:translate(0)}}@keyframes animation_carousel_right_appear{0%{opacity:0;transform:translate(-.5em)}to{opacity:1;transform:translate(0)}} +/*# sourceMappingURL=index.e8f533a0.css.map */ diff --git a/dist/index.f282538f.js b/dist/index.f282538f.js deleted file mode 100644 index 8b76c61..0000000 --- a/dist/index.f282538f.js +++ /dev/null @@ -1,3085 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles - -(function (modules, entry, mainEntry, parcelRequireName, globalName) { - /* eslint-disable no-undef */ - var globalObject = - typeof globalThis !== 'undefined' - ? globalThis - : typeof self !== 'undefined' - ? self - : typeof window !== 'undefined' - ? window - : typeof global !== 'undefined' - ? global - : {}; - /* eslint-enable no-undef */ - - // Save the require from previous bundle to this closure if any - var previousRequire = - typeof globalObject[parcelRequireName] === 'function' && - globalObject[parcelRequireName]; - - var cache = previousRequire.cache || {}; - // Do not use `require` to prevent Webpack from trying to bundle this call - var nodeRequire = - typeof module !== 'undefined' && - typeof module.require === 'function' && - module.require.bind(module); - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = - typeof globalObject[parcelRequireName] === 'function' && - globalObject[parcelRequireName]; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error("Cannot find module '" + name + "'"); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = (cache[name] = new newRequire.Module(name)); - - modules[name][0].call( - module.exports, - localRequire, - module, - module.exports, - this - ); - } - - return cache[name].exports; - - function localRequire(x) { - var res = localRequire.resolve(x); - return res === false ? {} : newRequire(res); - } - - function resolve(x) { - var id = modules[name][1][x]; - return id != null ? id : x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [ - function (require, module) { - module.exports = exports; - }, - {}, - ]; - }; - - Object.defineProperty(newRequire, 'root', { - get: function () { - return globalObject[parcelRequireName]; - }, - }); - - globalObject[parcelRequireName] = newRequire; - - for (var i = 0; i < entry.length; i++) { - newRequire(entry[i]); - } - - if (mainEntry) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(mainEntry); - - // CommonJS - if (typeof exports === 'object' && typeof module !== 'undefined') { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === 'function' && define.amd) { - define(function () { - return mainExports; - }); - - // Search • Casa Mia

Welcome

Welcome

Welcome

Welcome

Welcome

Welcome

Welcome

Please wait


\ No newline at end of file +Search • Casa Mia

Welcome

Welcome

Welcome

Welcome

Welcome

Welcome

Welcome

Please wait


\ No newline at end of file diff --git a/dist/manifest.webmanifest b/dist/manifest.webmanifest index e17c1d4..21c3257 100644 --- a/dist/manifest.webmanifest +++ b/dist/manifest.webmanifest @@ -1 +1 @@ -{"name":"Casa Mia","short_name":"Casa Mia","icons":[{"src":"/maskable_icon_x192.7d377990.png","sizes":"192x192","type":"image/png","purpose":"any"},{"src":"/maskable_icon_x512.461a2345.png","sizes":"512x512","type":"image/png","purpose":"any"}],"theme_color":"#f5f5f5","background_color":"#f5f5f5","display":"standalone","id":"/casamia/","start_url":"/casamia/","prefer_related_applications":true} \ No newline at end of file +{"name":"Casa Mia","short_name":"Casa Mia","icons":[{"src":"/maskable_icon_x192.0be66382.png","sizes":"192x192","type":"image/png","purpose":"any"},{"src":"/maskable_icon_x512.d4896ab8.png","sizes":"512x512","type":"image/png","purpose":"any"}],"theme_color":"#f5f5f5","background_color":"#f5f5f5","display":"standalone","id":"/casamia/","start_url":"/casamia/","prefer_related_applications":true} \ No newline at end of file diff --git a/dist/pages/clock/index.html b/dist/pages/clock/index.html index 63ba39b..429d1f9 100644 --- a/dist/pages/clock/index.html +++ b/dist/pages/clock/index.html @@ -1 +1,122 @@ -Clock · Casa Mia
\ No newline at end of file + + + + + + + + + + + + + + Clock · Casa Mia + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + \ No newline at end of file diff --git a/dist/pages/countdown/index.html b/dist/pages/countdown/index.html index 39ee059..76ec580 100644 --- a/dist/pages/countdown/index.html +++ b/dist/pages/countdown/index.html @@ -1 +1,269 @@ -Countdown by Casa Mia
00m:00s
\ No newline at end of file + + + + Countdown by Casa Mia + + + + +
+
+
00m:00s
+
+
+ + + + + + +
+
+ + + + + + +
+
+ + + + + \ No newline at end of file diff --git a/dist/pages/error/index.html b/dist/pages/error/index.html index 5d2aab8..669a89d 100644 --- a/dist/pages/error/index.html +++ b/dist/pages/error/index.html @@ -1 +1 @@ -Error · Casa Mia

Casa Mia

error

Something went wrong!

Please come back later.


Retry

\ No newline at end of file +Error · Casa Mia

Casa Mia

error

Something went wrong!

Please come back later.


Retry

\ No newline at end of file diff --git a/dist/pages/help/index.html b/dist/pages/help/index.html index 7a3e11c..96e190c 100644 --- a/dist/pages/help/index.html +++ b/dist/pages/help/index.html @@ -1 +1,73 @@ -Help · Casa Mia

Casa Mia

help

To batch search a list of search terms, add search queries separated by comma. You may have to allow pop-ups for this feature to work:
--g query_1,query_2,.. Google
--b query_1,query_2,.. Bing
--d query_1,query_2,.. DuckDuckGo

Some other commands:
--clock Opens analog clock widget.
--count Opens countdown timer widget.
--dl yt_link Downloads YT videos (experimental).
--fetch default Import a predefined set of custom bookmarks.
--reset bookmarks Deletes only the saved bookmarks.
--reset all Reset everything, including the bookmarks and wallpaper preferences.
--help This page (/pages/help/index.html)

Home

\ No newline at end of file + + + + + + + + + + + + + + Help · Casa Mia + + + +
+
+ +
+

Casa Mia

+ +
+ help

+ +
+
+

+ To batch search a list of search terms, add search queries separated by comma. You may have to allow + pop-ups for this feature to work:
+ --g query_1,query_2,.. Google
+ --b query_1,query_2,.. Bing
+ --d query_1,query_2,.. DuckDuckGo

+ Some other commands:
+ --clock Opens analog clock widget.
+ --count Opens countdown timer widget.
+ --dl yt_link Downloads YT videos (experimental).
+ --fetch default Import a predefined set of custom bookmarks.
+ --reset bookmarks Deletes only the saved bookmarks.
+ --reset all Reset everything, including the bookmarks and wallpaper + preferences.
+ --help This page (/pages/help/index.html) +
+

+
+
+ +

Home

+
+
+ + + + \ No newline at end of file diff --git a/dist/wallpapers_list.4a6ab8e1.js b/dist/wallpapers_list.4a6ab8e1.js deleted file mode 100644 index fd5286b..0000000 --- a/dist/wallpapers_list.4a6ab8e1.js +++ /dev/null @@ -1,586 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles - -(function (modules, entry, mainEntry, parcelRequireName, globalName) { - /* eslint-disable no-undef */ - var globalObject = - typeof globalThis !== 'undefined' - ? globalThis - : typeof self !== 'undefined' - ? self - : typeof window !== 'undefined' - ? window - : typeof global !== 'undefined' - ? global - : {}; - /* eslint-enable no-undef */ - - // Save the require from previous bundle to this closure if any - var previousRequire = - typeof globalObject[parcelRequireName] === 'function' && - globalObject[parcelRequireName]; - - var cache = previousRequire.cache || {}; - // Do not use `require` to prevent Webpack from trying to bundle this call - var nodeRequire = - typeof module !== 'undefined' && - typeof module.require === 'function' && - module.require.bind(module); - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = - typeof globalObject[parcelRequireName] === 'function' && - globalObject[parcelRequireName]; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error("Cannot find module '" + name + "'"); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = (cache[name] = new newRequire.Module(name)); - - modules[name][0].call( - module.exports, - localRequire, - module, - module.exports, - this - ); - } - - return cache[name].exports; - - function localRequire(x) { - var res = localRequire.resolve(x); - return res === false ? {} : newRequire(res); - } - - function resolve(x) { - var id = modules[name][1][x]; - return id != null ? id : x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [ - function (require, module) { - module.exports = exports; - }, - {}, - ]; - }; - - Object.defineProperty(newRequire, 'root', { - get: function () { - return globalObject[parcelRequireName]; - }, - }); - - globalObject[parcelRequireName] = newRequire; - - for (var i = 0; i < entry.length; i++) { - newRequire(entry[i]); - } - - if (mainEntry) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(mainEntry); - - // CommonJS - if (typeof exports === 'object' && typeof module !== 'undefined') { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === 'function' && define.amd) { - define(function () { - return mainExports; - }); - - //